| /foundation/multimodalinput/input/service/event_handler/src/ |
| H A D | key_map_manager.cpp | 63 auto iter = configKeyValue_.find(deviceId); in RemoveKeyValue() 99 if (auto itr = configKeyValue_.find(defaultKeyId_); itr != configKeyValue_.end()) { in TransferDefaultKeyValue() 100 if (auto defaultKey = itr->second.find(inputKey); defaultKey != itr->second.end()) { in TransferDefaultKeyValue() 116 if (auto itr = configKeyValue_.find(deviceId); itr != configKeyValue_.end()) { in TransferDeviceKeyValue() 117 if (auto devKey = itr->second.find(inputKey); devKey != itr->second.end()) { in TransferDeviceKeyValue() 127 if (auto iter = configKeyValue_.find(deviceId); iter != configKeyValue_.end()) { in InputTransferKeyValue() 134 } else if (auto itr = configKeyValue_.find(defaultKeyId_); itr != configKeyValue_.end()) { in InputTransferKeyValue()
|
| /foundation/window/window_manager/wmserver/src/ |
| H A D | minimize_app.cpp | 65 if (needMinimizeAppNodes_.find(reason) != needMinimizeAppNodes_.end()) { in GetNeedMinimizeAppNodesWithReason() 92 if (needMinimizeAppNodes_.find(reason) != needMinimizeAppNodes_.end()) { in ClearNodesWithReason() 101 if (needMinimizeAppNodes_.find(MinimizeReason::LAYOUT_TILE) != needMinimizeAppNodes_.end()) { in GetRecoverdNodeFromMinimizeList() 120 if (std::find(nodes.begin(), nodes.end(), node) != nodes.end()) { in IsNodeNeedMinimize() 133 if (needMinimizeAppNodes_.find(reason) == needMinimizeAppNodes_.end()) { in IsNodeNeedMinimizeWithReason() 139 if (std::find(nodes.begin(), nodes.end(), node) != nodes.end()) { in IsNodeNeedMinimizeWithReason() 161 if (needMinimizeAppNodes_.find(reason) != needMinimizeAppNodes_.end()) { in ExecuteMinimizeTargetReasons()
|
| /third_party/skia/third_party/externals/spirv-tools/source/opt/ |
| H A D | local_single_block_elim_pass.cpp | 32 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 83 auto prev_store = var2store_.find(varId); in LocalSingleBlockLoadStoreElim() 93 auto li = var2load_.find(varId); in LocalSingleBlockLoadStoreElim() 126 auto si = var2store_.find(varId); in LocalSingleBlockLoadStoreElim() 130 auto li = var2load_.find(varId); in LocalSingleBlockLoadStoreElim() 138 auto si = var2store_.find(varId); in LocalSingleBlockLoadStoreElim() 188 if (extensions_allowlist_.find(extName) == extensions_allowlist_.end()) in AllExtensionsSupported()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| H A D | local_single_block_elim_pass.cpp | 32 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs() 83 auto prev_store = var2store_.find(varId); in LocalSingleBlockLoadStoreElim() 93 auto li = var2load_.find(varId); in LocalSingleBlockLoadStoreElim() 126 auto si = var2store_.find(varId); in LocalSingleBlockLoadStoreElim() 130 auto li = var2load_.find(varId); in LocalSingleBlockLoadStoreElim() 138 auto si = var2store_.find(varId); in LocalSingleBlockLoadStoreElim() 188 if (extensions_allowlist_.find(extName) == extensions_allowlist_.end()) in AllExtensionsSupported()
|
| /third_party/skia/tests/ |
| H A D | ImageCacheTest.cpp | 50 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value)); in test_cache() 55 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value)); in test_cache() 70 (void)cache.find(TestingKey(i), TestingRec::Visitor, &value); in test_cache() 87 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value)); in test_cache_purge_shared_id() 100 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value)); in test_cache_purge_shared_id() 102 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value)); in test_cache_purge_shared_id() 150 REPORTER_ASSERT(r, cache.find(key, TestingRec::Visitor, &value)); in DEF_TEST()
|
| /foundation/ability/ability_runtime/test/moduletest/mission_dump_test/ |
| H A D | mission_dump_test.cpp | 108 idx = result.find("Current"); in HWTEST_F() 112 idx1 = result.find("lockedState"); in HWTEST_F() 116 idx2 = result.find("AbilityRecord"); in HWTEST_F() 166 idx = result.find("launcher"); in HWTEST_F() 169 idx = result.find("lockedState"); in HWTEST_F() 172 idx = result.find("AbilityRecord"); in HWTEST_F() 222 idx = result.find("stand"); in HWTEST_F() 225 idx = result.find("lockedState"); in HWTEST_F() 228 idx = result.find("AbilityRecord"); in HWTEST_F() 278 idx = result.find("singl in HWTEST_F() [all...] |
| /foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
| H A D | gatt_database.cpp | 86 auto sIt = services_.find(handle); in DeleteService() 222 auto service = services_.find(serviceHandle); in GetIncludeServices() 245 auto service = services_.find(serviceHandle); in GetCharacteristics() 254 auto service = services_.find(handle); in GetService() 263 auto it = valueHandleMap_.find(valueHandle); in GetCharacteristic() 265 auto service = services_.find(it->second.first); in GetCharacteristic() 267 auto ccc = service->second.characteristics_.find(it->second.second); in GetCharacteristic() 278 auto it = valueHandleMap_.find(valueHandle); in GetDescriptor() 282 auto service = services_.find(it->second.first); in GetDescriptor() 286 auto ccc = service->second.characteristics_.find(i in GetDescriptor() [all...] |
| H A D | gatt_cache.cpp | 40 auto it = services_.find(serviceHandle); in AddIncludeService() 52 auto it = services_.find(serviceHandle); in AddCharacteristic() 69 auto cIt = sIt.second.characteristics_.find(cccHandle); in AddDescriptor() 82 auto it = valueHandleMap_.find(valueHandle); in GetCharacteristic() 84 auto svc = services_.find(it->second.first); in GetCharacteristic() 86 auto ccc = svc->second.characteristics_.find(it->second.second); in GetCharacteristic() 97 auto it = valueHandleMap_.find(valueHandle); in GetDescriptor() 101 auto svc = services_.find(it->second.first); in GetDescriptor() 105 auto ccc = svc->second.characteristics_.find(it->second.second); in GetDescriptor() 109 auto descriptor = ccc->second.descriptors_.find(valueHandl in GetDescriptor() [all...] |
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
| H A D | RewriteStructSamplers.cpp | 83 if (!node->getType().isSampler() && structureMap.find(structure) == structureMap.end()) in RewriteExpressionVisitBinaryHelper() 93 ASSERT(structureMap.find(structure) != structureMap.end()); in RewriteExpressionVisitBinaryHelper() 139 ASSERT(mStructureUniformMap.find(&node->variable()) == mStructureUniformMap.end()); 264 ASSERT(extractedSamplers.find(samplerName) != extractedSamplers.end()); in RewriteModifiedStructFieldSelectionExpression() 270 ASSERT(structureUniformMap.find(baseUniformVar) != structureUniformMap.end()); in RewriteModifiedStructFieldSelectionExpression() 286 ASSERT(structureMap.find(structure) != structureMap.end()); in RewriteModifiedStructFieldSelectionExpression() 364 ASSERT(structure && mStructureMap.find(structure) == mStructureMap.end()); 374 if (mStructureMap.find(structure) == mStructureMap.end()) 414 ASSERT(mStructureUniformMap.find(&node->variable()) == mStructureUniformMap.end()); 425 ASSERT(mStructureMap.find(structur in stripStructSpecifierSamplers() [all...] |
| /foundation/bundlemanager/app_domain_verify/frameworks/verifier/src/ |
| H A D | domain_json_util.cpp | 43 if (jsonObj.find(ApplinkingAssetKeys::APP_LINKING) == jsonObj.end() || in Parse() 49 if (applinkingObj.find(ApplinkingAssetKeys::APPS) != applinkingObj.end() && in Parse() 55 appVerifyBaseInfo.appIdentifier = arrayItem.find(ApplinkingAssetKeys::APP_IDENTIFIER) != in Parse() 60 appVerifyBaseInfo.bundleName = arrayItem.find(ApplinkingAssetKeys::BUNDLE_NAME) != arrayItem.end() && in Parse() 64 appVerifyBaseInfo.fingerprint = arrayItem.find(ApplinkingAssetKeys::FINGERPRINT) != arrayItem.end() && in Parse()
|
| /foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/ |
| H A D | enhancement_task_manager.cpp | 40 if (taskInProcess_.find(photoId) == taskInProcess_.end()) {
in RemoveEnhancementTask() 60 if (photoId.empty() || taskInProcess_.find(photoId) == taskInProcess_.end()) {
in InProcessingTask() 69 if (fileId2PhotoId_.find(fileId) != fileId2PhotoId_.end()) {
in QueryPhotoIdByFileId() 78 if (taskInProcess_.find(photoId) != taskInProcess_.end()) {
in SetTaskRequestCount() 86 if (taskInProcess_.find(photoId) != taskInProcess_.end()) {
in GetTaskRequestCount()
|
| /foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/ |
| H A D | trans_mananger.cpp | 32 auto iter = sessionTransMap_.find(sessionName); in NotifyFileProgress() 47 auto iter = sessionTransMap_.find(sessionName); in NotifyFileFailed() 62 auto iter = sessionTransMap_.find(sessionName); in NotifyFileFinished() 77 auto iter = sessionTransMap_.find(sessionName); in AddTransTask() 88 auto iter = sessionTransMap_.find(sessionName); in DeleteTransTask()
|
| /third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
| H A D | ldso_dlerror_test.cpp | 35 mainCheck = mainErr.find("MainSymbolNotExist"); in HWTEST_F() 40 childCheck = childErr.find("ChildSymbolNotExist"); in HWTEST_F() 43 mainCheck = mainErr.find("MainSymbolNotExist"); in HWTEST_F() 63 mainCheck = mainErr.find("MainSymbolNotExist"); in HWTEST_F() 65 childCheck = childErr.find("ChildSymbolNotExist"); in HWTEST_F()
|
| /foundation/ability/form_fwk/frameworks/js/napi/form_host/ |
| H A D | js_form_state_observer.cpp | 152 if (formAddCallbackMap_.find(bundleName) == formAddCallbackMap_.end()) { in CheckMapSize() 160 if (formRemoveCallbackMap_.find(bundleName) == formRemoveCallbackMap_.end()) { in CheckMapSize() 182 auto formAddCallbacks = formAddCallbackMap_.find(bundleName); in RegisterFormAddCallback() 211 auto formRemoveCallbacks = formRemoveCallbackMap_.find(bundleName); in RegisterFormRemoveCallback() 234 auto formAddCallbacks = formAddCallbackMap_.find(bundleName); in ClearFormAddCallbackByBundle() 249 auto formAddCallbacks = formAddCallbackMap_.find(bundleName); in DelFormAddCallbackByBundle() 272 auto callbackClient = formAddCallbackMap_.find(bundleName); in OnAddForm() 285 auto formRemoveCallbacks = formRemoveCallbackMap_.find(bundleName); in ClearFormRemoveCallbackByBundle() 300 auto formRemoveCallbacks = formRemoveCallbackMap_.find(bundleName); in DelFormRemoveCallbackByBundle() 323 auto callbackClient = formRemoveCallbackMap_.find(bundleNam in OnRemoveForm() [all...] |
| /foundation/barrierfree/accessibility/services/aams/test/mock/src/aafwk/ |
| H A D | mock_bundle_manager.cpp | 68 auto fun = abilityInfoMap_.find(bundleNameTemp); in QueryAbilityInfo() 76 if (std::string::npos != elementTemp.GetBundleName().find("service")) { in QueryAbilityInfo() 147 auto find = false; in CheckWantEntity() local 152 find = true; in CheckWantEntity() 159 if (find || (bundleName == AbilityConfig::SYSTEM_UI_BUNDLE_NAME && in CheckWantEntity() 162 GTEST_LOG_(INFO) << "QueryAbilityInfo ++> system luncher, find :" << find; in CheckWantEntity()
|
| /foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
| H A D | string_util.h | 98 // find and replace first instance of "find" with "replace" in "source" 100 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceOne() 102 const auto p = source.find(find); in FindAndReplaceOne() 105 source.begin() + static_cast<BASE_NS::string::difference_type>(p + find.length()), replace); in FindAndReplaceOne() 109 // find and replace all instances of "find" with "replace" in "source" 111 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceAll() 113 while (FindAndReplaceOne(source, find, replac in FindAndReplaceAll() 99 FindAndReplaceOne( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceOne() argument 110 FindAndReplaceAll( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceAll() argument [all...] |
| /foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/ |
| H A D | sequential_task_queue.cpp | 48 CORE_ASSERT(std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier) == tasks_.cend()); in Submit() 55 auto it = std::find(tasks_.begin(), tasks_.end(), afterIdentifier); in SubmitAfter() 68 auto it = std::find(tasks_.begin(), tasks_.end(), afterIdentifier); in SubmitAfter() 83 CORE_ASSERT(std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier) == tasks_.cend()); in SubmitBefore() 85 auto it = std::find(tasks_.begin(), tasks_.end(), beforeIdentifier); in SubmitBefore() 93 auto it = std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier); in Remove()
|
| /foundation/graphic/graphic_3d/lume/LumeEngine/src/util/ |
| H A D | string_util.h | 99 // find and replace first instance of "find" with "replace" in "source" 101 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceOne() 103 const auto p = source.find(find); in FindAndReplaceOne() 106 source.cbegin() + static_cast<BASE_NS::string::difference_type>(p + find.length()), replace); in FindAndReplaceOne() 110 // find and replace all instances of "find" with "replace" in "source" 112 BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) in FindAndReplaceAll() 114 while (FindAndReplaceOne(source, find, replac in FindAndReplaceAll() 100 FindAndReplaceOne( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceOne() argument 111 FindAndReplaceAll( BASE_NS::string& source, const BASE_NS::string_view find, const BASE_NS::string_view replace) FindAndReplaceAll() argument [all...] |
| /foundation/window/window_manager/utils/src/ |
| H A D | singleton_container.cpp | 38 if (dependencySetMap.find(it->first) != dependencySetMap.end()) { in ~SingletonContainer() 58 if (stringMap.find(name) == stringMap.end()) { in AddSingleton() 71 if (stringMap.find(name) == stringMap.end()) { in SetSingleton() 81 if (stringMap.find(name) == stringMap.end()) { in GetSingleton() 85 if (singletonMap.find(stringMap[name]) == singletonMap.end()) { in GetSingleton() 86 WLOGFE("can not find singleton, name is %{public}s", name.c_str()); in GetSingleton() 95 if (instanceDependencySet.find(stringMap[name]) == instanceDependencySet.end()) { in DependOn()
|
| /third_party/skia/third_party/externals/angle2/src/common/ |
| H A D | gen_uniform_type_table.py | 113 if uniform_type.find("GL_BOOL") == 0: 115 elif uniform_type.find("GL_FLOAT") == 0: 117 elif uniform_type.find("GL_INT") == 0: 119 elif uniform_type.find("GL_UNSIGNED_INT") == 0: 137 return "GL_FLOAT_MAT" + uniform_type[-1] + "x" + uniform_type[uniform_type.find("_MAT") 182 return uniform_type[uniform_type.find("_MAT") + 4]
|
| /third_party/mesa3d/src/imgui/ |
| H A D | imstb_textedit.h | 5 // Grep for [DEAR IMGUI] to find the changes. 407 // search rows to find one that straddles 'y' in stb_text_locate_coord() 514 // find the x/y location of a character, and remember info about the previous row in 516 static void stb_textedit_find_charpos(StbFindState *find, STB_TEXTEDIT_STRING *str, int n, int single_line) in stb_textedit_find_charpos() argument 524 // if it's at the end, then find the last line -- simpler than trying to in stb_textedit_find_charpos() 528 find->y = 0; in stb_textedit_find_charpos() 529 find->first_char = 0; in stb_textedit_find_charpos() 530 find->length = z; in stb_textedit_find_charpos() 531 find->height = r.ymax - r.ymin; in stb_textedit_find_charpos() 532 find in stb_textedit_find_charpos() 859 StbFindState find; stb_textedit_key() local 910 StbFindState find; stb_textedit_key() local [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
| H A D | rs_screen_manager.cpp | 244 auto iter = screens_.find(id);
in IsAllScreensPowerOff() 312 RS_LOGE("RSScreenManager %{public}s: Failed to find RSScreenManager instance.", __func__);
in OnHotPlug() 325 if (pendingHotPlugEvents_.find(id) != pendingHotPlugEvents_.end()) {
in OnHotPlugEvent() 354 RS_LOGE("RSScreenManager %{public}s: Failed to find RSScreenManager instance.", __func__);
in OnRefresh() 377 RS_LOGE("RSScreenManager %{public}s: Failed to find RSScreenManager instance.", __func__);
in OnHwcDead() 407 RS_LOGE("RSScreenManager %{public}s: Failed to find RSScreenManager instance.", __func__);
in OnScreenVBlankIdle() 430 RS_LOGE("RSScreenManager %{public}s: Failed to find RSScreenManager instance.", __func__);
in CleanAndReinit() 501 auto screenIt = screens_.find(id);
in ProcessScreenHotPlugEvents() 505 auto screenCorrectionIt = screenCorrection_.find(id);
in ProcessScreenHotPlugEvents() 506 auto screenBacklightIt = screenBacklight_.find(i in ProcessScreenHotPlugEvents() [all...] |
| /foundation/multimedia/player_framework/services/engine/common/recorder_profiles/ |
| H A D | recorder_profiles_xml_parser.cpp | 137 if (PROFILE_QUALITY_MAP.find(capabilityValue) != PROFILE_QUALITY_MAP.end()) {
in SetCapabilityIntData() 247 if (capabilityStringMap.find(capabilityKey) != capabilityStringMap.end()) {
in SetContainerFormat() 251 CHECK_AND_RETURN_RET_LOG(ret != false, false, "can not find capabilityKey: %{public}s", capabilityKey.c_str());
in SetContainerFormat() 268 if (capabilityStringMap.find(capabilityKey) != capabilityStringMap.end()) {
in SetVideoRecorderCaps() 271 } else if (capabilityRangeMap.find(capabilityKey) != capabilityRangeMap.end()) {
in SetVideoRecorderCaps() 275 CHECK_AND_RETURN_RET_LOG(ret != false, false, "can not find capabilityKey: %{public}s", capabilityKey.c_str());
in SetVideoRecorderCaps() 294 if (capabilityStringMap.find(capabilityKey) != capabilityStringMap.end()) {
in SetAudioRecorderCaps() 297 } else if (capabilityRangeMap.find(capabilityKey) != capabilityRangeMap.end()) {
in SetAudioRecorderCaps() 300 } else if (capabilityVectorMap.find(capabilityKey) != capabilityVectorMap.end()) {
in SetAudioRecorderCaps() 304 CHECK_AND_RETURN_RET_LOG(ret != false, false, "can not find capabilityKe in SetAudioRecorderCaps() [all...] |
| /third_party/gn/src/gn/ |
| H A D | scope.cc | 101 RecordMap::iterator found = values_.find(ident); in GetValueWithScope() 123 RecordMap::iterator found = values_.find(ident); in GetMutableValue() 139 RecordMap::const_iterator found = values_.find(ident); in GetStorageKey() 156 RecordMap::const_iterator found = values_.find(ident); in GetValueWithScope() 176 RecordMap::iterator found = values_.find(ident); in RemoveIdentifier() 204 TemplateMap::const_iterator found = templates_.find(name); in GetTemplate() 213 RecordMap::iterator found = values_.find(ident); in MarkUsed() 229 excluded_values.find(std::string(cur.first)) != excluded_values.end()) { in MarkAllUsed() 237 RecordMap::iterator found = values_.find(ident); in MarkUnused() 246 RecordMap::const_iterator found = values_.find(iden in IsSetButUnused() [all...] |
| /foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/ |
| H A D | mock_bundle_manager.cpp | 115 auto fun = abilityInfoMap_.find(bundleNameTemp); in QueryAbilityInfo() 123 if (std::string::npos != elementTemp.GetBundleName().find("Service")) { in QueryAbilityInfo() 126 if (std::string::npos != elementTemp.GetBundleName().find("Data")) { in QueryAbilityInfo() 129 if (std::string::npos != elementTemp.GetBundleName().find("Extension")) { in QueryAbilityInfo() 138 if (elementTemp.GetAbilityName().find("com.ohos.launcher.MainAbility") != std::string::npos) { in QueryAbilityInfo() 187 auto find = false; in CheckWantEntity() local 192 find = true; in CheckWantEntity() 199 if (find || (bundleName == AbilityConfig::SYSTEM_UI_BUNDLE_NAME && in CheckWantEntity()
|