Home
last modified time | relevance | path

Searched refs:emplace (Results 1 – 25 of 63) sorted by relevance

123

/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/
Dmain.cpp29 ii.emplace(0,0); // Set break point at this line. in main()
30 ii.emplace(1,1); in main()
32 ii.emplace(2,0); in main()
33 ii.emplace(3,1); in main()
35 ii.emplace(4,0); in main()
36 ii.emplace(5,1); in main()
37 ii.emplace(6,0); in main()
38 ii.emplace(7,1); in main()
40 ii.emplace(85,1234567); in main()
47 si.emplace("zero",0); in main()
[all …]
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
Demplace.pass.cpp64 opt.emplace(); in main()
70 opt.emplace(1); in main()
76 opt.emplace(); in main()
82 opt.emplace(1); in main()
88 opt.emplace(); in main()
94 opt.emplace(1); in main()
100 opt.emplace(1, 2); in main()
106 opt.emplace(); in main()
112 opt.emplace(1); in main()
118 opt.emplace(1, 2); in main()
[all …]
Demplace_initializer_list.pass.cpp82 opt.emplace({1, 2}); in main()
89 opt.emplace({1, 2, 3}, std::allocator<int>()); in main()
95 opt.emplace({1, 2}); in main()
106 opt.emplace({1, 2}); in main()
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Demplace.pass.cpp32 R r = m.emplace(); in main()
38 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
45 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
58 R r = m.emplace(std::piecewise_construct, std::forward_as_tuple(2), in main()
64 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
70 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
81 R r = m.emplace(M::value_type(2, 3.5)); in main()
93 R r = m.emplace(); in main()
99 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
106 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Demplace.pass.cpp33 R r = m.emplace(); in main()
40 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
48 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
62 R r = m.emplace(std::piecewise_construct, std::forward_as_tuple(2), in main()
69 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
76 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
88 R r = m.emplace(M::value_type(2, 3.5)); in main()
101 R r = m.emplace(); in main()
108 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
116 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
[all …]
Dinsert_or_assign.pass.cpp72 m.emplace ( i, Moveable(i, (double) i)); in main()
116 m.emplace ( Moveable(i, (double) i), Moveable(i+1, (double) i+1)); in main()
144 m.emplace ( i, Moveable(i, (double) i)); in main()
167 m.emplace ( Moveable(i, (double) i), Moveable(i+1, (double) i+1)); in main()
Dtry.emplace.pass.cpp70 m.emplace (i, Moveable(i, (double) i)); in main()
113 m.emplace ( Moveable(i, (double) i), Moveable(i+1, (double) i+1)); in main()
166 m.emplace ( Moveable(i, (double) i), Moveable(i+1, (double) i+1)); in main()
/external/libcxx/test/std/containers/unord/unord.multiset/
Demplace.pass.cpp32 R r = c.emplace(); in main()
36 r = c.emplace(Emplaceable(5, 6)); in main()
40 r = c.emplace(5, 6); in main()
50 R r = c.emplace(); in main()
54 r = c.emplace(Emplaceable(5, 6)); in main()
58 r = c.emplace(5, 6); in main()
/external/libcxx/test/std/containers/associative/multiset/
Demplace.pass.cpp32 R r = m.emplace(); in main()
38 r = m.emplace(); in main()
49 R r = m.emplace(); in main()
53 r = m.emplace(2, 3.5); in main()
57 r = m.emplace(2, 3.5); in main()
66 R r = m.emplace(M::value_type(2)); in main()
76 R r = m.emplace(M::value_type(2)); in main()
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Demplace.pass.cpp65 std::vector<A>::iterator i = c.emplace(c.cbegin(), 2, 3.5); in main()
71 i = c.emplace(c.cend(), 3, 4.5); in main()
79 i = c.emplace(c.cbegin()+1, 4, 6.5); in main()
92 std::vector<A, stack_allocator<A, 7> >::iterator i = c.emplace(c.cbegin(), 2, 3.5); in main()
98 i = c.emplace(c.cend(), 3, 4.5); in main()
106 i = c.emplace(c.cbegin()+1, 4, 6.5); in main()
121 std::vector<A>::iterator i = c1.emplace(c2.cbegin(), 2, 3.5); in main()
128 std::vector<A, min_allocator<A>>::iterator i = c.emplace(c.cbegin(), 2, 3.5); in main()
133 i = c.emplace(c.cend(), 3, 4.5); in main()
140 i = c.emplace(c.cbegin()+1, 4, 6.5); in main()
[all …]
Demplace_extra.pass.cpp28 v.emplace(v.begin(), v.back()); in main()
37 v.emplace(v.begin(), v.back()); in main()
47 v.emplace(v.begin(), v.back()); in main()
56 v.emplace(v.begin(), v.back()); in main()
/external/libcxx/test/std/containers/unord/unord.set/
Demplace.pass.cpp32 R r = c.emplace(); in main()
37 r = c.emplace(Emplaceable(5, 6)); in main()
42 r = c.emplace(5, 6); in main()
53 R r = c.emplace(); in main()
58 r = c.emplace(Emplaceable(5, 6)); in main()
63 r = c.emplace(5, 6); in main()
/external/libcxx/test/std/containers/sequences/vector.bool/
Demplace.pass.cpp26 C::iterator i = c.emplace(c.cbegin()); in main()
31 i = c.emplace(c.cend(), true); in main()
37 i = c.emplace(c.cbegin()+1, 1 == 1); in main()
48 C::iterator i = c.emplace(c.cbegin()); in main()
53 i = c.emplace(c.cend(), true); in main()
59 i = c.emplace(c.cbegin()+1, 1 == 1); in main()
/external/libcxx/test/std/containers/associative/set/
Demplace.pass.cpp32 R r = m.emplace(); in main()
39 r = m.emplace(); in main()
51 R r = m.emplace(); in main()
56 r = m.emplace(2, 3.5); in main()
61 r = m.emplace(2, 3.5); in main()
71 R r = m.emplace(M::value_type(2)); in main()
82 R r = m.emplace(M::value_type(2)); in main()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Demplace.pass.cpp32 R r = c.emplace(std::piecewise_construct, std::forward_as_tuple(3), in main()
38 r = c.emplace(std::pair<const int, Emplaceable>(4, Emplaceable(5, 6))); in main()
43 r = c.emplace(std::piecewise_construct, std::forward_as_tuple(5), in main()
55 R r = c.emplace(std::piecewise_construct, std::forward_as_tuple(3), in main()
61 r = c.emplace(std::pair<const int, Emplaceable>(4, Emplaceable(5, 6))); in main()
66 r = c.emplace(std::piecewise_construct, std::forward_as_tuple(5), in main()
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
Demplace.pass.cpp43 c.emplace(c.cbegin(), 2, 3.5); in main()
47 c.emplace(c.cend(), 3, 4.5); in main()
58 std::list<A>::iterator i = c1.emplace(c2.cbegin(), 2, 3.5); in main()
67 c.emplace(c.cbegin(), 2, 3.5); in main()
71 c.emplace(c.cend(), 3, 4.5); in main()
82 std::list<A, min_allocator<A>>::iterator i = c1.emplace(c2.cbegin(), 2, 3.5); in main()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Demplace.pass.cpp32 R r = c.emplace(std::piecewise_construct, std::forward_as_tuple(3), in main()
39 r = c.emplace(std::pair<const int, Emplaceable>(4, Emplaceable(5, 6))); in main()
45 r = c.emplace(std::piecewise_construct, std::forward_as_tuple(5), in main()
58 R r = c.emplace(std::piecewise_construct, std::forward_as_tuple(3), in main()
65 r = c.emplace(std::pair<const int, Emplaceable>(4, Emplaceable(5, 6))); in main()
71 r = c.emplace(std::piecewise_construct, std::forward_as_tuple(5), in main()
Dinsert_or_assign.pass.cpp74 m.emplace ( i, Moveable(i, (double) i)); in main()
118 m.emplace ( Moveable(i, (double) i), Moveable(i+1, (double) i+1)); in main()
146 m.emplace ( i, Moveable(i, (double) i)); in main()
169 m.emplace ( Moveable(i, (double) i), Moveable(i+1, (double) i+1)); in main()
/external/libcxx/test/std/containers/container.adaptors/stack/stack.defn/
Demplace.pass.cpp23 q.emplace(1, 2.5); in main()
24 q.emplace(2, 3.5); in main()
25 q.emplace(3, 4.5); in main()
/external/libcxx/test/std/containers/container.adaptors/queue/queue.defn/
Demplace.pass.cpp23 q.emplace(1, 2.5); in main()
24 q.emplace(2, 3.5); in main()
25 q.emplace(3, 4.5); in main()
/external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.members/
Demplace.pass.cpp25 q.emplace(1, 2.5); in main()
27 q.emplace(3, 4.5); in main()
29 q.emplace(2, 3.5); in main()
/external/libbrillo/brillo/message_loops/
Dfake_message_loop.cc28 tasks_.emplace(current_id, ScheduledTask{from_here, false, task}); in PostDelayedTask()
45 tasks_.emplace(current_id, ScheduledTask{from_here, persistent, task}); in WatchFileDescriptor()
46 fds_watched_.emplace(std::make_pair(fd, mode), current_id); in WatchFileDescriptor()
127 fds_ready_.emplace(fd, mode); in SetFileDescriptorReadiness()
/external/libbrillo/brillo/
Dvariant_dictionary_unittest.cc16 dictionary.emplace("a", 1); in TEST()
17 dictionary.emplace("b", "string"); in TEST()
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.swap/
Dswap.pass.cpp241 opt1.emplace(1); in main()
263 opt2.emplace(2); in main()
283 opt1.emplace(1); in main()
285 opt2.emplace(2); in main()
/external/libcxx/test/std/experimental/optional/optional.specalg/
Dswap.pass.cpp240 opt1.emplace(1); in main()
262 opt2.emplace(2); in main()
282 opt1.emplace(1); in main()
284 opt2.emplace(2); in main()

123