Home
last modified time | relevance | path

Searched refs:P2 (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/third_party/grpc/third_party/upb/upb/
Dhandlers-inl.h180 template <class R, class P1, class P2, R F(P1, P2), class I>
184 static R Call(P1 p1, P2 p2) { return F(p1, p2); }
187 template <class R, class P1, class P2, class P3, R F(P1, P2, P3), class I>
191 static R Call(P1 p1, P2 p2, P3 p3) { return F(p1, p2, p3); }
194 template <class R, class P1, class P2, class P3, class P4, R F(P1, P2, P3, P4),
199 static R Call(P1 p1, P2 p2, P3 p3, P4 p4) { return F(p1, p2, p3, p4); }
202 template <class R, class P1, class P2, class P3, class P4, class P5,
203 R F(P1, P2, P3, P4, P5), class I>
207 static R Call(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) {
228 template <class R, class P1, class P2, R F(P1, P2), class I>
[all …]
/third_party/boost/libs/geometry/test/strategies/
Dandoyer.cpp68 template <typename P1, typename P2>
85 (bg::concepts::PointDistanceStrategy<andoyer_type, P1, P2>) in test_distance()
91 ::services::return_type<andoyer_type, P1, P2>::type return_type; in test_distance()
94 P2 p2; in test_distance()
160 template <typename P1, typename P2>
164 test_distance<P1, P2>(lon1, lat1, lon2, lat2, expected_km); in test_distazi()
165 test_azimuth<P1, P2>(lon1, lat1, lon2, lat2, expected_azimuth_deg); in test_distazi()
169 template <typename P1, typename P2>
175 test_distazi<P1, P2>(lon1, lat1, lon2, lat2, expected_km, expected_azimuth_deg); in test_distazi_symm()
176 test_distazi<P1, P2>(-lon1, lat1, -lon2, lat2, expected_km, -expected_azimuth_deg); in test_distazi_symm()
[all …]
Ddistance.cpp39 template <typename P1, typename P2, typename FormulaPolicy>
44 typename bg::select_calculation_type<P1, P2, void>::type in test_distance()
47 calc_t tolerance = non_precise_ct<P1>() || non_precise_ct<P2>() ? in test_distance()
51 P2 p2; in test_distance()
75 template <typename P1, typename P2, typename FormulaPolicy>
79 test_distance<P1, P2, FormulaPolicy>(lon1, lat1, lon2, lat2); in test_distance_reverse()
80 test_distance<P1, P2, FormulaPolicy>(lon2, lat2, lon1, lat1); in test_distance_reverse()
83 template <typename P1, typename P2, typename FormulaPolicy>
86 test_distance_reverse<P1, P2, FormulaPolicy>(0., 70., 0., 80.); in test_meridian()
87 test_distance_reverse<P1, P2, FormulaPolicy>(0, 70, 0., -80.); in test_meridian()
[all …]
Dvincenty.cpp107 template <typename P1, typename P2, typename Spheroid>
116 typename bg::select_calculation_type<P1, P2, void>::type in test_vincenty()
119 calc_t tolerance = non_precise_ct<P1>() || non_precise_ct<P2>() ? in test_vincenty()
121 calc_t error = non_precise_ct<P1>() || non_precise_ct<P2>() ? in test_vincenty()
174 bg::concepts::PointDistanceStrategy<vincenty_type, P1, P2>) in test_vincenty()
179 …typedef typename bg::strategy::distance::services::return_type<vincenty_type, P1, P2>::type return… in test_vincenty()
182 P2 p2; in test_vincenty()
193 template <typename P1, typename P2>
199 test_vincenty<P1, P2>(lon1, lat1, lon2, lat2, in test_vincenty()
238 template <typename P1, typename P2>
[all …]
Dthomas.cpp41 template <typename P1, typename P2>
57 (bg::concepts::PointDistanceStrategy<thomas_type, P1, P2>) in test_distance()
63 ::services::return_type<thomas_type, P1, P2>::type return_type; in test_distance()
67 P2 p2; in test_distance()
111 template <typename P1, typename P2>
114 test_distance<P1, P2>(0, 90, 1, 80, 1116.825795); // polar in test_all()
115 test_distance<P1, P2>(0, -90, 1, -80, 1116.825795); // polar in test_all()
116 test_distance<P1, P2>(4, 52, 4, 52, 0.0); // no point difference in test_all()
117 test_distance<P1, P2>(4, 52, 3, 40, 1336.025365); // normal case in test_all()
119 test_side<P1, P2>(0, 0, 0, 1, 0, 2, 0); in test_all()
[all …]
/third_party/boost/boost/geometry/strategies/
Dstrategy_transform.hpp107 template <typename P1, typename P2>
110 inline bool apply(P1 const& p1, P2& p2) const in apply()
113 assert_dimension_equal<P1, P2>(); in apply()
128 template <typename P1, typename P2, template <typename> class F>
131 inline bool apply(P1 const& p1, P2& p2) const in apply()
137 assert_dimension<P2, 2>(); in apply()
141 typename select_coordinate_type<P1, P2>::type in apply()
146 P1, P2, 0, 2, F in apply()
152 template <typename P1, typename P2, template <typename> class F>
155 inline bool apply(P1 const& p1, P2& p2) const in apply()
[all …]
/third_party/boost/libs/geometry/test/algorithms/equals/
Dequals_on_spheroid.cpp27 template <typename P1, typename P2 = P1>
34 test_geometry<P1, P2>(str + "pp_01", "POINT(0 0)", "POINT(0 0)", true); in apply()
35 test_geometry<P1, P2>(str + "pp_02", "POINT(0 0)", "POINT(10 0)", false); in apply()
38 test_geometry<P1, P2>(str + "pp_03", "POINT(0 0)", "POINT(360 0)", true); in apply()
39 test_geometry<P1, P2>(str + "pp_04", "POINT(10 0)", "POINT(370 0)", true); in apply()
40 test_geometry<P1, P2>(str + "pp_05", "POINT(10 0)", "POINT(-350 0)", true); in apply()
41 test_geometry<P1, P2>(str + "pp_06", "POINT(180 10)", "POINT(-180 10)", true); in apply()
42 test_geometry<P1, P2>(str + "pp_06a", "POINT(540 10)", "POINT(-540 10)", true); in apply()
45 test_geometry<P1, P2>(str + "pp_06b", "POINT(540 370)", "POINT(-540 -350)", true); in apply()
46 test_geometry<P1, P2>(str + "pp_06c", "POINT(1260 370)", "POINT(-1260 -350)", true); in apply()
[all …]
/third_party/boost/libs/geometry/test/algorithms/intersects/
Dintersects.cpp22 template <typename P1, typename P2>
26 typedef bg::model::polygon<P2, false, false> poly_ccw_o2; in test_intersects_polygon_polygon()
32 template <typename P1, typename P2>
36 typedef bg::model::segment<P2> seg; in test_intersects_linestring_segment()
44 template <typename P1, typename P2>
48 typedef bg::model::linestring<P2> ls2; in test_intersects_linestring_linestring()
59 template <typename P1, typename P2>
64 typedef bg::model::polygon<P2> poly_cw_c; in test_intersects_linestring_polygon()
65 typedef bg::model::polygon<P2, false> poly_ccw_c; in test_intersects_linestring_polygon()
66 typedef bg::model::polygon<P2, false, false> poly_ccw_o; in test_intersects_linestring_polygon()
[all …]
/third_party/boost/boost/multi_index/detail/
Dscope_guard.hpp192 template<typename F,typename P1,typename P2>
196 scope_guard_impl2(F fun,P1 p1,P2 p2):fun_(fun),p1_(p1),p2_(p2){} in scope_guard_impl2()
203 const P2 p2_;
206 template<typename F,typename P1,typename P2>
207 inline scope_guard_impl2<F,P1,P2> make_guard(F fun,P1 p1,P2 p2) in make_guard()
209 return scope_guard_impl2<F,P1,P2>(fun,p1,p2); in make_guard()
212 template<bool cond, typename F,typename P1,typename P2>
213 inline typename null_guard_return<cond,scope_guard_impl2<F,P1,P2> >::type
214 make_guard_if_c(F fun,P1 p1,P2 p2) in make_guard_if_c()
216 return typename null_guard_return<cond,scope_guard_impl2<F,P1,P2> >::type(fun,p1,p2); in make_guard_if_c()
[all …]
/third_party/mbedtls/library/
Dripemd160.c134 #define P2( a, b, c, d, e, r, s, rp, sp ) \ in mbedtls_internal_ripemd160_process() macro
146 P2( local.A, local.B, local.C, local.D, local.E, 0, 11, 5, 8 ); in mbedtls_internal_ripemd160_process()
147 P2( local.E, local.A, local.B, local.C, local.D, 1, 14, 14, 9 ); in mbedtls_internal_ripemd160_process()
148 P2( local.D, local.E, local.A, local.B, local.C, 2, 15, 7, 9 ); in mbedtls_internal_ripemd160_process()
149 P2( local.C, local.D, local.E, local.A, local.B, 3, 12, 0, 11 ); in mbedtls_internal_ripemd160_process()
150 P2( local.B, local.C, local.D, local.E, local.A, 4, 5, 9, 13 ); in mbedtls_internal_ripemd160_process()
151 P2( local.A, local.B, local.C, local.D, local.E, 5, 8, 2, 15 ); in mbedtls_internal_ripemd160_process()
152 P2( local.E, local.A, local.B, local.C, local.D, 6, 7, 11, 15 ); in mbedtls_internal_ripemd160_process()
153 P2( local.D, local.E, local.A, local.B, local.C, 7, 9, 4, 5 ); in mbedtls_internal_ripemd160_process()
154 P2( local.C, local.D, local.E, local.A, local.B, 8, 11, 13, 7 ); in mbedtls_internal_ripemd160_process()
[all …]
/third_party/boost/boost/gil/
Dcolor_base_algorithm.hpp247 template <typename P1,typename P2>
248 static bool static_equal(const P1& p1, const P2& p2) in static_equal()
254 template <typename P1,typename P2>
255 static void static_copy(const P1& p1, P2& p2) in static_copy()
293 template <typename P1,typename P2,typename Op>
294 static Op static_for_each(P1& p1, P2& p2, Op op) { in static_for_each()
299 template <typename P1,typename P2,typename Op>
300 static Op static_for_each(P1& p1, const P2& p2, Op op) { in static_for_each()
305 template <typename P1,typename P2,typename Op>
306 static Op static_for_each(const P1& p1, P2& p2, Op op) { in static_for_each()
[all …]
Dcolor_convert.hpp53 template <typename P1, typename P2>
54 void operator()(const P1& src, P2& dst) const { in operator ()()
95 template <typename P1, typename P2>
96 void operator()(const P1& src, P2& dst) const { in operator ()()
98 … channel_convert<typename color_element_type<P2, red_t >::type>(get_color(src,gray_color_t())); in operator ()()
100 … channel_convert<typename color_element_type<P2, green_t>::type>(get_color(src,gray_color_t())); in operator ()()
102 … channel_convert<typename color_element_type<P2, blue_t >::type>(get_color(src,gray_color_t())); in operator ()()
112 template <typename P1, typename P2>
113 void operator()(const P1& src, P2& dst) const { in operator ()()
115 channel_traits<typename color_element_type<P2, cyan_t >::type>::min_value(); in operator ()()
[all …]
/third_party/boost/boost/mpl/map/aux_/preprocessed/typeof_based/
Dmap10.hpp42 typename P0, typename P1, typename P2
46 typename P2::first
47 , typename P2::second
55 typename P0, typename P1, typename P2, typename P3
61 , map3< P0,P1,P2 >
68 typename P0, typename P1, typename P2, typename P3, typename P4
74 , map4< P0,P1,P2,P3 >
81 typename P0, typename P1, typename P2, typename P3, typename P4
88 , map5< P0,P1,P2,P3,P4 >
95 typename P0, typename P1, typename P2, typename P3, typename P4
[all …]
Dmap20.hpp16 typename P0, typename P1, typename P2, typename P3, typename P4
24 , map10< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9 >
31 typename P0, typename P1, typename P2, typename P3, typename P4
39 , map11< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10 >
46 typename P0, typename P1, typename P2, typename P3, typename P4
54 , map12< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11 >
61 typename P0, typename P1, typename P2, typename P3, typename P4
69 , map13< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12 >
76 typename P0, typename P1, typename P2, typename P3, typename P4
84 , map14< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13 >
[all …]
/third_party/boost/boost/intrusive/
Dpointer_rebind.hpp133 , typename A, class P0, class P1, class P2
135 struct pointer_rebinder<Ptr<A, P0, P1, P2>, U, 0u>
136 { typedef Ptr<U, P0, P1, P2> type; };
139 , typename A, class P0, class P1, class P2, class P3
141 struct pointer_rebinder<Ptr<A, P0, P1, P2, P3>, U, 0u>
142 { typedef Ptr<U, P0, P1, P2, P3> type; };
145 , typename A, class P0, class P1, class P2, class P3, class P4
147 struct pointer_rebinder<Ptr<A, P0, P1, P2, P3, P4>, U, 0u>
148 { typedef Ptr<U, P0, P1, P2, P3, P4> type; };
151 , typename A, class P0, class P1, class P2, class P3, class P4, class P5
[all …]
/third_party/boost/boost/type_erasure/
Ddynamic_any_cast.hpp35 template<class P, class P2, class Any>
38 template<class P, class P2, class Any>
39 struct make_ref_placeholder<P, P2, const Any&> { typedef const P& type; };
40 template<class P, class P2, class Any>
41 struct make_ref_placeholder<P, P2, Any&> { typedef P& type; };
42 template<class P, class P2, class Any>
43 struct make_ref_placeholder<P, P2&, const Any&> { typedef P& type; };
44 template<class P, class P2, class Any>
45 struct make_ref_placeholder<P, P2&, Any&> { typedef P& type; };
46 template<class P, class P2, class Any>
[all …]
/third_party/ltp/testcases/kernel/syscalls/mallinfo/
Dmallinfo_common.h39 #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f) in print_mallinfo2() macro
40 P2(arena); in print_mallinfo2()
41 P2(ordblks); in print_mallinfo2()
42 P2(smblks); in print_mallinfo2()
43 P2(hblks); in print_mallinfo2()
44 P2(hblkhd); in print_mallinfo2()
45 P2(usmblks); in print_mallinfo2()
46 P2(fsmblks); in print_mallinfo2()
47 P2(uordblks); in print_mallinfo2()
48 P2(fordblks); in print_mallinfo2()
[all …]
/third_party/boost/boost/gil/extension/toolbox/color_spaces/
Dgray_alpha.hpp44 template <typename P1, typename P2>
45 void operator()(const P1& src, P2& dst) const { in operator ()()
47 … channel_convert<typename color_element_type<P2, red_t>::type>(get_color(src,gray_color_t())); in operator ()()
49 … channel_convert<typename color_element_type<P2, green_t>::type>(get_color(src,gray_color_t())); in operator ()()
51 … channel_convert<typename color_element_type<P2, blue_t>::type>(get_color(src,gray_color_t())); in operator ()()
53 … channel_convert<typename color_element_type<P2, alpha_t>::type>(get_color(src,alpha_t())); in operator ()()
60 template <typename P1, typename P2>
61 void operator()(const P1& src, P2& dst) const { in operator ()()
63 channel_convert<typename color_element_type<P2, red_t>::type>( in operator ()()
67 channel_convert<typename color_element_type<P2, green_t>::type>( in operator ()()
[all …]
/third_party/boost/libs/geometry/test/arithmetic/
Dgeneral.cpp32 template <typename P, typename P2> in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
42 P2 p2(4, 5, 6); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS()
49 template <typename P, typename P2>
59 P2 p2(4, 6, 8); in test_subtraction()
66 template <typename P, typename P2>
76 P2 p2(4, 5, 6); in test_multiplication()
83 template <typename P, typename P2>
93 P2 p2(2, 4, 6); in test_division()
100 template <typename P, typename P2>
104 P2 p2(12, 34, 56); in test_assign()
[all …]
/third_party/boost/boost/container/detail/
Dcontainer_rebind.hpp88 , typename V, typename A, class P0, class P1, class P2
90 struct container_rebind<Cont<V, A, P0, P1, P2>, U>
92 …ts<typename real_allocator<V, A>::type>::template portable_rebind_alloc<U>::type, P0, P1, P2> type;
96 , typename V, typename A, class P0, class P1, class P2, class P3
98 struct container_rebind<Cont<V, A, P0, P1, P2, P3>, U>
100 …ypename real_allocator<V, A>::type>::template portable_rebind_alloc<U>::type, P0, P1, P2, P3> type;
104 , typename V, typename A, class P0, class P1, class P2, class P3, class P4
106 struct container_rebind<Cont<V, A, P0, P1, P2, P3, P4>, U>
108 …ame real_allocator<V, A>::type>::template portable_rebind_alloc<U>::type, P0, P1, P2, P3, P4> type;
112 , typename V, typename A, class P0, class P1, class P2, class P3, class P4, class P5
[all …]
/third_party/boost/boost/move/detail/
Dpointer_element.hpp74 , class P0, class P1, class P2>
76 < TemplateClass<T, P0, P1, P2> >
82 , class P0, class P1, class P2, class P3>
84 < TemplateClass<T, P0, P1, P2, P3> >
90 , class P0, class P1, class P2, class P3, class P4>
92 < TemplateClass<T, P0, P1, P2, P3, P4> >
98 , class P0, class P1, class P2, class P3, class P4, class P5>
100 < TemplateClass<T, P0, P1, P2, P3, P4, P5> >
106 , class P0, class P1, class P2, class P3, class P4, class P5, class P6>
108 < TemplateClass<T, P0, P1, P2, P3, P4, P5, P6> >
[all …]
/third_party/boost/boost/geometry/algorithms/detail/
Dazimuth.hpp56 template <typename P1, typename P2, typename Spheroid>
57 static inline ReturnType apply(P1 const& p1, P2 const& p2, Spheroid const& spheroid) in apply()
65 template <typename P1, typename P2>
66 static inline ReturnType apply(P1 const& p1, P2 const& p2) in apply()
75 template <typename P1, typename P2, typename Sphere>
76 static inline ReturnType apply(P1 const& p1, P2 const& p2, Sphere const& /*unused*/) in apply()
83 template <typename P1, typename P2>
84 static inline ReturnType apply(P1 const& p1, P2 const& p2) in apply()
98 template <typename P1, typename P2, typename Plane>
99 static inline ReturnType apply(P1 const& p1, P2 const& p2, Plane const& /*unused*/) in apply()
[all …]
/third_party/boost/boost/mpl/map/aux_/preprocessed/no_ctps/
Dmap10.hpp101 typename P0, typename P1, typename P2
106 , typename P2::first
107 , typename P2::second
134 typename P0, typename P1, typename P2, typename P3
141 , map3< P0,P1,P2 >
167 typename P0, typename P1, typename P2, typename P3, typename P4
174 , map4< P0,P1,P2,P3 >
200 typename P0, typename P1, typename P2, typename P3, typename P4
208 , map5< P0,P1,P2,P3,P4 >
234 typename P0, typename P1, typename P2, typename P3, typename P4
[all …]
Dmap20.hpp35 typename P0, typename P1, typename P2, typename P3, typename P4
44 , map10< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9 >
70 typename P0, typename P1, typename P2, typename P3, typename P4
79 , map11< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10 >
105 typename P0, typename P1, typename P2, typename P3, typename P4
114 , map12< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11 >
140 typename P0, typename P1, typename P2, typename P3, typename P4
149 , map13< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12 >
175 typename P0, typename P1, typename P2, typename P3, typename P4
184 , map14< P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13 >
[all …]
/third_party/boost/boost/mpl/map/aux_/preprocessed/plain/
Dmap10.hpp83 typename P0, typename P1, typename P2
88 , typename P2::first
89 , typename P2::second
110 typename P0, typename P1, typename P2, typename P3
117 , map3< P0,P1,P2 >
137 typename P0, typename P1, typename P2, typename P3, typename P4
144 , map4< P0,P1,P2,P3 >
164 typename P0, typename P1, typename P2, typename P3, typename P4
172 , map5< P0,P1,P2,P3,P4 >
192 typename P0, typename P1, typename P2, typename P3, typename P4
[all …]

12345678910>>...16