Home
last modified time | relevance | path

Searched refs:argcNum (Results 1 - 2 of 2) sorted by relevance

/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/
H A Dnative_devicemanager_js.cpp1414 size_t argcNum = 0; in StartDeviceDiscover() local
1417 NAPI_CALL(env, napi_get_cb_info(env, info, &argcNum, nullptr, &thisVar, nullptr)); in StartDeviceDiscover()
1423 if (argcNum == DM_NAPI_ARGS_ONE) { in StartDeviceDiscover()
1428 } else if (argcNum == DM_NAPI_ARGS_TWO) { in StartDeviceDiscover()
/foundation/distributedhardware/device_manager/interfaces/kits/js/src/
H A Dnative_devicemanager_js.cpp2284 size_t argcNum = 0; in StartDeviceDiscoverSync() local
2285 NAPI_CALL(env, napi_get_cb_info(env, info, &argcNum, nullptr, &thisVar, nullptr)); in StartDeviceDiscoverSync()
2291 if (argcNum >= DM_NAPI_ARGS_ONE) { in StartDeviceDiscoverSync()
2296 if (argcNum == DM_NAPI_ARGS_TWO) { in StartDeviceDiscoverSync()

Completed in 9 milliseconds