/third_party/boost/libs/smart_ptr/test/ |
D | lsp_array_test.cpp | 87 boost::local_shared_ptr<X[]> px2( new X[ 3 ] ); in main() local 88 BOOST_TEST( px2 ); in main() 92 px2[0].shared_from_this(); in main() 107 X & rx = px2[ 0 ]; in main() 108 BOOST_TEST( &rx == px2.get() ); in main() 111 boost::local_shared_ptr<X const[]> px3( px2 ); in main() 112 BOOST_TEST( px3 == px2 ); in main() 113 BOOST_TEST( !( px2 < px3 ) && !( px3 < px2 ) ); in main() 121 px3 = px2; in main() 122 BOOST_TEST( px3 == px2 ); in main() [all …]
|
D | sp_array_test.cpp | 87 boost::shared_ptr<X[]> px2( new X[ 3 ] ); in main() local 88 BOOST_TEST( px2 ); in main() 92 px2[0].shared_from_this(); in main() 107 X & rx = px2[ 0 ]; in main() 108 BOOST_TEST( &rx == px2.get() ); in main() 111 boost::shared_ptr<X const[]> px3( px2 ); in main() 112 BOOST_TEST( px3 == px2 ); in main() 113 BOOST_TEST( !( px2 < px3 ) && !( px3 < px2 ) ); in main() 121 px3 = px2; in main() 122 BOOST_TEST( px3 == px2 ); in main() [all …]
|
D | lsp_array_n_test.cpp | 87 boost::local_shared_ptr<X[3]> px2( new X[ 3 ] ); in main() local 88 BOOST_TEST( px2 ); in main() 92 px2[0].shared_from_this(); in main() 107 X & rx = px2[ 0 ]; in main() 108 BOOST_TEST( &rx == px2.get() ); in main() 111 boost::local_shared_ptr<X const[3]> px3( px2 ); in main() 112 BOOST_TEST( px3 == px2 ); in main() 113 BOOST_TEST( !( px2 < px3 ) && !( px3 < px2 ) ); in main() 121 px3 = px2; in main() 122 BOOST_TEST( px3 == px2 ); in main() [all …]
|
D | sp_array_n_test.cpp | 87 boost::shared_ptr<X[3]> px2( new X[ 3 ] ); in main() local 88 BOOST_TEST( px2 ); in main() 92 px2[0].shared_from_this(); in main() 107 X & rx = px2[ 0 ]; in main() 108 BOOST_TEST( &rx == px2.get() ); in main() 111 boost::shared_ptr<X const[3]> px3( px2 ); in main() 112 BOOST_TEST( px3 == px2 ); in main() 113 BOOST_TEST( !( px2 < px3 ) && !( px3 < px2 ) ); in main() 121 px3 = px2; in main() 122 BOOST_TEST( px3 == px2 ); in main() [all …]
|
D | lsp_array_cast_test.cpp | 32 boost::local_shared_ptr<X[5]> px2 = boost::static_pointer_cast<X[5]>( pv ); in static_cast_test() local 33 BOOST_TEST( px2.get() == 0 ); in static_cast_test() 59 boost::local_shared_ptr<X[]> px2 = boost::static_pointer_cast<X[]>( pv ); in static_cast_test() local 60 BOOST_TEST(px.get() == px2.get()); in static_cast_test() 61 BOOST_TEST(!(px < px2 || px2 < px)); in static_cast_test() 80 boost::local_shared_ptr<int[]> px2 = boost::const_pointer_cast<int[]>(px); in const_cast_test() local 81 BOOST_TEST( px2.get() == 0 ); in const_cast_test() 87 boost::local_shared_ptr<int[2]> px2 = boost::const_pointer_cast<int[2]>(px); in const_cast_test() local 88 BOOST_TEST( px2.get() == 0 ); in const_cast_test() 94 boost::local_shared_ptr<X[]> px2 = boost::const_pointer_cast<X[]>(px); in const_cast_test() local [all …]
|
D | sp_array_cast_test.cpp | 32 boost::shared_ptr<X[5]> px2 = boost::static_pointer_cast<X[5]>( pv ); in static_cast_test() local 33 BOOST_TEST( px2.get() == 0 ); in static_cast_test() 59 boost::shared_ptr<X[]> px2 = boost::static_pointer_cast<X[]>( pv ); in static_cast_test() local 60 BOOST_TEST(px.get() == px2.get()); in static_cast_test() 61 BOOST_TEST(!(px < px2 || px2 < px)); in static_cast_test() 80 boost::shared_ptr<int[]> px2 = boost::const_pointer_cast<int[]>(px); in const_cast_test() local 81 BOOST_TEST( px2.get() == 0 ); in const_cast_test() 87 boost::shared_ptr<int[2]> px2 = boost::const_pointer_cast<int[2]>(px); in const_cast_test() local 88 BOOST_TEST( px2.get() == 0 ); in const_cast_test() 94 boost::shared_ptr<X[]> px2 = boost::const_pointer_cast<X[]>(px); in const_cast_test() local [all …]
|
D | shared_ptr_test.cpp | 546 boost::shared_ptr<incomplete> px2(px); in copy_constructor() local 547 BOOST_TEST(px2 == px); in copy_constructor() 548 BOOST_TEST(px2? false: true); in copy_constructor() 549 BOOST_TEST(!px2); in copy_constructor() 550 BOOST_TEST(px2.get() == 0); in copy_constructor() 551 BOOST_TEST(px2.use_count() == px.use_count()); in copy_constructor() 601 boost::shared_ptr<X> px2(px); in copy_constructor() local 602 BOOST_TEST(px2 == px); in copy_constructor() 603 BOOST_TEST(px2? false: true); in copy_constructor() 604 BOOST_TEST(!px2); in copy_constructor() [all …]
|
D | intrusive_ptr_test.cpp | 209 boost::intrusive_ptr<X> px2(px); in copy_constructor() local 210 BOOST_TEST(px2.get() == px.get()); in copy_constructor() 221 boost::intrusive_ptr<X> px2(px); in copy_constructor() local 222 BOOST_TEST(px2.get() == px.get()); in copy_constructor() 233 boost::intrusive_ptr<X> px2(px); in copy_constructor() local 234 BOOST_TEST(px2.get() == px.get()); in copy_constructor() 247 boost::intrusive_ptr<X> px2(px); in copy_constructor() local 248 BOOST_TEST( px2.get() == px.get() ); in copy_constructor() 289 boost::intrusive_ptr<X> px2(px); in test() local 767 boost::intrusive_ptr<X> px2; in test() local [all …]
|
D | sp_atomic_test.cpp | 32 boost::shared_ptr<X> px2( new X ); in main() local 33 boost::atomic_store( &px, px2 ); in main() 34 BOOST_TEST_SP_EQ( px, px2 ); in main() 38 BOOST_TEST_SP_EQ( p2, px2 ); in main() 42 BOOST_TEST_SP_EQ( p3, px2 ); in main() 66 boost::shared_ptr<X> px2( new X ); in main() local 67 boost::atomic_store_explicit( &px, px2, boost::memory_order_release ); in main() 68 BOOST_TEST_SP_EQ( px, px2 ); in main() 71 BOOST_TEST_SP_EQ( p3, px2 ); in main() 75 boost::shared_ptr<X> cmp( px2 ); in main()
|
D | atomic_sp_test.cpp | 170 boost::shared_ptr<X> px2( new X ); in main() local 173 bool r = apx.compare_exchange_weak( cmp, px2 ); in main() 178 r = apx.compare_exchange_weak( cmp, px2 ); in main() 180 BOOST_TEST_SP_EQ( apx.load(), px2 ); in main() 189 boost::shared_ptr<X> px2( new X ); in main() local 192 …bool r = apx.compare_exchange_weak( cmp, px2, boost::memory_order_seq_cst, boost::memory_order_seq… in main() 197 …r = apx.compare_exchange_weak( cmp, px2, boost::memory_order_seq_cst, boost::memory_order_seq_cst … in main() 199 BOOST_TEST_SP_EQ( apx.load(), px2 ); in main() 250 boost::shared_ptr<X> px2( new X ); in main() local 253 bool r = apx.compare_exchange_strong( cmp, px2 ); in main() [all …]
|
D | shared_from_raw_test4.cpp | 41 boost::shared_ptr< X const volatile > px2( px ); in main() local 45 boost::shared_ptr< X const volatile > qx2 = boost::shared_from_raw( px2.get() ); in main() 47 BOOST_TEST( px2 == qx2 ); in main() 48 BOOST_TEST( !( px2 < qx2 ) && !( qx2 < px2 ) ); in main()
|
D | shared_ptr_reinterpret_pointer_cast_test.cpp | 45 boost::shared_ptr<X> px2 = boost::reinterpret_pointer_cast<X>(pc); in main() local 46 BOOST_TEST(px.get() == px2.get()); in main() 47 BOOST_TEST(!(px < px2 || px2 < px)); in main() 50 BOOST_TEST(px2.use_count() == 3); in main()
|
D | intrusive_ptr_move_test.cpp | 215 X * px2 = px.get(); in main() local 218 BOOST_TEST( py.get() == px2 ); in main() 228 X const * px2 = px.get(); in main() local 231 BOOST_TEST( px3.get() == px2 ); in main() 241 X * px2 = px.get(); in main() local 244 BOOST_TEST( py.get() == px2 ); in main() 254 X * px2 = px.get(); in main() local 258 BOOST_TEST( px.get() == px2 ); in main()
|
D | shared_ptr_rv_pointer_cast_test.cpp | 51 boost::shared_ptr<int> px2 = boost::const_pointer_cast<int>(px); in main() local 55 BOOST_TEST(px2.get() == px3.get()); in main() 56 BOOST_TEST(!(px2 < px3 || px2 < px3)); in main() 57 BOOST_TEST(px2.use_count() == 2); in main()
|
D | array_fail_upa_sp_ma.cpp | 18 boost::shared_ptr<X> px2; px2 = std::unique_ptr<X[]>(); in main() local
|
/third_party/boost/libs/interprocess/test/ |
D | intrusive_ptr_test.cpp | 151 boost::interprocess::intrusive_ptr<X, VP> px2(px); in copy_constructor() local 152 BOOST_TEST(px2.get() == px.get()); in copy_constructor() 163 boost::interprocess::intrusive_ptr<X, VP> px2(px); in copy_constructor() local 164 BOOST_TEST(px2.get() == px.get()); in copy_constructor() 175 boost::interprocess::intrusive_ptr<X, VP> px2(px); in copy_constructor() local 176 BOOST_TEST(px2.get() == px.get()); in copy_constructor() 187 boost::interprocess::intrusive_ptr<X, VP> px2(px); in copy_constructor() local 188 BOOST_TEST(px2.get() == px.get()); in copy_constructor() 208 boost::interprocess::intrusive_ptr<X, VP> px2(boost::move(px)); in move_constructor() local 209 BOOST_TEST(px2.get() == x); in move_constructor() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_iir_lattice_q31.c | 66 q31_t *px1, *px2, *pk, *pv; /* Temporary pointers for state and coef */ in arm_iir_lattice_q31() local 93 px2 = pState; in arm_iir_lattice_q31() 107 *px2++ = gnext; in arm_iir_lattice_q31() 134 *px2++ = gnext; in arm_iir_lattice_q31() 148 *px2++ = gnext; in arm_iir_lattice_q31() 162 *px2++ = gnext; in arm_iir_lattice_q31() 177 *px2++ = gnext; in arm_iir_lattice_q31() 204 *px2++ = gnext; in arm_iir_lattice_q31() 214 *px2++ = fnext; in arm_iir_lattice_q31() 287 px2 = pState; in arm_iir_lattice_q31() [all …]
|
D | arm_iir_lattice_q15.c | 67 q15_t *px1, *px2, *pk, *pv; /* Temporary pointers for state and coef */ in arm_iir_lattice_q15() local 99 px2 = pState; in arm_iir_lattice_q15() 115 *px2++ = (q15_t) gnext; in arm_iir_lattice_q15() 141 *px2++ = (q15_t) gnext1; in arm_iir_lattice_q15() 154 *px2++ = (q15_t) gnext2; in arm_iir_lattice_q15() 184 *px2++ = (q15_t) gnext1; in arm_iir_lattice_q15() 197 *px2++ = (q15_t) gnext2; in arm_iir_lattice_q15() 242 *px2++ = (q15_t) gnext; in arm_iir_lattice_q15() 253 *px2++ = (q15_t) fnext; in arm_iir_lattice_q15() 324 px2 = pState; in arm_iir_lattice_q15() [all …]
|
D | arm_iir_lattice_f32.c | 131 float32_t *px1, *px2, *pk, *pv; /* Temporary pointers for state and coef */ in arm_iir_lattice_f32() local 161 px2 = pState; in arm_iir_lattice_f32() 204 *px2++ = gnext; in arm_iir_lattice_f32() 228 *px2++ = gnext; in arm_iir_lattice_f32() 243 *px2++ = gnext; in arm_iir_lattice_f32() 258 *px2++ = gnext; in arm_iir_lattice_f32() 286 *px2++ = gnext; in arm_iir_lattice_f32() 296 *px2++ = fnext2; in arm_iir_lattice_f32()
|
D | arm_fir_decimate_f32.c | 144 const float32_t *px0, *px1, *px2, *px3; in arm_fir_decimate_f32() local 188 px2 = pState + 2 * S->M; in arm_fir_decimate_f32() 214 x2v = vld1q(px2); in arm_fir_decimate_f32() 218 px2 += 4; in arm_fir_decimate_f32() 249 x2v = vld1q(px2); in arm_fir_decimate_f32() 253 px2 += 4; in arm_fir_decimate_f32() 394 float32_t *px0, *px1, *px2, *px3; in arm_fir_decimate_f32() local 431 px2 = pState + 2 * S->M; in arm_fir_decimate_f32() 452 x2v = vld1q_f32(px2); in arm_fir_decimate_f32() 457 px2 += 4; in arm_fir_decimate_f32() [all …]
|
D | arm_fir_decimate_q31.c | 76 const q31_t *px0, *px1, *px2, *px3; in arm_fir_decimate_q31() local 119 px2 = pState + 2 * S->M; in arm_fir_decimate_q31() 145 x2v = vld1q(px2); in arm_fir_decimate_q31() 149 px2 += 4; in arm_fir_decimate_q31() 180 x2v = vld1q(px2); in arm_fir_decimate_q31() 184 px2 += 4; in arm_fir_decimate_q31() 323 q31_t *px1, *px2, *px3; in arm_fir_decimate_q31() local 358 px2 = pState + 2 * S->M; in arm_fir_decimate_q31() 377 x2 = *(px2++); in arm_fir_decimate_q31() 393 x2 = *(px2++); in arm_fir_decimate_q31() [all …]
|
D | arm_fir_decimate_fast_q31.c | 79 q31_t *px1, *px2, *px3; in arm_fir_decimate_fast_q31() local 114 px2 = pState + 2 * S->M; in arm_fir_decimate_fast_q31() 133 x2 = *(px2++); in arm_fir_decimate_fast_q31() 149 x2 = *(px2++); in arm_fir_decimate_fast_q31() 164 x2 = *(px2++); in arm_fir_decimate_fast_q31() 179 x2 = *(px2++); in arm_fir_decimate_fast_q31() 203 x2 = *(px2++); in arm_fir_decimate_fast_q31()
|
/third_party/pixman/demos/ |
D | quad2quad.c | 17 double px2, double py2, in quad_to_quad() argument 115 t3 = px2 * px3 * t2; in quad_to_quad() 116 t4 = (t3 - px2 * px3 * x2 * x3) * y2; in quad_to_quad() 118 t6 = px2 * px3 * t5 * y3; in quad_to_quad() 120 t7 = - px2 * px3 * x2 * x3 * y3; in quad_to_quad() 126 t12 = - px2 * py3 * t5 * y3; in quad_to_quad() 128 t13 = px2 * py3 * x2 * x3 * y3; in quad_to_quad() 131 t16 = px2 * py3; in quad_to_quad() 136 t20 = - px2 * py3 * x3; in quad_to_quad() 139 t22 = px2 * px3 * t5; in quad_to_quad() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_mult_fast_q31.c | 75 q31_t *px2; in arm_mat_mult_fast_q31() local 103 px2 = px + numColsB; in arm_mat_mult_fast_q31() 165 *px2++ = sum3 << 1; in arm_mat_mult_fast_q31() 166 *px2++ = sum4 << 1; in arm_mat_mult_fast_q31() 175 px = px2 + (numColsB & 1U); in arm_mat_mult_fast_q31() 176 px2 = px + numColsB; in arm_mat_mult_fast_q31()
|
D | arm_mat_mult_fast_q15.c | 89 q15_t *pInA2, *pInB2, *px2; in arm_mat_mult_fast_q15() local 225 px2 = px + numColsB; in arm_mat_mult_fast_q15() 339 *px2++ = (q15_t) (sum3 >> 15); in arm_mat_mult_fast_q15() 340 *px2++ = (q15_t) (sum4 >> 15); in arm_mat_mult_fast_q15() 353 px = px2 + (numColsB & 1U); in arm_mat_mult_fast_q15() 354 px2 = px + numColsB; in arm_mat_mult_fast_q15()
|