Home
last modified time | relevance | path

Searched refs:CallbackContext (Results 1 – 10 of 10) sorted by relevance

/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Djs_callback_manager.cpp35 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()
Dnapi_hisysevent_js.cpp122 CallbackContext* callbackContext = new CallbackContext(); in AddWatcher()
194 CallbackContext* callbackContext = new CallbackContext(); in Query()
Dnapi_hisysevent_listener.cpp31 NapiHiSysEventListener::NapiHiSysEventListener(CallbackContext* context) in NapiHiSysEventListener()
Dnapi_hisysevent_querier.cpp31 NapiHiSysEventQuerier::NapiHiSysEventQuerier(CallbackContext* context, ON_COMPLETE_FUNC handler) in NapiHiSysEventQuerier()
/base/telephony/core_service/frameworks/js/network_search/include/
Dnapi_radio.h143 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/
Dnapi_callback_context.h29 using CallbackContext = struct CallbackContext { struct
Dnapi_hisysevent_listener.h33 NapiHiSysEventListener(CallbackContext* context);
42 CallbackContext* callbackContext;
Djs_callback_manager.h30 using TaskQueue = std::queue<std::tuple<CallbackContext*, CALLBACK_FUNC, RELEASE_FUNC>>;
35 void Add(CallbackContext* context, CALLBACK_FUNC callback, RELEASE_FUNC release = nullptr);
Dnapi_hisysevent_querier.h36 NapiHiSysEventQuerier(CallbackContext* context, ON_COMPLETE_FUNC handler);
45 CallbackContext* callbackContext;
/base/security/huks/frameworks/crypto_lite/js/napi/
Dcipher_napi.cpp29 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 …]