Searched refs:RESULT_SIZE (Results 1 – 7 of 7) sorted by relevance
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_write.cpp | 32 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/ |
D | async_context.h | 33 napi_value result[RESULT_SIZE];
|
D | constant_definition.h | 37 const size_t RESULT_SIZE = 2; variable
|
/base/powermgr/power_manager/frameworks/napi/power/ |
D | power.cpp | 33 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/ |
D | runninglock_interface.cpp | 30 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/ |
D | locator_callback_host.cpp | 180 if (napi_call_function(context->env, nullptr, handler, RESULT_SIZE, in DoSendErrorCode()
|
D | napi_util.cpp | 860 napi_call_function(env, nullptr, callback, RESULT_SIZE, context->result, &undefine)); in SendResultToJs()
|