Lines Matching refs:napi_load_module_with_info

3napi_load_module_with_info** to load a module. After the module is loaded, you can use **napi_get_…
8 napi_status napi_load_module_with_info(napi_env env,
42 …kage has loaded another module, for example, module A, using **napi_load_module_with_info**, you m…
75 2. Call **napi_load_module_with_info** to load the **Test.ets** file, call the **test()** function,…
84 // 1. Call napi_load_module_with_info to load the module from the Test.ets file.
85 …napi_status status = napi_load_module_with_info(env, "entry/src/main/ets/Test", "com.example.appli…
142 3. Call **napi_load_module_with_info** to load **library**, call the **test** function, and obtain …
147 // 1. Call napi_load_module_with_info to load library.
148 …napi_status status = napi_load_module_with_info(env, "library", "com.example.application/entry", &…
194 3. Call **napi_load_module_with_info** to load **@ohos/hypium** and obtain the **DEFAULT** variable.
199 // 1. Call napi_load_module_with_info to load @ohos/hypium.
200 …napi_status status = napi_load_module_with_info(env, "@ohos/hypium", "com.example.application/entr…
240 3. Call **napi_load_module_with_info** to load **json5** and call the **stringify** function.
245 // 1. Call napi_load_module_with_info to load json5.
246 …napi_status status = napi_load_module_with_info(env, "json5", "com.example.application/entry", &re…
274 // 1. Call napi_load_module_with_info to load the @ohos.hilog module.
276 napi_status status = napi_load_module_with_info(env, "@ohos.hilog", nullptr, &result);
335 3. Call **napi_load_module_with_info** to load **libentry.so** and call the **add** function.
340 // 1. Call napi_load_module_with_info to load libentry.so.
341 …napi_status status = napi_load_module_with_info(env, "libentry.so", "com.example.application/entry…
398 3. Call **napi_load_module_with_info** to load **har2** to **har1**, call the **test** function, an…
403 …// 1. Call napi_load_module_with_info to load har2. Note that moduleName is that of the HAP where …
404 …napi_status status = napi_load_module_with_info(env, "har2", "com.example.application/entry", &res…