Home
last modified time | relevance | path

Searched refs:CALLBACK_NUM (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/sensors/sensor/frameworks/js/napi/include/
H A Dasync_callback_info.h37 constexpr int32_t CALLBACK_NUM = 3; variable
108 napi_ref callback[CALLBACK_NUM] = { 0 };
123 for (int32_t i = 0; i < CALLBACK_NUM; ++i) { in ~AsyncCallbackInfo()
/ohos5.0/base/sensors/sensor/vibration_convert/interfaces/js/include/
H A Dvibrator_convert_napi_utils.h34 constexpr int32_t CALLBACK_NUM = 1; variable
52 napi_ref callback[CALLBACK_NUM] = { 0 };
/ohos5.0/base/sensors/miscdevice/frameworks/js/napi/vibrator/include/
H A Dvibrator_napi_utils.h32 constexpr int32_t CALLBACK_NUM = 3; variable
53 napi_ref callback[CALLBACK_NUM] = {0};
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_common.cpp67 napi_value params[CALLBACK_NUM] = { businessError, result }; in ReturnCallbackResult()
75 napi_call_function(env, recv, func, CALLBACK_NUM, params, &callFuncRet); in ReturnCallbackResult()
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/inc/
H A Dnapi_common.h26 constexpr int32_t CALLBACK_NUM = 2; variable
/ohos5.0/base/sensors/miscdevice/frameworks/js/napi/vibrator/src/
H A Dvibrator_napi_utils.cpp40 for (int32_t i = 0; i < CALLBACK_NUM; ++i) { in ~AsyncCallbackInfo()