Home
last modified time | relevance | path

Searched refs:functor (Results 1 – 25 of 170) sorted by relevance

1234567

/third_party/boost/boost/bimap/container_adaptor/
Dcontainer_adaptor.hpp165 return this->template functor<iterator_from_base>()( base().begin() ); in begin()
170 return this->template functor<iterator_from_base>()( base().end() ); in end()
175 return this->template functor<iterator_from_base>()( base().begin() ); in begin()
180 return this->template functor<iterator_from_base>()( base().end() ); in end()
186 return this->template functor<iterator_from_base>()( in erase()
187 base().erase(this->template functor<iterator_to_base>()(pos)) in erase()
193 return this->template functor<iterator_from_base>()( in erase()
195 this->template functor<iterator_to_base>()(first), in erase()
196 this->template functor<iterator_to_base>()(last) in erase()
212 functor<value_to_base>()( *iterBegin ) in insert()
[all …]
Dsequence_container_adaptor.hpp186 return this->template functor< in rbegin()
194 return this->template functor< in rend()
201 return this->template functor< in rbegin()
208 return this->template functor< in rend()
219 this->template functor<BOOST_DEDUCED_TYPENAME base_::value_to_base>()(x) in resize()
225 return this->template functor< in front()
234 return this->template functor< in back()
243 return this->template functor< in front()
252 return this->template functor< in back()
264 this->template functor<BOOST_DEDUCED_TYPENAME base_::value_to_base>()(x)); in push_front()
[all …]
Dlist_adaptor.hpp90 this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>() in splice()
99 this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>() in splice()
102 this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()(i) in splice()
110 this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>() in splice()
113 this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()(first), in splice()
114 this->template functor<BOOST_DEDUCED_TYPENAME base_::iterator_to_base>()(last) in splice()
125 this->template functor<BOOST_DEDUCED_TYPENAME base_::value_to_base>()(value) in remove()
139 >( pred, this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>() ) in remove_if()
154 this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>() in unique()
170 this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>() ) in unique()
[all …]
Dordered_associative_container_adaptor.hpp202 return this->template functor< in rbegin()
210 return this->template functor< in rend()
217 return this->template functor< in rbegin()
224 return this->template functor< in rend()
235 this->template functor<key_to_base_>() in key_comp()
245 this->template functor<value_to_base_>() in value_comp()
252 return this->template functor< in lower_bound()
255 this->template functor<BOOST_DEDUCED_TYPENAME base_::key_to_base>()(k) in lower_bound()
263 return this->template functor< in lower_bound()
266 this->template functor<BOOST_DEDUCED_TYPENAME base_::key_to_base>()(k) in lower_bound()
[all …]
Dassociative_container_adaptor.hpp161 this->template functor<key_to_base>()(k) in erase()
184 this->template functor<key_to_base>()(k) in count()
191 return this->template functor<typename base_::iterator_from_base>() in find()
194 this->template functor<key_to_base>()(k) in find()
203 return this->template functor< in find()
207 this->template functor<key_to_base>()(k) in find()
226 this->template functor<key_to_base>()(k) in equal_range()
235 this->template functor< in equal_range()
238 this->template functor< in equal_range()
258 this->template functor<key_to_base>()(k) in equal_range()
[all …]
Dlist_map_adaptor.hpp180 >( pred, this->template functor<key_from_base_value>() ) in remove_if()
195 this->template functor<key_from_base_value>() in unique()
210 >( binary_pred, this->template functor<key_from_base_value>() ) in unique()
225 this->template functor<key_from_base_value>() in merge()
240 >( comp, this->template functor<key_from_base_value>() ) in merge()
255 this->template functor<key_from_base_value>() in sort()
270 >( comp, this->template functor<key_from_base_value>() ) in sort()
Dvector_adaptor.hpp105 this->template functor<BOOST_DEDUCED_TYPENAME base_::value_to_base>()(x) in resize()
112 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in operator []()
120 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in at()
128 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in operator []()
136 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in at()
/third_party/boost/boost/bimap/views/
Dvector_set_view.hpp74 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in operator []()
82 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in at()
90 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in operator []()
99 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in at()
115 this->template functor< in BOOST_BIMAP_VIEW_FRONT_BACK_IMPLEMENTATION()
126 this->template functor< in splice()
129 this->template functor< in splice()
140 this->template functor< in splice()
143 this->template functor< in splice()
145 this->template functor< in splice()
[all …]
Dvector_map_view.hpp82 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in operator []()
90 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in at()
98 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in operator []()
107 return this->template functor<BOOST_DEDUCED_TYPENAME base_::value_from_base>()( in at()
122 this->template functor< in BOOST_BIMAP_VIEW_FRONT_BACK_IMPLEMENTATION()
133 this->template functor< in splice()
136 this->template functor< in splice()
147 this->template functor< in splice()
150 this->template functor< in splice()
152 this->template functor< in splice()
[all …]
Dlist_set_view.hpp80 this->template functor< in BOOST_BIMAP_VIEW_FRONT_BACK_IMPLEMENTATION()
82 this->template functor< in BOOST_BIMAP_VIEW_FRONT_BACK_IMPLEMENTATION()
92 this->template functor< in relocate()
94 this->template functor< in relocate()
96 this->template functor< in relocate()
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/
Dstar_comb.hpp24 inline void make_star(Polygon& polygon, AddFunctor functor, in make_star() argument
51 functor(polygon, x, y, i); in make_star()
62 functor(polygon, x0, y0, count); in make_star()
73 inline void make_comb(Polygon& polygon, AddFunctor functor, in make_comb() argument
95 functor(polygon, it->get<0>(), it->get<1>(), n++); in make_comb()
101 functor(polygon, 25.0, 0.0, n++); in make_comb()
102 functor(polygon, 0.0, 25.0, n++); in make_comb()
103 functor(polygon, 25.0, 50.0, n++); in make_comb()
115 functor(polygon, x1, (x1 + b1), n++); x1 -= diff; in make_comb()
116 functor(polygon, x1, (x1 + b1), n++); x1 -= diff; in make_comb()
[all …]
/third_party/boost/libs/hana/test/identity/
Dmain.hpp35 auto functor = ::identity; in main() local
39 hana::adjust_if(functor(ct_eq<0>{}), hana::always(cnumeric<bool, true>), f), in main()
40 functor(f(ct_eq<0>{})) in main()
44 hana::adjust_if(functor(ct_eq<0>{}), hana::always(cnumeric<bool, false>), f), in main()
45 functor(ct_eq<0>{}) in main()
52 hana::fill(functor(ct_eq<0>{}), ct_eq<1>{}), in main()
53 functor(ct_eq<1>{}) in main()
60 hana::transform(functor(ct_eq<0>{}), f), in main()
61 functor(f(ct_eq<0>{})) in main()
68 … hana::replace_if(functor(ct_eq<0>{}), hana::always(cnumeric<bool, true>), ct_eq<1>{}), in main()
[all …]
/third_party/boost/boost/function/
Dfunction_template.hpp490 bool assign_to(F f, function_buffer& functor) const in assign_to()
493 return assign_to(f, functor, tag()); in assign_to()
496 bool assign_to_a(F f, function_buffer& functor, Allocator a) const in assign_to_a()
499 return assign_to_a(f, functor, a, tag()); in assign_to_a()
502 void clear(function_buffer& functor) const in clear()
505 base.manager(functor, functor, destroy_functor_tag); in clear()
512 assign_to(FunctionPtr f, function_buffer& functor, function_ptr_tag) const in assign_to()
514 this->clear(functor); in assign_to()
518 functor.members.func_ptr = reinterpret_cast<void (*)()>(f); in assign_to()
526 assign_to_a(FunctionPtr f, function_buffer& functor, Allocator, function_ptr_tag) const in assign_to_a()
[all …]
/third_party/boost/libs/intrusive/test/
Dhas_member_function_callable_with.cpp45 struct functor struct
101 int check1[ has_member_function_callable_with_func0to3<functor>::value ? 1 : -1]; in main()
112 int check1[ has_member_function_callable_with_func0to0<functor>::value ? 1 : -1]; in main()
123 int check1[ has_member_function_callable_with_func0to3<functor, int>::value ? 1 : -1]; in main()
124 int check2[!has_member_function_callable_with_func0to3<functor, char*>::value ? 1 : -1]; in main()
143 int check1[ has_member_function_callable_with_func1to2<functor, int>::value ? 1 : -1]; in main()
144 int check2[!has_member_function_callable_with_func1to2<functor, char*>::value ? 1 : -1]; in main()
163 int check1[ has_member_function_callable_with_func0to3<functor, int, int>::value ? 1 : -1]; in main()
164 int check2[!has_member_function_callable_with_func0to3<functor, int, char*>::value ? 1 : -1]; in main()
181 int check1[ has_member_function_callable_with_func1to2<functor, int, int>::value ? 1 : -1]; in main()
[all …]
/third_party/boost/boost/bimap/detail/
Dnon_unique_views_helper.hpp30 this->template functor< \
44 this->template functor< \
49 this->template functor< \
60 return this->template functor< \
63 this->template functor< \
65 this->template functor< \
Dmap_view_base.hpp125 derived().template functor<iterator_to_base_>()(position), in replace()
126 derived().template functor<value_to_base_>()(x) in replace()
134 derived().template functor<iterator_to_base_>()(position), in replace_key()
135 derived().template functor<value_to_base_>()( in replace_key()
146 derived().template functor<iterator_to_base_>()(position), in replace_data()
147 derived().template functor<value_to_base_>()( in replace_data()
191 derived().template functor<iterator_to_base_>()(position), mod in modify_key()
209 derived().template functor<iterator_to_base_>()(position), in modify_data()
442 this->template functor< \
445 this->template functor< \
[all …]
/third_party/grpc/test/core/end2end/tests/
Dconnectivity.cc37 grpc_experimental_completion_queue_functor functor; member
40 grpc_experimental_completion_queue_functor* functor, int success)) { in CallbackContext()
41 functor.functor_run = cb; in CallbackContext()
42 functor.inlineable = false; in CallbackContext()
178 grpc_experimental_completion_queue_functor* functor, int success) { in cb_watch_connectivity() argument
179 CallbackContext* cb_ctx = (CallbackContext*)functor; in cb_watch_connectivity()
189 static void cb_shutdown(grpc_experimental_completion_queue_functor* functor, in cb_shutdown() argument
191 CallbackContext* cb_ctx = (CallbackContext*)functor; in cb_shutdown()
210 cq = grpc_completion_queue_create_for_callback(&cb_shutdown_ctx.functor, in test_watch_connectivity_cq_callback()
217 &cb_ctx.functor); in test_watch_connectivity_cq_callback()
/third_party/boost/boost/bimap/container_adaptor/detail/
Dnon_unique_container_helper.hpp30 this->template functor< \
40 return this->base().insert( this->template functor< \
50 return this->template functor< \
52 this->base().insert(this->template functor< \
54 this->template functor< \
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Dfor_each_segment_const.cpp70 > functor; in main() local
74 functor = boost::geometry::for_each_segment(polyline, functor); in main()
78 << "Min segment length: " << functor.min_length << std::endl in main()
79 << "Max segment length: " << functor.max_length << std::endl; in main()
/third_party/grpc/test/core/iomgr/
Dthreadpool_test.cc74 SimpleFunctorForAdd* functor = new SimpleFunctorForAdd(); in test_add() local
76 pool->Add(functor); in test_add()
79 GPR_ASSERT(functor->count() == kThreadSmallIter); in test_add()
80 delete functor; in test_add()
116 SimpleFunctorForAdd* functor = new SimpleFunctorForAdd(); in test_multi_add() local
121 work_thds[i] = new WorkThread(pool, functor, kThreadLargeIter); in test_multi_add()
135 GPR_ASSERT(functor->count() == kThreadLargeIter * num_work_thds); in test_multi_add()
136 delete functor; in test_multi_add()
/third_party/grpc/test/cpp/qps/
Dstats.h30 double sum(const T& container, F functor) { in sum() argument
33 r += functor(*v); in sum()
39 double average(const T& container, F functor) { in average() argument
40 return sum(container, functor) / container.size(); in average()
/third_party/flutter/skia/src/core/
DSkTSearch.h79 static SkTLessFunctionToFunctorAdaptor<T, LESS> functor; in SkTSearch() local
80 return SkTSearch(base, count, target, elemSize, functor); in SkTSearch()
91 static SkTLessFunctor<T> functor; in SkTSearch() local
92 return SkTSearch(base, count, target, elemSize, functor); in SkTSearch()
104 static SkTLessFunctionToPtrFunctorAdaptor<T, LESS> functor; in SkTSearch() local
105 return SkTSearch(base, count, target, elemSize, functor); in SkTSearch()
/third_party/boost/libs/geometry/test/algorithms/
Dtest_for_each.hpp92 sum_x_functor<point_type> functor; in test_per_point_const() local
93 functor = bg::for_each_point(geometry, functor); in test_per_point_const()
94 BOOST_CHECK_EQUAL(functor.sum, expected); in test_per_point_const()
217 sum_segment_length<bg::model::referring_segment<point_type const> > functor; in test_per_segment_const() local
218 functor = bg::for_each_segment(geometry, functor); in test_per_segment_const()
220 BOOST_CHECK_CLOSE(functor.sum, expected_length, 0.0001); in test_per_segment_const()
/third_party/boost/boost/spirit/home/lex/lexer/lexertl/
Dfunctor.hpp65 class functor class
100 functor() {} in functor() function in boost::spirit::lex::lexertl::functor
104 functor& operator=(functor const& rhs) in operator =()
113 typedef functor unique;
284 typename functor<Token, FunctorData, Iterator, SupportsActors, SupportsState>::result_type const
285 functor<Token, FunctorData, Iterator, SupportsActors, SupportsState>::eof =
286 typename functor<Token, FunctorData, Iterator, SupportsActors
/third_party/boost/boost/spirit/home/classic/utility/
Dfunctor_parser.hpp33 FunctorT functor; member
35 functor_parser(): functor() {} in functor_parser()
36 functor_parser(FunctorT const& functor_): functor(functor_) {} in functor_parser()
56 std::ptrdiff_t len = functor(scan, functor_result); in parse()

1234567