Searched refs:CallbackContext (Results 1 – 10 of 10) sorted by relevance
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | js_callback_manager.cpp | 35 void RunCallback(CallbackContext* context, std::tuple<CallbackContext*, CALLBACK_FUNC, RELEASE_FUNC… in RunCallback() argument 60 CallbackContext* context = reinterpret_cast<CallbackContext*>(work->data); in RunCallback() 88 void JsCallbackManager::Add(CallbackContext* context, CALLBACK_FUNC callback, in Add() 121 std::tuple<CallbackContext*, CALLBACK_FUNC, RELEASE_FUNC> current; in ImmediateRun() 122 CallbackContext* context; in ImmediateRun()
|
D | napi_hisysevent_js.cpp | 122 CallbackContext* callbackContext = new CallbackContext(); in AddWatcher() 194 CallbackContext* callbackContext = new CallbackContext(); in Query()
|
D | napi_hisysevent_listener.cpp | 31 NapiHiSysEventListener::NapiHiSysEventListener(CallbackContext* context) in NapiHiSysEventListener()
|
D | napi_hisysevent_querier.cpp | 31 NapiHiSysEventQuerier::NapiHiSysEventQuerier(CallbackContext* context, ON_COMPLETE_FUNC handler) in NapiHiSysEventQuerier()
|
/base/telephony/core_service/frameworks/js/network_search/include/ |
D | napi_radio.h | 143 struct CallbackContext : BaseContext { struct 162 struct GetSelectModeContext : CallbackContext { argument 167 struct SetSelectModeContext : CallbackContext { 178 struct GetSearchInfoContext : CallbackContext { 203 struct IsRadioOnContext : CallbackContext { 209 struct SwitchRadioContext : CallbackContext { 220 struct PreferredNetworkModeContext : CallbackContext { 235 struct SendUpdateCellLocationRequest : CallbackContext {
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/ |
D | napi_callback_context.h | 29 using CallbackContext = struct CallbackContext { struct
|
D | napi_hisysevent_listener.h | 33 NapiHiSysEventListener(CallbackContext* context); 42 CallbackContext* callbackContext;
|
D | js_callback_manager.h | 30 using TaskQueue = std::queue<std::tuple<CallbackContext*, CALLBACK_FUNC, RELEASE_FUNC>>; 35 void Add(CallbackContext* context, CALLBACK_FUNC callback, RELEASE_FUNC release = nullptr);
|
D | napi_hisysevent_querier.h | 36 NapiHiSysEventQuerier(CallbackContext* context, ON_COMPLETE_FUNC handler); 45 CallbackContext* callbackContext;
|
/base/security/huks/frameworks/crypto_lite/js/napi/ |
D | cipher_napi.cpp | 29 struct CallbackContext { struct 46 CallbackContext *callback = nullptr; 58 CallbackContext *callback = nullptr; 140 napi_value completeFunc, CallbackContext *callback) in CreateCallbackReference() 297 context->callback = static_cast<CallbackContext *>(malloc(sizeof(struct CallbackContext))); in GetAesInput() 301 …(void)memset_s(context->callback, sizeof(struct CallbackContext), 0, sizeof(struct CallbackContext… in GetAesInput() 422 context->callback = static_cast<CallbackContext *>(malloc(sizeof(struct CallbackContext))); in GetRsaInput() 426 …(void)memset_s(context->callback, sizeof(struct CallbackContext), 0, sizeof(struct CallbackContext… in GetRsaInput() 459 void SetComplete(napi_env env, CallbackContext *asyncContext) in SetComplete() 468 void SetSuccess(napi_env env, char *textOut, size_t textLength, CallbackContext *asyncContext) in SetSuccess() [all …]
|