Home
last modified time | relevance | path

Searched refs:RESULT_SIZE (Results 1 - 8 of 8) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_write.cpp32 constexpr size_t RESULT_SIZE = 2; member
71 napi_value results[RESULT_SIZE] = { 0 }; in Write()
95 napi_call_function(env, nullptr, callback, RESULT_SIZE, results, &retValue); in Write()
119 napi_value results[RESULT_SIZE] = { 0 }; in SetEventParam()
/base/location/interfaces/inner_api/include/
H A Dasync_context.h33 napi_value result[RESULT_SIZE];
H A Dconstant_definition.h37 const size_t RESULT_SIZE = 2; member
/base/powermgr/power_manager/frameworks/napi/power/
H A Dpower.cpp33 constexpr int RESULT_SIZE = 2; member
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/
H A Drunninglock_interface.cpp30 constexpr int RESULT_SIZE = 2; member
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/js/napi/source/
H A Dlocation_gnss_geofence_callback_napi.cpp240 if (napi_call_function(context->env, nullptr, handler, RESULT_SIZE, jsEvent, &undefine) != napi_ok) { in UvQueueWork()
H A Dlocator_callback_napi.cpp247 if (napi_call_function(context->env, nullptr, handler, RESULT_SIZE, in DoSendErrorCode()
H A Dnapi_util.cpp936 napi_call_function(env, nullptr, callback, RESULT_SIZE, context->result, &undefine)); in SendResultToJs()

Completed in 6 milliseconds