/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_ble.cpp | 403 bool exist = false; in ParseScanParameters() local 405 NAPI_BT_CALL_RETURN(ParseInt32Params(env, scanArg, "interval", exist, interval)); in ParseScanParameters() 406 if (exist) { in ParseScanParameters() 412 NAPI_BT_CALL_RETURN(ParseInt32Params(env, scanArg, "dutyMode", exist, dutyMode)); in ParseScanParameters() 413 if (exist) { in ParseScanParameters() 419 NAPI_BT_CALL_RETURN(ParseInt32Params(env, scanArg, "matchMode", exist, matchMode)); in ParseScanParameters() 420 if (exist) { in ParseScanParameters() 426 NAPI_BT_CALL_RETURN(ParseInt32Params(env, scanArg, "phyType", exist, phyType)); in ParseScanParameters() 427 if (exist) { in ParseScanParameters() 437 bool exist in ParseScanFilterDeviceIdParameters() local 455 bool exist = false; ParseScanFilterLocalNameParameters() local 472 bool exist = false; ParseScanFilterServiceUuidParameters() local 492 bool exist = false; ParseScanFilterSolicitationUuidParameters() local 512 bool exist = false; ParseScanFilterServiceDataParameters() local 530 bool exist = false; ParseScanFilterManufactureDataParameters() local 654 bool exist = false; ParseAdvertisingSettingsParameters() local 735 bool exist = false; ParseAdvertisDataParameters() local 783 bool exist = false; CheckAdvertisingDataWithDuration() local 887 bool exist = false; CheckAdvertisingEnableParams() local [all...] |
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/ |
H A D | client_trans_file_listener.c | 74 bool exist = false; in TransSetFileReceiveListener() local 77 exist = true; in TransSetFileReceiveListener() 81 if (exist) { in TransSetFileReceiveListener() 128 bool exist = false; in TransSetFileSendListener() local 131 exist = true; in TransSetFileSendListener() 135 if (exist) { in TransSetFileSendListener() 208 bool exist = false; in TransSetSocketFileListener() local 211 exist = true; in TransSetSocketFileListener() 215 if (exist) { in TransSetSocketFileListener()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/parser/ |
H A D | napi_parser_utils.cpp | 27 // If the 'name' field is not exist, or napi function call error, return false 35 bool exist = false; in NapiIsObjectPropertyExist() local 36 status = napi_has_named_property(env, object, name, &exist); in NapiIsObjectPropertyExist() 41 return exist; in NapiIsObjectPropertyExist() 407 bool exist = false; in NapiGetObjectProperty() local 409 NAPI_BT_CALL_RETURN(napi_has_named_property(env, object, name, &exist)); in NapiGetObjectProperty() 410 if (exist) { in NapiGetObjectProperty() 415 outExist = exist; in NapiGetObjectProperty() 420 bool exist = false; in NapiGetObjectProperty() local 421 NAPI_BT_CALL_RETURN(NapiGetObjectProperty(env, object, name, outProperty, exist)); in NapiGetObjectProperty() 501 bool exist = false; NapiParseObjectBooleanOptional() local 516 bool exist = false; NapiParseObjectInt32Optional() local 531 bool exist = false; NapiParseObjectUint32Optional() local [all...] |
/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.cpp | 58 bool exist = false; in CheckhasNamedProperty() local 59 napi_status napiStatus = napi_has_named_property(env, arg, type.c_str(), &exist); in CheckhasNamedProperty() 60 return exist && (napiStatus == napi_ok); in CheckhasNamedProperty() 66 bool exist = false; in GetPropertyInt32() local 67 napi_status napiStatus = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetPropertyInt32() 68 CHECK_AND_RETURN_RET_LOG(napiStatus == napi_ok && exist, false, "no %{public}s property", type.c_str()); in GetPropertyInt32() 79 bool exist = false; in GetPropertyUint32() local 80 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetPropertyUint32() 81 CHECK_AND_RETURN_RET_LOG(status == napi_ok && exist, false, "no %{public}s property", type.c_str()); in GetPropertyUint32() 93 bool exist in GetPropertyInt64() local 115 bool exist = false; GetPropertyDouble() local 137 bool exist = false; GetPropertyString() local 155 bool exist = false; GetPropertyRecord() local 858 bool exist = false; GetPropertyBool() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_holder_manager.h | 42 } while (exist(id)); in save() 50 if (exist(id)) { in save() 89 bool exist(std::string id) in exist() function in OHOS::Media::ImageHolderManager
|
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | traits_test.cpp | 73 auto exist = Traits::same_in_v<int32_t, int32_t, double, std::vector<uint8_t>>; in HWTEST_F() local 74 ASSERT_TRUE(exist); in HWTEST_F() 75 exist = Traits::same_in_v<std::string, int32_t, double, std::vector<uint8_t>>; in HWTEST_F() 76 ASSERT_FALSE(exist); in HWTEST_F() 77 exist = Traits::same_in_v<std::string>; in HWTEST_F() 78 ASSERT_FALSE(exist); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | kvdb_notifier_client.cpp | 98 auto [exist, value] = remotes_.Find(deviceId); in IsChanged() 99 ZLOGD("exist:%{public}d, statics:%{public}d dynamic:%{public}d", in IsChanged() 100 exist, value.first, value.second); in IsChanged() 101 if (!exist) { in IsChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_bluetooth_utils.cpp | 549 bool exist = false; in ParseInt32Params() local 551 NAPI_BT_CALL_RETURN(ParseNumberParams(env, object, name, exist, param)); in ParseInt32Params() 552 if (exist) { in ParseInt32Params() 557 outExist = exist; in ParseInt32Params() 564 bool exist = false; in ParseUint32Params() local 566 NAPI_BT_CALL_RETURN(ParseNumberParams(env, object, name, exist, param)); in ParseUint32Params() 567 if (exist) { in ParseUint32Params() 572 outExist = exist; in ParseUint32Params() 646 bool exist = false; in ParseUuidParams() local 648 NAPI_BT_CALL_RETURN(ParseStringParams(env, object, name, exist, uui in ParseUuidParams() [all...] |
/foundation/distributeddatamgr/preferences/frameworks/js/napi/system_storage/src/ |
H A D | napi_system_storage.cpp | 61 bool exist = false; in ParseString() local 62 napi_has_named_property(env, object, name, &exist); in ParseString() 63 if (exist && (napi_get_named_property(env, object, name, &value) == napi_ok)) { in ParseString() 74 bool exist = false; in ParseFunction() local 75 napi_has_named_property(env, object, name, &exist); in ParseFunction() 76 if (exist && (napi_get_named_property(env, object, name, &value) == napi_ok)) { in ParseFunction()
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/ |
H A D | holder_manager.h | 48 } while (exist(id)); in save() 90 bool exist(uint32_t id) in exist() function in OHOS::FileAccessFwk::HolderManager
|
/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/src/ |
H A D | ui_mgr_service.cpp | 199 bool exist = CheckCallBackFromMap(keyStr); in HandleRegister() local 200 if (exist) { in HandleRegister() 211 bool exist = CheckCallBackFromMap(keyStr); in HandleUnregister() local 212 if (!exist) { in HandleUnregister()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/src/ |
H A D | device_matrix.cpp | 177 auto [exist, meta] = GetMatrixMeta(device); in UpdateMask() 303 auto [exist, oldMeta] = GetMatrixMeta(device); in UpdateRemoteMeta() 304 if (exist && oldMeta == newMeta) { in UpdateRemoteMeta() 307 if (exist) { in UpdateRemoteMeta() 351 ZLOGI("exist:%{public}d, changed:%{public}d", saved, newMeta != oldMeta); in SaveSwitches() 502 auto [exist, meta] = GetMatrixMeta(device); in UpdateConsistentMeta() 503 if (!exist) { in UpdateConsistentMeta() 609 auto [exist, meta] = GetMatrixMeta(device); in GetRecvLevel() 610 if (!exist) { in GetRecvLevel() 626 auto [exist, met in GetConsLevel() [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime.cpp | 584 bool exist = (stat(cacheInfoPath.c_str(), &buffer) == 0); in OH_NNModel_HasCache() local 585 if (!exist) { in OH_NNModel_HasCache() 597 // determine whether cache model files exist in OH_NNModel_HasCache() 601 exist = (exist && (stat(cacheModelPath.c_str(), &buffer) == 0)); in OH_NNModel_HasCache() 606 exist = false; in OH_NNModel_HasCache() 609 return exist; in OH_NNModel_HasCache()
|
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/ |
H A D | js_register_util.cpp | 62 bool exist = false; in GetNamedPropertyBool() local 63 napi_status status = napi_has_named_property(env, object, name.c_str(), &exist); in GetNamedPropertyBool() 64 if (status != napi_ok || !exist) { in GetNamedPropertyBool() 85 bool exist = false; in GetNamedPropertyInt32() local 86 napi_status status = napi_has_named_property(env, object, name.c_str(), &exist); in GetNamedPropertyInt32() 87 if (status != napi_ok || !exist) { in GetNamedPropertyInt32() 225 MMI_HILOGE("Callback already exist"); in AddEventCallback()
|
/foundation/filemanagement/storage_service/services/storage_daemon/client/ |
H A D | storage_daemon_client.cpp | 78 bool exist = false; in CheckServiceStatus() local 80 auto object = samgr->CheckSystemAbility(STORAGE_DAEMON_SAID, exist); in CheckServiceStatus() 87 if (exist == false) { in CheckServiceStatus()
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/ |
H A D | hvigorw.bat | 43 if exist "%NODE_EXE_PATH%" goto execute
|
/foundation/arkui/ace_engine_lite/frameworks/module_manager/ |
H A D | module_manager.cpp | 282 bool exist = jerry_get_object_native_pointer(jObj, &nativePtr, nullptr); in GetObjectPointer() local 283 if (!exist || (nativePtr == nullptr)) { in GetObjectPointer()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/ |
H A D | hvigorw.bat | 56 if exist "%NODE_EXE_PATH%" goto execute
|
/foundation/communication/bluetooth_service/test/example/BluetoothSocketTest/ |
H A D | hvigorw.bat | 55 ) else if exist "%NODE_EXE_PATH%" (
|
/foundation/communication/bluetooth_service/test/example/bluetoothtest/ |
H A D | hvigorw.bat | 57 if exist "%NODE_EXE_PATH%" goto execute
|
/foundation/distributeddatamgr/preferences/test/ndk/unittest/ |
H A D | preferences_ndk_test.cpp | 162 void CheckTargetTypeValues(OH_Preferences *pref, bool exist, PrefDataType pdt) in CheckTargetTypeValues() argument 167 if (exist) { in CheckTargetTypeValues() 178 if (exist) { in CheckTargetTypeValues() 189 if (exist) { in CheckTargetTypeValues() 432 * @tc.desc: test Delete exist key 462 * @tc.desc: test Delete non-exist key
|
/foundation/communication/wifi/wifi/application/wifi_direct_demo/ |
H A D | gradlew.bat | 56 if exist "%JAVA_EXE%" goto init
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_utils.cpp | 258 MEDIA_INFO_LOG("path:%{public}s is not exist", DesensitizePath(path).c_str()); in PrintStatInformation() 286 /* Create directory and its sub directories if does not exist in CreateDirectory() 287 * take each string after '/' create directory if does not exist. in CreateDirectory() 661 MEDIA_ERR_LOG("dir not exist: %{private}s, error: %{public}d", path.c_str(), errno); in MediaFileDeletionRecord() 1264 MEDIA_ERR_LOG("Failed to modify asset, oldPath: %{private}s does not exist!", oldPath.c_str()); 1268 MEDIA_ERR_LOG("Failed to modify asset, newPath: %{private}s is already exist!", newPath.c_str()); 1821 MEDIA_ERR_LOG("AV_KEY_DURATION does not exist"); 1914 MEDIA_WARN_LOG("%{public}s doesn't exist, skip.", srcDir.c_str()); 1963 MEDIA_ERR_LOG("SrcDir:%{public}s is not exist", DesensitizePath(srcDir).c_str());
|
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A D | audio_recorder_napi.cpp | 350 bool exist = false; in GetAudioUriPath() local 351 napi_status status = napi_has_named_property(env, args, "uri", &exist); in GetAudioUriPath() 352 CHECK_AND_RETURN_RET_LOG(status == napi_ok && exist, MSERR_INVALID_OPERATION, "can not find uri property"); in GetAudioUriPath()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_client_service_impl.cpp | 670 bool exist = false; in CheckDhcpResultExist() local 679 exist = true; in CheckDhcpResultExist() 684 return exist; in CheckDhcpResultExist()
|