Home
last modified time | relevance | path

Searched refs:adaptors (Results 1 – 25 of 176) sorted by relevance

12345678

/third_party/boost/libs/range/doc/reference/
Dadaptors.qbk6 [section:adaptors Range Adaptors]
13 #include <boost/range/adaptors.hpp>
19 boost::copy( vec | boost::adaptors::reversed,
26 vec | boost::adaptors::reversed
29 …f the range `vec` wrapped in `reverse_iterator`. The expression `boost::adaptors::reversed` is cal…
31adaptors with others it became clear that some users of the library strongly prefer a more familia…
37 boost::copy( boost::adaptors::reverse(vec),
41 This might not look so bad, but when we apply several adaptors, it becomes much worse. Just compare
45 boost::copy( boost::adaptors::unique( boost::adaptors::reverse( vec ) ),
53 boost::copy( vec | boost::adaptors::reversed
[all …]
/third_party/boost/libs/range/test/adaptor_test/
Dformatted.cpp64 out1 << '[' << (v | boost::adaptors::formatted()) << ']'; in test_formatted_0args_impl()
68 out2 << '[' << boost::adaptors::format(v) << ']'; in test_formatted_0args_impl()
72 out3 << (v | boost::adaptors::formatted()); in test_formatted_0args_impl()
76 out4 << boost::adaptors::format(v); in test_formatted_0args_impl()
87 out1 << '[' << (v | boost::adaptors::formatted(sep)) << ']'; in test_formatted_1arg_impl()
92 out2 << '[' << boost::adaptors::format(v, sep) << ']'; in test_formatted_1arg_impl()
96 out3 << (v | boost::adaptors::formatted(sep)); in test_formatted_1arg_impl()
100 out4 << boost::adaptors::format(v, sep); in test_formatted_1arg_impl()
121 out1 << '[' << (v | boost::adaptors::formatted(sep, prefix)) << ']'; in test_formatted_2args_impl()
127 out2 << '[' << boost::adaptors::format(v, sep, prefix) << ']'; in test_formatted_2args_impl()
[all …]
Dindexed.cpp63 check_result(c, c | boost::adaptors::indexed(), 0); in indexed_test_impl()
64 check_result(c, c | boost::adaptors::indexed(start_index), start_index); in indexed_test_impl()
67 check_result(c, boost::adaptors::index(c), 0); in indexed_test_impl()
68 check_result(c, boost::adaptors::index(c, start_index), start_index); in indexed_test_impl()
126 vi | boost::adaptors::indexed()); in indexed_test()
131 li | boost::adaptors::indexed()); in indexed_test()
134 li | boost::adaptors::indexed()); in indexed_test()
137 li | boost::adaptors::indexed()); in indexed_test()
Dmap.cpp31 using namespace boost::adaptors; in map_test_keys()
37 boost::push_back(keys2, adaptors::keys(c)); in map_test_keys()
60 using namespace boost::adaptors; in map_test_values()
66 boost::push_back(values2, adaptors::values(c)); in map_test_values()
130 boost::push_back(test, ar | boost::adaptors::map_keys); in test_trac_item_4388()
139 boost::push_back(test, ar | boost::adaptors::map_values); in test_trac_item_4388()
149 boost::push_back(test, src | boost::adaptors::map_values); in test_trac_item_4388()
Dstrided.cpp36 using namespace boost::adaptors; in strided_test_impl()
73 boost::push_back( test2, adaptors::stride(c, stride_size) ); in strided_test_impl()
87 boost::push_back( test4, adaptors::stride(cc, stride_size) ); in strided_test_impl()
136 strided_range_t rng( boost::adaptors::stride(c, 0) ); in strided_test_zero_stride()
187 boost::push_back(output, v | boost::adaptors::strided(4)); in strided_defect_Trac5014()
249 …t::push_back(output, as_mock_range<boost::forward_traversal_tag>(v) | boost::adaptors::strided(4)); in strided_test_traversal()
255 …h_back(output, as_mock_range<boost::bidirectional_traversal_tag>(v) | boost::adaptors::strided(4)); in strided_test_traversal()
261 …h_back(output, as_mock_range<boost::random_access_traversal_tag>(v) | boost::adaptors::strided(4)); in strided_test_traversal()
288 strided_test_ticket_5236_check( v | boost::adaptors::strided(2) ); in strided_test_ticket_5236()
295 strided_test_ticket_5236_check_bidirectional( l | boost::adaptors::strided(2) ); in strided_test_ticket_5236()
Dtype_erased_test.hpp65 using namespace boost::adaptors; in test_type_erased_impl()
67 typedef typename boost::adaptors::type_erased<> type_erased_t; in test_type_erased_impl()
72 boost::push_back(output, boost::adaptors::type_erase(c, type_erased_t())); in test_type_erased_impl()
123 using namespace boost::adaptors; in test_writeable()
135 mutable_any_range r = source | boost::adaptors::type_erased<>(); in test_writeable()
152 using namespace boost::adaptors; in test_type_erased_impl()
174 typedef boost::adaptors::type_erased< in test_type_erased_impl()
198 r = boost::adaptors::type_erase(source, type_erased_t()); in test_type_erased_impl()
234 cr = boost::adaptors::type_erase(const_source, type_erased_t()); in test_type_erased_impl()
Dtransformed.cpp62 using namespace boost::adaptors; in transformed_test_impl_core()
68 boost::push_back(test_result2, adaptors::transform(c, fn)); in transformed_test_impl_core()
90 using namespace boost::adaptors; in transformed_range_copy_assign()
92 check_copy_assign(adaptors::transform(c, fn)); in transformed_range_copy_assign()
142 using namespace boost::adaptors; in transformed_bind()
Dfiltered.cpp74 using namespace boost::adaptors; in filtered_test_impl()
84 boost::push_back(test_result2, adaptors::filter(c, pred)); in filtered_test_impl()
116 using namespace boost::adaptors; in filtered_range_copy_assign()
118 check_copy_assign(adaptors::filter(c, pred)); in filtered_range_copy_assign()
165 | boost::adaptors::filtered(is_even())); in ticket_10988_single_pass()
Dref_unwrapped.cpp36 for (auto&& value : input_values | adaptors::ref_unwrapped) in BOOST_AUTO_TEST_CASE()
58 for (auto&& value : input_values | adaptors::ref_unwrapped) in BOOST_AUTO_TEST_CASE()
80 for (auto&& value : input_values | adaptors::ref_unwrapped) in BOOST_AUTO_TEST_CASE()
Dsliced.cpp30 using namespace boost::adaptors; in sliced_test_impl()
41 boost::push_back(test_alt_result1, adaptors::slice(c, 0u, c.size())); in sliced_test_impl()
57 boost::push_back(test_alt_result2, adaptors::slice(c, 0u, half_count)); in sliced_test_impl()
Dformatted_example.cpp37 std::cout << boost::adaptors::format(input) << std::endl; in formatted_example_test()
46 test << boost::adaptors::format(input); in formatted_example_test()
/third_party/boost/libs/range/doc/reference/adaptors/
Dtokenized.qbk14 rng | boost::adaptors::tokenized(regex)
15 rng | boost::adaptors::tokenized(regex, i)
16 rng | boost::adaptors::tokenized(regex, rndRng)
17 rng | boost::adaptors::tokenized(regex, i, flags)
18 rng | boost::adaptors::tokenized(regex, rndRng, flags)
26 boost::adaptors::tokenize(rng, regex)
27 boost::adaptors::tokenize(rng, regex, i)
28 boost::adaptors::tokenize(rng, regex, rndRng)
29 boost::adaptors::tokenize(rng, regex, i, flags)
30 boost::adaptors::tokenize(rng, regex, rndRng, flags)
Dformatted.qbk10 [[Pipe] [`rng | boost::adaptors::formatted()`]]
11 [[Pipe] [`rng | boost::adaptors::formatted(sep)`]]
12 [[Pipe] [`rng | boost::adaptors::formatted(sep, prefix)`]]
13 [[Pipe] [`rng | boost::adaptors::formatted(sep, prefix, postfix)`]]
14 [[Function] [`boost::adaptors::format(rng)`]]
15 [[Function] [`boost::adaptors::format(rng, sep)`]]
16 [[Function] [`boost::adaptors::format(rng, sep, prefix)`]]
17 [[Function] [`boost::adaptors::format(rng, sep, prefix, postfix)`]]
Dindexed.qbk10 [[Pipe] [`rng | boost::adaptors::indexed()`]]
11 [[Pipe] [`rng | boost::adaptors::indexed(start_index)`]]
12 [[Function] [`boost::adaptors::index(rng)`]]
13 [[Function] [`boost::adaptors::index(rng, start_index)`]]
/third_party/boost/libs/range/doc/html/
Dquickbook_HTML.manifest17 range/reference/adaptors.html
18 range/reference/adaptors/introduction.html
19 range/reference/adaptors/general_requirements.html
20 range/reference/adaptors/reference.html
21 range/reference/adaptors/reference/adjacent_filtered.html
22 range/reference/adaptors/reference/copied.html
23 range/reference/adaptors/reference/filtered.html
24 range/reference/adaptors/reference/indexed.html
25 range/reference/adaptors/reference/indirected.html
26 range/reference/adaptors/reference/map_keys.html
[all …]
/third_party/boost/libs/geometry/test/geometries/
Dboost_range.cpp63 out << bg::wkt(ls | boost::adaptors::reversed); in test_range_adaptor()
69 out << bg::wkt(ls | boost::adaptors::strided(2)); in test_range_adaptor()
75 out << bg::wkt(ls | boost::adaptors::sliced(1,3)); in test_range_adaptor()
85 out << bg::wkt(ls | boost::adaptors::filtered(not_two())); in test_range_adaptor()
91 out << bg::wkt(ls | boost::adaptors::adjacent_filtered(sum_not_five())); in test_range_adaptor()
/third_party/boost/boost/geometry/index/adaptors/
Dquery.hpp20 namespace adaptors { namespace
60 index::adaptors::detail::query_range<Index>
63 index::adaptors::detail::query<Predicates> const& f) in operator |()
65 return index::adaptors::detail::query_range<Index>(si, f.predicates); in operator |()
/third_party/boost/libs/range/doc/
Dboost_range.qbk69 [def __range_adaptors__ [link range.reference.adaptors Range adaptors]]
70 [def __range_adaptors_adjacent_filtered__ [link range.reference.adaptors.reference.adjacent_filtere…
71 [def __range_adaptors_copied__ [link range.reference.adaptors.reference.copied copied]]
72 [def __range_adaptors_filtered__ [link range.reference.adaptors.reference.filtered filtere…
73 [def __range_adaptors_formatted__ [link.range.reference.adaptors.reference.formatted format…
74 [def __range_adaptors_indexed__ [link range.reference.adaptors.reference.indexed indexed]]
75 [def __range_adaptors_indirected__ [link range.reference.adaptors.reference.indirected indir…
76 [def __range_adaptors_map_keys__ [link range.reference.adaptors.reference.map_keys map_key…
77 [def __range_adaptors_map_values__ [link range.reference.adaptors.reference.map_values map_v…
78 [def __range_adaptors_replaced__ [link range.reference.adaptors.reference.replaced replace…
[all …]
/third_party/boost/libs/range/test/
Dadaptors.cpp73 using namespace boost::adaptors; in check_direct()
109 using namespace boost::adaptors; in check_indirect()
136 using namespace boost::adaptors; in check_random_access()
160 using namespace boost::adaptors; in check_map()
181 using namespace boost::adaptors; in check_regex()
199 using namespace boost::adaptors; in check_adaptors()
/third_party/boost/libs/spirit/test/karma/
Dregression_iterator.cpp32 namespace adaptors = boost::adaptors; in main()
37 ints | adaptors::transformed(&identity<int>))) in main()
/third_party/boost/libs/bind/doc/mem_fn/
Dfaq.qbk13 adaptors?]
16 standard adaptors do not. Complicated expressions that use `std::bind1st`,
18 along with the standard adaptors can be rewritten using `boost::bind` that
27 with the standard adaptors, although it comes pretty close. In particular,
29 the standard adaptors do, and it is not possible to fully describe the type of
/third_party/boost/boost/range/adaptor/
Dcopied.hpp22 namespace adaptors namespace
44 > temp(adaptors::slice(r, f.t, f.u)); in operator |()
60 > temp(adaptors::slice(rng, t, u)); in copy()
Dmap.hpp128 boost::adaptors::transformed( select_first<StdPairRng>() ) ); in operator |()
138 boost::adaptors::transformed( select_second_mutable<StdPairRng>() ) ); in operator |()
149 boost::adaptors::transformed( select_second_const<StdPairRng>() ) ); in operator |()
158 namespace adaptors namespace
Dformatted.hpp129 namespace adaptors namespace
198 return adaptors::format<SinglePassRange, Sep, Prefix, char>(rng, sep, prefix, '}'); in format()
208 return adaptors::format<SinglePassRange, Sep, char, char>(rng, sep, '{', '}'); in format()
218 return adaptors::format<SinglePassRange, char, char, char>(rng, ',', '{', '}'); in format()
/third_party/gstreamer/gstplugins_base/sys/xvimage/
Dxvcontext.c66 XvAdaptorInfo * adaptors, guint adaptor_nr) in gst_lookup_xv_port_from_adaptor() argument
72 if (!(adaptors[adaptor_nr].type & XvImageMask)) { in gst_lookup_xv_port_from_adaptor()
74 adaptors[adaptor_nr].name); in gst_lookup_xv_port_from_adaptor()
79 for (j = 0; j < adaptors[adaptor_nr].num_ports && !context->xv_port_id; j++) { in gst_lookup_xv_port_from_adaptor()
81 res = XvGrabPort (context->disp, adaptors[adaptor_nr].base_id + j, 0); in gst_lookup_xv_port_from_adaptor()
83 context->xv_port_id = adaptors[adaptor_nr].base_id + j; in gst_lookup_xv_port_from_adaptor()
84 GST_DEBUG ("XV Adaptor %s with %ld ports", adaptors[adaptor_nr].name, in gst_lookup_xv_port_from_adaptor()
85 adaptors[adaptor_nr].num_ports); in gst_lookup_xv_port_from_adaptor()
88 adaptors[adaptor_nr].name, res); in gst_lookup_xv_port_from_adaptor()
103 XvAdaptorInfo *adaptors; in gst_xvcontext_get_xv_support() local
[all …]

12345678