Home
last modified time | relevance | path

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

/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_async_impl.cpp96 if (dataContext->createValueFunc_ != nullptr) { in Complete()
97 finalResult = dataContext->createValueFunc_(env, *dataContext); in Complete()
387 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsString; in __anonc2ab6a610102()
417 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsString; in __anonc2ab6a610202()
453 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsArray; in __anonc2ab6a610302()
498 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsUint8Array; in __anonc2ab6a610402()
539 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsString; in __anonc2ab6a610502()
547 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsString; in __anonc2ab6a610502()
610 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsString; in __anonc2ab6a610602()
644 dataContext->createValueFunc_ = ResourceManagerNapiUtils::CreateJsUint8Array; in __anonc2ab6a610702()
[all …]
/base/global/resource_management/interfaces/js/innerkits/core/include/
Dresource_manager_data_context.h42 CreateNapiValue createValueFunc_; member
64 …colorValue_(0), createValueFunc_(nullptr), len_(0), deferred_(nullptr), callbackRef_(nullptr), suc… in ResMgrDataContext()
/base/customization/config_policy/interfaces/kits/js/src/
Dconfig_policy_napi.cpp183 …asyncCallbackInfo->createValueFunc_ = [](napi_env env, ConfigAsyncContext &context) -> napi_value { in NativeGetOneCfgFile()
230 … asyncCallbackInfo.createValueFunc_ = [](napi_env env, ConfigAsyncContext &context) -> napi_value { in CreateArraysValueFunc()
251 if (asyncContext->createValueFunc_ != nullptr) { in NativeCallbackComplete()
252 finalResult = asyncContext->createValueFunc_(env, *asyncContext); in NativeCallbackComplete()
/base/customization/config_policy/interfaces/kits/js/include/
Dconfig_policy_napi.h33 CreateNapiValue createValueFunc_; member
/base/global/resource_management/interfaces/js/kits/src/
Dresource_manager_napi.cpp49 asyncContext->createValueFunc_ = [](napi_env env, ResMgrDataContext &context) -> napi_value { in ExecuteGetResMgr()