Home
last modified time | relevance | path

Searched refs:unordered_map (Results 1 – 25 of 1536) sorted by relevance

12345678910>>...62

/external/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/
Ddeduct.pass.cpp76 std::unordered_map m(std::begin(arr), std::end(arr)); in main()
77 ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long>); in main()
83 std::unordered_map m(std::begin(arr), std::end(arr), 42); in main()
84 ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long>); in main()
90 std::unordered_map m(std::begin(arr), std::end(arr), 42, std::hash<long long>()); in main()
91 …ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long, std::hash<long long>, std::equal_to<in… in main()
97 …std::unordered_map m(std::begin(arr), std::end(arr), 42, std::hash<long long>(), std::equal_to<>()… in main()
98 …ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long, std::hash<long long>, std::equal_to<>>… in main()
104 …std::unordered_map m(std::begin(arr), std::end(arr), 42, std::hash<long long>(), std::equal_to<>()… in main()
105 …ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long, std::hash<long long>, std::equal_to<>,… in main()
[all …]
Ddeduct_const.pass.cpp76 std::unordered_map m(std::begin(arr), std::end(arr)); in main()
77 ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long>); in main()
83 std::unordered_map m(std::begin(arr), std::end(arr), 42); in main()
84 ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long>); in main()
90 std::unordered_map m(std::begin(arr), std::end(arr), 42, std::hash<short>()); in main()
91 …ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long, std::hash<short>, std::equal_to<int>>); in main()
97 std::unordered_map m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>()); in main()
98 ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long, std::hash<short>, std::equal_to<>>); in main()
104 …std::unordered_map m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>(), te… in main()
105 …ASSERT_SAME_TYPE(decltype(m), std::unordered_map<int, long, std::hash<short>, std::equal_to<>, tes… in main()
[all …]
Ddeduct.fail.cpp68 …std::unordered_map m; // expected-error{{no viable constructor or deduction guide for deduction of… in main()
72 …std::unordered_map m(42); // expected-error{{no viable constructor or deduction guide for deductio… in main()
76 std::unordered_map m(42, std::hash<int>()); in main()
81 std::unordered_map m(42, std::hash<int>(), std::equal_to<int>()); in main()
86 std::unordered_map m(42, std::hash<int>(), std::equal_to<int>(), std::allocator<P>()); in main()
91 std::unordered_map m(std::allocator<P>{}); in main()
96 std::unordered_map m(42, std::allocator<P>()); in main()
101 std::unordered_map m(42, std::hash<int>(), std::allocator<P>()); in main()
/external/perfetto/src/trace_processor/importers/proto/
Dgraphics_frame_event_parser.h65 std::unordered_map<StringId, SliceId> dequeue_slice_ids_;
72 std::unordered_map<StringId, std::unordered_map<uint64_t, int64_t>>
76 std::unordered_map<StringId, TrackId> dequeue_map_;
77 std::unordered_map<StringId, TrackId> queue_map_;
78 std::unordered_map<StringId, TrackId> latch_map_;
80 std::unordered_map<StringId, TrackId> display_map_;
83 std::unordered_map<StringId, int64_t> last_dequeued_;
84 std::unordered_map<StringId, int64_t> last_acquired_;
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.h50 std::unordered_map<int, std::vector<const NodeDef*>> outputs;
61 std::unordered_map<int, int> num_outputs_executed;
67 std::unordered_map<int, Costs::Duration> time_no_references;
166 const std::unordered_map<const NodeDef*, NodeState>* node_map) { in Init()
220 const std::unordered_map<const NodeDef*, NodeState>* node_map) override;
240 const std::unordered_map<const NodeDef*, NodeState>* node_map_;
267 Status SetPriority(const std::unordered_map<string, int>& node_priority);
275 std::unordered_map<string, int> node_priority_;
290 const std::unordered_map<const NodeDef*, NodeState>* node_map) override;
300 std::unordered_map<string, LIFOManager> ops_lifo_map_;
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dinline_pass.h80 std::unordered_map<uint32_t, uint32_t>* callee2caller);
85 std::unordered_map<uint32_t, uint32_t>* callee2caller,
103 std::unordered_map<uint32_t, uint32_t>* postCallSB,
104 std::unordered_map<uint32_t, Instruction*>* preCallSB,
154 std::unordered_map<uint32_t, Function*> id2function_;
158 std::unordered_map<uint32_t, BasicBlock*> id2block_;
180 std::unordered_map<uint32_t, Instruction*>* preCallSB,
188 std::unordered_map<uint32_t, uint32_t>* callee2caller,
193 const std::unordered_map<uint32_t, uint32_t>& callee2caller,
200 const std::unordered_map<uint32_t, uint32_t>& callee2caller,
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinline_pass.h80 std::unordered_map<uint32_t, uint32_t>* callee2caller);
85 std::unordered_map<uint32_t, uint32_t>* callee2caller,
103 std::unordered_map<uint32_t, uint32_t>* postCallSB,
104 std::unordered_map<uint32_t, Instruction*>* preCallSB,
154 std::unordered_map<uint32_t, Function*> id2function_;
158 std::unordered_map<uint32_t, BasicBlock*> id2block_;
180 std::unordered_map<uint32_t, Instruction*>* preCallSB,
188 std::unordered_map<uint32_t, uint32_t>* callee2caller,
193 const std::unordered_map<uint32_t, uint32_t>& callee2caller,
200 const std::unordered_map<uint32_t, uint32_t>& callee2caller,
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinline_pass.h80 std::unordered_map<uint32_t, uint32_t>* callee2caller);
85 std::unordered_map<uint32_t, uint32_t>* callee2caller,
103 std::unordered_map<uint32_t, uint32_t>* postCallSB,
104 std::unordered_map<uint32_t, Instruction*>* preCallSB,
154 std::unordered_map<uint32_t, Function*> id2function_;
158 std::unordered_map<uint32_t, BasicBlock*> id2block_;
180 std::unordered_map<uint32_t, Instruction*>* preCallSB,
188 std::unordered_map<uint32_t, uint32_t>* callee2caller,
193 const std::unordered_map<uint32_t, uint32_t>& callee2caller,
200 const std::unordered_map<uint32_t, uint32_t>& callee2caller,
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
Dswap_noexcept.pass.cpp126 typedef std::unordered_map<MoveOnly, MoveOnly> C; in main()
131 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
136 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
142 typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>> C; in main()
146 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
153 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_all… in main()
157 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_all… in main()
161 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_all… in main()
165 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_all… in main()
169 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash2<MoveOnly>, some_comp <MoveOnly>, some_al… in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
Dswap_noexcept.pass.cpp127 typedef std::unordered_map<MoveOnly, MoveOnly> C; in main()
132 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
137 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
143 typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>> C; in main()
147 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, in main()
154 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_all… in main()
158 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_all… in main()
162 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_all… in main()
166 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_all… in main()
170 …typedef std::unordered_map<MoveOnly, MoveOnly, some_hash2<MoveOnly>, some_comp <MoveOnly>, some_al… in main()
[all …]
/external/libcxx/include/
Dunordered_map2 //===-------------------------- unordered_map -----------------------------===//
16 unordered_map synopsis
25 class unordered_map
50 unordered_map()
55 explicit unordered_map(size_type n, const hasher& hf = hasher(),
59 unordered_map(InputIterator f, InputIterator l,
63 explicit unordered_map(const allocator_type&);
64 unordered_map(const unordered_map&);
65 unordered_map(const unordered_map&, const Allocator&);
66 unordered_map(unordered_map&&)
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-auto-iterator.cpp177 std::unordered_map<int, int> C; in f_unordered_map()
178 std::unordered_map<int, int>::iterator UMapI1 = C.begin(); in f_unordered_map()
182 const std::unordered_map<int, int> D; in f_unordered_map()
183 std::unordered_map<int, int>::const_iterator UMapI2 = D.begin(); in f_unordered_map()
227 std::unordered_map<int, int> Map;
239 std::unordered_map<int, int>::iterator I{Map.begin()}; in initializer_list()
240 std::unordered_map<int, int>::iterator I2 = {Map.begin()}; in initializer_list()
248 std::unordered_map<int, int>::iterator copy(Map.begin()); in construction()
252 std::unordered_map<int, int>::iterator def; in construction()
253 std::unordered_map<int, int>::const_iterator constI; in construction()
[all …]
/external/libchrome/base/containers/
Dsmall_map_unittest.cc20 small_map<std::unordered_map<int, int>> m; in TEST()
38 small_map<std::unordered_map<int, int>>::iterator iter(m.begin()); in TEST()
69 const small_map<std::unordered_map<int, int>>& ref = m; in TEST()
75 small_map<std::unordered_map<int, int>> m; in TEST()
80 small_map<std::unordered_map<int, int>>::iterator iter(m.begin()); in TEST()
81 small_map<std::unordered_map<int, int>>::iterator last(iter++); in TEST()
87 small_map<std::unordered_map<int, int>>::const_iterator iter(m.begin()); in TEST()
88 small_map<std::unordered_map<int, int>>::const_iterator last(iter++); in TEST()
96 small_map<std::unordered_map<int, int>> src; in TEST()
99 small_map<std::unordered_map<int, int>> m(src); in TEST()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dmap_traits_stl.h67 struct MapTraits<std::unordered_map<K, V>> {
70 using Iterator = typename std::unordered_map<K, V>::iterator;
71 using ConstIterator = typename std::unordered_map<K, V>::const_iterator;
73 static bool IsNull(const std::unordered_map<K, V>& input) {
78 static void SetToNull(std::unordered_map<K, V>* output) {
83 static size_t GetSize(const std::unordered_map<K, V>& input) {
87 static ConstIterator GetBegin(const std::unordered_map<K, V>& input) {
90 static Iterator GetBegin(std::unordered_map<K, V>& input) {
104 static bool Insert(std::unordered_map<K, V>& input, IK&& key, IV&& value) {
110 static void SetToEmpty(std::unordered_map<K, V>* output) { output->clear(); }
/external/protobuf/m4/
Dstl_hash.m42 # unordered_map/hash_map (we prefer the first form), and what
6 # HASH_NAMESPACE to the namespace the class (unordered_map or
16 # First try unordered_map, but not on gcc's before 4.2 -- I've
17 # seen unexplainable unordered_map bugs with -O2 on older gcc's.
19 # error GCC too old for unordered_map
25 for location in unordered_map tr1/unordered_map; do
30 [const ${namespace}::unordered_map<int, int> t;
34 ac_cv_cxx_hash_map_class="unordered_map";])
56 [the location of <unordered_map> or <hash_map>])
/external/llvm-project/libcxx/include/
Dunordered_map2 //===-------------------------- unordered_map -----------------------------===//
15 unordered_map synopsis
24 class unordered_map
49 unordered_map()
54 explicit unordered_map(size_type n, const hasher& hf = hasher(),
58 unordered_map(InputIterator f, InputIterator l,
62 explicit unordered_map(const allocator_type&);
63 unordered_map(const unordered_map&);
64 unordered_map(const unordered_map&, const Allocator&);
65 unordered_map(unordered_map&&)
[all …]
/external/libcxx/include/experimental/
Dunordered_map2 //===------------------------- unordered_map ------------------------------===//
14 experimental/unordered_map synopsis
25 using unordered_map =
26 std::unordered_map<Key, T, Hash, Pred,
44 #include <unordered_map>
55 using unordered_map = _VSTD::unordered_map<_Key, _Value, _Hash, _Pred,
/external/llvm-project/libcxx/include/experimental/
Dunordered_map2 //===------------------------- unordered_map ------------------------------===//
13 experimental/unordered_map synopsis
24 using unordered_map =
25 std::unordered_map<Key, T, Hash, Pred,
43 #include <unordered_map>
54 using unordered_map = _VSTD::unordered_map<_Key, _Value, _Hash, _Pred,
/external/skqp/tools/bookmaker/
DbmhParser.h154 unordered_map<string, RootDefinition>* fMap;
165 unordered_map<string, RootDefinition> fClassMap;
166 unordered_map<string, RootDefinition> fConstMap;
167 unordered_map<string, RootDefinition> fDefineMap;
168 unordered_map<string, RootDefinition> fEnumMap;
169 unordered_map<string, RootDefinition> fMethodMap;
170 unordered_map<string, RootDefinition> fTypedefMap;
171 unordered_map<string, Definition*> fTopicMap;
172 unordered_map<string, Definition*> fAliasMap;
173 unordered_map<string, Definition*> fPhraseMap;
/external/llvm-project/libcxx/test/std/containers/unord/unord.map/
Dfind_non_const.transparent.pass.cpp31 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main()
38 using map_type = unord_map_type<std::unordered_map, transparent_hash_final, in main()
45 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main()
52 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main()
59 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main()
Dcontains.transparent.pass.cpp30 using map_type = const unord_map_type<std::unordered_map, transparent_hash, std::equal_to<> >; in main()
36 …using map_type = const unord_map_type<std::unordered_map, transparent_hash_final, transparent_equa… in main()
42 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main()
49 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main()
56 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main()
Dequal_range_const.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main()
38 using map_type = const unord_map_type<std::unordered_map, transparent_hash_final, in main()
45 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main()
52 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main()
59 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main()
Dcount.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_map, transparent_hash, std::equal_to<> >; in main()
38 const unord_map_type<std::unordered_map, transparent_hash_final, transparent_equal_final>; in main()
44 … using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, std::equal_to<> >; in main()
51 const unord_map_type<std::unordered_map, transparent_hash, std::equal_to<key_type> >; in main()
58 const unord_map_type<std::unordered_map, non_transparent_hash, std::equal_to<key_type> >; in main()
Dequal_range_non_const.transparent.pass.cpp31 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main()
38 using map_type = unord_map_type<std::unordered_map, transparent_hash_final, in main()
45 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main()
52 using map_type = unord_map_type<std::unordered_map, transparent_hash, in main()
59 using map_type = unord_map_type<std::unordered_map, non_transparent_hash, in main()
Dfind_const.transparent.pass.cpp31 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main()
38 using map_type = const unord_map_type<std::unordered_map, transparent_hash_final, in main()
45 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main()
52 using map_type = const unord_map_type<std::unordered_map, transparent_hash, in main()
59 using map_type = const unord_map_type<std::unordered_map, non_transparent_hash, in main()

12345678910>>...62