/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_hasimage_callback.h | 27 : env_(env), callbackRef_(callbackRef), deferred_(deferred) {} in WebviewHasImageCallback() 35 napi_deferred deferred_; member 41 napi_deferred deferred_ = nullptr; variable
|
D | webview_hasimage_callback.cpp | 47 param->deferred_ = deferred_; in OnReceiveValue() 85 } else if (param->deferred_) { in UvAfterWorkCb() 86 UvAfterWorkCbPromise(param->env_, param->deferred_, param->result_); in UvAfterWorkCb()
|
D | webview_javascript_execute_callback.h | 75 : env_(env), callbackRef_(callbackRef), deferred_(deferred), extention_(extention) in WebviewJavaScriptExecuteCallback() 84 napi_deferred deferred_; member 91 napi_deferred deferred_ = nullptr; variable
|
D | webview_javascript_execute_callback.cpp | 89 param->deferred_ = deferred_; in OnReceiveValue() 129 } else if (param->deferred_) { in UvAfterWorkCb() 130 UvAfterWorkCbPromise(param->env_, param->deferred_, param->result_, param->extention_); in UvAfterWorkCb()
|
/base/location/interfaces/inner_api/include/ |
D | locator_callback_host.h | 72 context->deferred = deferred_; in InitContext() 139 return deferred_; in GetDeferred() 144 deferred_ = deferred; in SetDeferred() 160 napi_deferred deferred_; variable
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.h | 41 napi_deferred deferred_; member 77 : env_(env), callback_(callback), deferred_(deferred) {} in NWebSaveCookieCallbackImpl() 86 napi_deferred deferred_; variable
|
D | napi_web_cookie_manager.cpp | 406 } else if (data->deferred_) { in UvJsCallbackThreadWoker() 409 napi_resolve_deferred(data->env_, data->deferred_, jsResult); in UvJsCallbackThreadWoker() 443 param->deferred_ = deferred_; in OnReceiveValue()
|
/base/powermgr/battery_statistics/frameworks/napi/include/ |
D | async_callback_info.h | 43 return deferred_; in GetDeferred() 71 napi_deferred deferred_ = nullptr; variable
|
/base/powermgr/power_manager/frameworks/napi/utils/ |
D | async_callback_info.h | 42 return deferred_; in GetDeferred() 82 napi_deferred deferred_ = nullptr; variable
|
D | async_callback_info.cpp | 46 deferred_ = nullptr; in Release() 51 if (napi_ok != napi_create_promise(env, &deferred_, &promise)) { in CreatePromise()
|
/base/powermgr/battery_statistics/frameworks/napi/src/ |
D | async_callback_info.cpp | 46 deferred_ = nullptr; in Release() 51 if (napi_ok != napi_create_promise(env, &deferred_, &promise)) { in CreatePromise()
|
/base/global/resource_management/interfaces/js/innerkits/core/include/ |
D | resource_manager_data_context.h | 50 napi_deferred deferred_; member 64 …colorValue_(0), createValueFunc_(nullptr), len_(0), deferred_(nullptr), callbackRef_(nullptr), suc… in ResMgrDataContext()
|
/base/account/os_account/interfaces/kits/napi/domain_account/include/ |
D | napi_domain_account_manager.h | 130 napi_deferred deferred_ = nullptr; variable 142 napi_deferred deferred_ = nullptr; variable 154 napi_deferred deferred_ = nullptr; variable
|
/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
D | napi_account_iam_common.cpp | 497 : env_(env), callbackRef_(callbackRef), deferred_(deferred) in NapiGetInfoCallback() 537 context->deferred = deferred_; in OnCredentialInfo() 553 : env_(env), callbackRef_(callbackRef), deferred_(deferred), request_(request) in NapiGetPropCallback() 562 deferred_ = nullptr; in ~NapiGetPropCallback() 627 if ((callbackRef_ == nullptr) && (deferred_ == nullptr)) { in OnResult() 641 context->deferred = deferred_; in OnResult() 654 deferred_ = nullptr; in OnResult() 660 : env_(env), callbackRef_(callbackRef), deferred_(deferred) in NapiSetPropCallback() 669 deferred_ = nullptr; in ~NapiSetPropCallback() 699 if ((callbackRef_ == nullptr) && (deferred_ == nullptr)) { in OnResult() [all …]
|
/base/account/os_account/interfaces/kits/napi/account_iam/include/ |
D | napi_account_iam_common.h | 163 napi_deferred deferred_; variable 189 napi_deferred deferred_ = nullptr; variable 204 napi_deferred deferred_ = nullptr; variable
|
/base/customization/config_policy/interfaces/kits/js/include/ |
D | config_policy_napi.h | 30 napi_deferred deferred_; member
|
/base/customization/config_policy/interfaces/kits/js/src/ |
D | config_policy_napi.cpp | 152 napi_create_promise(env, &context->deferred_, &result); in HandleAsyncWork() 259 if (asyncContext->deferred_ != nullptr) { in NativeCallbackComplete() 260 napi_resolve_deferred(env, asyncContext->deferred_, result[1]); in NativeCallbackComplete()
|
/base/account/os_account/interfaces/kits/napi/domain_account/src/ |
D | napi_domain_account_manager.cpp | 1186 : env_(env), callbackRef_(callbackRef), deferred_(deferred) in NapiHasDomainInfoCallback() 1192 if ((callbackRef_ == nullptr) && (deferred_ == nullptr)) { in OnResult() 1212 asyncContext->deferred = deferred_; in OnResult() 1223 deferred_ = nullptr; in OnResult() 1227 : env_(env), callbackRef_(callbackRef), deferred_(deferred) in NapiGetAccessTokenCallback() 1233 if ((callbackRef_ == nullptr) && (deferred_ == nullptr)) { in OnResult() 1251 asyncContext->deferred = deferred_; in OnResult() 1262 deferred_ = nullptr; in OnResult() 1444 : env_(env), callbackRef_(callbackRef), deferred_(deferred) in NapiGetAccountInfoCallback() 1450 if ((callbackRef_ == nullptr) && (deferred_ == nullptr)) { in OnResult() [all …]
|
/base/update/updateservice/frameworks/js/napi/client/ |
D | update_session.cpp | 197 napi_status status = napi_create_promise(env, &deferred_, &promise); in StartWork() 221 napi_resolve_deferred(env, deferred_, processResult); in NotifyJS() 224 napi_reject_deferred(env, deferred_, processResult); in NotifyJS()
|
D | update_session.h | 253 napi_deferred deferred_ = nullptr; variable
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_account_capability_scheduler.h | 164 napi_deferred deferred_ = nullptr; variable
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_account_capability_scheduler.cpp | 462 : env_(env), callbackRef_(callbackRef), deferred_(deferred), requestRef_(requestRef), in NapiExecuteRequestCallback() 481 if ((callbackRef_ == nullptr) && (deferred_ == nullptr)) { in OnResult() 500 asyncContext->deferred = deferred_; in OnResult() 504 deferred_ = nullptr; in OnResult() 623 (*asyncContext)->deferred = deferred_; in InitRequestCallbackExeEnv() 718 asyncContext->deferred = deferred_; in CreateAbility()
|
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
D | resource_manager_napi_async_impl.cpp | 108 if (dataContext->deferred_) { in Complete() 110 if (napi_resolve_deferred(env, dataContext->deferred_, result[1]) != napi_ok) { in Complete() 115 if (napi_reject_deferred(env, dataContext->deferred_, result[0]) != napi_ok) { in Complete() 149 napi_create_promise(env, &dataContext->deferred_, &result); in GetResult()
|
/base/location/frameworks/native/source/ |
D | locator_callback_host.cpp | 43 deferred_ = nullptr; in LocatorCallbackHost()
|
/base/global/resource_management/interfaces/js/kits/src/ |
D | resource_manager_napi.cpp | 121 napi_create_promise(env, &asyncContext->deferred_, &result); in getResult()
|