Home
last modified time | relevance | path

Searched defs:p2 (Results 1 – 25 of 1319) sorted by relevance

12345678910>>...53

/third_party/boost/libs/smart_ptr/test/
Dpointer_cast_test2.cpp43 std::unique_ptr<int> p2 = boost::static_pointer_cast<int>( std::move( p1 ) ); in test_static_cast() local
53 std::unique_ptr<int const> p2 = boost::static_pointer_cast<int const>( std::move( p1 ) ); in test_static_cast() local
63 std::unique_ptr<int[]> p2 = boost::static_pointer_cast<int[]>( std::move( p1 ) ); in test_static_cast() local
73 … std::unique_ptr<int const[]> p2 = boost::static_pointer_cast<int const[]>( std::move( p1 ) ); in test_static_cast() local
83 std::unique_ptr<B1> p2 = boost::static_pointer_cast<B1>( std::move( p1 ) ); in test_static_cast() local
101 std::unique_ptr<int const> p2 = boost::const_pointer_cast<int const>( std::move( p1 ) ); in test_const_cast() local
116 std::unique_ptr<int const[]> p2 = boost::const_pointer_cast<int const[]>( std::move( p1 ) ); in test_const_cast() local
152 std::unique_ptr<B2> p2 = boost::dynamic_pointer_cast<B2>( std::move( p1 ) ); in test_dynamic_cast() local
162 std::unique_ptr<D2> p2 = boost::dynamic_pointer_cast<D2>( std::move( p1 ) ); in test_dynamic_cast() local
172 std::unique_ptr<D2> p2 = boost::dynamic_pointer_cast<D2>( std::move( p1 ) ); in test_dynamic_cast() local
[all …]
Dshared_ptr_alias_move_test.cpp51 boost::shared_ptr< int > p2( std::move( p ), &m ); in main() local
75 boost::shared_ptr< int const > p2( std::move( p ), &m ); in main() local
108 boost::shared_ptr< void const > p2( std::move( p ), 0 ); in main() local
143 boost::shared_ptr< incomplete > p2( std::move( p ), 0 ); in main() local
166 boost::shared_ptr< int const > p2( std::move( q ), &q->v_ ); in main() local
202 boost::shared_ptr< X > p2( std::move( p ), p.get() ); in main() local
225 boost::shared_ptr< X > p2(p); in main() local
Dshared_ptr_alias_test.cpp40 boost::shared_ptr< int > p2( p, &m ); in main() local
60 boost::shared_ptr< int const > p2( p, &m ); in main() local
80 boost::shared_ptr< void const > p2( p, 0 ); in main() local
102 boost::shared_ptr< incomplete > p2( p, 0 ); in main() local
121 boost::shared_ptr< int const > p2( p, &p->v_ ); in main() local
Dsp_bml_unique_ptr_test.cpp82 …id test_null_unique_ptr( boost::movelib::unique_ptr<T, D> p1, boost::movelib::unique_ptr<T, D> p2 ) in test_null_unique_ptr()
114 boost::shared_ptr<X> p2( boost::move( p ) ); in main() local
147 boost::shared_ptr<X const> p2( boost::move( p ) ); in main() local
180 boost::shared_ptr<void> p2( boost::move( p ) ); in main() local
203 boost::shared_ptr<Y> p2( boost::move( p ) ); in main() local
228 boost::shared_ptr<Y> p2( boost::move( p ) ); in main() local
253 boost::shared_ptr<Y> p2( boost::move( p ) ); in main() local
Dlocal_sp_test.cpp349 boost::local_shared_ptr<T> p2( p1 ); in empty_copy_test() local
375 boost::local_shared_ptr<T> p2( p1 ); in test_nonempty_copy() local
438 boost::local_shared_ptr<T> p2(( boost::local_shared_ptr<T>() )); in empty_move_test() local
464 boost::local_shared_ptr<T> p2( std::move(p1) ); in test_nonempty_move() local
526 template<class T, class U> void test_aliasing_( boost::local_shared_ptr<T> const & p1, U * p2 ) in test_aliasing_()
661 boost::local_shared_ptr<T> p2( p1 ); in empty_shared_ptr_copy_test() local
687 boost::local_shared_ptr<T> p2( p1 ); in test_nonempty_shared_ptr_copy() local
751 boost::local_shared_ptr<T> p2(( boost::shared_ptr<T>() )); in empty_shared_ptr_move_test() local
776 boost::local_shared_ptr<T> p2( std::move(p1) ); in test_nonempty_shared_ptr_move() local
842 boost::local_shared_ptr<T> p2( std::move( p1 ) ); in test_null_unique_ptr() local
[all …]
Dsp_unique_ptr_test.cpp83 … T, class D> static void test_null_unique_ptr( std::unique_ptr<T, D> p1, std::unique_ptr<T, D> p2 ) in test_null_unique_ptr()
115 boost::shared_ptr<X> p2( std::move( p ) ); in main() local
143 boost::shared_ptr<X const> p2( std::move( p ) ); in main() local
171 boost::shared_ptr<void> p2( std::move( p ) ); in main() local
194 boost::shared_ptr<Y> p2( std::move( p ) ); in main() local
219 boost::shared_ptr<Y> p2( std::move( p ) ); in main() local
244 boost::shared_ptr<Y> p2( std::move( p ) ); in main() local
Datomic_sp_test.cpp31 boost::shared_ptr<X> p2 = apx.load(); in main() local
43 boost::shared_ptr<X> p2 = apx.load(); in main() local
59 boost::shared_ptr<X> p2 = apx.load(); in main() local
72 boost::shared_ptr<X> p2 = apx.load( boost::memory_order_acquire ); in main() local
85 boost::shared_ptr<X> p2 = apx; in main() local
101 boost::shared_ptr<X> p2 = apx.load(); in main() local
117 boost::shared_ptr<X> p2 = apx.load(); in main() local
137 boost::shared_ptr<X> p2 = apx.load(); in main() local
157 boost::shared_ptr<X> p2 = apx.load(); in main() local
Dlsp_hash_test2.cpp19 boost::local_shared_ptr<int> p1, p2( new int ); in main() local
26 boost::local_shared_ptr<int[]> p1, p2( new int[1] ); in main() local
33 boost::local_shared_ptr<int[1]> p1, p2( new int[1] ); in main() local
/third_party/boost/libs/poly_collection/test/
Dtest_construction.cpp49 rooted_poly_collection p2{cp}; in test_allocator_aware_construction() local
54 rooted_poly_collection p2{cp}; in test_allocator_aware_construction() local
65 rooted_poly_collection p2{cp,root2}; in test_allocator_aware_construction() local
85 rooted_poly_collection p2{cp}; in test_allocator_aware_construction() local
108 rooted_poly_collection p2{root2}; in test_allocator_aware_construction() local
140 rooted_poly_collection p2{cp}; in test_allocator_aware_construction() local
179 rooted_poly_collection p2{cp}, in test_allocator_aware_construction() local
256 PolyCollection p2{cp.begin(),cp.end()}; in test_construction() local
264 PolyCollection p2{cp.template begin<type>(),cp.template end<type>()}; in test_construction() local
296 PolyCollection p2{cp}; in test_construction() local
[all …]
Dtest_comparison.cpp23 PolyCollection p1,p2; in test_comparison() local
33 PolyCollection p1,p2; in test_comparison() local
47 PolyCollection p1,p2; in test_comparison() local
62 PolyCollection p1,p2; in test_comparison() local
83 PolyCollection p1,p2; in test_comparison() local
102 PolyCollection p1,p2; in test_comparison() local
121 PolyCollection p1,p2; in test_comparison() local
/third_party/json/test/src/
Dunit-pointer_access.cpp47 const test_type* p2 = value.get_ptr<const test_type*>(); variable
76 const test_type* p2 = value.get_ptr<const test_type*>(); variable
105 const test_type* p2 = value.get_ptr<const test_type*>(); variable
134 const test_type* p2 = value.get_ptr<const test_type*>(); variable
163 const test_type* p2 = value.get_ptr<const test_type*>(); variable
192 const test_type* p2 = value.get_ptr<const test_type*>(); variable
221 const test_type* p2 = value.get_ptr<const test_type*>(); variable
250 const test_type* p2 = value.get_ptr<const test_type*>(); variable
279 const test_type* p2 = value.get_ptr<const test_type*>(); variable
308 const test_type* p2 = value.get_ptr<const test_type*>(); variable
[all …]
Dunit-reference_access.cpp63 const test_type& p2 = value.get_ref<const test_type&>(); variable
98 const test_type& p2 = value.get_ref<const test_type&>(); variable
113 const test_type& p2 = value.get_ref<const test_type&>(); variable
149 const test_type& p2 = value.get_ref<const test_type&>(); variable
185 const test_type& p2 = value.get_ref<const test_type&>(); variable
221 const test_type& p2 = value.get_ref<const test_type&>(); variable
257 const test_type& p2 = value.get_ref<const test_type&>(); variable
293 const test_type& p2 = value.get_ref<const test_type&>(); variable
/third_party/boost/libs/gil/test/core/point/
Dpoint.cpp35 gil::point<int> p2{p1}; in test_copy_constructor() local
43 gil::point<int> p2; in test_copy_assignment_operator() local
59 gil::point<int> const p2{2, 4}; in test_addition_operator() local
68 gil::point<int> const p2{2, 4}; in test_addition_assignment_operator() local
77 gil::point<int> const p2{1, 1}; in test_subtraction_assignment_operator() local
86 gil::point<int> const p2{1, 1}; in test_subtraction_operator() local
95 auto p2 = -p1; in test_unary_minus_operator() local
192 gil::point<int> p2{2, 4}; in test_equal_to_operator() local
199 gil::point<int> p2{2, 4}; in test_not_equal_to_operator() local
206 gil::point<int> const p2{1, 2}; in test_axis_value() local
/third_party/boost/libs/bind/test/
Dbind_function_ap_test.cpp43 void fv2( std::auto_ptr<int> p1, std::auto_ptr<int> p2 ) in fv2()
49 void fv3( std::auto_ptr<int> p1, std::auto_ptr<int> p2, std::auto_ptr<int> p3 ) in fv3()
56 void fv4( std::auto_ptr<int> p1, std::auto_ptr<int> p2, std::auto_ptr<int> p3, std::auto_ptr<int> p… in fv4()
64 void fv5( std::auto_ptr<int> p1, std::auto_ptr<int> p2, std::auto_ptr<int> p3, std::auto_ptr<int> p… in fv5()
73 void fv6( std::auto_ptr<int> p1, std::auto_ptr<int> p2, std::auto_ptr<int> p3, std::auto_ptr<int> p… in fv6()
83 void fv7( std::auto_ptr<int> p1, std::auto_ptr<int> p2, std::auto_ptr<int> p3, std::auto_ptr<int> p… in fv7()
94 void fv8( std::auto_ptr<int> p1, std::auto_ptr<int> p2, std::auto_ptr<int> p3, std::auto_ptr<int> p… in fv8()
106 void fv9( std::auto_ptr<int> p1, std::auto_ptr<int> p2, std::auto_ptr<int> p3, std::auto_ptr<int> p… in fv9()
133 std::auto_ptr<int> p2( new int(2) ); in test() local
142 std::auto_ptr<int> p2( new int(2) ); in test() local
[all …]
Dbind_unique_ptr_test.cpp34 void fv2( std::unique_ptr<int> p1, std::unique_ptr<int> p2 ) in fv2()
40 void fv3( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3 ) in fv3()
47 void fv4( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv4()
55 void fv5( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv5()
64 void fv6( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv6()
74 void fv7( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv7()
85 void fv8( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv8()
97 void fv9( std::unique_ptr<int> p1, std::unique_ptr<int> p2, std::unique_ptr<int> p3, std::unique_pt… in fv9()
120 std::unique_ptr<int> p2( new int(2) ); in test() local
127 std::unique_ptr<int> p2( new int(2) ); in test() local
[all …]
/third_party/boost/boost/preprocessor/repetition/
Denum_trailing_binary_params.hpp24 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS(count, p1, p2) BOOST_PP_REPEAT(count, BOOST_PP_ENU… argument
26 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS(count, p1, p2) BOOST_PP_ENUM_TRAILING_BINARY_PARAM… argument
27 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_I(count, p1, p2) BOOST_PP_REPEAT(count, BOOST_PP_E… argument
38 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_ENUM_TRAILING_BINARY_PA… argument
39 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_M_II(z, n, p1, p2) , p1 ## n p2 ## n argument
41 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_M_I(z, n, p1, p2) , BOOST_PP_CAT(p1, n) BOOST_PP_C… argument
47 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, B… argument
49 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_ENUM_TRAILING_BINARY_… argument
50 # define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z_I(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count,… argument
Denum_binary_params.hpp25 # define BOOST_PP_ENUM_BINARY_PARAMS(count, p1, p2) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_BINARY_… argument
27 # define BOOST_PP_ENUM_BINARY_PARAMS(count, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) argument
28 # define BOOST_PP_ENUM_BINARY_PARAMS_I(count, p1, p2) BOOST_PP_REPEAT(count, BOOST_PP_ENUM_BINAR… argument
39 # define BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_M_II(z, n, p1… argument
40 # define BOOST_PP_ENUM_BINARY_PARAMS_M_II(z, n, p1, p2) BOOST_PP_COMMA_IF(n) p1 ## n p2 ## n argument
42 # define BOOST_PP_ENUM_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(p1, n) … argument
48 # define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, BOOST_PP_E… argument
50 # define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, coun… argument
51 # define BOOST_PP_ENUM_BINARY_PARAMS_Z_I(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(count, BOOST_PP… argument
Denum_shifted_binary_params.hpp27 # define BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS(count, p1, p2) BOOST_PP_REPEAT(BOOST_PP_DEC(count),… argument
29 # define BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS(count, p1, p2) BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS_… argument
30 # define BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS_I(count, p1, p2) BOOST_PP_REPEAT(BOOST_PP_DEC(count… argument
40 # define BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS_M_I(z, n, p1, p2) BOOST_PP_COMMA_IF(n) BOOST_PP_CAT(p1… argument
45 # define BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(BOOST_PP_… argument
47 # define BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS_Z(z, count, p1, p2) BOOST_PP_ENUM_SHIFTED_BINARY_PA… argument
48 # define BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS_Z_I(z, count, p1, p2) BOOST_PP_REPEAT_ ## z(BOOST_P… argument
/third_party/boost/libs/geometry/test/arithmetic/
Dgeneral.cpp42 P2 p2(4, 5, 6); in BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS() local
59 P2 p2(4, 6, 8); in test_subtraction() local
76 P2 p2(4, 5, 6); in test_multiplication() local
93 P2 p2(2, 4, 6); in test_division() local
104 P2 p2(12, 34, 56); in test_assign() local
/third_party/typescript/tests/baselines/reference/
DinstantiatedModule.js41 var p2: { x: number; y: number } variable
43 var p2 = new m2.Point(); variable
44 var p2 = new M2.Point(); variable
98 var p2; variable
99 var p2; variable
100 var p2 = new m2.Point(); variable
101 var p2 = new M2.Point(); variable
DjqueryInference.js13 var p2 = shouldBeIdentity(p1); variable
14 var p2: MyPromise<boolean, any>; variable
19 var p2; variable
/third_party/boost/libs/thread/test/sync/futures/promise/
Dset_value_at_thread_exit_void_pass.cpp36 void func2_mv(boost::promise<void> p2) in func2_mv()
42 void func2(boost::promise<void> *p2) in func2()
68 boost::promise<void> p2; in main() local
88 boost::promise<void> p2; in main() local
/third_party/boost/libs/gil/test/core/pixel/
Dpacked_pixel.cpp87 fixture::packed_pixel_gray3 p2; in test_packed_pixel_gray3_assignment() local
95 fixture::packed_pixel_gray3 p2{int{5}}; in test_packed_pixel_gray3_equality() local
205 fixture::packed_pixel_bgr121 p2; in test_packed_pixel_bgr121_assignment() local
213 fixture::packed_pixel_bgr121 p2{1, 3, 0}; in test_packed_pixel_bgr121_equality() local
306 fixture::packed_pixel_rgb535 p2; in test_packed_pixel_rgb535_assignment() local
314 fixture::packed_pixel_rgb535 p2{7, 3, 7}; in test_packed_pixel_rgb535_equality() local
/third_party/boost/libs/fiber/test/
Dtest_promise_dispatch.cpp92 boost::fibers::promise< int > p2( std::allocator_arg, alloc); in test_promise_create() local
101 boost::fibers::promise< int& > p2( std::allocator_arg, alloc); in test_promise_create_ref() local
110 boost::fibers::promise< void > p2( std::allocator_arg, alloc); in test_promise_create_void() local
117 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_move() local
127 boost::fibers::promise< int& > p2( std::move( p1) ); in test_promise_move_ref() local
137 boost::fibers::promise< void > p2( std::move( p1) ); in test_promise_move_void() local
147 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_swap() local
157 boost::fibers::promise< int& > p2( std::move( p1) ); in test_promise_swap_ref() local
167 boost::fibers::promise< void > p2( std::move( p1) ); in test_promise_swap_void() local
190 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_get_future() local
[all …]
Dtest_promise_post.cpp92 boost::fibers::promise< int > p2( std::allocator_arg, alloc); in test_promise_create() local
101 boost::fibers::promise< int& > p2( std::allocator_arg, alloc); in test_promise_create_ref() local
110 boost::fibers::promise< void > p2( std::allocator_arg, alloc); in test_promise_create_void() local
117 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_move() local
127 boost::fibers::promise< int& > p2( std::move( p1) ); in test_promise_move_ref() local
137 boost::fibers::promise< void > p2( std::move( p1) ); in test_promise_move_void() local
147 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_swap() local
157 boost::fibers::promise< int& > p2( std::move( p1) ); in test_promise_swap_ref() local
167 boost::fibers::promise< void > p2( std::move( p1) ); in test_promise_swap_void() local
190 boost::fibers::promise< int > p2( std::move( p1) ); in test_promise_get_future() local
[all …]

12345678910>>...53