Home
last modified time | relevance | path

Searched refs:pair (Results 501 - 525 of 2457) sorted by relevance

1...<<21222324252627282930>>...99

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp127 typedef std::pair<ICmpInst *, unsigned> ConditionTy;
265 /// For each (predecessor, conditions from predecessors) pair, it will split the
308 const SmallVectorImpl<std::pair<BasicBlock *, ConditionsTy>> &Preds, in splitCallSite()
447 using PredsWithCondsTy = SmallVector<std::pair<BasicBlock *, ConditionsTy>, 2>;
476 SmallVector<std::pair<BasicBlock *, ConditionsTy>, 2> PredsCS; in shouldSplitOnPredicatedArgument()
486 if (all_of(PredsCS, [](const std::pair<BasicBlock *, ConditionsTy> &P) { in shouldSplitOnPredicatedArgument()
/third_party/spirv-tools/source/
H A Dcfa.h128 /// The first node in the pair is a node in the graph. The second node in the
129 /// pair is its immediate dominator in the sense of Cooper et.al., where a
133 static std::vector<std::pair<BB*, BB*>> CalculateDominators(
218 std::vector<std::pair<BB*, BB*>> CFA<BB>::CalculateDominators( in CalculateDominators()
276 std::vector<std::pair<bb_ptr, bb_ptr>> out; in CalculateDominators()
293 [&idoms](const std::pair<bb_ptr, bb_ptr>& lhs, in CalculateDominators()
294 const std::pair<bb_ptr, bb_ptr>& rhs) { in CalculateDominators()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DStringMap.h260 StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List) in StringMap()
390 /// insert - Insert the specified key/value pair into the map. If the key
409 /// insert - Inserts the specified key/value pair into the map if the key
410 /// isn't already in the map. The bool component of the returned pair is true
412 /// the pair points to the element with key equivalent to the key of the pair.
413 std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) { in insert()
420 std::pair<iterator, bool> insert_or_assign(StringRef Key, V &&Val) { in insert_or_assign()
428 /// already in the map. The bool component of the returned pair i
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstr_split_internal.h291 // Returns a pair with its .first and .second members set to the first two
296 operator std::pair<First, Second>() const { // NOLINT(runtime/explicit) in operator std::pair()
376 // The algorithm is to insert a new pair into the map for each even-numbered
378 // value. Each odd-numbered item will then be assigned to the last pair's
381 struct ConvertToContainer<Container, std::pair<const First, Second>, true> {
404 // Use piecewise_construct to support old versions of gcc in which pair in InsertOrEmplace()
415 static iterator ToIter(std::pair<iterator, bool> pair) { in ToIter()
416 return pair.first; in ToIter()
/third_party/rust/crates/regex/regex-syntax/src/hir/
H A Dinterval.rs42 /// specified as a pair of bounds, where both bounds are inclusive.
311 for pair in self.ranges.windows(2) { in is_canonical()
312 if pair[0] >= pair[1] { in is_canonical()
315 if pair[0].is_contiguous(&pair[1]) { in is_canonical()
/third_party/spirv-tools/source/opt/
H A Dloop_dependence_helpers.cpp31 const std::pair<SENode*, SENode*>& subscript_pair) { in IsZIV()
37 const std::pair<SENode*, SENode*>& subscript_pair) { in IsSIV()
43 const std::pair<SENode*, SENode*>& subscript_pair) { in IsMIV()
198 const std::pair<SENode*, SENode*>& subscript_pair) { in GetLoopForSubscriptPair()
244 const std::pair<SENode*, SENode*>& subscript_pair, in GetDistanceEntryForSubscriptPair()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_outline_function.cpp93 for (auto& pair : message_.input_id_to_fresh_id()) { in IsApplicable()
95 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
100 for (auto& pair : message_.output_id_to_fresh_id()) { in IsApplicable()
102 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
1014 for (auto& pair : message_.input_id_to_fresh_id()) { in GetFreshIds()
1015 result.insert(pair.second()); in GetFreshIds()
1017 for (auto& pair : message_.output_id_to_fresh_id()) { in GetFreshIds()
1018 result.insert(pair.second()); in GetFreshIds()
H A Dtransformation_add_function.cpp108 for (auto& pair : access_chain_clamping_info.compare_and_select_ids()) { in IsApplicable()
110 pair.first(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
114 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
781 // Check that there is a (compare_id, select_id) pair for every in TryToClampAccessChainIndices()
948 for (auto& pair : access_chain_clamping_info.compare_and_select_ids()) { in GetFreshIds()
949 result.insert(pair.first()); in GetFreshIds()
950 result.insert(pair.second()); in GetFreshIds()
H A Dtransformation_duplicate_region_with_selection.cpp675 for (auto& pair : message_.original_label_to_duplicate_label()) { in GetFreshIds()
676 result.insert(pair.second()); in GetFreshIds()
678 for (auto& pair : message_.original_id_to_duplicate_id()) { in GetFreshIds()
679 result.insert(pair.second()); in GetFreshIds()
681 for (auto& pair : message_.original_id_to_phi_id()) { in GetFreshIds()
682 result.insert(pair.second()); in GetFreshIds()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_outline_function.cpp93 for (auto& pair : message_.input_id_to_fresh_id()) { in IsApplicable()
95 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
100 for (auto& pair : message_.output_id_to_fresh_id()) { in IsApplicable()
102 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
1014 for (auto& pair : message_.input_id_to_fresh_id()) { in GetFreshIds()
1015 result.insert(pair.second()); in GetFreshIds()
1017 for (auto& pair : message_.output_id_to_fresh_id()) { in GetFreshIds()
1018 result.insert(pair.second()); in GetFreshIds()
H A Dtransformation_add_function.cpp108 for (auto& pair : access_chain_clamping_info.compare_and_select_ids()) { in IsApplicable()
110 pair.first(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
114 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
781 // Check that there is a (compare_id, select_id) pair for every in TryToClampAccessChainIndices()
948 for (auto& pair : access_chain_clamping_info.compare_and_select_ids()) { in GetFreshIds()
949 result.insert(pair.first()); in GetFreshIds()
950 result.insert(pair.second()); in GetFreshIds()
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_outline_function.cpp93 for (auto& pair : message_.input_id_to_fresh_id()) { in IsApplicable()
95 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
100 for (auto& pair : message_.output_id_to_fresh_id()) { in IsApplicable()
102 pair.second(), ir_context, &ids_used_by_this_transformation)) { in IsApplicable()
1017 for (auto& pair : message_.input_id_to_fresh_id()) { in GetFreshIds()
1018 result.insert(pair.second()); in GetFreshIds()
1020 for (auto& pair : message_.output_id_to_fresh_id()) { in GetFreshIds()
1021 result.insert(pair.second()); in GetFreshIds()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dphy.c106 struct mt76_reg_pair pair = { in mt76x0_rf_wr() local
113 return mt76_wr_rp(dev, MT_MCU_MEMMAP_RF, &pair, 1); in mt76x0_rf_wr()
125 struct mt76_reg_pair pair = { in mt76x0_rf_rr() local
131 ret = mt76_rd_rp(dev, MT_MCU_MEMMAP_RF, &pair, 1); in mt76x0_rf_rr()
132 val = pair.value; in mt76x0_rf_rr()
406 const struct mt76_reg_pair *pair = &item->reg_pair; in mt76x0_phy_set_chan_bbp_params() local
411 if (pair->reg == MT_BBP(AGC, 8)) { in mt76x0_phy_set_chan_bbp_params()
412 u32 val = pair->value; in mt76x0_phy_set_chan_bbp_params()
419 mt76_wr(dev, pair->reg, val); in mt76x0_phy_set_chan_bbp_params()
421 mt76_wr(dev, pair in mt76x0_phy_set_chan_bbp_params()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dphy.c106 struct mt76_reg_pair pair = { in mt76x0_rf_wr() local
113 return mt76_wr_rp(dev, MT_MCU_MEMMAP_RF, &pair, 1); in mt76x0_rf_wr()
125 struct mt76_reg_pair pair = { in mt76x0_rf_rr() local
131 ret = mt76_rd_rp(dev, MT_MCU_MEMMAP_RF, &pair, 1); in mt76x0_rf_rr()
132 val = pair.value; in mt76x0_rf_rr()
406 const struct mt76_reg_pair *pair = &item->reg_pair; in mt76x0_phy_set_chan_bbp_params() local
411 if (pair->reg == MT_BBP(AGC, 8)) { in mt76x0_phy_set_chan_bbp_params()
412 u32 val = pair->value; in mt76x0_phy_set_chan_bbp_params()
419 mt76_wr(dev, pair->reg, val); in mt76x0_phy_set_chan_bbp_params()
421 mt76_wr(dev, pair in mt76x0_phy_set_chan_bbp_params()
[all...]
/third_party/lzma/CPP/7zip/UI/Common/
H A DArchiveCommandLine.cpp464 CRenamePair &pair = renamePairs->AddNew(); in AddRenamePair() local
465 pair.OldName = oldName; in AddRenamePair()
466 pair.NewName = newName; in AddRenamePair()
467 pair.RecursedType = type; in AddRenamePair()
468 pair.WildcardParsing = wildcardMatching; in AddRenamePair()
470 if (!pair.Prepare()) in AddRenamePair()
473 val += pair.OldName; in AddRenamePair()
475 val += pair.NewName; in AddRenamePair()
581 throw CArcCmdLineException("There is no second file name for rename pair:", nonSwitchStrings[(unsigned)oldIndex]); in AddToCensorFromNonSwitchesStrings()
1207 const CCodePagePair &pair in FindCharset() local
[all...]
/third_party/python/Objects/
H A Dodictobject.c38 4. have the value stored for each key be a (value, node) pair, and adjust
1101 Remove and return a (key, value) pair from the dictionary.
1393 PyObject *pair; in odict_repr() local
1401 pair = PyTuple_Pack(2, key, value); in odict_repr()
1402 if (pair == NULL) in odict_repr()
1406 PyList_SET_ITEM(pieces, count, pair); /* steals reference */ in odict_repr()
1408 if (PyList_Append(pieces, pair) < 0) { in odict_repr()
1409 Py_DECREF(pair); in odict_repr()
1412 Py_DECREF(pair); in odict_repr()
2134 PyObject *pair, *iterato in mutablemapping_add_pairs() local
[all...]
/third_party/python/Lib/test/
H A Dtest_io.py1977 pair = self.tp(self.MockRawIO(), self.MockRawIO())
1978 self.assertFalse(pair.closed)
1981 pair = self.tp.__new__(self.tp)
1982 del pair
1983 pair = self.tp.__new__(self.tp)
1986 pair.read, 0)
1989 pair.write, b'')
1990 pair.__init__(self.MockRawIO(), self.MockRawIO())
1991 self.assertEqual(pair.read(0), b'')
1992 self.assertEqual(pair
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/val/
H A Dval_ext_inst_debug_test.cpp40 spvtest::ValidateBase<std::pair<std::string, std::string>>;
42 spvtest::ValidateBase<std::pair<std::string, std::string>>;
44 spvtest::ValidateBase<std::pair<std::string, std::string>>;
46 spvtest::ValidateBase<std::pair<std::string, std::string>>;
48 spvtest::ValidateBase<std::pair<std::string, std::string>>;
50 spvtest::ValidateBase<std::pair<std::string, std::string>>;
52 spvtest::ValidateBase<std::pair<std::string, std::string>>;
54 spvtest::ValidateBase<std::pair<std::string, std::string>>;
56 spvtest::ValidateBase<std::pair<std::string, std::string>>;
58 spvtest::ValidateBase<std::pair<st
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_ext_inst_debug_test.cpp40 spvtest::ValidateBase<std::pair<std::string, std::string>>;
42 spvtest::ValidateBase<std::pair<std::string, std::string>>;
44 spvtest::ValidateBase<std::pair<std::string, std::string>>;
46 spvtest::ValidateBase<std::pair<std::string, std::string>>;
48 spvtest::ValidateBase<std::pair<std::string, std::string>>;
50 spvtest::ValidateBase<std::pair<std::string, std::string>>;
52 spvtest::ValidateBase<std::pair<std::string, std::string>>;
54 spvtest::ValidateBase<std::pair<std::string, std::string>>;
56 spvtest::ValidateBase<std::pair<std::string, std::string>>;
58 spvtest::ValidateBase<std::pair<st
[all...]
/third_party/spirv-tools/test/val/
H A Dval_ext_inst_debug_test.cpp40 spvtest::ValidateBase<std::pair<std::string, std::string>>;
42 spvtest::ValidateBase<std::pair<std::string, std::string>>;
44 spvtest::ValidateBase<std::pair<std::string, std::string>>;
46 spvtest::ValidateBase<std::pair<std::string, std::string>>;
48 spvtest::ValidateBase<std::pair<std::string, std::string>>;
50 spvtest::ValidateBase<std::pair<std::string, std::string>>;
52 spvtest::ValidateBase<std::pair<std::string, std::string>>;
54 spvtest::ValidateBase<std::pair<std::string, std::string>>;
56 spvtest::ValidateBase<std::pair<std::string, std::string>>;
58 spvtest::ValidateBase<std::pair<st
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_transform_v.c292 int i, phase, pair; in program_multi_taps_filter() local
326 for (pair = 0; pair < taps_pairs; pair++) { in program_multi_taps_filter()
329 set_reg_field_value(select, pair, in program_multi_taps_filter()
343 if (taps % 2 && pair == taps_pairs - 1) { in program_multi_taps_filter()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_transform_v.c289 int i, phase, pair; in program_multi_taps_filter() local
323 for (pair = 0; pair < taps_pairs; pair++) { in program_multi_taps_filter()
326 set_reg_field_value(select, pair, in program_multi_taps_filter()
340 if (taps % 2 && pair == taps_pairs - 1) { in program_multi_taps_filter()
/third_party/curl/lib/
H A Dhttp_aws_sigv4.c410 struct pair { struct
417 const struct pair *aa = a; in compare_func()
418 const struct pair *bb = b; in compare_func()
436 struct pair array[MAX_QUERYPAIRS]; in canon_query()
437 struct pair *ap = &array[0]; in canon_query()
462 qsort(&array[0], entry, sizeof(struct pair), compare_func); in canon_query()
/third_party/json/include/nlohmann/detail/meta/
H A Dtype_traits.hpp199 // std::pair and std::tuple until LWG 2367 fix (see https://cplusplus.github.io/LWG/lwg-defects.html#2367).
205 struct is_default_constructible<std::pair<T1, T2>>
209 struct is_default_constructible<const std::pair<T1, T2>>
225 struct is_constructible<std::pair<T1, T2>> : is_default_constructible<std::pair<T1, T2>> {};
228 struct is_constructible<const std::pair<T1, T2>> : is_default_constructible<const std::pair<T1, T2>> {};
/third_party/node/deps/v8/src/interpreter/
H A Dbytecode-generator.h520 ZoneVector<std::pair<FunctionLiteral*, size_t>> function_literals_;
521 ZoneVector<std::pair<NativeFunctionLiteral*, size_t>>
523 ZoneVector<std::pair<ObjectLiteralBoilerplateBuilder*, size_t>>
525 ZoneVector<std::pair<ArrayLiteralBoilerplateBuilder*, size_t>>
527 ZoneVector<std::pair<ClassLiteral*, size_t>> class_literals_;
528 ZoneVector<std::pair<GetTemplateObject*, size_t>> template_objects_;

Completed in 60 milliseconds

1...<<21222324252627282930>>...99