Home
last modified time | relevance | path

Searched refs:CreateArrayWithLength (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-about-array.md101 static JSVM_Value CreateArrayWithLength(JSVM_Env env, JSVM_CallbackInfo info)
120 OH_LOG_INFO(LOG_APP, "JSVM CreateArrayWithLength success");
122 OH_LOG_ERROR(LOG_APP, "JSVM CreateArrayWithLength fail");
126 // CreateArrayWithLength注册回调
128 {.data = nullptr, .callback = CreateArrayWithLength},
131 // CreateArrayWithLength方法别名,供JS调用
H A Duse-napi-about-array.md91 static napi_value CreateArrayWithLength(napi_env env, napi_callback_info info)
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dnapi_helper.h71 static napi_value CreateArrayWithLength(napi_env env, size_t length);
H A Dnapi_helper.cpp400 napi_value NapiHelper::CreateArrayWithLength(napi_env env, size_t length) in CreateArrayWithLength() function in Commonlibrary::Concurrent::Common::Helper::NapiHelper
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-about-array.md101 static JSVM_Value CreateArrayWithLength(JSVM_Env env, JSVM_CallbackInfo info)
120 OH_LOG_INFO(LOG_APP, "JSVM CreateArrayWithLength success");
122 OH_LOG_ERROR(LOG_APP, "JSVM CreateArrayWithLength fail");
126 // Register the CreateArrayWithLength callback.
128 {.data = nullptr, .callback = CreateArrayWithLength},
131 …ArrayWithLength and associate it with a callback. This allows the CreateArrayWithLength callback t…
H A Duse-napi-about-array.md91 static napi_value CreateArrayWithLength(napi_env env, napi_callback_info info)
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask.cpp157 napi_value argsArray = NapiHelper::CreateArrayWithLength(env, argc); in GenerateTask()