Home
last modified time | relevance | path

Searched refs:sourceCodeStr (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_base_utils.cpp300 std::string sourceCodeStr = sourceCode->ToString(arkJsRuntime->GetEcmaVm()); in GetSourceCodeInfo() local
301 if (sourceCodeStr.empty()) { in GetSourceCodeInfo()
305 sourceCodeInfo.append(sourceCodeStr).append("\n"); in GetSourceCodeInfo()
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Djsvm-data-types-interfaces.md455 std::string sourceCodeStr = "\
463 … OH_JSVM_CreateStringUtf8(env, sourceCodeStr.c_str(), sourceCodeStr.size(), &sourceCodeValue);
2239 std::string sourceCodeStr = R"JS(
2249 … OH_JSVM_CreateStringUtf8(env, sourceCodeStr.c_str(), sourceCodeStr.size(), &sourceCodeValue);
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-about-class.md170 if (strcmp(sourceCodeStr.c_str(), "defineClass") == 0) {
H A Djsvm-data-types-interfaces.md455 std::string sourceCodeStr = "\
463 … OH_JSVM_CreateStringUtf8(env, sourceCodeStr.c_str(), sourceCodeStr.size(), &sourceCodeValue);
2239 std::string sourceCodeStr = R"JS(
2249 … OH_JSVM_CreateStringUtf8(env, sourceCodeStr.c_str(), sourceCodeStr.size(), &sourceCodeValue);
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp1876 std::string sourceCodeStr = sourceCode->ToString(vm_); in GetSourceCodeInfo() local
1877 if (sourceCodeStr.empty()) { in GetSourceCodeInfo()
1881 sourceCodeInfo.append(sourceCodeStr).append("\n"); in GetSourceCodeInfo()