/foundation/communication/dsoftbus/core/transmission/session/src/ |
H A D | softbus_scenario_manager.c | 143 if (strcmp(tmp->localMac, scenarioInfo->localMac) == 0 && in ScenarioManagerGetOrAddScenarioItem() 144 strcmp(tmp->peerMac, scenarioInfo->peerMac) == 0) { in ScenarioManagerGetOrAddScenarioItem() 179 if (strcmp(tmp->localMac, scenarioItem->localMac) == 0 && in ScenarioManagerDelScenarioItem() 180 strcmp(tmp->peerMac, scenarioItem->peerMac) == 0) { in ScenarioManagerDelScenarioItem() 205 if (strcmp(localMac, pair->mac) == 0) { in ScenarioManagerGetIfaceNameByMac() 244 if (strcmp(localMac, LOCAL_MAC_1) == 0) { in ScenarioManagerFindIfaceNameByLocalMac() 246 } else if (strcmp(localMac, LOCAL_MAC_2) == 0) { in ScenarioManagerFindIfaceNameByLocalMac()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_profile.cpp | 284 if (strcmp(activeAddr.GetAddress().c_str(), rawAddress.GetAddress().c_str()) == 0) { in IsActiveDevice() 690 if ((strcmp(A2DP_PROFILE_OPEN.c_str(), peer->GetStateMachine()->GetStateName().c_str()) == 0) || in Stop() 691 (strcmp(A2DP_PROFILE_STREAMING.c_str(), peer->GetStateMachine()->GetStateName().c_str()) == 0)) { in Stop() 722 if (strcmp(A2DP_PROFILE_STREAMING.c_str(), peer->GetStateMachine()->GetStateName().c_str()) == 0) { in Start() 752 if (strcmp(A2DP_PROFILE_STREAMING.c_str(), peerProfile->GetStateMachine()->GetStateName().c_str()) == 0) { in JudgeAllowedStreaming() 778 if (strcmp(A2DP_PROFILE_OPEN.c_str(), peer->GetStateMachine()->GetStateName().c_str()) == 0 || in Close() 779 strcmp(A2DP_PROFILE_STREAMING.c_str(), peer->GetStateMachine()->GetStateName().c_str()) == 0) { in Close() 797 if (strcmp(A2DP_PROFILE_STREAMING.c_str(), peer->GetStateMachine()->GetStateName().c_str()) == 0) { in HasStreaming() 813 if (strcmp(A2DP_PROFILE_OPEN.c_str(), peer->GetStateMachine()->GetStateName().c_str()) == 0) { in HasOpen() 910 if (strcmp(A2DP_PROFILE_OPE in Reconfigure() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | module_split_stream_sink.c | 390 if (strcmp(usageStr, STREAM_TYPE_NAVIGATION) && !strcmp(streamType, STREAM_TYPE_MEDIA)) { in IsPeekCurrentSinkInput() 392 } else if (!strcmp(usageStr, STREAM_TYPE_NAVIGATION) && !strcmp(streamType, STREAM_TYPE_NAVIGATION)) { in IsPeekCurrentSinkInput() 398 if (strcmp(usageStr, STREAM_TYPE_NAVIGATION) && strcmp(usageStr, STREAM_TYPE_COMMUNICATION) && in IsPeekCurrentSinkInput() 399 !strcmp(streamType, STREAM_TYPE_MEDIA)) { in IsPeekCurrentSinkInput() 401 } else if (!strcmp(usageStr, STREAM_TYPE_NAVIGATION) && !strcmp(streamType, STREAM_TYPE_NAVIGATION)) { in IsPeekCurrentSinkInput() 403 } else if (!strcmp(usageSt in IsPeekCurrentSinkInput() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/vibrator/ |
H A D | vibrator_utils.cpp | 74 if (strcmp(realVibratorType, VIBRATOR_TYPE_INVALID) == 0) { in StartVibraFeedback()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | app_style_list.cpp | 69 if ((strlen(styleName) == strlen(name)) && strcmp(styleName, name) == 0) { in GetExistStyle()
|
H A D | app_style_item.cpp | 32 if (!strcmp(p, PSEUDO_CLASS_TYPE_ACTIVE)) { in EstimatePseudoClassType() 34 } else if (!strcmp(p, PSEUDO_CLASS_TYPE_CHECKED)) { in EstimatePseudoClassType()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/utils/ |
H A D | edm_parameter_utils.cpp | 38 if (strcmp(paramOutBuf, "true") == 0) { in CheckBoolEdmParameter()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
H A D | font_config.cpp | 238 if (!strcmp(key, "fontdir")) { in ParseConfigList() 240 } else if (!strcmp(key, "generic")) { in ParseConfigList() 242 } else if (!strcmp(key, "fallback")) { in ParseConfigList() 414 strcmp(item2->string, FALLBACK_VARIATIONS_KEY) == 0 || in ParseFallback() 415 strcmp(item2->string, FALLBACK_INDEX_KEY) == 0) { in ParseFallback()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_devicename_info.c | 175 strcmp(peerNodeInfo->deviceInfo.unifiedName, peerNodeInfo->deviceInfo.unifiedDefaultName) != 0) { in SetDisplayName() 207 if (strcmp(peerNodeInfo.deviceInfo.nickName, nickName) == 0) { in NickNameMsgProc() 233 if (strcmp(peerNodeInfo.deviceInfo.deviceName, displayName) == 0 || strlen(displayName) == 0) { in NickNameMsgProc() 415 if (strcmp(key, BOOTEVENT_ACCOUNT_READY) != 0 || strcmp(value, "true") != 0) { in AccountBootEventHandle()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/ |
H A D | bms_helper.cpp | 89 if (temporaryBundleName != nullptr && strcmp(bundleName, temporaryBundleName) == 0) { in IsTemporaryBundleName() 118 if (strcmp(bundleName, bundleName_) == 0) { in IsNativeApp()
|
H A D | native_ability_thread.cpp | 50 if ((ability_->bundleName_ == nullptr) || (strcmp(ability_->bundleName_, LAUNCHER_BUNDLE_NAME) != 0)) { in ~NativeAbilityThread() 104 if (strcmp(abilityRecord->appName, LAUNCHER_BUNDLE_NAME) == 0) { in InitAbilityThread()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/samples/ |
H A D | ace_phone_test.cpp | 94 if (!std::strcmp(argv[1], ACE_VERSION_2)) { in main() 97 } else if (!std::strcmp(argv[1], MODEL_STAGE)) { in main()
|
H A D | ace_car_test.cpp | 93 if (!std::strcmp(argv[1], ACE_VERSION_2)) { in main() 96 } else if (!std::strcmp(argv[1], MODEL_STAGE)) { in main()
|
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_dialog_unit_test.cpp | 144 if (strcmp(buttonText0, buttonText) != 0) { in HWTEST_F() 210 if (strcmp(buttonText0, buttonText) != 0) { in HWTEST_F()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | switch_tdd_test.cpp | 182 if (!strcmp(toggleButton->GetViewId(), "switch") && toggleButton->IsVisible() == false) { in ComponentSwitchAttributeSetTest003() 187 EXPECT_TRUE((!strcmp(toggleButton->GetViewId(), "switch")) && (toggleButton->IsVisible() == false)); in ComponentSwitchAttributeSetTest003()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_file_utils.cpp | 119 if ((strcmp(dp->d_name, ".") == 0) || (strcmp(dp->d_name, "..")) == 0) { in RemoveFile()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_usage_strategy_parser.cpp | 65 if (strcmp(pValue, "streamUsage") == 0) { in ParseInternal() 67 } else if (strcmp(pValue, "sourceType") == 0) { in ParseInternal()
|
/foundation/multimedia/media_foundation/engine/foundation/osal/filesystem/ |
H A D | file_system.cpp | 138 if (strcmp(info->d_name, ".") == 0 || strcmp(info->d_name, "..") == 0) { in RemoveFilesInDir()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/ |
H A D | lnn_physical_subnet_manager.c | 139 if (strcmp(g_physicalSubnets[i]->ifName, LNN_PHYSICAL_SUBNET_ALL_NETIF) != 0 && in DoNotifyStatusChange() 140 strcmp(g_physicalSubnets[i]->ifName, ifName) != 0) { in DoNotifyStatusChange()
|
/foundation/communication/dsoftbus/core/frame/small/client_manager/src/ |
H A D | softbus_client_info_manager.c | 112 if (strcmp(clientInfo->name, name) == 0) { in SERVER_GetIdentityByPkgName() 193 if (strcmp(clientInfo->name, name) == 0) { in SERVER_UnregisterService()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | traffic_manager.cpp | 56 if (strcmp(ptr->d_name, ".") != 0 && strcmp(ptr->d_name, "..") != 0) { in GetInterfaceList()
|
/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_common/ |
H A D | kvstore_common.c | 84 while (strcmp(key, item->key) != 0) {
in DeleteKVCache() 165 while (strcmp(key, item->key) != 0) {
in GetValueByCache()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | rmdirent.cpp | 51 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) { in rmdirent()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 273 if (strcmp(entryName.c_str(), ".") == 0 || in ExtractFiles() 274 strcmp(entryName.c_str(), "..") == 0) { in ExtractFiles() 319 if (strcmp(entryName.c_str(), ".") == 0 || in ExtractFiles() 320 strcmp(entryName.c_str(), "..") == 0) { in ExtractFiles() 672 if (strcmp(ptr->d_name, ".") == 0 || strcmp(ptr->d_name, "..") == 0) { in ChangeDirOwnerRecursively() 765 if (strcmp(ptr->d_name, ".") == 0 || strcmp(ptr->d_name, "..") == 0) { in DeleteFiles() 802 if (strcmp(ptr->d_name, ".") == 0 || strcmp(pt in DeleteFilesExceptDirs() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.cpp | 311 if ((language_ != nullptr) && (strcmp(currentLanguage, language_) == 0) && in ChangeLanguage() 312 (countries_ != nullptr) && (strcmp(currentOrigion, countries_) == 0)) { in ChangeLanguage() 377 if (strcmp(dptr->d_name, ".") == 0 || strcmp(dptr->d_name, "..") == 0) { in GetFiles() 430 if (!strcmp(fileName, GetNode(fileList, i))) { in IsFileExistFullMatch() 445 if ((languageFile_ != nullptr) && (!strcmp(languageFile_, "en-US.json"))) { in ChangeLanguageFileName() 477 if ((languageFile_ != nullptr) && (!strcmp(languageFile, languageFile_))) { in ChangeLanguageFileName() 774 if ((nodeKey != nullptr) && (!strcmp(key, nodeKey))) { in GetValueFromCache()
|