/base/location/interfaces/inner_api/include/ |
D | location_async_context.h | 43 napi_deferred deferred = nullptr) : AsyncContext(env, work, deferred), loc(nullptr) {} in AsyncContext() argument 56 napi_deferred deferred = nullptr) : AsyncContext(env, work, deferred), enable(false) {} in AsyncContext() argument 70 : AsyncContext(env, work, deferred), timeInterval(0), enable(false) {} in AsyncContext() argument 82 : AsyncContext(env, work, deferred), country(nullptr) {} in AsyncContext() argument 95 : AsyncContext(env, work, deferred), loc(nullptr), request(nullptr) {} in AsyncContext() argument 107 : AsyncContext(env, work, deferred), enable(false) {} in AsyncContext() argument 119 : AsyncContext(env, work, deferred), msg("") {} in AsyncContext() argument 131 : AsyncContext(env, work, deferred), statusInfo(nullptr) {} in AsyncContext() argument 143 : AsyncContext(env, work, deferred) {} in AsyncContext() argument 156 : AsyncContext(env, work, deferred), type(PRIVACY_TYPE_OTHERS), isConfirmed(false) {} in AsyncContext() argument [all …]
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_app_event_watcher.cpp | 28 void SafeDeleteWork(uv_work_t* work) in SafeDeleteWork() 67 uv_work_t* work = new(std::nothrow) uv_work_t(); in ~NapiAppEventWatcher() local 72 [](uv_work_t* work) {}, in ~NapiAppEventWatcher() 73 [](uv_work_t* work, int status) { in ~NapiAppEventWatcher() 103 uv_work_t* work = new(std::nothrow) uv_work_t(); in OnTrigger() local 108 [] (uv_work_t* work) {}, in OnTrigger() 109 [] (uv_work_t* work, int status) { in OnTrigger()
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
D | napi_call_ability_callback.cpp | 274 uv_work_t *work = std::make_unique<uv_work_t>().release(); in ReportStartRttInfo() local 281 loop, work, [](uv_work_t *work) {}, ReportStartRttInfoWork); in ReportStartRttInfo() 305 uv_work_t *work = std::make_unique<uv_work_t>().release(); in ReportStopRttInfo() local 312 loop, work, [](uv_work_t *work) {}, ReportStopRttInfoWork); in ReportStopRttInfo() 336 uv_work_t *work = std::make_unique<uv_work_t>().release(); in ReportCallMediaModeInfo() local 343 loop, work, [](uv_work_t *work) {}, ReportCallMediaModeInfoWork); in ReportCallMediaModeInfo() 367 uv_work_t *work = std::make_unique<uv_work_t>().release(); in UpdateCallStateInfo() local 374 loop, work, [](uv_work_t *work) {}, ReportCallStateWork); in UpdateCallStateInfo() 379 void NapiCallAbilityCallback::ReportCallStateWork(uv_work_t *work, int32_t status) in ReportCallStateWork() 446 uv_work_t *work = std::make_unique<uv_work_t>().release(); in UpdateCallEvent() local [all …]
|
/base/request/request/download/interfaces/kits/js/napi/download_single/src/ |
D | download_base_notify.cpp | 41 uv_work_t *work = new (std::nothrow) uv_work_t; in ~DownloadBaseNotify() local 55 loop, work, [](uv_work_t *work) {}, in ~DownloadBaseNotify() 56 [](uv_work_t *work, int statusInt) { in ~DownloadBaseNotify() 80 uv_work_t *work = new (std::nothrow) uv_work_t; in CallBack() local 93 loop, work, [](uv_work_t *work) {}, in CallBack() 94 [](uv_work_t *work, int statusInt) { in CallBack()
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account_authenticator.cpp | 72 ErrCode NapiAppAccountAuthenticator::InitWorkEnv(uv_loop_s **loop, uv_work_t **work, JsAuthenticato… in InitWorkEnv() 103 uv_work_t *work = nullptr; in AddAccountImplicitly() local 115 uv_queue_work(loop, work, [](uv_work_t *work) {}, AddAccountImplicitlyWork); in AddAccountImplicitly() 126 uv_work_t *work = nullptr; in Authenticate() local 138 uv_queue_work(loop, work, [](uv_work_t *work) {}, AuthenticateWork); in Authenticate() 148 uv_work_t *work = nullptr; in CreateAccountImplicitly() local 158 uv_queue_work(loop, work, [](uv_work_t *work) {}, CreateAccountImplicitlyWork); in CreateAccountImplicitly() 169 uv_work_t *work = nullptr; in Auth() local 180 uv_queue_work(loop, work, [](uv_work_t *work) {}, AuthWork); in Auth() 191 uv_work_t *work = nullptr; in VerifyCredential() local [all …]
|
/base/web/webview/interfaces/kits/napi/webfunction/ |
D | webview_web_inited_callback.cpp | 25 uv_work_t *work = nullptr; in RunInitedCallback() local 38 int ret = uv_queue_work(loop, work, [](uv_work_t *work) {}, [](uv_work_t *work, int status) { in RunInitedCallback()
|
/base/location/frameworks/native/source/ |
D | locator_callback_host.cpp | 97 void LocatorCallbackHost::DoSendWork(uv_loop_s*& loop, uv_work_t*& work) in DoSendWork() 99 uv_queue_work(loop, work, [](uv_work_t* work) {}, in DoSendWork() 100 [](uv_work_t* work, int status) { in DoSendWork() 153 void LocatorCallbackHost::DoSendErrorCode(uv_loop_s *&loop, uv_work_t *&work) in DoSendErrorCode() 155 uv_queue_work(loop, work, [](uv_work_t *work) {}, in DoSendErrorCode() 156 [](uv_work_t *work, int status) { in DoSendErrorCode() 214 uv_work_t *work = new (std::nothrow) uv_work_t; in SendErrorCode() local 247 uv_work_t *work = new (std::nothrow) uv_work_t; in OnLocationReport() local
|
D | gnss_status_callback_host.cpp | 80 uv_work_t *work = new (std::nothrow) uv_work_t; in Send() local 98 void GnssStatusCallbackHost::UvQueueWork(uv_loop_s* loop, uv_work_t* work) in UvQueueWork() 103 [](uv_work_t *work) {}, in UvQueueWork() 104 [](uv_work_t *work, int status) { in UvQueueWork()
|
D | location_switch_callback_host.cpp | 81 uv_work_t *work = new (std::nothrow) uv_work_t; in Send() local 99 void LocationSwitchCallbackHost::UvQueueWork(uv_loop_s* loop, uv_work_t* work) in UvQueueWork() 104 [](uv_work_t *work) {}, in UvQueueWork() 105 [](uv_work_t *work, int status) { in UvQueueWork()
|
D | cached_locations_callback_host.cpp | 83 uv_work_t *work = new (std::nothrow) uv_work_t; in Send() local 101 void CachedLocationsCallbackHost::UvQueueWork(uv_loop_s* loop, uv_work_t* work) in UvQueueWork() 106 [](uv_work_t *work) {}, in UvQueueWork() 107 [](uv_work_t *work, int status) { in UvQueueWork()
|
D | nmea_message_callback_host.cpp | 87 uv_work_t *work = new (std::nothrow) uv_work_t; in Send() local 106 void NmeaMessageCallbackHost::UvQueueWork(uv_loop_s* loop, uv_work_t* work) in UvQueueWork() 111 [](uv_work_t *work) {}, in UvQueueWork() 112 [](uv_work_t *work, int status) { in UvQueueWork()
|
D | country_code_callback_host.cpp | 76 uv_work_t *work = new (std::nothrow) uv_work_t; in Send() local 94 void CountryCodeCallbackHost::UvQueueWork(uv_loop_s* loop, uv_work_t* work) in UvQueueWork() 99 [](uv_work_t *work) {}, in UvQueueWork() 100 [](uv_work_t *work, int status) { in UvQueueWork()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_callback_v8.cpp | 42 void DestoryResultWork(uv_work_t *work) in DestoryResultWork() 53 void DestoryAcquireWork(uv_work_t *work) in DestoryAcquireWork() 64 void OnResultV8Work(uv_work_t *work, int status) in OnResultV8Work() 87 void OnAcquireV8Work(uv_work_t *work, int status) in OnAcquireV8Work() 189 uv_work_t *work = new (std::nothrow) uv_work_t; in OnAcquireInfo() local 204 if (uv_queue_work(loop, work, [](uv_work_t *work) {}, OnAcquireV8Work) != 0) { in OnAcquireInfo() 219 uv_work_t *work = new (std::nothrow) uv_work_t; in OnResult() local 243 if (uv_queue_work(loop, work, [](uv_work_t *work) {}, OnResultV8Work) != 0) { in OnResult()
|
D | user_auth_callback_v9.cpp | 42 void DestoryResultWork(uv_work_t *work) in DestoryResultWork() 53 void DestoryAcquireWork(uv_work_t *work) in DestoryAcquireWork() 64 void OnResultV9Work(uv_work_t *work, int status) in OnResultV9Work() 87 void OnAcquireV9Work(uv_work_t *work, int status) in OnAcquireV9Work() 230 uv_work_t *work = new (std::nothrow) uv_work_t; in OnAcquireInfo() local 245 if (uv_queue_work(loop, work, [](uv_work_t *work) {}, OnAcquireV9Work) != 0) { in OnAcquireInfo() 260 uv_work_t *work = new (std::nothrow) uv_work_t; in OnResult() local 284 if (uv_queue_work(loop, work, [](uv_work_t *work) {}, OnResultV9Work) != 0) { in OnResult()
|
D | user_auth_callback_v6.cpp | 54 void DestoryWork(uv_work_t *work) in DestoryWork() 65 void OnCallbackV6Work(uv_work_t *work, int status) in OnCallbackV6Work() 164 uv_work_t *work = new (std::nothrow) uv_work_t; in OnResult() local 185 if (uv_queue_work(loop, work, [](uv_work_t *work) {}, OnCallbackV6Work) != 0) { in OnResult()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | subscribe.cpp | 149 void UvQueueWorkOnCanceled(uv_work_t *work, int status) in UvQueueWorkOnCanceled() 228 uv_work_t *work = new (std::nothrow) uv_work_t; in OnCanceled() local 238 int ret = uv_queue_work(loop, work, [](uv_work_t *work) {}, UvQueueWorkOnCanceled); in OnCanceled() 250 void UvQueueWorkOnConsumed(uv_work_t *work, int status) in UvQueueWorkOnConsumed() 326 uv_work_t *work = new (std::nothrow) uv_work_t; in OnConsumed() local 336 int ret = uv_queue_work(loop, work, [](uv_work_t *work) {}, UvQueueWorkOnConsumed); in OnConsumed() 345 void UvQueueWorkOnUpdate(uv_work_t *work, int status) in UvQueueWorkOnUpdate() 408 uv_work_t *work = new (std::nothrow) uv_work_t; in OnUpdate() local 418 int ret = uv_queue_work(loop, work, [](uv_work_t *work) {}, UvQueueWorkOnUpdate); in OnUpdate() 427 void UvQueueWorkOnConnected(uv_work_t *work, int status) in UvQueueWorkOnConnected() [all …]
|
/base/theme/wallpaper_mgr/frameworks/innerkitsimpl/wallpaper_manager/src/ |
D | uv_queue.cpp | 25 uv_work_t *work = new (std::nothrow) uv_work_t; in Call() local 31 loop, work, [](uv_work_t *work) {}, afterCallback); in Call()
|
/base/theme/screenlock_mgr/frameworks/kitsimpl/src/ |
D | uv_queue.cpp | 27 uv_work_t *work = new (std::nothrow) uv_work_t; in Call() local 34 loop, work, [](uv_work_t *work) {}, afterCallback); in Call()
|
/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
D | napi_account_iam_common.cpp | 79 static void ReleaseWorkAndCallback(napi_env env, napi_async_work work, napi_ref callbackRef) in ReleaseWorkAndCallback() 125 static void OnIDMResultWork(uv_work_t* work, int status) in OnIDMResultWork() 145 std::unique_ptr<uv_work_t> work = std::make_unique<uv_work_t>(); in OnResult() local 157 …NAPI_CALL_RETURN_VOID(env_, uv_queue_work(loop, work.get(), [] (uv_work_t *work) {}, OnIDMResultWo… in OnResult() 162 static void OnAcquireInfoWork(uv_work_t* work, int status) in OnAcquireInfoWork() 184 std::unique_ptr<uv_work_t> work = std::make_unique<uv_work_t>(); in OnAcquireInfo() local 197 …NAPI_CALL_RETURN_VOID(env_, uv_queue_work(loop, work.get(), [] (uv_work_t *work) { }, OnAcquireInf… in OnAcquireInfo() 384 static void OnUserAuthResultWork(uv_work_t *work, int status) in OnUserAuthResultWork() 399 static void OnUserAuthAcquireInfoWork(uv_work_t *work, int status) in OnUserAuthAcquireInfoWork() 426 std::unique_ptr<uv_work_t> work = std::make_unique<uv_work_t>(); in OnResult() local [all …]
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | send_callback.cpp | 54 void CompleteSmsSendWork(uv_work_t *work, int status) in CompleteSmsSendWork() 104 uv_work_t *work = new uv_work_t; in OnSmsSendResult() local 122 loop, work, [](uv_work_t *work) {}, in OnSmsSendResult() 123 [](uv_work_t *work, int status) { CompleteSmsSendWork(work, status); }); in OnSmsSendResult()
|
D | delivery_callback.cpp | 36 void CompleteSmsDeliveryWork(uv_work_t *work, int status) in CompleteSmsDeliveryWork() 98 uv_work_t *work = new uv_work_t; in OnSmsDeliveryResult() local 116 loop, work, [](uv_work_t *work) {}, in OnSmsDeliveryResult() 117 [](uv_work_t *work, int status) { CompleteSmsDeliveryWork(work, status); }); in OnSmsDeliveryResult()
|
/base/request/request/upload/interfaces/kits/napi/src/ |
D | uv_queue.cpp | 25 uv_work_t *work = new (std::nothrow) uv_work_t; in Call() local 31 loop, work, [](uv_work_t *work) {}, afterCallback); in Call()
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | js_callback_manager.cpp | 28 void DeleteWork(uv_work_t* work) in DeleteWork() 45 uv_work_t* work = new(std::nothrow) uv_work_t(); in RunCallback() local 54 [] (uv_work_t* work) {}, in RunCallback() 55 [] (uv_work_t* work, int status) { in RunCallback()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_javascript_execute_callback.cpp | 30 uv_work_t *work = nullptr; in OnReceiveValue() local 53 int ret = uv_queue_work(loop, work, [](uv_work_t *work) {}, UvAfterWorkCb); in OnReceiveValue() 66 void WebviewJavaScriptExecuteCallback::UvAfterWorkCb(uv_work_t* work, int status) in UvAfterWorkCb()
|
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/ |
D | js_input_method_engine_setting.cpp | 438 uv_work_t *work = GetUVwork(type); in OnInputStart() local 444 loop_, work, [](uv_work_t *work) {}, in OnInputStart() 445 [](uv_work_t *work, int status) { in OnInputStart() 478 uv_work_t *work = GetUVwork(type); in OnKeyboardStatus() local 484 loop_, work, [](uv_work_t *work) {}, in OnKeyboardStatus() 485 [](uv_work_t *work, int status) { in OnKeyboardStatus() 507 uv_work_t *work = GetUVwork(type, [&imeId](UvEntry &entry) { entry.imeid = imeId; }); in OnInputStop() local 513 loop_, work, [](uv_work_t *work) {}, in OnInputStop() 514 [](uv_work_t *work, int status) { in OnInputStop() 540 uv_work_t *work = GetUVwork(type, [windowId](UvEntry &entry) { entry.windowid = windowId; }); in OnSetCallingWindow() local [all …]
|