Searched refs:createValueFunc_ (Results 1 – 5 of 5) sorted by relevance
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
D | resource_manager_napi_async_impl.cpp | 96 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/ |
D | resource_manager_data_context.h | 42 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/ |
D | config_policy_napi.cpp | 183 …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/ |
D | config_policy_napi.h | 33 CreateNapiValue createValueFunc_; member
|
/base/global/resource_management/interfaces/js/kits/src/ |
D | resource_manager_napi.cpp | 49 asyncContext->createValueFunc_ = [](napi_env env, ResMgrDataContext &context) -> napi_value { in ExecuteGetResMgr()
|