/third_party/node/src/ |
H A D | node_options-inl.h | 141 auto it = options_.find(to); in Implies() 151 auto it = options_.find(to); in ImpliesNot() 314 arg[0] == '-' && arg[1] == '-' ? arg.find('=') : std::string::npos; in Parse() 337 if (name.find("--no-") == 0) { in Parse() 349 while ((it = aliases_.find(name)) != aliases_.end() || in Parse() 351 (it = aliases_.find(name + '=')) != aliases_.end()) || in Parse() 355 (it = aliases_.find(name + " <arg>")) != aliases_.end())) { in Parse() 374 auto it = options_.find(name); in Parse()
|
/third_party/libabigail/src/ |
H A D | abg-symtab-reader.cc | 24 // to test this code. TODO: find a way to export symbols just for unit tests. 89 const auto it = name_symbol_map_.find(name); in lookup_symbol() 104 const auto addr_it = addr_symbol_map_.find(symbol_addr); in lookup_symbol() 111 const auto entry_it = entry_addr_symbol_map_.find(symbol_addr); in lookup_symbol() 331 // find the terminating NULL in load_() 334 const char* limit = std::find(first, last, 0); in load_() 387 const auto it = name_symbol_map_.find(name); in load_() 411 const auto r = name_symbol_map_.find(symbol); in load_() 424 const auto r = name_symbol_map_.find(crc_entry.first); in load_() 435 const auto r = name_symbol_map_.find(namespace_entr in load_() [all...] |
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberMatcher.java | 46 * The phone number pattern used by {@link #find}, similar to 249 * Attempts to find the next subsequence in the searched sequence on or after {@code searchIndex} 255 private PhoneNumberMatch find(int index) { in find() method in PhoneNumberMatcher 257 while ((maxTries > 0) && matcher.find(index)) { in find() 284 if (trailingCharsMatcher.find()) { in trimAfterFirstMatch() 323 if (SLASH_SEPARATED_DATES.matcher(candidate).find()) { in extractMatch() 328 if (TIME_STAMPS.matcher(candidate).find()) { in extractMatch() 341 // If that failed, try to find an "inner match" - there might be a phone number within this in extractMatch() 358 while (groupMatcher.find() && maxTries > 0) { in extractInnerMatch() 396 if (!MATCHING_BRACKETS.matcher(candidate).matches() || PUB_PAGES.matcher(candidate).find()) { in parseAndVerify() [all...] |
/third_party/rust/crates/clap/src/parser/ |
H A D | validator.rs | 103 .filter(|(arg_id, _)| self.cmd.find(arg_id).is_some()) in validate_conflicts() 121 && self.cmd.find(arg_id).is_some() in validate_exclusive() 135 .find(id) in validate_exclusive() 175 let c_arg = self.cmd.find(&c_id).expect(INTERNAL_ERROR_MSG); in build_conflict_err() 181 let former_arg = self.cmd.find(name).expect(INTERNAL_ERROR_MSG); in build_conflict_err() 202 self.cmd.find(n).map_or(false, |a| !a.is_hide_set()) in build_conflict_err_usage() 209 .filter_map(|key| self.cmd.find(key)) in build_conflict_err_usage() 227 if let Some(arg) = self.cmd.find(name) { in gather_requires() 257 .find(id) in validate_required() 272 if let Some(arg) = self.cmd.find(arg_or_grou in validate_required() [all...] |
/third_party/vk-gl-cts/executor/ |
H A D | xeTestCase.cpp | 95 if (parent->m_childNames.find(name) != parent->m_childNames.end()) 145 const TestNode* TestNode::find (const char* path) const in find() function in TestNode 172 TestNode* TestNode::find (const char* path) in find() function in TestNode 174 return const_cast<TestNode*>(const_cast<const TestNode*>(this)->find(path)); in find() 207 // Try to find matching children. in findChildNode() 302 std::map<std::string, TestGroup*>::const_iterator groupPos = m_groupMap.find(curGroupPath); in createCase() 355 if (nodeSet.find(group->getChild(ndx)) != nodeSet.end()) in hasChildrenInSet() 410 if (m_set.find(testCase) != m_set.end()) in removeCase() 419 if (m_set.find(testGroup) != m_set.end()) in removeGroup()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | function.cpp | 88 if (continue_target_headers_.find(&continue_target_block) == in RegisterLoopMerge() 227 const auto b = blocks_.find(block_id); in GetBlock() 231 undefined_blocks_.find(block->id()) == std::end(undefined_blocks_); in GetBlock() 248 auto where = augmented_successors_map_.find(block); in AugmentedCFGSuccessorsFunction() 257 auto where = loop_header_successors_plus_continue_target_map_.find(block); in AugmentedCFGSuccessorsFunctionIncludingHeaderToContinueEdge() 266 auto where = augmented_predecessors_map_.find(block); in AugmentedCFGPredecessorsFunction() 294 entry_block_to_construct_.find(std::make_pair(entry_block, type)); 308 if (block_depth_.find(bb) != block_depth_.end()) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | function.cpp | 88 if (continue_target_headers_.find(&continue_target_block) == in RegisterLoopMerge() 227 const auto b = blocks_.find(block_id); in GetBlock() 231 undefined_blocks_.find(block->id()) == std::end(undefined_blocks_); in GetBlock() 248 auto where = augmented_successors_map_.find(block); in AugmentedCFGSuccessorsFunction() 257 auto where = loop_header_successors_plus_continue_target_map_.find(block); in AugmentedCFGSuccessorsFunctionIncludingHeaderToContinueEdge() 266 auto where = augmented_predecessors_map_.find(block); in AugmentedCFGPredecessorsFunction() 294 entry_block_to_construct_.find(std::make_pair(entry_block, type)); 308 if (block_depth_.find(bb) != block_depth_.end()) {
|
/third_party/skia/src/ports/skia_ohos/ |
H A D | SkFontMgr_ohos.cpp | 106 * \n Use the system fallback to find a typeface for the given character. 129 item = fallbackForMap.find(defaultFamily); in onMatchFamilyStyleCharacter() 131 item = fallbackForMap.find(SkString(familyName)); in onMatchFamilyStyleCharacter() 135 item = fallbackForMap.find(defaultFamily); in onMatchFamilyStyleCharacter() 153 item = fallbackForMap.find(defaultFamily); in onMatchFamilyStyleCharacter() 166 item = fallbackForMap.find(defaultFamily); in onMatchFamilyStyleCharacter() 173 /*! To find the matched typeface for the given parameters 174 * \n Use the system fallback to find a typeface for the given character. 175 * \param fallbackItem the fallback items in which to find the typeface 199 // find th in findTypeface() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | Float2Int.cpp | 153 auto IT = SeenInsts.find(I); in seen() 193 if (SeenInsts.find(I) != SeenInsts.end()) in walkBackwards() 230 if (SeenInsts.find(I)->second != badRange()) in walkBackwards() 302 assert(SeenInsts.find(OI) != SeenInsts.end() && in walkForwards() 304 OpRanges.push_back(SeenInsts.find(OI)->second); in walkForwards() 367 auto SeenI = SeenInsts.find(I); in validateAndTransform() 382 if (!UI || SeenInsts.find(UI) == SeenInsts.end()) { in validateAndTransform() 438 if (ConvertedInsts.find(I) != ConvertedInsts.end()) in convert()
|
/third_party/skia/tools/flags/ |
H A D | CommonFlagsConfig.cpp | 248 auto it = kColorSpaces.find(via.c_str()); in SkCommandLineConfig() 422 if (fOptionsMap.find(key) == nullptr) { in ExtendedOptions() 437 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_gpu_color() 448 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_gpu_api() 460 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_graphite_api() 489 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_gpu_surf_type() 497 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_int() 505 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_bool()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | SparseMultiSet.h | 43 /// fast clear() as fast as a vector. The find(), insert(), and erase() 59 /// When SparseT is uint32_t, find() only touches up to 3 cache lines, but the 62 /// When SparseT is uint8_t (the default), find() touches up to 3+[N/256] cache 286 // If we're at the end, then issue a new find() in operator --() 343 // Sparse does not need to be cleared, see find(). in clear() 351 /// @param Idx A valid index to find. 372 /// @param Key A valid key to find. 375 iterator find(const KeyT &Key) { 379 const_iterator find(const KeyT &Key) const { 388 for (const_iterator It = find(Ke [all...] |
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deCommandLine.cpp | 73 return m_fields.find(key) != m_fields.end(); in contains() 78 Map::const_iterator pos = m_fields.find(key); in get() 87 Map::iterator pos = m_fields.find(key); in set() 134 DE_ASSERT(shortOptMap.find(opt.shortName) == shortOptMap.end()); in parse() 140 DE_ASSERT(longOptMap.find(opt.longName) == longOptMap.end()); in parse() 169 const char* nameEnd = std::find(nameStart, arg+argLen, '='); in parse() 172 OptMap::const_iterator optPos = optMap.find(string(nameStart, nameEnd)); in parse() 182 if (seenOpts.find(opt) != seenOpts.end()) in parse()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_manager.cpp | 114 if (results.empty() || results.find(LOCAL_DEVICE) != results.end()) {
in ProcessSyncCallback() 183 if (assets.empty() || data.find(ObjectStore::FIELDS_PREFIX + ObjectStore::DEVICEID_KEY) == data.end()) {
in PushAssets() 261 if (assets.empty() || results.find(ObjectStore::FIELDS_PREFIX + ObjectStore::DEVICEID_KEY) == results.end()) {
in Retrieve() 403 if (key.find(SAVE_INFO) != std::string::npos) {
in NotifyChange() 430 if (key.size() < keyPrefix.size() || key.find(SAVE_INFO) != std::string::npos) {
in GetObjectData() 578 return key.find(ObjectStore::ASSET_DOT) != std::string::npos;
in IsAssetKey() 583 if (result.find(assetPrefix + ObjectStore::NAME_SUFFIX) == result.end() ||
in IsAssetComplete() 584 result.find(assetPrefix + ObjectStore::URI_SUFFIX) == result.end() ||
in IsAssetComplete() 585 result.find(assetPrefix + ObjectStore::PATH_SUFFIX) == result.end() ||
in IsAssetComplete() 586 result.find(assetPrefi in IsAssetComplete() [all...] |
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | tz2icu.cpp | 215 assert(aliasTo < 0 && index >= 0 && aliases.find(index) == aliases.end()); 479 find(abbroffset.begin(), abbroffset.end(), it->abbr); in readzoneinfo() 539 if (ZONEINFO.find(id) != ZONEINFO.end()) { in handleFile() 756 if (aliases.find(alias) != aliases.end()) { in addLink() 908 * Predicate used to find FinalRule objects that do not have both 916 * Predicate used to find FinalZone objects that do not map to a known 920 return finalRules.find(p.second.ruleid) == finalRules.end(); in mapsToUnknownRule() 971 if (finalZones.find(toid) != finalZones.end()) { in readFinalZonesAndRules() 1276 assert(simplemap.find(newtype) != simplemap.end()); in optimizeTypeList() 1324 assert(simplemap.find(newtyp in optimizeTypeList() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
H A D | tz2icu.cpp | 215 assert(aliasTo < 0 && index >= 0 && aliases.find(index) == aliases.end()); 479 find(abbroffset.begin(), abbroffset.end(), it->abbr); in readzoneinfo() 539 if (ZONEINFO.find(id) != ZONEINFO.end()) { in handleFile() 756 if (aliases.find(alias) != aliases.end()) { in addLink() 908 * Predicate used to find FinalRule objects that do not have both 916 * Predicate used to find FinalZone objects that do not map to a known 920 return finalRules.find(p.second.ruleid) == finalRules.end(); in mapsToUnknownRule() 971 if (finalZones.find(toid) != finalZones.end()) { in readFinalZonesAndRules() 1276 assert(simplemap.find(newtype) != simplemap.end()); in optimizeTypeList() 1324 assert(simplemap.find(newtyp in optimizeTypeList() [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_version_tests.cpp | 179 // Declare drivers using the D3DKMT driver interface and make sure the loader can find them - but don't export 785 ASSERT_TRUE(log.find( in TEST() 799 ASSERT_TRUE(log.find("loader_parse_icd_manifest: Driver's ICD JSON ")); in TEST() 801 ASSERT_TRUE(log.find("\'api_version\' field contains a non-zero variant value of 1. Skipping ICD JSON.")); in TEST() 821 ASSERT_TRUE(log.find(std::string("Layer \"") + implicit_layer_name + in TEST() 841 ASSERT_TRUE(log.find(std::string("Layer \"") + explicit_layer_name + in TEST() 856 ASSERT_TRUE(log.find("loader_parse_icd_manifest: ")); in TEST() 858 ASSERT_TRUE(log.find("has unknown icd manifest file version 3.2.1. May cause errors.")); in TEST() 872 ASSERT_TRUE(log.find("loader_parse_icd_manifest: ")); in TEST() 874 ASSERT_TRUE(log.find("ha in TEST() [all...] |
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
H A D | buffer_allocator_factory.cpp | 29 if (bufferAllocatorMap_.find(type) == bufferAllocatorMap_.end()) { in GetBufferAllocator() 42 if (allocatorRegisterMap_.find(type) == allocatorRegisterMap_.end()) { in CreateBufferAllocator()
|
/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | callback_handler.h | 38 if (cbSet_.find(cb) != cbSet_.end()) { in RemoveCallback() 49 if (cbSet_.find(cb) != cbSet_.end()) { in AddCallback()
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | ops_registry.cpp | 24 if (registry.m_opsRegedit.find(opsType) != registry.m_opsRegedit.end()) { in Registrar() 39 if (m_opsRegedit.find(type) != m_opsRegedit.end()) { in GetOpsBuilder()
|
/foundation/multimedia/camera_lite/frameworks/ |
H A D | camera_ability_impl.cpp | 30 auto target = SizeMap_.find(PARAM_KEY_SIZE);
in GetSupportedSizes() 38 auto target = SizeMap_.find(PARAM_KEY_SIZE);
in GetSupportParameterRange()
|
/foundation/multimedia/media_foundation/engine/foundation/utils/ |
H A D | constants.cpp | 51 return mime.find("audio/") == 0; in IsAudioMime() 55 return mime.find("video/") == 0; in IsVideoMime()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | cloud_config_manager.cpp | 39 auto it = toLocalMapper_.find(bundleName); in ToLocal() 45 auto it = toCloudMapper_.find(bundleName); in ToCloud()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | uni_error.cpp | 28 if (uvCode2ErrCodeTable.find(uvCode) != uvCode2ErrCodeTable.end()) { in ConvertUVCode2ErrCode() 38 if (errCodeTable.find(genericCode) != errCodeTable.end()) { in GetErrorCode()
|
/third_party/ltp/include/mk/ |
H A D | gitignore.mk | 40 find . | $(IGNORE_DIR_EXPR) > $@ 46 find . | $(IGNORE_DIR_EXPR) > $@
|
/third_party/node/deps/v8/src/wasm/ |
H A D | signature-map.cc | 15 auto pos = map_.find(sig); in FindOrInsert() 25 auto pos = map_.find(sig); in Find()
|