Home
last modified time | relevance | path

Searched refs:back_inserter (Results 1 – 25 of 783) sorted by relevance

12345678910>>...32

/third_party/boost/libs/algorithm/test/
Dhex_test1.cpp26 boost::algorithm::hex ( *p, std::back_inserter ( one )); in test_to_hex()
27 boost::algorithm::hex ( arg, std::back_inserter ( two )); in test_to_hex()
28 boost::algorithm::hex ( arg.begin (), arg.end (), std::back_inserter ( three )); in test_to_hex()
35 boost::algorithm::unhex ( argh.c_str (), std::back_inserter ( one )); in test_to_hex()
36 boost::algorithm::unhex ( argh, std::back_inserter ( two )); in test_to_hex()
37 boost::algorithm::unhex ( argh.begin (), argh.end (), std::back_inserter ( three )); in test_to_hex()
51 boost::algorithm::hex_lower ( *p, std::back_inserter ( one )); in test_to_hex_lower()
52 boost::algorithm::hex_lower ( arg, std::back_inserter ( two )); in test_to_hex_lower()
53 boost::algorithm::hex_lower ( arg.begin (), arg.end (), std::back_inserter ( three )); in test_to_hex_lower()
60 boost::algorithm::unhex ( argh.c_str (), std::back_inserter ( one )); in test_to_hex_lower()
[all …]
Dhex_test4.cpp27 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input1()
36 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input2()
45 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input3()
55 try { ba::unhex ( std::string ( "A" ), std::back_inserter(s)); } in test_short_input4()
66 try { ba::unhex ( "A", std::back_inserter(s)); } in test_short_input5()
87 try { ba::unhex ( "01234FG1234", std::back_inserter(s)); } in test_nonhex_input1()
100 try { ba::unhex ( "012Z4FA1234", std::back_inserter(s)); } in test_nonhex_input2()
113 try { ba::unhex ( "01234FA12Q4", std::back_inserter(s)); } in test_nonhex_input3()
127 try { ba::unhex ( "P1234FA1234", std::back_inserter(s)); } in test_nonhex_input4()
Dcopy_if_test1.cpp46 ba::copy_if ( c.begin (), c.end (), back_inserter ( v ), is_false); in test_copy_if()
50 ba::copy_if ( c, back_inserter ( v ), is_false); in test_copy_if()
55 ba::copy_if ( c.begin (), c.end (), back_inserter ( v ), is_true); in test_copy_if()
60 ba::copy_if ( c, back_inserter ( v ), is_true); in test_copy_if()
67 ba::copy_if ( c.begin (), c.end (), back_inserter ( v ), is_even ); in test_copy_if()
72 ba::copy_if ( c, back_inserter ( v ), is_even ); in test_copy_if()
87 ba::copy_while ( c.begin (), c.end (), back_inserter ( v ), is_false); in test_copy_while()
91 ba::copy_while ( c, back_inserter ( v ), is_false); in test_copy_while()
96 ba::copy_while ( c.begin (), c.end (), back_inserter ( v ), is_true); in test_copy_while()
101 ba::copy_while ( c, back_inserter ( v ), is_true); in test_copy_while()
[all …]
Dhex_test2.cpp39 boost::algorithm::hex ( *p, std::back_inserter ( one )); in test_to_hex()
40 boost::algorithm::hex ( arg, std::back_inserter ( two )); in test_to_hex()
41 boost::algorithm::hex ( arg.begin (), arg.end (), std::back_inserter ( three )); in test_to_hex()
45 std::copy ( one.begin (), one.end (), std::back_inserter ( argh )); in test_to_hex()
49 boost::algorithm::unhex ( argh, std::back_inserter ( two )); in test_to_hex()
50 boost::algorithm::unhex ( argh.begin (), argh.end (), std::back_inserter ( three )); in test_to_hex()
92 boost::algorithm::unhex ( *p, std::back_inserter ( one )); in test_from_hex_success()
93 boost::algorithm::unhex ( arg, std::back_inserter ( two )); in test_from_hex_success()
94 boost::algorithm::unhex ( arg.begin (), arg.end (), std::back_inserter ( three )); in test_from_hex_success()
98 std::copy ( one.begin (), one.end (), std::back_inserter ( argh )); in test_from_hex_success()
[all …]
Dcopy_n_test1.cpp38 ba::copy_n ( c.begin (), 0, back_inserter ( v )); in test_sequence()
40 ba::copy_n ( c.begin (), 0U, back_inserter ( v )); in test_sequence()
46 ba::copy_n ( c.begin (), 1, back_inserter ( v )); in test_sequence()
51 ba::copy_n ( c.begin (), 1U, back_inserter ( v )); in test_sequence()
57 ba::copy_n ( c.begin (), c.size () / 2, back_inserter ( v )); in test_sequence()
63 ba::copy_n ( c.begin (), c.size () / 2 + 1, back_inserter ( v )); in test_sequence()
69 ba::copy_n ( c.begin (), c.size (), back_inserter ( v )); in test_sequence()
/third_party/boost/libs/geometry/index/test/rtree/
Drtree_intersects_geom.cpp30 rt.query(bgi::intersects(Point()), back_inserter(found)); in test_all()
31 rt.query(bgi::intersects(Seg()), back_inserter(found)); in test_all()
32 rt.query(bgi::intersects(Box()), back_inserter(found)); in test_all()
33 rt.query(bgi::intersects(Ring()), back_inserter(found)); in test_all()
34 rt.query(bgi::intersects(Poly()), back_inserter(found)); in test_all()
35 rt.query(bgi::intersects(MPoly()), back_inserter(found)); in test_all()
36 rt.query(bgi::intersects(Ls()), back_inserter(found)); in test_all()
37 rt.query(bgi::intersects(MLs()), back_inserter(found)); in test_all()
38 rt.query(bgi::intersects(MPt()), back_inserter(found)); in test_all()
/third_party/boost/libs/algorithm/string/test/
Dconv_test.cpp40 to_lower_copy( back_inserter(strout), str1 ); in conv_test()
43 to_upper_copy( back_inserter(strout), str1 ); in conv_test()
47 to_lower_copy( back_inserter(strout), "AbCdEfG 123 xxxYYYzZzZ" ); in conv_test()
50 to_upper_copy( back_inserter(strout), "AbCdEfG 123 xxxYYYzZzZ" ); in conv_test()
54 to_lower_copy( back_inserter(strout), pch1 ); in conv_test()
57 to_upper_copy( back_inserter(strout), pch1 ); in conv_test()
Dtrim_test.cpp49 trim_left_copy_if( std::back_inserter(str), str1, is_space() ); in trim_test()
53 trim_right_copy_if( std::back_inserter(str), str1, is_space() ); in trim_test()
57 trim_copy_if( std::back_inserter(str), str1, is_space() ); in trim_test()
62 std::back_inserter(str), in trim_test()
69 std::back_inserter(str), in trim_test()
76 std::back_inserter(str), in trim_test()
/third_party/boost/libs/spirit/test/karma/
Dregression_center_alignment.cpp24 BOOST_TEST(karma::generate(std::back_inserter(result), in main()
31 BOOST_TEST(karma::generate(std::back_inserter(result), in main()
38 BOOST_TEST(karma::generate(std::back_inserter(result), in main()
45 BOOST_TEST(karma::generate(std::back_inserter(result), in main()
52 BOOST_TEST(karma::generate(std::back_inserter(result), in main()
59 BOOST_TEST(karma::generate(std::back_inserter(result), in main()
/third_party/boost/libs/mpl/doc/src/refmanual/
Dback_inserter.rst1 .. Algorithms/Inserters//back_inserter
3 back_inserter title
14 struct back_inserter
31 #include <boost/mpl/back_inserter.hpp>
59 | ``back_inserter<s>`` | An |Inserter| ``in``, equivalent to |
80 , back_inserter< vector_c<int,0,1,2,3,4> >
/third_party/boost/libs/geometry/doc/index/rtree/
Dquery.qbk34 rt.query(bgi::intersects(box_region), std::back_inserter(returned_values));
40 bgi::query(rt, bgi::intersects(box_region), std::back_inserter(returned_values));
52 std::copy(rt.qbegin(bgi::intersects(box_region)), rt.qend(), std::back_inserter(returned_values));
58 …std::copy(bgi::qbegin(rt, bgi::intersects(box_region)), bgi::qend(rt), std::back_inserter(returned…
88 rt.query(index::contains(box), std::back_inserter(result));
89 rt.query(index::covered_by(box), std::back_inserter(result));
90 rt.query(index::covers(box), std::back_inserter(result));
91 rt.query(index::disjont(box), std::back_inserter(result));
92 rt.query(index::intersects(box), std::back_inserter(result));
93 rt.query(index::overlaps(box), std::back_inserter(result));
[all …]
/third_party/boost/libs/regex/test/regress/
Dtest_icu.cpp59 inline back_insert_iterator<Seq> back_inserter(Seq& x) in back_inserter() function
239 …_t>::expression().begin(), test_info<wchar_t>::expression().end(), std::back_inserter(expression)); in test_icu()
262 …::search_text().begin(), test_info<wchar_t>::search_text().end(), std::back_inserter(search_text)); in test_icu()
296 …std::copy(u16_conv(expression.begin()), u16_conv(expression.end()), std::back_inserter(expression1… in test_icu()
298 … std::copy(u16_conv(search_text.begin()), u16_conv(search_text.end()), std::back_inserter(text16)); in test_icu()
340 …std::copy(u8_conv(expression.begin()), u8_conv(expression.end()), std::back_inserter(expression8)); in test_icu()
342 … std::copy(u8_conv(search_text.begin()), u8_conv(search_text.end()), std::back_inserter(text8)); in test_icu()
405 …_t>::expression().begin(), test_info<wchar_t>::expression().end(), std::back_inserter(expression)); in test_icu()
500 …std::copy(u16_conv(expression.begin()), u16_conv(expression.end()), std::back_inserter(expression1… in test_icu()
522 …std::copy(u8_conv(expression.begin()), u8_conv(expression.end()), std::back_inserter(expression8)); in test_icu()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_kernel_mod.cc53 (void)std::transform(std::begin(inputs), std::end(inputs), std::back_inserter(runtimeargs), in Launch()
55 (void)std::transform(std::begin(outputs), std::end(outputs), std::back_inserter(runtimeargs), in Launch()
58 … (void)std::transform(std::begin(workspace), std::end(workspace), std::back_inserter(runtimeargs), in Launch()
88 (void)std::transform(std::begin(inputs), std::end(inputs), std::back_inserter(input_data_addrs), in GenTask()
90 …(void)std::transform(std::begin(outputs), std::end(outputs), std::back_inserter(output_data_addrs), in GenTask()
93 …(void)std::transform(std::begin(workspaces), std::end(workspaces), std::back_inserter(workspace_ad… in GenTask()
126 …(void)std::transform(std::begin(kernel_inputs), std::end(kernel_inputs), std::back_inserter(runtim… in GenDynamicKernel()
128 …(void)std::transform(std::begin(kernel_outputs), std::end(kernel_outputs), std::back_inserter(runt… in GenDynamicKernel()
131 …sform(std::begin(kernel_workspaces), std::end(kernel_workspaces), std::back_inserter(runtime_args), in GenDynamicKernel()
/third_party/boost/libs/multiprecision/test/
Dtest_cpp_int_import_export.cpp62 export_bits(val, std::back_inserter(cv), 8, false); in test_round_trip_neg()
76 export_bits(val, std::back_inserter(cv), 8); in test_round_trip()
91 export_bits(val, std::back_inserter(cv), 8, false); in test_round_trip()
100 export_bits(val, std::back_inserter(bv), std::numeric_limits<boost::uintmax_t>::digits); in test_round_trip()
114 export_bits(val, std::back_inserter(bv), std::numeric_limits<boost::uintmax_t>::digits, false); in test_round_trip()
121 export_bits(val, std::back_inserter(bv), std::numeric_limits<boost::uintmax_t>::digits - 3); in test_round_trip()
126 …export_bits(val, std::back_inserter(bv), std::numeric_limits<boost::uintmax_t>::digits - 3, false); in test_round_trip()
131 export_bits(val, std::back_inserter(cv), 6); in test_round_trip()
136 export_bits(val, std::back_inserter(cv), 6, false); in test_round_trip()
/third_party/boost/libs/iterator/test/
Dfunction_input_iterator_test.cpp63 back_inserter(generated) in main()
73 back_inserter(generated) in main()
83 back_inserter(generated) in main()
94 back_inserter(generated) in main()
111 back_inserter(generated) in main()
/third_party/boost/boost/iostreams/filter/
Dtest.hpp153 iostreams::copy(compose(filter, src), iostreams::back_inserter(dest)); in test_input_filter()
168 iostreams::copy(input, iostreams::back_inserter(in)); in test_input_filter()
169 iostreams::copy(output, iostreams::back_inserter(out)); in test_input_filter()
212 iostreams::copy(input, iostreams::back_inserter(in)); in test_output_filter()
213 iostreams::copy(output, iostreams::back_inserter(out)); in test_output_filter()
246 iostreams::back_inserter(dest) in test_filter_pair()
262 iostreams::back_inserter(dest) in test_filter_pair()
273 compose(in, iostreams::back_inserter(dest)) in test_filter_pair()
289 compose(in, iostreams::back_inserter(dest)) in test_filter_pair()
304 iostreams::copy(data, iostreams::back_inserter(str)); in test_filter_pair()
/third_party/boost/libs/convert/example/
Dalgorithms.cpp32 std::transform(strs.begin(), strs.end(), std::back_inserter(ints), in introduction()
56 std::transform(strs.begin(), strs.end(), std::back_inserter(ints), in example1()
79 std::transform(strs.begin(), strs.end(), std::back_inserter(ints), in example2()
104 std::transform(strs.begin(), strs.end(), std::back_inserter(ints), in example3()
130 std::transform(strs.begin(), strs.end(), std::back_inserter(ints), in example4()
165 std::transform(ints.begin(), ints.end(), std::back_inserter(strs), in example5()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dmerge_addn.h68 (void)std::copy(inputs.begin() + 1, inputs.end(), std::back_inserter(Ys_)); in Visit()
88 (void)std::copy(Xs_.begin(), Xs_.end(), std::back_inserter(args_)); in Visit()
89 (void)std::copy(Ys_.begin(), Ys_.end(), std::back_inserter(args_)); in Visit()
108 (void)std::copy(Ys_.begin(), Ys_.end(), std::back_inserter(args_)); in Visit()
109 (void)std::copy(Xs_.begin(), Xs_.end(), std::back_inserter(args_)); in Visit()
118 (void)std::copy(inputs.begin() + 1, inputs.end(), std::back_inserter(Xs_)); in Visit()
185 (void)std::copy(inputs.begin() + 1, inputs.end(), std::back_inserter(Xs_)); in Visit()
Dpartial_eliminate.h57 (void)std::copy(Xs_.begin(), Xs_.end(), std::back_inserter(args)); in operator()
58 (void)std::copy(inputs.begin() + 1, inputs.end(), std::back_inserter(args)); in operator()
79 (void)std::copy(inputs.begin() + 1, inputs.end(), std::back_inserter(args)); in operator()
80 (void)std::copy(Xs_.begin(), Xs_.end(), std::back_inserter(args)); in operator()
87 …std::copy(fg->parameters().cbegin() + xs_size, fg->parameters().cend(), std::back_inserter(new_par… in operator()
88 …std::copy(fg->parameters().cbegin(), fg->parameters().cbegin() + xs_size, std::back_inserter(new_p… in operator()
106 (void)std::copy(inputs.begin() + 2, inputs.end(), std::back_inserter(Xs_)); in Visit()
140 (void)std::copy(inputs.begin() + 2, inputs.end(), std::back_inserter(args)); in Visit()
270 …_fg_params.cbegin(), anchor_fg_params.cbegin() + anchor_args_size, std::back_inserter(new_params)); in UnifyParameters()
353 (void)std::copy(partial_args.begin(), partial_args.end(), std::back_inserter(args)); in BuildNewSwitchNode()
[all …]
/third_party/boost/libs/iostreams/test/
Dwrite_output_iterator_test.hpp35 out.push(std::back_inserter(first), 0); in write_output_iterator_test()
48 out.push(std::back_inserter(first), 0); in write_output_iterator_test()
61 out.push(std::back_inserter(first)); in write_output_iterator_test()
74 out.push(std::back_inserter(first)); in write_output_iterator_test()
/third_party/boost/libs/geometry/doc/index/generated/
Dpredicates.qbk44 bgi::query(spatial_index, bgi::contains(box), std::back_inserter(result));
76 bgi::query(spatial_index, bgi::covered_by(box), std::back_inserter(result));
108 bgi::query(spatial_index, bgi::covers(box), std::back_inserter(result));
140 bgi::query(spatial_index, bgi::disjoint(box), std::back_inserter(result));
172 bgi::query(spatial_index, bgi::intersects(box), std::back_inserter(result));
173 bgi::query(spatial_index, bgi::intersects(ring), std::back_inserter(result));
174 bgi::query(spatial_index, bgi::intersects(polygon), std::back_inserter(result));
206 bgi::query(spatial_index, bgi::overlaps(box), std::back_inserter(result));
238 bgi::query(spatial_index, bgi::within(box), std::back_inserter(result));
279 std::back_inserter(result));
[all …]
/third_party/boost/libs/date_time/test/gregorian/
Dtestformat_date_parser.cpp145 std::back_inserter(wshort_month_names)); in main()
149 std::back_inserter(short_month_names)); in main()
153 std::back_inserter(long_month_names)); in main()
157 std::back_inserter(wlong_month_names)); in main()
162 std::back_inserter(wshort_week_names)); in main()
166 std::back_inserter(short_week_names)); in main()
170 std::back_inserter(wlong_week_names)); in main()
174 std::back_inserter(long_week_names)); in main()
263 std::back_inserter(roman_month_names)); in main()
/third_party/boost/libs/range/test/algorithm_test/
Dunique_copy.cpp40 std::unique_copy(c.begin(), c.end(), std::back_inserter(reference)), in test_unique_copy_impl()
45 boost::unique_copy(c, std::back_inserter(test)), in test_unique_copy_impl()
56 std::back_inserter(test)), in test_unique_copy_impl()
72 std::unique_copy(c.begin(), c.end(), std::back_inserter(reference), pred), in test_unique_copy_impl()
77 boost::unique_copy(c, std::back_inserter(test), pred), in test_unique_copy_impl()
88 std::back_inserter(test), pred), in test_unique_copy_impl()
/third_party/boost/libs/metaparse/test/
Dback_inserter.cpp14 BOOST_METAPARSE_TEST_CASE(back_inserter) in BOOST_METAPARSE_TEST_CASE() argument
16 using boost::metaparse::v1::impl::back_inserter; in BOOST_METAPARSE_TEST_CASE()
23 equal<deque<int, char>, back_inserter::apply<deque<int>, char>::type> in BOOST_METAPARSE_TEST_CASE()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/offline_debug/
Ddbg_services.cc86 rank_id_str.begin(), rank_id_str.end(), std::back_inserter(rank_id), in AddWatchpoint()
96 root_graph_id_str.begin(), root_graph_id_str.end(), std::back_inserter(root_graph_id), in AddWatchpoint()
117 (void)std::transform(check_nodes.begin(), check_nodes.end(), std::back_inserter(check_node_list), in AddWatchpoint()
123 …(void)std::transform(check_nodes.begin(), check_nodes.end(), std::back_inserter(check_node_device_… in AddWatchpoint()
128 … (void)std::transform(rank_id_str.begin(), rank_id_str.end(), std::back_inserter(rank_id), in AddWatchpoint()
136 check_nodes.begin(), check_nodes.end(), std::back_inserter(check_node_graph_list), in AddWatchpoint()
142 root_graph_id_str.begin(), root_graph_id_str.end(), std::back_inserter(root_graph_id), in AddWatchpoint()
148 parameter_list.begin(), parameter_list.end(), std::back_inserter(parameter_list_backend), in AddWatchpoint()
244 …(void)std::transform(info.begin(), info.end(), std::back_inserter(backend_name), GetTensorFullName… in ReadTensorsUtil()
245 (void)std::transform(info.begin(), info.end(), std::back_inserter(slot), GetTensorSlot); in ReadTensorsUtil()
[all …]

12345678910>>...32