Home
last modified time | relevance | path

Searched refs:objectArgsNum (Results 1 – 5 of 5) sorted by relevance

/base/location/frameworks/js/napi/source/
Dlocation_napi_adapter.cpp63 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 …]
Dlocation_napi_event.cpp447 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/
Dnapi_util.cpp735 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/
Dnapi_util.h73 const size_t argc, const napi_value* argv, const size_t objectArgsNum);
/base/location/frameworks/js/napi/include/
Dlocation_napi_event.h81 const size_t& objectArgsNum, std::unique_ptr<RequestConfig>& requestConfig);