Home
last modified time | relevance | path

Searched refs:find (Results 51 - 75 of 3349) sorted by relevance

12345678910>>...134

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DSyncDependenceAnalysis.cpp167 auto It = DefMap.find(Block); in printDefs()
192 auto ItLastDef = DefMap.find(&SuccBlock); in visitSuccessor()
209 // find all blocks reachable by two disjoint paths from @rootTerm.
262 auto ItPending = PendingUpdates.find(Block); in computeJoinPoints()
268 auto ItDef = DefMap.find(Block); in computeJoinPoints()
313 auto ItHeaderDef = DefMap.find(ParentLoopHeader); in computeJoinPoints()
320 auto ItExitDef = DefMap.find(ExitBlock); in computeJoinPoints()
342 auto ItCached = CachedLoopExitJoins.find(&Loop); in join_blocks()
365 auto ItCached = CachedBranchJoins.find(&Term); in join_blocks()
/third_party/skia/tests/
H A DHashTest.cpp32 double* found = map.find(3); in DEF_TEST()
39 found = map.find(3); in DEF_TEST()
43 REPORTER_ASSERT(r, !map.find(2)); in DEF_TEST()
80 found = map.find(i); in DEF_TEST()
84 found = clone.find(i); in DEF_TEST()
89 REPORTER_ASSERT(r, !map.find(i)); in DEF_TEST()
90 REPORTER_ASSERT(r, !clone.find(i)); in DEF_TEST()
100 found = map.find(i); in DEF_TEST()
103 found = clone.find(i); in DEF_TEST()
141 REPORTER_ASSERT(r, set.find(SkStrin in DEF_TEST()
[all...]
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgVariableManager.cpp137 vector<Variable*>::iterator pos = std::find(m_liveVariables.begin(), m_liveVariables.end(), variable); in removeLive()
199 vector<ValueEntry*>::const_iterator pos = std::find(m_entries.begin(), m_entries.end(), CompareEntryVariable(variable)); in findEntry()
215 vector<ValueEntry*>::iterator pos = std::find(m_entries.begin(), m_entries.end(), CompareEntryVariable(variable)); in removeValue()
293 return std::find(curLiveVars.begin(), curLiveVars.end(), variable) != curLiveVars.end(); in canDeclareInCurrentScope()
304 std::vector<const ValueEntry*>::iterator pos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable)); in declareVariable()
308 DE_ASSERT(std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable)) == m_entryCache.end()); in declareVariable()
323 vector<const ValueEntry*>::const_iterator pos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable)); in getValue()
330 std::vector<const ValueEntry*>::iterator pos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable)); in removeValueFromCurrentScope()
363 std::vector<const ValueEntry*>::iterator cachePos = std::find(m_entryCache.begin(), m_entryCache.end(), CompareEntryVariable(variable)); in setValue()
463 if (addedVars.find(va in popValueScope()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dbtree_test.cc134 CheckPairEquals(*find(key), v); in value_check()
143 EXPECT_EQ(tree_.find(key), const_tree_.end()); in erase_check()
145 EXPECT_EQ(const_tree_.find(key), tree_.end()); in erase_check()
180 iterator find(const key_type &key) { in find() function in absl::container_internal::base_checker
181 return iter_check(tree_.find(key), checker_.find(key)); in find()
183 const_iterator find(const key_type &key) const { in find() function in absl::container_internal::base_checker
184 return iter_check(tree_.find(key), checker_.find(key)); in find()
186 bool contains(const key_type &key) const { return find(ke in find()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DNameSpace.hpp74 return map.find(name) != map.end(); in isReserved()
89 auto element = map.find(name); in remove()
107 ObjectType *find(GLuint name) const in find() function in gl::NameSpace
109 auto element = map.find(name); in find()
/third_party/skia/tools/
H A DUrlDataManager.cpp19 UrlData* urlData = fCache.find(*data); in addData()
20 if (fCache.find(*data)) { in addData()
32 SkASSERT(!fUrlLookup.find(urlData->fUrl)); in addData()
52 auto search = imageMap.find(im); in lookupImage()
/third_party/gn/src/gn/
H A Dohos_components_checker.cc199 auto iter = whitelist_map_.find(kv.first); in LoadWhitelist()
221 auto result = std::find(all_deps_config_.begin(), all_deps_config_.end(), label); in InterceptAllDepsConfig()
238 auto result = std::find(includes_over_range_.begin(), includes_over_range_.end(), label); in InterceptIncludesOverRange()
254 if (auto res = innerapi_public_deps_inner_.find(label); res != innerapi_public_deps_inner_.end()) { in InterceptInnerApiPublicDepsInner()
256 auto res_second = std::find(res->second.begin(), res->second.end(), Trim(deps_str)); in InterceptInnerApiPublicDepsInner()
272 auto result = std::find(innerapi_not_lib_.begin(), innerapi_not_lib_.end(), label); in InterceptInnerApiNotLib()
288 if (auto res = fuzzy_match_.find("deps_not_lib"); res != fuzzy_match_.end()) { in InterceptDepsNotLib()
297 if (auto res = deps_not_lib_.find(label); res != deps_not_lib_.end()) { in InterceptDepsNotLib()
299 auto res_second = std::find(res->second.begin(), res->second.end(), Trim(deps_str)); in InterceptDepsNotLib()
315 auto result = std::find(innerapi_not_declare in InterceptInnerApiNotDeclare()
[all...]
H A Dstring_atom_unittest.cc55 auto foo_it = set.find(foo_key);
59 EXPECT_EQ(set.find(std::string_view("bar")), bar_ret.first);
60 EXPECT_EQ(set.find(std::string_view("zoo")), zoo_ret.first);
98 auto foo_it = set.find(foo_key);
102 EXPECT_EQ(set.find(std::string_view("bar")), bar_ret.first);
103 EXPECT_EQ(set.find(std::string_view("zoo")), zoo_ret.first);
H A Dstring_atom.cc30 // - a find() method that takes an std::string_view argument, and uses it
31 // to find a matching entry in the string tree. If none is available,
36 // its own local string pointer cache, and will only call StringAtomSet::find()
112 // from a slab. The end result is that find("") should always in StringAtomSet()
124 const std::string* find(std::string_view key) { in find() function in StringAtomSet
192 KeyType find(std::string_view key) { in find() function in ThreadLocalCache
198 KeyType result = GetStringAtomSet().find(key); in find()
222 : value_(*s_local_cache.find(str)){}
224 : value_(*s_local_cache->find(str)) {
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Ddriver_utils.cpp94 return std::find(std::begin(SandyBridge), std::end(SandyBridge), DeviceId) != in IsSandyBridge()
100 return std::find(std::begin(IvyBridge), std::end(IvyBridge), DeviceId) != std::end(IvyBridge); in IsIvyBridge()
105 return std::find(std::begin(Haswell), std::end(Haswell), DeviceId) != std::end(Haswell); in IsHaswell()
110 return std::find(std::begin(Broadwell), std::end(Broadwell), DeviceId) != std::end(Broadwell); in IsBroadwell()
115 return std::find(std::begin(CherryView), std::end(CherryView), DeviceId) != in IsCherryView()
121 return std::find(std::begin(Skylake), std::end(Skylake), DeviceId) != std::end(Skylake); in IsSkylake()
126 return std::find(std::begin(Broxton), std::end(Broxton), DeviceId) != std::end(Broxton); in IsBroxton()
131 return std::find(std::begin(Kabylake), std::end(Kabylake), DeviceId) != std::end(Kabylake); in IsKabylake()
295 else if (angle::GetEnvironmentVar("DESKTOP_SESSION").find("wayland") != in IsWayland()
/third_party/skia/third_party/externals/spirv-tools/test/val/
H A Dval_function_test.cpp175 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
206 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
230 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
251 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
281 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
305 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
326 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
362 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
395 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_function_test.cpp175 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
206 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
230 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
251 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
281 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
305 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
326 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
362 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
395 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
/third_party/spirv-tools/test/val/
H A Dval_function_test.cpp173 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
205 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
230 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
252 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
283 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
307 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
328 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
365 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
398 std::find(valid_storage_classes.begin(), valid_storage_classes.end(), in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp64 !dwarf::toUnsigned(DIE.find(dwarf::DW_AT_external), 0)) in getChildDeclContext()
78 if (dwarf::toUnsigned(DIE.find(dwarf::DW_AT_artificial), 0)) in getChildDeclContext()
118 ByteSize = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_byte_size), in getChildDeclContext()
122 dwarf::toUnsigned(DIE.find(dwarf::DW_AT_decl_file), 0)) { in getChildDeclContext()
132 Line = dwarf::toUnsigned(DIE.find(dwarf::DW_AT_decl_line), 0); in getChildDeclContext()
179 auto ContextIter = Contexts.find(&Key); in getChildDeclContext()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dassembly_builder.h110 if (inst_str.find("OpName ") == 0) { in AppendNames()
127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
232 if (inst_str.find('=') != std::string::npos) { in GetResultIDName()
233 size_t assign_sign = inst_str.find('='); in GetResultIDName()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dequivalence_relation.h36 // A disjoint-set (a.k.a. union-find or merge-find) data structure is used to
83 const T* value1_ptr = *value_set_.find(&value1); in MakeEquivalent()
84 const T* value2_ptr = *value_set_.find(&value2); in MakeEquivalent()
147 stack.push_back(Find(*value_set_.find(&value))); in GetEquivalenceClass()
178 return value_set_.find(&value) != value_set_.end(); in Exists()
183 // in a classic union-find data structure.
188 const T* known_value = *value_set_.find(value); in Find()
191 // Compute the result by chasing parents until we find a value that is its in Find()
209 std::find(children in Find()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dequivalence_relation.h36 // A disjoint-set (a.k.a. union-find or merge-find) data structure is used to
83 const T* value1_ptr = *value_set_.find(&value1); in MakeEquivalent()
84 const T* value2_ptr = *value_set_.find(&value2); in MakeEquivalent()
147 stack.push_back(Find(*value_set_.find(&value))); in GetEquivalenceClass()
178 return value_set_.find(&value) != value_set_.end(); in Exists()
183 // in a classic union-find data structure.
188 const T* known_value = *value_set_.find(value); in Find()
191 // Compute the result by chasing parents until we find a value that is its in Find()
209 std::find(children in Find()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dassembly_builder.h110 if (inst_str.find("OpName ") == 0) { in AppendNames()
127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
232 if (inst_str.find('=') != std::string::npos) { in GetResultIDName()
233 size_t assign_sign = inst_str.find('='); in GetResultIDName()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dnamer.cc83 if ((std::string::npos != invalid_as_first_char.find(suggested_name[0])) || in Sanitize()
84 (std::string::npos == valid.find(suggested_name[0]))) { in Sanitize()
89 return (std::string::npos == valid.find(c)) ? '_' : c; in Sanitize()
97 auto where = struct_member_names_.find(struct_id); in GetMemberName()
189 if (used_names.find(suggestion) == used_names.end()) { in ResolveMemberNamesForStruct()
201 } while (used_names.find(new_name) != used_names.end()); in ResolveMemberNamesForStruct()
/third_party/spirv-tools/source/fuzz/
H A Dequivalence_relation.h36 // A disjoint-set (a.k.a. union-find or merge-find) data structure is used to
83 const T* value1_ptr = *value_set_.find(&value1); in MakeEquivalent()
84 const T* value2_ptr = *value_set_.find(&value2); in MakeEquivalent()
147 stack.push_back(Find(*value_set_.find(&value))); in GetEquivalenceClass()
178 return value_set_.find(&value) != value_set_.end(); in Exists()
183 // in a classic union-find data structure.
188 const T* known_value = *value_set_.find(value); in Find()
191 // Compute the result by chasing parents until we find a value that is its in Find()
209 std::find(children in Find()
[all...]
/third_party/spirv-tools/test/opt/
H A Dassembly_builder.h110 if (inst_str.find("OpName ") == 0) { in AppendNames()
127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
232 if (inst_str.find('=') != std::string::npos) { in GetResultIDName()
233 size_t assign_sign = inst_str.find('='); in GetResultIDName()
/third_party/skia/third_party/externals/dawn/generator/
H A Dopengl_loader_generator.py66 ptype = element.find('ptype')
73 proto = element.find('proto')
81 param.find('name').text, parse_type_declaration(param)))
83 self.gl_name = proto.find('name').text
85 if element.find('alias') != None:
86 self.alias = element.find('alias').attrib['name']
162 section = root.find(
/third_party/spirv-tools/source/opt/
H A Dlocal_single_block_elim_pass.cpp30 if (supported_ref_ptrs_.find(ptrId) != supported_ref_ptrs_.end()) return true; in HasOnlySupportedRefs()
81 auto prev_store = var2store_.find(varId); in LocalSingleBlockLoadStoreElim()
91 auto li = var2load_.find(varId); in LocalSingleBlockLoadStoreElim()
124 auto si = var2store_.find(varId); in LocalSingleBlockLoadStoreElim()
128 auto li = var2load_.find(varId); in LocalSingleBlockLoadStoreElim()
136 auto si = var2store_.find(varId); in LocalSingleBlockLoadStoreElim()
185 if (extensions_allowlist_.find(extName) == extensions_allowlist_.end()) in AllExtensionsSupported()
/third_party/json/tests/src/
H A Dunit-ordered_map.cpp250 SECTION("find")
260 CHECK(om.find("eins") == om.begin());
261 CHECK(om.find(std::string("eins")) == om.begin());
262 CHECK(om.find(eins) == om.begin());
263 CHECK(om.find("vier") == om.end());
264 CHECK(om.find(std::string("vier")) == om.end());
265 CHECK(om.find(vier) == om.end());
267 CHECK(com.find("eins") == com.begin());
268 CHECK(com.find(std::string("eins")) == com.begin());
269 CHECK(com.find(ein
[all...]
/third_party/skia/src/core/
H A DSkLRUCache.h45 V* find(const K& key) { in find() function in SkLRUCache
46 Entry** value = fMap.find(key); in find()
59 SkASSERT(!this->find(key)); in insert()
71 if (V* found = this->find(key)) { in insert_or_update()
112 Entry** value = fMap.find(key); in remove()

Completed in 18 milliseconds

12345678910>>...134