Home
last modified time | relevance | path

Searched refs:RESULT_SIZE (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_write.cpp32 constexpr size_t RESULT_SIZE = 2; variable
69 napi_value results[RESULT_SIZE] = { 0 }; in Write()
93 napi_call_function(env, nullptr, callback, RESULT_SIZE, results, &retValue); in Write()
/base/location/interfaces/inner_api/include/
Dasync_context.h33 napi_value result[RESULT_SIZE];
Dconstant_definition.h37 const size_t RESULT_SIZE = 2; variable
/base/powermgr/power_manager/frameworks/napi/power/
Dpower.cpp33 constexpr int RESULT_SIZE = 2; variable
89 napi_value result[RESULT_SIZE] = {0}; in IsScreenOnCallBack()
98 napi_call_function(env, nullptr, callback, RESULT_SIZE, result, &tmp); in IsScreenOnCallBack()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.cpp30 constexpr int RESULT_SIZE = 2; variable
255 napi_value result[RESULT_SIZE] = {0}; in CreateRunningLockCallBack()
273 napi_call_function(env, nullptr, callback, RESULT_SIZE, result, &tmp); in CreateRunningLockCallBack()
300 napi_value result[RESULT_SIZE] = {0}; in IsRunningLockTypeSupportedCallBack()
309 napi_call_function(env, nullptr, callback, RESULT_SIZE, result, &tmp); in IsRunningLockTypeSupportedCallBack()
/base/location/frameworks/native/source/
Dlocator_callback_host.cpp180 if (napi_call_function(context->env, nullptr, handler, RESULT_SIZE, in DoSendErrorCode()
Dnapi_util.cpp860 napi_call_function(env, nullptr, callback, RESULT_SIZE, context->result, &undefine)); in SendResultToJs()