Home
last modified time | relevance | path

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

/base/request/request/frameworks/js/napi/include/
Dasync_call.h37 napi_delete_async_work(env_, work_); in ~Context()
73 napi_async_work work_ = nullptr; variable
/base/global/resource_management/interfaces/js/innerkits/core/include/
Dresource_manager_data_context.h28 napi_async_work work_; member
63 …ResMgrDataContext() : work_(nullptr), resId_(0), param_(0), iValue_(0), fValue_(0.0f), bValue_(fal… in ResMgrDataContext()
/base/request/request/frameworks/js/napi/src/
Dasync_call.cpp83 AsyncCall::OnExecute, AsyncCall::OnComplete, workData, &context->work_); in Call()
84 napi_queue_async_work_with_qos(context->env_, context->work_, napiQosLevel_); in Call()
/base/customization/config_policy/interfaces/kits/js/include/
Dconfig_policy_napi.h29 napi_async_work work_; member
/base/customization/config_policy/interfaces/kits/js/src/
Dconfig_policy_napi.cpp160 &context->work_); in HandleAsyncWork()
161 napi_queue_async_work_with_qos(env, context->work_, napi_qos_default); in HandleAsyncWork()
268 napi_delete_async_work(env, asyncContext->work_); in NativeCallbackComplete()
/base/global/resource_management/interfaces/js/kits/src/
Dresource_manager_napi.cpp135 …ourceManagerNapiAsyncImpl::Complete, static_cast<void*>(asyncContext.get()), &asyncContext->work_); in getResult()
140 status = napi_queue_async_work(env, asyncContext->work_); in getResult()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_async_impl.cpp140 napi_delete_async_work(env, dataContext->work_); in Complete()
156 static_cast<void*>(dataContext.get()), &dataContext->work_) != napi_ok) { in GetResult()
160 … if (napi_queue_async_work_with_qos(env, dataContext->work_, napi_qos_user_initiated) != napi_ok) { in GetResult()