Home
last modified time | relevance | path

Searched refs:find (Results 76 - 100 of 3814) sorted by relevance

12345678910>>...153

/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/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/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.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/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/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()
H A DSkPtrRecorder.h30 uint32_t find(void*) const;
108 uint32_t find(T ptr) { in find() function in SkTPtrSet
109 return this->INHERITED::find((void*)ptr); in find()
155 uint32_t find(SkFlattenable::Factory);
/third_party/skia/third_party/externals/dawn/src/common/
H A DGPUInfo.cpp95 return std::find(Skylake.cbegin(), Skylake.cend(), deviceId) != Skylake.cend(); in IsSkylake()
98 return std::find(Kabylake.cbegin(), Kabylake.cend(), deviceId) != Kabylake.cend(); in IsKabylake()
101 return (std::find(Coffeelake.cbegin(), Coffeelake.cend(), deviceId) != Coffeelake.cend()) || in IsCoffeelake()
102 (std::find(Whiskylake.cbegin(), Whiskylake.cend(), deviceId) != Whiskylake.cend()) || in IsCoffeelake()
103 (std::find(Cometlake.cbegin(), Cometlake.cend(), deviceId) != Cometlake.cend()); in IsCoffeelake()
/third_party/skia/third_party/externals/icu/scripts/
H A Dupdate.sh50 find "${treeroot}/source" -name *vcxp* -o -name *sln | xargs rm
72 find source/i18n -maxdepth 1 ! -type d | egrep '\.(c|cpp|h)$' |sort | \
76 find source/common -maxdepth 1 ! -type d | egrep '\.(c|cpp|h)$' |sort | \
107 find source/i18n -maxdepth 1 ! -type d | egrep '\.(c|cpp)$' | \
109 find source/common -maxdepth 1 ! -type d | egrep '\.(c|cpp)$' | \
H A Dmake_data_assembly.py27 n = input_file.find(".dat")
36 if input_file.find("l.dat") == -1:
37 if input_file.find("b.dat") == -1:
45 n = input_data.find(b'icudt')
47 sys.exit("Cannot find a version number in %s." % input_file)
/third_party/rust/crates/memchr/src/memmem/x86/
H A Davx.rs32 /// this will cause `find` to panic.
39 pub(crate) fn find(
50 /// The implementation of find marked with the appropriate target
93 pub(crate) fn find(
107 fn find( in find() functions
113 super::Forward::new(ninfo, needle).unwrap().find(haystack, needle) in find()
123 // SAFETY: The safety of find only requires that the current CPU in prefilter_permutations()
126 PrefilterTest::run_all_tests_filter(find, |t| { in prefilter_permutations()
H A Dsse.rs22 /// `find` to panic.
29 pub(crate) fn find(
39 /// The implementation of find marked with the appropriate target feature.
60 fn find( in find() functions
66 super::Forward::new(ninfo, needle).unwrap().find(haystack, needle) in find()
76 PrefilterTest::run_all_tests_filter(find, |t| { in prefilter_permutations()
/test/testfwk/arkxtest/uitest/record/
H A Dpointer_tracker.cpp110 auto judgeFunction = pointerTypeJudgMap_.find(pointerTypeJudgChain_[0])->second; in HandleMoveEvent()
113 FingerTracker* ftracker = fingerTrackers.find(event.downTime)->second; in HandleMoveEvent()
128 fingerTrackers.find(event.downTime)->second->UpdatevelocityTracker(event); in HandleUpEvent()
130 auto judgeFunction = pointerTypeJudgMap_.find(pointerTypeJudgChain_[0])->second; in HandleUpEvent()
133 fingerTrackers.find(event.downTime)->second->HandleUpEvent(event); in HandleUpEvent()
134 fingerTrackers.find(event.downTime)->second->BuildFingerInfo(); in HandleUpEvent()
209 int moveDistance = fingerTrackers.find(touchEvent.downTime)->second->GetMoveDistance(); in IsClick()
228 int moveDistance = fingerTrackers.find(touchEvent.downTime)->second->GetMoveDistance(); in IsLongClick()
240 auto ftracker = fingerTrackers.find(touchEvent.downTime)->second; in IsDrag()
254 auto ftracker = fingerTrackers.find(touchEven in IsRecent()
[all...]
/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...]
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_test.cpp71 * find item
73 uintptr_t find(int32_t key) in find() function in OHOS::Media::MyMap
75 auto itor = map_.find(key); in find()
83 * find item
85 int32_t find(uintptr_t ptr) in find() function in OHOS::Media::MyMap
136 auto itor = map_.find(key); in check()
178 int32_t receiverKey = receiverMap.find((uintptr_t)context->receiver); in Callback()
334 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsGetSize()
361 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsSetSize()
383 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(param in JsImageReceiverOptionsGetCapacity()
[all...]
/third_party/ninja/src/
H A Dmsvc_helper-win32.cc25 string Replace(const string& input, const string& find, const string& replace) { in Replace() argument
28 while ((start_pos = result.find(find, start_pos)) != string::npos) { in Replace()
29 result.replace(start_pos, find.length(), replace); in Replace()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/
H A Dperf_result_reporter.cc33 auto iter = metric_map_.find(metric_suffix); in AddResult()
42 auto iter = metric_map_.find(metric_suffix); in AddResult()
51 auto iter = metric_map_.find(metric_suffix); in AddResult()
60 auto iter = metric_map_.find(metric_suffix); in GetMetricInfo()
/third_party/skia/third_party/externals/tint/src/
H A Dsymbol_table.cc37 auto it = name_to_symbol_.find(name); in Register()
55 auto it = name_to_symbol_.find(name); in Get()
61 auto it = symbol_to_name_.find(symbol); in NameFor()
73 auto it = name_to_symbol_.find(prefix); in New()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DMachineDominanceFrontier.h69 iterator find(MachineBasicBlock *B) { in find() function in llvm::MachineDominanceFrontier
70 return Base.find(B); in find()
73 const_iterator find(MachineBasicBlock *B) const { in find() function in llvm::MachineDominanceFrontier
74 return Base.find(B); in find()
/third_party/rust/crates/memchr/src/memmem/prefilter/
H A Dfallback.rs37 const _: PrefilterFnTy = find;
49 pub(crate) fn find(
98 find(&mut prestate, &ninfo, haystack, needle) in freqy_find()
118 // SAFETY: super::find is safe to call for all inputs and on all in prefilter_permutations()
120 unsafe { PrefilterTest::run_all_tests(super::find) }; in prefilter_permutations()

Completed in 21 milliseconds

12345678910>>...153