Searched refs:objectArgsNum (Results 1 – 5 of 5) sorted by relevance
/base/location/frameworks/js/napi/source/ |
D | location_napi_adapter.cpp | 63 size_t objectArgsNum = 0; in GetLastLocation() local 64 return DoAsyncWork(env, asyncContext, argc, argv, objectArgsNum); in GetLastLocation() 124 size_t objectArgsNum = 0; in IsLocationEnabled() local 125 return DoAsyncWork(env, asyncContext, argc, argv, objectArgsNum); in IsLocationEnabled() 169 size_t objectArgsNum = 0; in EnableLocation() local 170 return DoAsyncWork(env, asyncContext, argc, argv, objectArgsNum); in EnableLocation() 204 size_t objectArgsNum = 0; in DisableLocation() local 205 return DoAsyncWork(env, asyncContext, argc, argv, objectArgsNum); in DisableLocation() 239 size_t objectArgsNum = 0; in RequestEnableLocation() local 240 return DoAsyncWork(env, asyncContext, argc, argv, objectArgsNum); in RequestEnableLocation() [all …]
|
D | location_napi_event.cpp | 447 int objectArgsNum = PARAM0; in GetObjectArgsNum() local 449 objectArgsNum = PARAM0; in GetObjectArgsNum() 451 NAPI_CALL_BASE(env, napi_typeof(env, argv[PARAM0], &valueType), objectArgsNum); in GetObjectArgsNum() 453 objectArgsNum = PARAM1; in GetObjectArgsNum() 455 objectArgsNum = PARAM0; in GetObjectArgsNum() 458 objectArgsNum = PARAM1; in GetObjectArgsNum() 462 return objectArgsNum; in GetObjectArgsNum() 466 const napi_value* argv, const size_t& objectArgsNum) in CreateRequestConfig() argument 469 if (objectArgsNum > 0) { in CreateRequestConfig() 470 JsObjToCurrentLocationRequest(env, argv[objectArgsNum - 1], requestConfig); in CreateRequestConfig() [all …]
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 735 const size_t argc, const napi_value* argv, const size_t objectArgsNum) in InitAsyncCallBackEnv() argument 738 argc > MAXIMUM_JS_PARAMS || objectArgsNum > MAXIMUM_JS_PARAMS) { in InitAsyncCallBackEnv() 741 size_t startLoop = objectArgsNum; in InitAsyncCallBackEnv() 915 const size_t argc, const napi_value* argv, const size_t objectArgsNum) in DoAsyncWork() argument 920 if (argc > objectArgsNum) { in DoAsyncWork() 921 InitAsyncCallBackEnv(env, asyncContext, argc, argv, objectArgsNum); in DoAsyncWork()
|
/base/location/interfaces/inner_api/include/ |
D | napi_util.h | 73 const size_t argc, const napi_value* argv, const size_t objectArgsNum);
|
/base/location/frameworks/js/napi/include/ |
D | location_napi_event.h | 81 const size_t& objectArgsNum, std::unique_ptr<RequestConfig>& requestConfig);
|