/third_party/gn/src/gn/ |
H A D | scope.cc | 256 for (const auto& pair : values_) { in CheckForUnusedVars() 257 if (!pair.second.used) { in CheckForUnusedVars() 259 "You set the variable \"" + std::string(pair.first) + in CheckForUnusedVars() 271 const BinaryOpNode* binary = pair.second.value.origin()->AsBinaryOp(); in CheckForUnusedVars() 279 Err(pair.second.value.origin(), "Assignment had no effect.", help); in CheckForUnusedVars() 288 for (const auto& pair : values_) in GetCurrentScopeValues() 289 (*output)[pair.first] = pair.second.value; in GetCurrentScopeValues() 300 for (const auto& pair : values_) { in CheckCurrentScopeValuesEqual() 301 const Value* v = other->GetValue(pair in CheckCurrentScopeValuesEqual() [all...] |
H A D | metadata_walk_unittest.cc | 20 std::pair<std::string_view, Value>("a", a_expected)); in TEST() 25 std::pair<std::string_view, Value>("b", b_expected)); in TEST() 33 std::pair<std::string_view, Value>("a", a_2_expected)); in TEST() 38 std::pair<std::string_view, Value>("b", b_2_expected)); in TEST() 78 std::pair<std::string_view, Value>("a", a_expected)); in TEST() 83 std::pair<std::string_view, Value>("b", b_expected)); in TEST() 89 std::pair<std::string_view, Value>("a", a_2_expected)); in TEST() 127 std::pair<std::string_view, Value>("a", a_expected)); in TEST() 133 std::pair<std::string_view, Value>("walk", walk_expected)); in TEST() 139 std::pair<st in TEST() [all...] |
H A D | output_conversion.cc | 55 for (const auto& pair : scope_values) { in RenderScopeToJSON() 59 out << "\"" << pair.first << "\": "; in RenderScopeToJSON() 60 if (pair.second.type() == Value::SCOPE) in RenderScopeToJSON() 61 RenderScopeToJSON(pair.second, out, indent + 1); in RenderScopeToJSON() 62 else if (pair.second.type() == Value::LIST) in RenderScopeToJSON() 63 RenderListToJSON(pair.second, out, indent + 1); in RenderScopeToJSON() 65 out << pair.second.ToString(true); in RenderScopeToJSON() 105 for (const auto& pair : scope_values) { in OutputScope() 106 out << " " << pair.first << " = " << pair in OutputScope() [all...] |
H A D | resolved_target_deps.h | 73 for (const auto& pair : public_deps) in Allocate() 74 *ptr++ = pair.ptr; in Allocate() 75 for (const auto& pair : private_deps) in Allocate() 76 *ptr++ = pair.ptr; in Allocate() 77 for (const auto& pair : data_deps) in Allocate() 78 *ptr++ = pair.ptr; in Allocate()
|
H A D | resolved_target_data.cc | 139 for (const auto& pair : dep_info->inherited_libs) { in ComputeInheritedLibsFor() 140 if (pair.target()->output_type() == Target::SHARED_LIBRARY && in ComputeInheritedLibsFor() 141 pair.is_public()) { in ComputeInheritedLibsFor() 142 inherited_libraries->Append(pair.target(), is_public); in ComputeInheritedLibsFor() 149 for (const auto& pair : dep_info->inherited_libs) { in ComputeInheritedLibsFor() 153 if (pair.target()->output_type() != Target::RUST_PROC_MACRO) in ComputeInheritedLibsFor() 154 inherited_libraries->Append(pair.target(), in ComputeInheritedLibsFor() 155 is_public && pair.is_public()); in ComputeInheritedLibsFor() 166 for (const auto& pair : dep_info->inherited_libs) { in ComputeInheritedLibsFor() 167 if (pair in ComputeInheritedLibsFor() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 36 typename VectorType = std::vector<std::pair<KeyT, ValueT>>> 83 std::pair<KeyT, ValueT> &front() { return Vector.front(); } in front() 84 const std::pair<KeyT, ValueT> &front() const { return Vector.front(); } in front() 85 std::pair<KeyT, ValueT> &back() { return Vector.back(); } in back() 86 const std::pair<KeyT, ValueT> &back() const { return Vector.back(); } in back() 99 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(Key, 0); in operator []() 100 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); in operator []() 117 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { in insert() 118 std::pair<Key in insert() [all...] |
/third_party/lzma/CPP/7zip/UI/FileManager/ |
H A D | SysIconUtils.cpp | 198 CAttribIconPair pair;
in GetIconIndex() local 204 , attrib, pair.IconIndex
in GetIconIndex() 205 // , pair.TypeName
in GetIconIndex() 214 pair.Attrib = attrib;
in GetIconIndex() 215 _attribMap.Insert(insertPos, pair);
in GetIconIndex() 216 // if (typeName) *typeName = pair.TypeName;
in GetIconIndex() 217 return pair.IconIndex;
in GetIconIndex() 253 CExtIconPair pair;
in GetIconIndex() local 254 pair.Ext = ext;
in GetIconIndex() 255 GetRealIconIndex(us2fs(fileName + dotPos), attrib, pair in GetIconIndex() [all...] |
/third_party/node/test/parallel/ |
H A D | test-tls-enable-trace-cli.js | 56 }, common.mustCall((err, pair, cleanup) => { 57 if (pair.server.err) { 58 console.trace('server', pair.server.err); 60 if (pair.client.err) { 61 console.trace('client', pair.client.err); 63 assert.ifError(pair.server.err); 64 assert.ifError(pair.client.err);
|
H A D | test-tls-enable-keylog-cli.js | 50 }, common.mustCall((err, pair, cleanup) => { 51 if (pair.server.err) { 52 console.trace('server', pair.server.err); 54 if (pair.client.err) { 55 console.trace('client', pair.client.err); 57 assert.ifError(pair.server.err); 58 assert.ifError(pair.client.err);
|
/third_party/python/Lib/xml/sax/ |
H A D | expatreader.py | 339 pair = name.split() 340 if len(pair) == 1: 342 pair = (None, name) 343 elif len(pair) == 3: 344 pair = pair[0], pair[1] 347 pair = tuple(pair) 369 self._cont_handler.startElementNS(pair, Non [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | ExtensionSet.cs | 240 foreach (var pair in second.ValuesByNumber)
243 if (first.ValuesByNumber.TryGetValue(pair.Key, out value))
245 value.MergeFrom(pair.Value);
249 var cloned = pair.Value.Clone();
250 first.ValuesByNumber[pair.Key] = cloned;
266 foreach (var pair in set.ValuesByNumber)
268 var cloned = pair.Value.Clone();
269 newSet.ValuesByNumber[pair.Key] = cloned;
315 foreach (var pair in ValuesByNumber)
in Equals() 318 if (!otherSet.ValuesByNumber.TryGetValue(pair in Equals() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkOpEdgeBuilder.cpp | 207 SkPoint pair[5]; in walk() local 208 if (SkChopQuadAtMaxCurvature(pointsPtr, pair) == 1) { in walk() 211 if (!SkScalarsAreFinite(&pair[0].fX, SK_ARRAY_COUNT(pair) * 2)) { in walk() 214 for (unsigned index = 0; index < SK_ARRAY_COUNT(pair); ++index) { in walk() 215 pair[index] = force_small_to_zero(pair[index]); in walk() 218 SkPath::Verb v1 = SkReduceOrder::Quad(&pair[0], cStorage[0]); in walk() 219 SkPath::Verb v2 = SkReduceOrder::Quad(&pair[2], cStorage[1]); in walk() 220 SkPoint* curve1 = v1 != SkPath::kLine_Verb ? &pair[ in walk() 241 SkConic pair[2]; walk() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_opphi_synonyms.cpp | 115 // Add the pair (predecessor, chosen id) to the map. in Apply() 157 for (const auto& pair : GetIRContext()->get_def_use_mgr()->id_to_defs()) { in GetIdEquivalenceClasses() 159 if (already_in_a_class.count(pair.first)) { in GetIdEquivalenceClasses() 165 pair.first)) { in GetIdEquivalenceClasses() 171 GetIRContext(), pair.second->type_id())) { in GetIdEquivalenceClasses() 179 if (pair.second->opcode() == SpvOpFunction || in GetIdEquivalenceClasses() 180 pair.second->opcode() == SpvOpUndef) { in GetIdEquivalenceClasses() 188 new_equivalence_class.emplace(pair.first); in GetIdEquivalenceClasses() 189 already_in_a_class.emplace(pair.first); in GetIdEquivalenceClasses() 194 pair in GetIdEquivalenceClasses() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_add_opphi_synonyms.cpp | 115 // Add the pair (predecessor, chosen id) to the map. in Apply() 157 for (const auto& pair : GetIRContext()->get_def_use_mgr()->id_to_defs()) { in GetIdEquivalenceClasses() 159 if (already_in_a_class.count(pair.first)) { in GetIdEquivalenceClasses() 165 pair.first)) { in GetIdEquivalenceClasses() 171 GetIRContext(), pair.second->type_id())) { in GetIdEquivalenceClasses() 179 if (pair.second->opcode() == SpvOpFunction || in GetIdEquivalenceClasses() 180 pair.second->opcode() == SpvOpUndef) { in GetIdEquivalenceClasses() 188 new_equivalence_class.emplace(pair.first); in GetIdEquivalenceClasses() 189 already_in_a_class.emplace(pair.first); in GetIdEquivalenceClasses() 194 pair in GetIdEquivalenceClasses() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_opphi_synonyms.cpp | 115 // Add the pair (predecessor, chosen id) to the map. in Apply() 157 for (const auto& pair : GetIRContext()->get_def_use_mgr()->id_to_defs()) { in GetIdEquivalenceClasses() 159 if (already_in_a_class.count(pair.first)) { in GetIdEquivalenceClasses() 165 pair.first)) { in GetIdEquivalenceClasses() 171 GetIRContext(), pair.second->type_id())) { in GetIdEquivalenceClasses() 179 if (pair.second->opcode() == spv::Op::OpFunction || in GetIdEquivalenceClasses() 180 pair.second->opcode() == spv::Op::OpUndef) { in GetIdEquivalenceClasses() 188 new_equivalence_class.emplace(pair.first); in GetIdEquivalenceClasses() 189 already_in_a_class.emplace(pair.first); in GetIdEquivalenceClasses() 194 pair in GetIdEquivalenceClasses() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | ethtool_netlink.h | 26 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result); 27 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm); 28 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV); 45 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result() argument 52 u8 pair, u32 cm) in ethnl_cable_test_fault_length() 58 u8 pair, s16 mV) in ethnl_cable_test_amplitude() 51 ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) ethnl_cable_test_fault_length() argument 57 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) ethnl_cable_test_amplitude() argument
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | upgrade_memory_model.h | 29 const std::pair<uint32_t, std::vector<uint32_t>>& item) const { in operator ()() 78 std::pair<bool, bool> TraceInstruction(Instruction* inst, 91 std::pair<bool, bool> CheckType(uint32_t type_id, 95 std::pair<bool, bool> CheckAllTypes(const Instruction* inst); 144 std::unordered_map<std::pair<uint32_t, std::vector<uint32_t>>, 145 std::pair<bool, bool>, CacheHash>
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | upgrade_memory_model.h | 29 const std::pair<uint32_t, std::vector<uint32_t>>& item) const { in operator ()() 78 std::pair<bool, bool> TraceInstruction(Instruction* inst, 91 std::pair<bool, bool> CheckType(uint32_t type_id, 95 std::pair<bool, bool> CheckAllTypes(const Instruction* inst); 144 std::unordered_map<std::pair<uint32_t, std::vector<uint32_t>>, 145 std::pair<bool, bool>, CacheHash>
|
/third_party/spirv-tools/source/opt/ |
H A D | upgrade_memory_model.h | 29 const std::pair<uint32_t, std::vector<uint32_t>>& item) const { in operator ()() 78 std::pair<bool, bool> TraceInstruction(Instruction* inst, 91 std::pair<bool, bool> CheckType(uint32_t type_id, 95 std::pair<bool, bool> CheckAllTypes(const Instruction* inst); 144 std::unordered_map<std::pair<uint32_t, std::vector<uint32_t>>, 145 std::pair<bool, bool>, CacheHash>
|
/third_party/node/test/fixtures/ |
H A D | tls-connect.js | 50 const pair = { server, client }; 78 callback(err, pair, cleanup); 88 pair.server.err = err; 89 callback(err, pair, () => {}); 96 const err = pair.client.err || pair.server.err; 97 callback(err, pair, cleanup);
|
/third_party/ffmpeg/libswresample/arm/ |
H A D | resample.S | 30 vpadd.f32 d0, d0, d1 @ pair adding of the 4x32-bit accumulated values 31 vpadd.f32 d0, d0, d0 @ pair adding of the 4x32-bit accumulator values 46 vpadd.f32 d0, d0, d1 @ pair adding of the 4x32-bit accumulated values 47 vpadd.f32 d0, d0, d0 @ pair adding of the 4x32-bit accumulator values 59 vpadd.s32 d0, d0, d1 @ pair adding of the 4x32-bit accumulated values 60 vpadd.s32 d0, d0, d0 @ pair adding of the 4x32-bit accumulator values 73 vpadd.s32 d0, d0, d1 @ pair adding of the 4x32-bit accumulated values 74 vpadd.s32 d0, d0, d0 @ pair adding of the 4x32-bit accumulator values
|
/third_party/lzma/C/ |
H A D | LzFindOpt.c | 83 CLzRef *pair = son + ((size_t)(((ptrdiff_t)pos - CYC_TO_POS_OFFSET) + diff) << 1);
87 const UInt32 pair0 = *pair;
107 const UInt32 pair1 = pair[1];
112 pair[0];
164 delta = pair[1];
168 ptr1 = pair + 1;
173 delta = *pair;
177 ptr0 = pair;
280 CLzRef *pair = son + ((size_t)((ptrdiff_t)_cyclicBufferPos - (ptrdiff_t)delta
in GetMatchesSpecN_2() local 288 const UInt32 pair0 = *pair;
in GetMatchesSpecN_2() [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | init_parse.c | 57 struct pair { struct 60 struct pair *next; 64 struct pair *pairs; 98 struct pair *pair = space->pairs; in free_space() local 99 struct pair *next = pair; in free_space() 102 pair = next; in free_space() 103 next = pair->next; in free_space() 104 free(pair in free_space() 140 struct pair *pair = space->pairs; value_find() local 149 struct pair *pair; value_set() local 1009 struct pair *pair; apply_format() local 1292 struct pair *pair; parse_line() local [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | UpdatePair.cpp | 198 CUpdatePair pair;
in GetUpdatePairInfoList() local 233 pair.State = NUpdateArchive::NPairState::kOnlyOnDisk;
in GetUpdatePairInfoList() 234 pair.DirIndex = dirIndex2;
in GetUpdatePairInfoList() 240 pair.State = ai->Censored ?
in GetUpdatePairInfoList() 243 pair.ArcIndex = arcIndex2;
in GetUpdatePairInfoList() 256 pair.DirIndex = dirIndex2;
in GetUpdatePairInfoList() 257 pair.ArcIndex = arcIndex2;
in GetUpdatePairInfoList() 266 case -1: pair.State = NUpdateArchive::NPairState::kNewInArchive; break;
in GetUpdatePairInfoList() 267 case 1: pair.State = NUpdateArchive::NPairState::kOldInArchive; break;
in GetUpdatePairInfoList() 269 pair in GetUpdatePairInfoList() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | R600EmitClauseMarkers.cpp | 114 std::pair<unsigned, unsigned> getAccessedBankLine(unsigned Sel) const { in getAccessedBankLine() 118 return std::pair<unsigned, unsigned>( in getAccessedBankLine() 130 std::vector<std::pair<unsigned, unsigned>> &CachedConsts, in SubstituteKCacheBank() 132 std::vector<std::pair<unsigned, unsigned>> UsedKCache; in SubstituteKCacheBank() 137 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() 148 const std::pair<unsigned, unsigned> &BankLine = getAccessedBankLine(Sel); in SubstituteKCacheBank() 151 UsedKCache.push_back(std::pair<unsigned, unsigned>(0, KCacheIndex)); in SubstituteKCacheBank() 155 UsedKCache.push_back(std::pair<unsigned, unsigned>(0, KCacheIndex)); in SubstituteKCacheBank() 160 UsedKCache.push_back(std::pair<unsigned, unsigned>(1, KCacheIndex)); in SubstituteKCacheBank() 164 UsedKCache.push_back(std::pair<unsigne in SubstituteKCacheBank() [all...] |