Searched refs:napi_run_script_path (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | napi-data-types-interfaces.md | 498 | napi_run_script_path | 运行指定abc文件。 | 534 #### napi_run_script_path subsubsection 537 napi_status napi_run_script_path(napi_env env,
|
H A D | use-napi-about-extension.md | 220 | napi_run_script_path | 用于在Node-API模块中运行指定abc文件。 | 224 #### napi_run_script_path subsubsection 238 // 使用napi_run_script_path函数执行指定路径中的文件 239 napi_status status = napi_run_script_path(env, scriptPath, &value); 266 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_run_script_path: %{public}s', testNapi.runScript… 268 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_run_script_path errorMessage: %{public}s', erro…
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | napi.md | 168 |FUNC|napi_run_script|将给定对象作为js代码运行。当前接口实际为空实现,可使用系统拓展接口`napi_run_script_path`接口,提升安全性。|10| 689 |FUNC|napi_run_script_path|运行abc文件。|10| 769 ### napi_run_script_path subsection 772 napi_status napi_run_script_path(napi_env env,
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-about-extension.md | 220 | napi_run_script_path | Runs the specified .abc file.| 224 #### napi_run_script_path subsubsection 226 Use **napi_run_script_path** to run an .abc file. 238 // Call napi_run_script_path to execute the file of the specified path. 239 napi_status status = napi_run_script_path(env, scriptPath, &value); 266 …hilog.info(0x0000, 'testTag', 'Test Node-API napi_run_script_path: %{public}s', testNapi.runScript… 268 …hilog.error(0x0000, 'testTag', 'Test Node-API napi_run_script_path errorMessage: %{public}s', erro…
|
H A D | napi-data-types-interfaces.md | 487 | napi_run_script_path | Runs an .abc file.| 523 #### napi_run_script_path subsubsection 526 napi_status napi_run_script_path(napi_env env,
|
/ohos5.0/foundation/arkui/napi/interfaces/kits/napi/ |
H A D | native_api.h | 80 NAPI_EXTERN napi_status napi_run_script_path(napi_env env, const char* path, napi_value* result);
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | napi.md | 168 …n empty implementation. For security purposes, you are advised to use **napi_run_script_path**.|10| 687 |FUNC|napi_run_script_path|Runs an ABC file.|10| 767 ### napi_run_script_path subsection 770 napi_status napi_run_script_path(napi_env env,
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_napi.cpp | 9417 auto res = napi_run_script_path(nullptr, nullptr, nullptr); 9431 auto res = napi_run_script_path(env, nullptr, nullptr); 9446 auto res = napi_run_script_path(env, TEST_CHAR_STRING, &result);
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 3755 NAPI_EXTERN napi_status napi_run_script_path(napi_env env, const char* path, napi_value* result) in napi_run_script_path() function
|