Home
last modified time | relevance | path

Searched refs:CALLBACK_PARAM_NUM (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/src/
H A Devent_manager.cpp24 static constexpr const int CALLBACK_PARAM_NUM = 1; variable
73 napi_value arg[CALLBACK_PARAM_NUM] = {argv.second}; in Emit()
74 listener.Emit(type, CALLBACK_PARAM_NUM, arg); in Emit()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_app_event_watcher.cpp33 constexpr size_t CALLBACK_PARAM_NUM = 3; variable
74 napi_value argv[CALLBACK_PARAM_NUM] = { in OnTriggerWork()
80 …if (napi_call_function(context->env, nullptr, callback, CALLBACK_PARAM_NUM, argv, &ret) != napi_ok… in OnTriggerWork()
/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/
H A Devent_manager.cpp29 static constexpr const int CALLBACK_PARAM_NUM = 1; variable
79 napi_value arg[CALLBACK_PARAM_NUM] = {argv.second}; in Emit()
80 listener.Emit(type, CALLBACK_PARAM_NUM, arg); in Emit()