/foundation/window/window_manager/utils/include/ |
H A D | singleton_delegator.h | 31 nameT = nameT.substr(nameT.find("T = ")); in SingletonDelegator() 41 nameS = nameS.substr(nameS.find("S = ")); in Dep()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/permission/ |
H A D | checker_manager.cpp | 37 if (this->checkers_.find(key) != this->checkers_.end()) {
in LoadCheckers() 51 auto it = checkers_.find(DATA_CHECKER);
in IsValid()
|
/foundation/filemanagement/app_file_service/interfaces/kits/cj/src/ |
H A D | file_uri.cpp | 53 if (bundleName == MEDIA_AUTHORITY && sandboxPath.find(".") != string::npos) { in GetPath() 67 (uriOrPath.find(FILE_SCHEME_PREFIX) == 0) ? uriOrPath : AppFileService::CommonFunc::GetUriFromPath(uriOrPath) in FileUriImpl()
|
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_tmp_files_pool.cpp | 29 auto it = std::find(pool_.begin(), pool_.end(), path); in RemoveFile() 38 auto it = std::find(pool_.begin(), pool_.end(), path); in GetFile()
|
/test/xts/tools/lite/reliability/ |
H A D | RebootPressTest.py | 36 if str(cmdRet).find(DeviceKey) != -1: 40 if str(cmdRet).find(abilitySuccess) != -1:
|
/third_party/exfatprogs/tests/ |
H A D | test_fsck.sh | 22 TESTCASE_DIRS=$(find . -mindepth 1 -maxdepth 1 -type d) 23 TEST_COUNT=$(find . -mindepth 1 -maxdepth 1 -type d | wc -l)
|
/third_party/icu/tools/unicode/c/genuca/ |
H A D | genteststub.py | 28 ext=fname.find(".txt"); 41 pos = line.find("#")
|
/third_party/json/include/nlohmann/detail/ |
H A D | string_escape.hpp | 35 for (auto pos = s.find(f); // find first occurrence of f in replace_substring() 38 pos = s.find(f, pos + t.size())) // find next occurrence of f in replace_substring()
|
/third_party/ninja/src/ |
H A D | version.cc | 26 size_t end = version.find('.'); in ParseVersion() 31 end = version.find('.', start); in ParseVersion()
|
/third_party/rust/crates/clang-sys/tests/ |
H A D | lib.rs | 46 let clang = support::Clang::find(None, &[]).unwrap(); in test_support() 53 let clang = support::Clang::find(None, args).unwrap(); in test_support_target()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | FuncletLayout.cpp | 53 auto FuncletX = FuncletMembership.find(&X); in runOnMachineFunction() 54 auto FuncletY = FuncletMembership.find(&Y); in runOnMachineFunction()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | virtual_file_store.h | 42 auto it = files_by_path_.find(canonical); in Add() 61 auto it = files_by_path_.find(canonical); in Get()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | TypeName.h | 32 Name = Name.substr(Name.find(Key)); in getTypeName() 33 assert(!Name.empty() && "Unable to find the template parameter!"); in getTypeName() 42 Name = Name.substr(Name.find(Key)); in getTypeName() 43 assert(!Name.empty() && "Unable to find the function name!"); in getTypeName() 53 assert(AnglePos != StringRef::npos && "Unable to find the closing '>'!"); in getTypeName()
|
/third_party/skia/third_party/externals/tint/src/utils/ |
H A D | map.h | 35 auto it = map.find(key); 50 auto it = map.find(key); in GetOrCreate()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | optionalChainingInLoop.js | 5 comp.sp.y = comp.sp.r.find((k: any) => k.c == (comp.xp ? '1' : '0')) 16 comp.sp.y = comp.sp.r.find(function (k) { return k.c == (comp.xp ? '1' : '0'); });
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | TypeRegistryTest.java | 48 assertNull(TypeRegistry.getEmptyTypeRegistry().find(descriptor.getFullName())); in findDescriptorByFullName() 52 TypeRegistry.newBuilder().add(descriptor).build().find(descriptor.getFullName())); in findDescriptorByFullName()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | module_profile.cpp | 62 if (EXTENSION_TYPE_MAP.find(type) != EXTENSION_TYPE_MAP.end()) { in ConvertToExtensionAbilityType() 330 if (jsonObject.find(SRC_ENTRY) != jsonObject.end()) { in from_json() 605 if (jsonObject.find(SRC_ENTRY) != jsonObject.end()) { in from_json() 750 if (jsonObject.find(MIN_API_VERSION) != jsonObjectEnd) { in from_json() 761 if (jsonObject.find(DEVICE_CONFIG_KEEP_ALIVE) != jsonObjectEnd) { in from_json() 772 if (jsonObject.find(DEVICE_CONFIG_REMOVABLE) != jsonObjectEnd) { in from_json() 783 if (jsonObject.find(DEVICE_CONFIG_SINGLETON) != jsonObjectEnd) { in from_json() 794 if (jsonObject.find(DEVICE_CONFIG_USER_DATA_CLEARABLE) != jsonObjectEnd) { in from_json() 805 if (jsonObject.find(DEVICE_CONFIG_ACCESSIBLE) != jsonObjectEnd) { in from_json() 958 if (jsonObject.find(APP_REMOVABL in from_json() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/ |
H A D | media_library_manager.cpp | 132 if (uri.find(uriKey) != string::npos) { in UriAppendKeyValue() 135 char queryMark = (uri.find('?') == string::npos) ? '?' : '&'; in UriAppendKeyValue() 137 size_t posJ = uri.find('#'); in UriAppendKeyValue() 192 if (uri.find("..") != string::npos) { in CheckUri() 201 if (uri.find("..") != string::npos) { in CheckPhotoUri() 349 if (filePath.find(prePath) != 0) { in SolvePath() 353 auto pos = postpath.find('/'); in SolvePath() 408 if (tempPath.find(ROOT_MEDIA_DIR) != 0) { in GetFilePathFromUri() 412 auto pos = relativePath.find('/'); in GetFilePathFromUri() 436 if (tempPath.find(ROOT_MEDIA_DI in GetUriFromFilePath() [all...] |
/foundation/window/window_manager/dmserver/src/ |
H A D | abstract_screen_controller.cpp | 92 auto screenIdIter = std::find(validScreenIds.begin(), validScreenIds.end(), screenId);
in GetAllValidScreenIds() 96 auto iter = dmsScreenMap_.find(screenId);
in GetAllValidScreenIds() 126 WLOGE("[UpdateRSTree] can not find abstractScreen");
in UpdateRSTree() 132 WLOGE("[UpdateRSTree] can not find parentAbstractScreen");
in UpdateRSTree() 150 WLOGFE("Can not find abstractScreen");
in AddSurfaceNodeToScreen() 161 WLOGFE("Can not find abstractScreen");
in RemoveSurfaceNodeFromScreen() 171 auto iter = dmsScreenMap_.find(dmsScreenId);
in GetAbstractScreen() 173 WLOGE("did not find screen:%{public}" PRIu64"", dmsScreenId);
in GetAbstractScreen() 182 auto iter = dmsScreenGroupMap_.find(dmsScreenId);
in GetAbstractScreenGroup() 184 WLOGE("did not find scree in GetAbstractScreenGroup() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_session_impl_test4.cpp | 450 auto existsListener = std::find(holder.begin(), holder.end(), listener); in HWTEST_F() 485 auto existsListener = std::find(holder.begin(), holder.end(), listener); in HWTEST_F() 1674 ASSERT_NE(window_->displayMoveListeners_.find(persistentId), window_->displayMoveListeners_.end()); in HWTEST_F() 1677 ASSERT_EQ(window_->displayMoveListeners_.find(persistentId), window_->displayMoveListeners_.end()); in HWTEST_F() 1700 ASSERT_NE(window_->lifecycleListeners_.find(persistentId), window_->lifecycleListeners_.end()); in HWTEST_F() 1703 ASSERT_EQ(window_->lifecycleListeners_.find(persistentId), window_->lifecycleListeners_.end()); in HWTEST_F() 1726 ASSERT_NE(window_->windowChangeListeners_.find(persistentId), window_->windowChangeListeners_.end()); in HWTEST_F() 1729 ASSERT_EQ(window_->windowChangeListeners_.find(persistentId), window_->windowChangeListeners_.end()); in HWTEST_F() 1752 ASSERT_NE(window_->avoidAreaChangeListeners_.find(persistentId), window_->avoidAreaChangeListeners_.end()); in HWTEST_F() 1755 ASSERT_EQ(window_->avoidAreaChangeListeners_.find(persistentI in HWTEST_F() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_rdb_data_mgr.cpp | 103 auto formRdbTableCfgIter = formRdbTableCfgMap_.find(formRdbTableConfig.tableName); in InitFormRdbTable() 169 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in InsertData() 214 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in InsertData() 261 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in DeleteData() 306 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in QueryData() 358 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in QueryData() 425 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in QueryAllData() 490 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in QueryAllKeys() 573 if (formRdbTableCfgMap_.find(tableName) == formRdbTableCfgMap_.end()) { in InsertData()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | cache_process_manager.cpp | 165 if (sameAppSet.find(bundleName) == sameAppSet.end() || in CheckAndNotifyCachedState() 166 sameAppSet[bundleName].find(uid) == sameAppSet[bundleName].end()) { in CheckAndNotifyCachedState() 503 if (sameAppSet.find(bundleName) == sameAppSet.end()) { in AddToApplicationSet() 511 if (sameAppSet[bundleName].find(uid) == sameAppSet[bundleName].end()) { in AddToApplicationSet() 527 if (sameAppSet.find(bundleName) == sameAppSet.end()) { in RemoveFromApplicationSet() 531 if (sameAppSet[bundleName].find(uid) == sameAppSet[bundleName].end()) { in RemoveFromApplicationSet() 571 if (srvExtCheckedFlag.find(appRecord) != srvExtCheckedFlag.end()) { in IsAppContainsSrvExt() 572 return srvExtRecords.find(appRecord) != srvExtRecords.end() ? true : false; in IsAppContainsSrvExt() 598 return srvExtRecords.find(appRecord) != srvExtRecords.end() ? true : false; in IsAppContainsSrvExt()
|
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | source_map.cpp | 114 // find per line of stack in TranslateBySourceMap() 137 start = temp.find(openBrace); in TranslateBySourceMap() 138 end = temp.find(":"); in TranslateBySourceMap() 140 start = temp.find("/ets/"); in TranslateBySourceMap() 147 auto closeBracePos = static_cast<int32_t>(temp.find(closeBrace)); in TranslateBySourceMap() 148 auto openBracePos = static_cast<int32_t>(temp.find(openBrace)); in TranslateBySourceMap() 158 auto iter = sourceMaps_.find(key); in TranslateBySourceMap() 326 auto pos = sources.find(WEBPACK); in Find() 369 // find line, column in GetPosInfo() 487 size_t findLineEnd = rawStack.find("\ in GetErrorPos() [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/ |
H A D | ecs.cpp | 140 return std::find(list.begin(), list.end(), value); in Find() 214 auto list = componentManagerListeners_.find(&manager); in AddListener() 227 auto list = componentManagerListeners_.find(&manager); in RemoveListener() 333 if (auto pos = systems_.find(uid); pos != systems_.end()) { in GetSystem() 351 if (auto pos = managers_.find(uid); pos != managers_.end()) { in GetComponentManager() 413 if (auto it = componentManagerListeners_.find(m.get()); it != componentManagerListeners_.cend()) { in ProcessComponentEvents() 605 if (const auto pos = systems_.find(systemInfo->uid); pos != systems_.cend()) { in OnTypeInfoEvent() 614 if (const auto pos = managers_.find(managerInfo->uid); pos != managers_.end()) { in OnTypeInfoEvent() 624 if (const auto listenerIt = componentManagerListeners_.find(manager); in OnTypeInfoEvent()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_auto_connect_service.cpp | 154 auto iter = blockedBssidMap.find(bssid); in AddOrDelBlockedBssids() 158 auto iterator = blockedBssidMap.find(bssid); in AddOrDelBlockedBssids() 411 if (mgmt.find("WPA-PSK") != std::string::npos || mgmt.find("WPA2-PSK") != std::string::npos) { in RoamingEncryptionModeCheck() 413 } else if (mgmt.find("EAP") != std::string::npos) { in RoamingEncryptionModeCheck() 415 } else if (mgmt.find("SAE") != std::string::npos) { in RoamingEncryptionModeCheck() 418 if (mgmt.find("WEP") != std::string::npos && network.wepTxKeyIndex == 0) { in RoamingEncryptionModeCheck() 421 } else if (mgmt.find("WEP") == std::string::npos && network.wepTxKeyIndex != 0) { in RoamingEncryptionModeCheck() 619 auto itr = find(blockedBssids.begin(), blockedBssids.end(), scanInfo.bssid); in GetAvailableScanInfos()
|