/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgExecutionContext.cpp | 76 const ExecValueStorage* samplerVal = m_varValues.find(sampler)->second; in getSampler2D() 80 return m_samplers2D.find(samplerNdx)->second; in getSampler2D() 85 const ExecValueStorage* samplerVal = m_varValues.find(sampler)->second; in getSamplerCube() 89 return m_samplersCube.find(samplerNdx)->second; in getSamplerCube()
|
/third_party/vulkan-loader/tests/ |
H A D | loader_envvar_tests.cpp | 101 env.debug_log.find("Ignoring override VK_ICD_FILENAMES, VK_DRIVER_FILES, and VK_ADD_DRIVER_FILES due to high-integrity")); in TEST() 132 EXPECT_TRUE(env.debug_log.find("vkCreateInstance: Found no drivers!")); in TEST() 147 env.debug_log.find("Ignoring override VK_ICD_FILENAMES, VK_DRIVER_FILES, and VK_ADD_DRIVER_FILES due to high-integrity")); in TEST() 178 EXPECT_TRUE(env.debug_log.find("vkCreateInstance: Found no drivers!")); in TEST() 195 ASSERT_FALSE(log.find("Loader is using non-secure environment variable lookup for")); in TEST() 197 ASSERT_TRUE(log.find("Loader is using non-secure environment variable lookup for")); in TEST() 204 // so that the test app can find them. Include some badly specified elements as well. in TEST() 221 EXPECT_TRUE(debug_log.find((fs::path("/tmp/goober/vulkan") / category_path_name(category)).str())); in TEST() 222 EXPECT_TRUE(debug_log.find((fs::path("/tmp/goober2/vulkan") / category_path_name(category)).str())); in TEST() 223 EXPECT_TRUE(debug_log.find((f in TEST() [all...] |
/base/hiviewdfx/hiview/utility/common_utils/ |
H A D | log_parse.cpp | 81 if (val.find(str, 0) != string::npos) { in IsIgnoreLibrary() 230 if (val.find(str, 0) != string::npos) { in MatchExceptionLibrary() 254 if (name.find(str, 0) != string::npos) { in MatchIgnoreLibrary() 276 if (eventType == "JS_ERROR" && newInfo.find("libace_napi.z.so") != std::string::npos) { in GetFilterTrace() 293 if (eventInfo.find(name[i]) == eventInfo.end()) { in SetFrame() 302 auto iter = exceptionList_.find(line); in HasExceptionList()
|
/base/hiviewdfx/hiview/base/ |
H A D | audit_log_parser.cpp | 99 auto pos = pid.find("@"); in GetThreadSummary() 105 if (event.threadNameOrTid.find(pid) != std::string::npos) { in GetThreadSummary() 112 if (chainEvent.threadNameOrTid.find(pid) != std::string::npos) { in GetThreadSummary() 124 if (event.processor.find(name) != std::string::npos) { in GetPluginSummary() 131 if (chainEvent.processor.find(name) != std::string::npos) { in GetPluginSummary() 143 if (pipeEvent.pipeline.find(name) != std::string::npos) { in GetPipelineSummary()
|
/base/inputmethod/imf/frameworks/common/ |
H A D | concurrent_map.h | 106 auto it = entries_.find(key); 117 return (entries_.find(key) != entries_.end()); 217 auto it = entries_.find(key); in Compute() 238 auto it = entries_.find(key); in ComputeIfPresent() 254 auto it = entries_.find(key); in ComputeIfAbsent() 268 auto it = entries_.find(key); in ComputeIfAbsent()
|
/base/global/i18n/frameworks/intl/src/ |
H A D | utils.cpp | 53 string::size_type end = src.find(sep); in Split() 57 end = src.find(sep, begin); in Split() 114 if (allValidLocalesLanguageTag.find(languageTag) == allValidLocalesLanguageTag.end()) { in IsValidLocaleTag() 169 while ((pos = result.find(target)) != std::string::npos) { in StrReplaceAll() 243 if (path.find("./") != std::string::npos || in IsLegalPath() 244 path.find("../") != std::string::npos) { in IsLegalPath()
|
/base/hiviewdfx/faultloggerd/test/utils/ |
H A D | dfx_test_util.cpp | 134 size_t pos = comm.find('\n'); in CheckProcessComm() 157 idx = t.at(i).find(keywords[j]); in CheckKeyWords() 183 if (content.find(keyContent) != std::string::npos) { in CheckContent() 188 printf("Failed to find: %s in %s\n", keyContent.c_str(), content.c_str()); in CheckContent() 204 idx = msg.find(keywords[i]); in GetKeywordsNum() 222 if (file.find(fileNamePrefix) != std::string::npos) { in GetCppCrashFileName() 243 return str.find("Pss:") != std::string::npos; in GetSelfMemoryCount() 246 perror("Failed to find Pss.\n"); in GetSelfMemoryCount()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_map.cpp | 318 if (perms.find("r") != std::string::npos) { in PermsToProts() 322 if (perms.find("w") != std::string::npos) { in PermsToProts() 326 if (perms.find("x") != std::string::npos) { in PermsToProts() 330 if (perms.find("p") != std::string::npos) { in PermsToProts() 332 } else if (perms.find("s") != std::string::npos) { in PermsToProts() 400 auto startPos = mapName.find("/data/storage/"); in UnFormatMapName()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_local_live_view_button.cpp | 129 if (resource.find("bundleName") != jsonEnd && resource.at("bundleName").is_string()) { in ResourceFromJson() 133 if (resource.find("moduleName") != jsonEnd && resource.at("moduleName").is_string()) { in ResourceFromJson() 137 if (resource.find("id") != jsonEnd && resource.at("id").is_number_integer()) { in ResourceFromJson() 163 if (jsonObject.find("names") != jsonEnd && jsonObject.at("names").is_array()) { in FromJson() 167 if (jsonObject.find("icons") != jsonEnd) { in FromJson() 183 if (jsonObject.find("iconResources") != jsonEnd) { in FromJson()
|
/base/notification/eventhandler/frameworks/cj/src/ |
H A D | emitter.cpp | 54 auto subscribe = g_emitterImpls.find(eventId); in IsExistValidCallback() 85 auto subscribe = g_emitterImpls.find(eventIdValue); in SearchCallbackInfo() 182 auto subscribe = g_emitterImpls.find(eventId); in Unsubscribe() 239 auto subscribe = g_emitterImpls.find(eventId); in GetListenerCountByEventId() 314 auto subscribe = g_emitterImpls.find(eventId); in ProcessEvent() 328 auto subscribe = g_emitterImpls.find(eventId); in ProcessEvent()
|
/base/sensors/sensor/services/src/ |
H A D | sensor_dump.cpp | 144 if (str.find("--") == 0) { in ParseCommand() 148 if (str.find("-") == 0) { in ParseCommand() 206 if (sensorMap_.find(sensorId) == sensorMap_.end()) { in DumpSensorList() 227 if (sensorMap_.find(sensorId) == sensorMap_.end()) { in DumpSensorChannel() 245 if (sensorMap_.find(sensorId) == sensorMap_.end()) { in DumpOpeningSensor() 264 if (sensorMap_.find(sensorId) == sensorMap_.end()) { in DumpSensorData()
|
/base/useriam/user_auth_framework/services/context/src/ |
H A D | widget_json.cpp | 259 if (jsonNotice.find(item) != jsonNotice.end() && jsonNotice[item].is_number()) { in isNumberItem() 270 if (jsonNotice.find(JSON_AUTH_EVENT) != jsonNotice.end() && jsonNotice[JSON_AUTH_EVENT].is_string()) { in from_json() 282 if (jsonNotice.find(JSON_AUTH_VERSION) != jsonNotice.end() && jsonNotice[JSON_AUTH_VERSION].is_string()) { in from_json() 285 if (jsonNotice.find(JSON_AUTH_PAYLOAD) == jsonNotice.end()) { in from_json() 288 if (jsonNotice[JSON_AUTH_PAYLOAD].find(JSON_AUTH_TYPE) != jsonNotice[JSON_AUTH_PAYLOAD].end() && in from_json() 298 if ((jsonNotice[JSON_AUTH_PAYLOAD].find(JSON_AUTH_END_AFTER_FIRST_FAIL) != in from_json()
|
/test/testfwk/arkxtest/uitest/test/ |
H A D | ipc_transactor_test.cpp | 114 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST_P() 164 ASSERT_TRUE(result.exception_.message_.find("ipc connection is dead") != string::npos); in TEST() 170 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST() 223 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST() 270 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST() 304 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
|
/third_party/gn/src/gn/ |
H A D | command_help.cc | 218 all.find(std::string_view(what)); in PrintHelpOnSwitch() 293 auto found_command = command_map.find(what); in RunHelp() 303 auto found_function = function_map.find(what); in RunHelp() 312 auto found_builtin_var = builtin_vars.find(what); in RunHelp() 321 auto found_target_var = target_vars.find(what); in RunHelp() 355 auto found_random_topic = random_topics.find(what); in RunHelp()
|
/third_party/json/tests/thirdparty/fifo_map/ |
H A D | fifo_map.hpp | 60 const auto timestamp_lhs = keys->find(lhs); in operator ()() 61 const auto timestamp_rhs = keys->find(rhs); in operator ()() 415 iterator find(const Key& key) in find() function in nlohmann::fifo_map 417 return m_map.find(key); in find() 421 const_iterator find(const Key& key) const in find() function in nlohmann::fifo_map 423 return m_map.find(key); in find()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | SwiftErrorValueTracking.cpp | 29 auto It = VRegDefMap.find(Key); in getOrCreateVReg() 53 auto It = VRegDefUses.find(Key); in getOrCreateVRegDefAt() 68 auto It = VRegDefUses.find(Key); in getOrCreateVRegUseAt() 162 auto UUseIt = VRegUpwardsUse.find(Key); in propagateVRegs() 163 auto VRegDefIt = VRegDefMap.find(Key); in propagateVRegs() 195 UUseIt = VRegUpwardsUse.find(Key); in propagateVRegs()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | script.h | 83 auto it = name_to_pipeline_.find(name); in GetPipeline() 105 auto it = name_to_shader_.find(name); in GetShader() 127 auto it = name_to_buffer_.find(name); in GetBuffer() 149 auto it = name_to_sampler_.find(name); in GetSampler() 166 return std::find(engine_info_.required_features.begin(), in IsRequiredFeature() 230 auto it = name_to_type_.find(name); in GetType()
|
/third_party/skia/tools/trace/ |
H A D | ChromeTracingTracer.cpp | 179 if (int* shortIDPtr = fShortThreadIDMap.find(id)) { in getShortThreadID() 202 SkASSERT(nullptr == baseTypeResolver->find(traceEvent->fID)); in trace_event_to_json() 205 SkASSERT(nullptr != baseTypeResolver->find(traceEvent->fID)); in trace_event_to_json() 239 baseTypeResolver->find(traceEvent->fID) && in trace_event_to_json() 240 0 != strcmp(*baseTypeResolver->find(traceEvent->fID), traceEvent->fName)) { in trace_event_to_json() 243 writer->appendString("base_type", *baseTypeResolver->find(traceEvent->fID)); in trace_event_to_json()
|
/third_party/rust/crates/regex/src/literal/ |
H A D | imp.rs | 79 pub fn find(&self, haystack: &[u8]) -> Option<(usize, usize)> { in find() functions 83 Bytes(ref sset) => sset.find(haystack).map(|i| (i, i + 1)), in find() 84 Memmem(ref s) => s.find(haystack).map(|i| (i, i + s.len())), in find() 86 ac.find(haystack).map(|m| (m.start(), m.end())) in find() 89 s.find(haystack).map(|m| (m.start(), m.end())) in find() 94 /// Like find, except matches must start at index `0`. 107 /// Like find, except matches must end at index `haystack.len()`. 328 /// Faster find that special cases certain sizes to use memchr. 330 fn find(&self, text: &[u8]) -> Option<usize> { in find() functions 340 /// Generic find tha 375 pub fn find(&self, haystack: &[u8]) -> Option<usize> { find() functions [all...] |
/third_party/json/docs/examples/ |
H A D | find__keytype.c++17.cpp | 13 // call find in main() 14 auto it_two = j_object.find("two"sv); in main() 15 auto it_three = j_object.find("three"sv); in main()
|
H A D | find__object_t_key_type.cpp | 11 // call find in main() 12 auto it_two = j_object.find("two"); in main() 13 auto it_three = j_object.find("three"); in main()
|
/base/security/access_token/services/privacymanager/src/database/ |
H A D | permission_used_record_db.cpp | 318 auto it = dataTypeToSqlTable_.find(type); in CreateInsertPrepareSqlCmd() 338 auto it = dataTypeToSqlTable_.find(type); in CreateQueryPrepareSqlCmd() 355 auto it = dataTypeToSqlTable_.find(type); in CreateDeletePrepareSqlCmd() 374 auto it = dataTypeToSqlTable_.find(type); in CreateUpdatePrepareSqlCmd() 402 auto it = dataTypeToSqlTable_.find(type); in CreateSelectByConditionPrepareSqlCmd() 447 auto it = dataTypeToSqlTable_.find(type); in CreateCountPrepareSqlCmd() 458 auto it = dataTypeToSqlTable_.find(type); in CreateDeleteExpireRecordsPrepareSqlCmd() 488 auto it = dataTypeToSqlTable_.find(type); in CreateDeleteExcessiveRecordsPrepareSqlCmd() 505 auto it = dataTypeToSqlTable_.find(DataType::PERMISSION_RECORD); in CreatePermissionRecordTable() 545 auto it = dataTypeToSqlTable_.find(DataTyp in CreatePermissionUsedTypeTable() [all...] |
/base/telephony/core_service/services/network_search/src/ |
H A D | operator_name.cpp | 522 auto obj = std::find(cmMccMnc_.begin(), cmMccMnc_.end(), numeric); in isCMCard() 535 auto obj = std::find(cuMccMnc_.begin(), cuMccMnc_.end(), numeric); in isCUCard() 548 auto obj = std::find(ctMccMnc_.begin(), ctMccMnc_.end(), numeric); in isCTCard() 561 auto obj = std::find(cbnMccMnc_.begin(), cbnMccMnc_.end(), numeric); in isCBCard() 574 auto obj = std::find(cmDomesticMccMnc_.begin(), cmDomesticMccMnc_.end(), numeric); in isCMDomestic() 587 auto obj = std::find(cuDomesticMccMnc_.begin(), cuDomesticMccMnc_.end(), numeric); in isCUDomestic() 600 auto obj = std::find(ctDomesticMccMnc_.begin(), ctDomesticMccMnc_.end(), numeric); in isCTDomestic() 613 auto obj = std::find(cbDomesticnMccMnc_.begin(), cbDomesticnMccMnc_.end(), numeric); in isCBDomestic() 660 if (operatorConfig.boolValue.find(KEY_ENABLE_OPERATOR_NAME_CUST_BOOL) != operatorConfig.boolValue.end()) { in UpdateOperatorConfig() 663 if (operatorConfig.stringValue.find(KEY_OPERATOR_NAME_CUST_STRIN in UpdateOperatorConfig() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
H A D | GCOV.cpp | 461 auto it = find(Blocked, U); 486 if (W < Start || find(Blocks, W) == Blocks.end()) { 496 } else if (find(Blocked, W) == Blocked.end() && // W is not blocked. 510 if (W < Start || find(Blocks, W) == Blocks.end()) { 513 const size_t index = find(Blocked, W) - Blocked.begin(); 515 if (find(List, V) == List.end()) { 549 if (find(Blocks, W) == Blocks.end()) { 743 FunctionLines::const_iterator FuncsIt = Line.Functions.find(LineIndex); 748 BlockLines::const_iterator BlocksIt = Line.Blocks.find(LineIndex); 772 if (FuncCoverages.find(Functio [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_modes_test.cpp | 590 if (mode.find("LocalSizeId") == 0 || mode.find("LocalSizeHintId") == 0 || in TEST_P() 591 mode.find("SubgroupsPerWorkgroupId") == 0) { in TEST_P() 597 if (!(mode.find("InputPoints") == 0 || mode.find("InputLines") == 0 || in TEST_P() 598 mode.find("InputLinesAdjacency") == 0 || in TEST_P() 599 mode.find("Triangles") == 0 || in TEST_P() 600 mode.find("InputTrianglesAdjacency") == 0)) { in TEST_P() 604 if (!(mode.find("OutputPoints") == 0 || mode.find("OutputLineStri in TEST_P() [all...] |