Searched refs:RESULT_SIZE (Results 1 - 8 of 8) sorted by relevance
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_hiappevent_write.cpp | 32 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 D | async_context.h | 33 napi_value result[RESULT_SIZE];
|
H A D | constant_definition.h | 37 const size_t RESULT_SIZE = 2; member
|
/base/powermgr/power_manager/frameworks/napi/power/ |
H A D | power.cpp | 33 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 D | runninglock_interface.cpp | 30 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 D | location_gnss_geofence_callback_napi.cpp | 240 if (napi_call_function(context->env, nullptr, handler, RESULT_SIZE, jsEvent, &undefine) != napi_ok) { in UvQueueWork()
|
H A D | locator_callback_napi.cpp | 247 if (napi_call_function(context->env, nullptr, handler, RESULT_SIZE, in DoSendErrorCode()
|
H A D | napi_util.cpp | 936 napi_call_function(env, nullptr, callback, RESULT_SIZE, context->result, &undefine)); in SendResultToJs()
|
Completed in 6 milliseconds