/third_party/node/benchmark/url/ |
H A D | url-searchparams-iteration.js | 35 for (const pair of params) { 36 noDead[0] = pair[0]; 37 noDead[1] = pair[1];
|
/third_party/node/deps/v8/src/torque/ls/ |
H A D | json.cc | 35 for (const auto& pair : value.ToObject()) { in SerializeToString() 36 str << "\"" << pair.first << "\":"; in SerializeToString() 37 SerializeToString(str, pair.second); in SerializeToString()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_pair.h | 102 int rc_pair_alloc_source(struct rc_pair_instruction *pair, 107 struct rc_pair_instruction * pair, 112 struct rc_pair_instruction * pair,
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hashtable_debug_hooks.h | 36 auto GetKey(const typename T::value_type& pair, int) -> decltype(get<0>(pair)) { in get() 37 return get<0>(pair); in get()
|
H A D | hash_function_defaults_test.cc | 287 std::pair<absl::Cord, std::string>, 288 std::pair<absl::Cord, absl::string_view>, 289 std::pair<absl::Cord, absl::Cord>, 290 std::pair<absl::Cord, const char*>, 292 std::pair<std::string, absl::Cord>, 293 std::pair<absl::string_view, absl::Cord>, 295 std::pair<absl::string_view, std::string>, 296 std::pair<absl::string_view, absl::string_view>, 297 std::pair<absl::string_view, const char*>>;
|
H A D | btree_container.h | 141 std::pair<iterator, iterator> equal_range(const key_arg<K> &key) { in equal_range() 145 std::pair<const_iterator, const_iterator> equal_range( in equal_range() 285 std::pair<iterator, bool> insert(const value_type &v) { in insert() 288 std::pair<iterator, bool> insert(value_type &&v) { in insert() 292 std::pair<iterator, bool> emplace(Args &&... args) { in emplace() 322 std::pair<iterator, bool> res = in insert() 334 std::pair<iterator, bool> res = this->tree_.insert_hint_unique( in insert() 344 const std::pair<iterator, bool> lower_and_equal = in extract() 415 std::pair<iterator, bool> insert_or_assign(const key_arg<K> &k, in insert_or_assign() 420 std::pair<iterato [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_qsv.c | 799 mfxHDLPair *pair = (mfxHDLPair*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() local 800 dst_hwctx->surface_ids[i] = *(VASurfaceID*)pair->first; in qsv_frames_derive_from() 819 mfxHDLPair *pair = (mfxHDLPair*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() local 820 dst_hwctx->texture_infos[i].texture = (ID3D11Texture2D*)pair->first; in qsv_frames_derive_from() 821 dst_hwctx->texture_infos[i].index = pair->second == (mfxMemId)MFX_INFINITE ? (intptr_t)0 : (intptr_t)pair->second; in qsv_frames_derive_from() 837 mfxHDLPair *pair = (mfxHDLPair*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() local 838 dst_hwctx->surfaces[i] = (IDirect3DSurface9*)pair->first; in qsv_frames_derive_from() 874 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; in qsv_map_from() local 875 /* pair in qsv_map_from() 886 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local 894 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local 913 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local 943 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local 1351 mfxHDLPair *pair = (mfxHDLPair*)hwctx->surfaces[i].Data.MemId; qsv_map_to() local 1361 mfxHDLPair *pair = (mfxHDLPair*)hwctx->surfaces[i].Data.MemId; qsv_map_to() local 1373 mfxHDLPair *pair = (mfxHDLPair*)hwctx->surfaces[i].Data.MemId; qsv_map_to() local [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | feedback-vector-inl.h | 396 auto pair = GetFeedbackPair(); in GetFeedback() local 397 return pair.first; in GetFeedback() 401 auto pair = GetFeedbackPair(); in GetFeedbackExtra() local 402 return pair.second; in GetFeedbackExtra() 405 std::pair<MaybeObject, MaybeObject> FeedbackNexus::GetFeedbackPair() const { in GetFeedbackPair() 411 auto pair = FeedbackMetadata::GetSlotSize(kind()) == 2 in GetFeedbackPair() local 418 std::make_pair(ToHandle(pair.first), ToHandle(pair.second)); in GetFeedbackPair() 420 return pair; in GetFeedbackPair()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
H A D | pfrobjs.c | 483 FT_UInt32 code1, code2, pair; in FT_LOCAL_DEF() local 502 pair = PFR_KERN_INDEX( code1, code2 ); in FT_LOCAL_DEF() 512 if ( pair >= item->pair1 && pair <= item->pair2 ) in FT_LOCAL_DEF() 544 if ( cpair == pair ) in FT_LOCAL_DEF() 547 if ( cpair < pair ) in FT_LOCAL_DEF() 567 if ( cpair == pair ) in FT_LOCAL_DEF() 570 if ( cpair < pair ) in FT_LOCAL_DEF() 581 if ( cpair == pair ) in FT_LOCAL_DEF()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | ValueMap.h | 100 using value_type = std::pair<KeyT, ValueT>; 170 // Inserts key,value pair into the map if the key isn't already in the map. 173 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { in insert() 178 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) { in insert() 329 std::pair<KeyT, typename DenseMapT::mapped_type>, 348 operator std::pair<KeyT, ValueT>() const { in operator std::pair() 381 std::pair<KeyT, typename DenseMapT::mapped_type>, 400 operator std::pair<Key in operator ->() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
H A D | Graph.h | 78 typedef std::pair<VI, VI> EdgeIdentifier; 447 std::pair<VertexIterator, bool> 448 insert(const std::pair<VertexIdentifier, VertexAttribute> &Val) { in insert() 452 std::pair<VertexIterator, bool> 453 insert(std::pair<VertexIdentifier, VertexAttribute> &&Val) { in insert() 460 std::pair<EdgeIterator, bool> 461 insert(const std::pair<EdgeIdentifier, EdgeAttribute> &Val) { in insert() 477 std::pair<EdgeIterator, bool> 478 insert(std::pair<EdgeIdentifier, EdgeAttribute> &&Val) { in insert()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/ |
H A D | wgsl_mutator.cc | 42 std::vector<std::pair<size_t, size_t>> GetIdentifiers( in GetIdentifiers() 44 std::vector<std::pair<size_t, size_t>> result; in GetIdentifiers() 69 std::vector<std::pair<size_t, size_t>> GetIntLiterals(const std::string& s) { in GetIntLiterals() 70 std::vector<std::pair<size_t, size_t>> result; in GetIntLiterals() 157 std::vector<std::pair<size_t, size_t>> identifiers = in InsertReturnStatement() 160 std::vector<std::pair<size_t, size_t>> int_literals = in InsertReturnStatement() 164 std::pair<size_t, size_t> return_value = in InsertReturnStatement() 306 std::vector<std::pair<size_t, size_t>> identifiers = in ReplaceRandomIdentifier() 333 std::vector<std::pair<size_t, size_t>> literals = GetIntLiterals(wgsl_code); in ReplaceRandomIntLiteral()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderLoopTests.cpp | 516 params.insert(std::pair<std::string, std::string>("LOOP_VAR_TYPE", getDataTypeName(loopCountDataType))); in createGenericLoopCase() 517 params.insert(std::pair<std::string, std::string>("PRECISION", "mediump")); in createGenericLoopCase() 518 params.insert(std::pair<std::string, std::string>("COUNTER_PRECISION", getPrecisionName(loopCountPrecision))); in createGenericLoopCase() 1452 params.insert(std::pair<std::string, std::string>("PRECISION", "mediump")); in createSpecialLoopCase() 1453 params.insert(std::pair<std::string, std::string>("ITER_COUNT", iterCountStr)); in createSpecialLoopCase() 1454 params.insert(std::pair<std::string, std::string>("NUM_ITERS", numItersStr)); in createSpecialLoopCase() 1455 params.insert(std::pair<std::string, std::string>("COUNTER_PRECISION", counterPrecisionStr)); in createSpecialLoopCase() 1456 params.insert(std::pair<std::string, std::string>("FOR_LOOP", forLoopStr)); in createSpecialLoopCase() 1457 params.insert(std::pair<std::string, std::string>("WHILE_LOOP", whileLoopStr)); in createSpecialLoopCase() 1458 params.insert(std::pair<st in createSpecialLoopCase() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderLoopTests.cpp | 518 params.insert(std::pair<std::string, std::string>("LOOP_VAR_TYPE", getDataTypeName(loopCountDataType))); in createGenericLoopCase() 519 params.insert(std::pair<std::string, std::string>("PRECISION", "mediump")); in createGenericLoopCase() 520 params.insert(std::pair<std::string, std::string>("COUNTER_PRECISION", getPrecisionName(loopCountPrecision))); in createGenericLoopCase() 1455 params.insert(std::pair<std::string, std::string>("PRECISION", "mediump")); in createSpecialLoopCase() 1456 params.insert(std::pair<std::string, std::string>("ITER_COUNT", iterCountStr)); in createSpecialLoopCase() 1457 params.insert(std::pair<std::string, std::string>("NUM_ITERS", numItersStr)); in createSpecialLoopCase() 1458 params.insert(std::pair<std::string, std::string>("COUNTER_PRECISION", counterPrecisionStr)); in createSpecialLoopCase() 1459 params.insert(std::pair<std::string, std::string>("FOR_LOOP", forLoopStr)); in createSpecialLoopCase() 1460 params.insert(std::pair<std::string, std::string>("WHILE_LOOP", whileLoopStr)); in createSpecialLoopCase() 1461 params.insert(std::pair<st in createSpecialLoopCase() [all...] |
/test/xts/acts/multimedia/media/media_cpp_standard/codecFormatNdk/ |
H A D | ActsCodecFormatNdkTest.cpp | 35 bool CheckDecDesc(map<string, std::pair<bool, int>> InDesc, OH_AVFormat* OutDesc); 36 bool SetFormat(struct OH_AVFormat *format, map<string, std::pair<bool, int>> mediaDescription); 44 bool ActsCodecFormatNdkTest::CheckDecDesc(map<string, std::pair<bool, int>> InDesc, OH_AVFormat* OutDesc) in CheckDecDesc() 71 bool ActsCodecFormatNdkTest::SetFormat(struct OH_AVFormat *format, map<string, std::pair<bool, int>> mediaDesc) in SetFormat() 103 map<string, std::pair<bool, int>> CodecParam = { in HWTEST_F()
|
/third_party/jerryscript/jerry-core/ext/ |
H A D | heapdump.c | 176 void DumpPropertyPair(ecma_property_pair_t* pair) in DumpPropertyPair() argument 178 ecma_property_header_t* header = (ecma_property_header_t*)pair; in DumpPropertyPair() 188 pair->names_cp[i]); in DumpPropertyPair() 194 ecma_value_t value = pair->values[i].value; in DumpPropertyPair() 207 ecma_property_value_t* accessor_objs_p = pair->values + i; in DumpPropertyPair()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | flat_hash_map.h | 107 class Allocator = std::allocator<std::pair<const K, V>>> 152 // std::vector<std::pair<int, std::string>> v = {{1, "a"}, {2, "b"}}; 249 // std::pair<iterator,bool> insert(const init_type& value): 251 // Inserts a value into the `flat_hash_map`. Returns a pair consisting of an 255 // std::pair<iterator,bool> insert(T&& value): 256 // std::pair<iterator,bool> insert(init_type&& value): 258 // Inserts a moveable value into the `flat_hash_map`. Returns a pair 298 // pair<iterator, bool> insert_or_assign(const init_type& k, T&& obj): 299 // pair<iterator, bool> insert_or_assign(init_type&& k, T&& obj): 352 // pair<iterato [all...] |
/third_party/gn/src/base/containers/ |
H A D | flat_tree.h | 74 // contained (in the case of map it's a <Kay, Mapped> pair). The Key is how 218 std::pair<iterator, bool> insert(const value_type& val); 219 std::pair<iterator, bool> insert(value_type&& val); 233 std::pair<iterator, bool> emplace(Args&&... args); 276 std::pair<iterator, iterator> equal_range(const K& key); 279 std::pair<const_iterator, const_iterator> equal_range(const K& key) const; 343 std::pair<iterator, bool> emplace_key_args(const K& key, Args&&... args); 348 std::pair<iterator, bool> emplace_hint_key_args(const_iterator hint, 392 std::pair<iterator, bool> insert_or_assign(V&& val) { in insert_or_assign() 408 std::pair<iterato [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface.cc | 228 std::vector<std::pair<std::string, std::string> >* paths) { in AddDefaultProtoPaths() 244 paths->push_back(std::pair<std::string, std::string>("", path)); in AddDefaultProtoPaths() 250 std::pair<std::string, std::string>("", path + "/include")); in AddDefaultProtoPaths() 261 std::pair<std::string, std::string>("", path + "/include")); in AddDefaultProtoPaths() 459 for (const auto& pair : files_) { in WriteAllToDisk() 460 const std::string& relative_filename = pair.first; in WriteAllToDisk() 461 const char* data = pair.second.data(); in WriteAllToDisk() 462 int size = pair.second.size(); in WriteAllToDisk() 546 for (const auto& pair : files_) { in WriteAllToZip() 547 zip_writer.Write(pair in WriteAllToZip() 564 auto pair = files_.insert({"META-INF/MANIFEST.MF", ""}); AddJarManifest() local 657 auto pair = directory_->files_.insert({filename_, ""}); ~MemoryOutputStream() local [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | dict.c | 31 static void test_separators(const AVDictionary *m, const char pair, const char val) in test_separators() argument 34 char pairs[] = {pair , '\0'}; in test_separators() 42 av_dict_get_string(dict, &buffer, val, pair); in test_separators()
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-event-loop/ |
H A D | EventLoop.h | 65 for (std::vector<std::pair<jerry_value_t, BoundCallback<void(uint32_t)>*> >::iterator it = bound_callbacks.begin(); it != bound_callbacks.end(); it++) { in dropCallback() 66 std::pair<jerry_value_t, BoundCallback<void(uint32_t)>*> element = *it; in dropCallback() 90 std::vector<std::pair<jerry_value_t, BoundCallback<void(uint32_t)>*> > bound_callbacks;
|
/third_party/node/test/parallel/ |
H A D | test-tls-socket-default-options.js | 44 }, function(err, pair, cleanup) { 47 pair.server.server.once('secureConnection', common.mustCall((conn) => { 60 (new tls.TLSSocket(null, client)).connect(pair.server.server.address().port)
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/ |
H A D | table.h | 110 typedef std::pair<int32_t, TablePtr> TableMapEntry; 113 typedef std::pair<HeaderPtr, WritableFontDataPtr> DataBlockEntry; 115 typedef std::pair<int32_t, TableBuilderPtr> TableBuilderEntry;
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
H A D | mutator_cache.cc | 47 auto pair = map_.emplace(key, entries_.begin()); in Put() local 48 assert(pair.second && "The key must be unique"); in Put() 49 entries_.front().first = &pair.first->first; in Put()
|
/third_party/rust/crates/nom/benchmarks/benches/ |
H A D | arithmetic.rs | 13 sequence::{delimited, pair}, 41 pair(one_of("*/"), factor), in term() 56 pair(one_of("+-"), term), in expr()
|