Home
last modified time | relevance | path

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

12345678910>>...57

/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/
Dmain.cpp30 map.emplace(1,"hello"); in main()
31 map.emplace(2,"world"); in main()
32 map.emplace(3,"this"); in main()
33 map.emplace(4,"is"); in main()
34 map.emplace(5,"me"); in main()
38 mmap.emplace(1,"hello"); in main()
39 mmap.emplace(2,"hello"); in main()
40 mmap.emplace(2,"world"); in main()
41 mmap.emplace(3,"this"); in main()
42 mmap.emplace(3,"this"); in main()
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/
Dmain.cpp25 ii.emplace(0,0); // Set break point at this line. in main()
26 ii.emplace(1,1); in main()
28 ii.emplace(2,0); in main()
29 ii.emplace(3,1); in main()
31 ii.emplace(4,0); in main()
32 ii.emplace(5,1); in main()
33 ii.emplace(6,0); in main()
34 ii.emplace(7,1); in main()
36 ii.emplace(85,1234567); in main()
43 si.emplace("zero",0); in main()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dbuffer_list.cc69 metrics->recurring_retrans.emplace(info->tcpi_retransmits); in extract_opt_stats_from_tcp_info()
70 metrics->is_delivery_rate_app_limited.emplace( in extract_opt_stats_from_tcp_info()
72 metrics->congestion_window.emplace(info->tcpi_snd_cwnd); in extract_opt_stats_from_tcp_info()
73 metrics->reordering.emplace(info->tcpi_reordering); in extract_opt_stats_from_tcp_info()
74 metrics->packet_retx.emplace(info->tcpi_total_retrans); in extract_opt_stats_from_tcp_info()
75 metrics->pacing_rate.emplace(info->tcpi_pacing_rate); in extract_opt_stats_from_tcp_info()
76 metrics->data_notsent.emplace(info->tcpi_notsent_bytes); in extract_opt_stats_from_tcp_info()
78 metrics->min_rtt.emplace(info->tcpi_min_rtt); in extract_opt_stats_from_tcp_info()
80 metrics->packet_sent.emplace(info->tcpi_data_segs_out); in extract_opt_stats_from_tcp_info()
81 metrics->delivery_rate.emplace(info->tcpi_delivery_rate); in extract_opt_stats_from_tcp_info()
[all …]
/external/angle/src/compiler/translator/
DTranslatorMetalDirect.cpp611 keywords.emplace("alignas"); in GetMslKeywords()
612 keywords.emplace("alignof"); in GetMslKeywords()
613 keywords.emplace("as_type"); in GetMslKeywords()
614 keywords.emplace("auto"); in GetMslKeywords()
615 keywords.emplace("catch"); in GetMslKeywords()
616 keywords.emplace("char"); in GetMslKeywords()
617 keywords.emplace("class"); in GetMslKeywords()
618 keywords.emplace("const_cast"); in GetMslKeywords()
619 keywords.emplace("constant"); in GetMslKeywords()
620 keywords.emplace("constexpr"); in GetMslKeywords()
[all …]
/external/libchrome/base/
Dvalue_iterators_unittest.cc61 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
74 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
87 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
88 storage.emplace("1", std::make_unique<Value>(1)); in TEST()
104 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
105 storage.emplace("1", std::make_unique<Value>(1)); in TEST()
120 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
121 storage.emplace("1", std::make_unique<Value>(1)); in TEST()
137 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
138 storage.emplace("1", std::make_unique<Value>(1)); in TEST()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc369 device_cost_impl_.emplace(kConv2d, in OpLevelCostEstimator()
371 device_cost_impl_.emplace( in OpLevelCostEstimator()
374 device_cost_impl_.emplace( in OpLevelCostEstimator()
377 device_cost_impl_.emplace( in OpLevelCostEstimator()
383 device_cost_impl_.emplace(kDepthwiseConv2dNative, in OpLevelCostEstimator()
385 device_cost_impl_.emplace( in OpLevelCostEstimator()
388 device_cost_impl_.emplace( in OpLevelCostEstimator()
391 device_cost_impl_.emplace(kMatMul, in OpLevelCostEstimator()
393 device_cost_impl_.emplace(kSparseMatMul, in OpLevelCostEstimator()
395 device_cost_impl_.emplace( in OpLevelCostEstimator()
[all …]
/external/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.cpp326 if(!scope.symbols.emplace(pending.name).second) in emitPending()
412 …diTypes.emplace(T(Bool::type()), diBuilder->createBasicType("Bool", sizeof(bool), dwarf::DW_ATE_bo… in registerBasicTypes()
413 …diTypes.emplace(T(Byte::type()), diBuilder->createBasicType("Byte", 8, dwarf::DW_ATE_unsigned_char… in registerBasicTypes()
414 …diTypes.emplace(T(SByte::type()), diBuilder->createBasicType("SByte", 8, dwarf::DW_ATE_signed_char… in registerBasicTypes()
415 diTypes.emplace(T(Short::type()), diBuilder->createBasicType("Short", 16, dwarf::DW_ATE_signed)); in registerBasicTypes()
416 …diTypes.emplace(T(UShort::type()), diBuilder->createBasicType("UShort", 16, dwarf::DW_ATE_unsigned… in registerBasicTypes()
417 diTypes.emplace(T(Int::type()), diBuilder->createBasicType("Int", 32, dwarf::DW_ATE_signed)); in registerBasicTypes()
418 diTypes.emplace(T(UInt::type()), diBuilder->createBasicType("UInt", 32, dwarf::DW_ATE_unsigned)); in registerBasicTypes()
419 diTypes.emplace(T(Long::type()), diBuilder->createBasicType("Long", 64, dwarf::DW_ATE_signed)); in registerBasicTypes()
420 diTypes.emplace(T(Half::type()), diBuilder->createBasicType("Half", 16, dwarf::DW_ATE_float)); in registerBasicTypes()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_case_op_test.cc136 feeds.emplace(Output(branch_index.node()), Input::Initializer(-1)); in TEST()
137 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
145 feeds.emplace(Output(branch_index.node()), Input::Initializer(0)); in TEST()
146 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
154 feeds.emplace(Output(branch_index.node()), Input::Initializer(1)); in TEST()
155 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
163 feeds.emplace(Output(branch_index.node()), Input::Initializer(2)); in TEST()
164 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
172 feeds.emplace(Output(branch_index.node()), Input::Initializer(20)); in TEST()
173 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
[all …]
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp53 auto & v = opt.emplace(); in test_one_arg()
61 auto & v = opt.emplace(1); in test_one_arg()
69 auto & v = opt.emplace(); in test_one_arg()
77 auto & v = opt.emplace(1); in test_one_arg()
93 auto &v = opt.emplace(101, 41); in test_multi_arg()
101 auto &v = opt.emplace({1, 2, 3, 4}); in test_multi_arg()
109 auto &v = opt.emplace({1, 2, 3, 4, 5}, 6); in test_multi_arg()
125 auto &v = opt.emplace(); in test_on_test_type()
137 auto &v = opt.emplace(); in test_on_test_type()
149 auto &v = opt.emplace(101); in test_on_test_type()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp54 auto & v = opt.emplace(); in test_one_arg()
62 auto & v = opt.emplace(1); in test_one_arg()
70 auto & v = opt.emplace(); in test_one_arg()
78 auto & v = opt.emplace(1); in test_one_arg()
94 auto &v = opt.emplace(101, 41); in test_multi_arg()
102 auto &v = opt.emplace({1, 2, 3, 4}); in test_multi_arg()
110 auto &v = opt.emplace({1, 2, 3, 4, 5}, 6); in test_multi_arg()
126 auto &v = opt.emplace(); in test_on_test_type()
138 auto &v = opt.emplace(); in test_on_test_type()
150 auto &v = opt.emplace(101); in test_on_test_type()
[all …]
/external/abseil-cpp/absl/container/
Dnode_hash_map_test.cc50 m.emplace("a", t); in TEST()
54 m.emplace(std::string("a"), t); in TEST()
59 m.emplace(a, t); in TEST()
64 m.emplace(a, t); in TEST()
68 m.emplace(std::make_pair("a", t)); in TEST()
72 m.emplace(std::make_pair(std::string("a"), t)); in TEST()
79 m.emplace(p); in TEST()
86 m.emplace(cp); in TEST()
93 m.emplace(pc); in TEST()
100 m.emplace(cpc); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/
Dnode_hash_map_test.cc50 m.emplace("a", t); in TEST()
54 m.emplace(std::string("a"), t); in TEST()
59 m.emplace(a, t); in TEST()
64 m.emplace(a, t); in TEST()
68 m.emplace(std::make_pair("a", t)); in TEST()
72 m.emplace(std::make_pair(std::string("a"), t)); in TEST()
79 m.emplace(p); in TEST()
86 m.emplace(cp); in TEST()
93 m.emplace(pc); in TEST()
100 m.emplace(cpc); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/container/
Dnode_hash_map_test.cc50 m.emplace("a", t); in TEST()
54 m.emplace(std::string("a"), t); in TEST()
59 m.emplace(a, t); in TEST()
64 m.emplace(a, t); in TEST()
68 m.emplace(std::make_pair("a", t)); in TEST()
72 m.emplace(std::make_pair(std::string("a"), t)); in TEST()
79 m.emplace(p); in TEST()
86 m.emplace(cp); in TEST()
93 m.emplace(pc); in TEST()
100 m.emplace(cpc); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dnode_hash_map_test.cc50 m.emplace("a", t); in TEST()
54 m.emplace(std::string("a"), t); in TEST()
59 m.emplace(a, t); in TEST()
64 m.emplace(a, t); in TEST()
68 m.emplace(std::make_pair("a", t)); in TEST()
72 m.emplace(std::make_pair(std::string("a"), t)); in TEST()
79 m.emplace(p); in TEST()
86 m.emplace(cp); in TEST()
93 m.emplace(pc); in TEST()
100 m.emplace(cpc); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/
Dnode_hash_map_test.cc50 m.emplace("a", t); in TEST()
54 m.emplace(std::string("a"), t); in TEST()
59 m.emplace(a, t); in TEST()
64 m.emplace(a, t); in TEST()
68 m.emplace(std::make_pair("a", t)); in TEST()
72 m.emplace(std::make_pair(std::string("a"), t)); in TEST()
79 m.emplace(p); in TEST()
86 m.emplace(cp); in TEST()
93 m.emplace(pc); in TEST()
100 m.emplace(cpc); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/
Dnode_hash_map_test.cc50 m.emplace("a", t); in TEST()
54 m.emplace(std::string("a"), t); in TEST()
59 m.emplace(a, t); in TEST()
64 m.emplace(a, t); in TEST()
68 m.emplace(std::make_pair("a", t)); in TEST()
72 m.emplace(std::make_pair(std::string("a"), t)); in TEST()
79 m.emplace(p); in TEST()
86 m.emplace(cp); in TEST()
93 m.emplace(pc); in TEST()
100 m.emplace(cpc); in TEST()
[all …]
/external/llvm-project/libcxx/test/std/containers/container.adaptors/stack/stack.defn/
Demplace.pass.cpp29 …typedef decltype(std::declval<Stack>().emplace(std::declval<value_type &>())) stack_return_typ… in test_return_type()
47 T& r1 = q.emplace(1, 2.5); in main()
49 T& r2 = q.emplace(2, 3.5); in main()
51 T& r3 = q.emplace(3, 4.5); in main()
54 q.emplace(1, 2.5); in main()
55 q.emplace(2, 3.5); in main()
56 q.emplace(3, 4.5); in main()
/external/libcxx/test/std/containers/container.adaptors/stack/stack.defn/
Demplace.pass.cpp30 …typedef decltype(std::declval<Stack>().emplace(std::declval<value_type &>())) stack_return_typ… in test_return_type()
48 T& r1 = q.emplace(1, 2.5); in main()
50 T& r2 = q.emplace(2, 3.5); in main()
52 T& r3 = q.emplace(3, 4.5); in main()
55 q.emplace(1, 2.5); in main()
56 q.emplace(2, 3.5); in main()
57 q.emplace(3, 4.5); in main()
/external/llvm-project/libcxx/test/std/containers/container.adaptors/queue/queue.defn/
Demplace.pass.cpp30 typedef decltype(std::declval<Queue>().emplace(std::declval<value_type &>())) queue_return_type; in test_return_type()
48 T& r1 = q.emplace(1, 2.5); in main()
50 T& r2 = q.emplace(2, 3.5); in main()
52 T& r3 = q.emplace(3, 4.5); in main()
56 q.emplace(1, 2.5); in main()
57 q.emplace(2, 3.5); in main()
58 q.emplace(3, 4.5); in main()
/external/libcxx/test/std/containers/container.adaptors/queue/queue.defn/
Demplace.pass.cpp31 typedef decltype(std::declval<Queue>().emplace(std::declval<value_type &>())) queue_return_type; in test_return_type()
49 T& r1 = q.emplace(1, 2.5); in main()
51 T& r2 = q.emplace(2, 3.5); in main()
53 T& r3 = q.emplace(3, 4.5); in main()
57 q.emplace(1, 2.5); in main()
58 q.emplace(2, 3.5); in main()
59 q.emplace(3, 4.5); in main()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dhicpp-use-emplace.rst1 .. title:: clang-tidy - hicpp-use-emplace
3 :http-equiv=refresh: 5;URL=modernize-use-emplace.html
5 hicpp-use-emplace
8 The `hicpp-use-emplace` check is an alias, please see
9 `modernize-use-emplace <modernize-use-emplace.html>`_ for more information.
/external/llvm-project/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Demplace.pass.cpp33 R r = m.emplace(); in main()
39 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
46 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
59 R r = m.emplace(std::piecewise_construct, std::forward_as_tuple(2), in main()
65 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
71 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
82 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/multimap/multimap.modifiers/
Demplace.pass.cpp33 R r = m.emplace(); in main()
39 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
46 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
59 R r = m.emplace(std::piecewise_construct, std::forward_as_tuple(2), in main()
65 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
71 r = m.emplace(std::piecewise_construct, std::forward_as_tuple(1), in main()
82 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/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
Demplace_index_args.pass.cpp37 std::declval<Var>().template emplace<I>(std::declval<Args>()...), true) { in test_emplace_exists_imp()
94 auto& ref1 = v.emplace<0>(); in test_basic()
98 auto& ref2 = v.emplace<0>(42); in test_basic()
109 auto& ref1 = v.emplace<1>(); in test_basic()
113 auto& ref2 = v.emplace<2>(&x); in test_basic()
118 auto& ref3 = v.emplace<4>(3u, 'a'); in test_basic()
132 auto& ref1 = v.emplace<1>(); in test_basic()
137 auto& ref2 = v.emplace<2>(x); in test_basic()
142 auto& ref3 = v.emplace<3>(std::move(y)); in test_basic()
147 auto& ref4 = v.emplace<3>(std::move(z)); in test_basic()
[all …]
Demplace_type_args.pass.cpp36 std::declval<Var>().template emplace<T>(std::declval<Args>()...), true) { in test_emplace_exists_imp()
94 auto& ref1 = v.emplace<int>(); in test_basic()
98 auto& ref2 = v.emplace<int>(42); in test_basic()
109 auto& ref1 = v.emplace<long>(); in test_basic()
113 auto& ref2 = v.emplace<const void *>(&x); in test_basic()
118 auto& ref3 = v.emplace<std::string>(3u, 'a'); in test_basic()
132 auto& ref1 = v.emplace<long>(); in test_basic()
137 auto& ref2 = v.emplace<const int &>(x); in test_basic()
142 auto& ref3 = v.emplace<int &&>(std::move(y)); in test_basic()
147 auto& ref4 = v.emplace<int &&>(std::move(z)); in test_basic()
[all …]

12345678910>>...57