/third_party/boost/libs/algorithm/test/ |
D | reduce_test.cpp | 48 int ia[] = {1, 2, 3, 4, 5, 6}; in test_init_op() local 49 unsigned sa = sizeof(ia) / sizeof(ia[0]); in test_init_op() 50 test_reduce(Iter(ia), Iter(ia), 0, std::plus<int>(), 0); in test_init_op() 51 test_reduce(Iter(ia), Iter(ia), 1, std::multiplies<int>(), 1); in test_init_op() 52 test_reduce(Iter(ia), Iter(ia+1), 0, std::plus<int>(), 1); in test_init_op() 53 test_reduce(Iter(ia), Iter(ia+1), 2, std::multiplies<int>(), 2); in test_init_op() 54 test_reduce(Iter(ia), Iter(ia+2), 0, std::plus<int>(), 3); in test_init_op() 55 test_reduce(Iter(ia), Iter(ia+2), 3, std::multiplies<int>(), 6); in test_init_op() 56 test_reduce(Iter(ia), Iter(ia+sa), 0, std::plus<int>(), 21); in test_init_op() 57 test_reduce(Iter(ia), Iter(ia+sa), 4, std::multiplies<int>(), 2880); in test_init_op() [all …]
|
D | transform_reduce_test.cpp | 44 int ia[] = {1, 2, 3, 4, 5, 6}; in test_init_bop_uop() local 45 unsigned sa = sizeof(ia) / sizeof(ia[0]); in test_init_bop_uop() 47 test_init_bop_uop(Iter(ia), Iter(ia), 0, std::plus<int>(), identity<int>(), 0); in test_init_bop_uop() 48 test_init_bop_uop(Iter(ia), Iter(ia), 1, std::multiplies<int>(), identity<int>(), 1); in test_init_bop_uop() 49 test_init_bop_uop(Iter(ia), Iter(ia+1), 0, std::multiplies<int>(), identity<int>(), 0); in test_init_bop_uop() 50 test_init_bop_uop(Iter(ia), Iter(ia+1), 2, std::plus<int>(), identity<int>(), 3); in test_init_bop_uop() 51 test_init_bop_uop(Iter(ia), Iter(ia+2), 0, std::plus<int>(), identity<int>(), 3); in test_init_bop_uop() 52 test_init_bop_uop(Iter(ia), Iter(ia+2), 3, std::multiplies<int>(), identity<int>(), 6); in test_init_bop_uop() 53 test_init_bop_uop(Iter(ia), Iter(ia+sa), 4, std::multiplies<int>(), identity<int>(), 2880); in test_init_bop_uop() 54 test_init_bop_uop(Iter(ia), Iter(ia+sa), 4, std::plus<int>(), identity<int>(), 25); in test_init_bop_uop() [all …]
|
D | transform_inclusive_scan_test.cpp | 57 int ia[] = { 1, 3, 5, 7, 9}; in transform_inclusive_scan_test() local 62 const unsigned sa = sizeof(ia) / sizeof(ia[0]); in transform_inclusive_scan_test() 69 …transform_inclusive_scan_test(Iter(ia), Iter(ia + i), std::plus<int>(), identity<int>(), … in transform_inclusive_scan_test() 70 …transform_inclusive_scan_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>(), … in transform_inclusive_scan_test() 71 …transform_inclusive_scan_test(Iter(ia), Iter(ia + i), std::plus<int>(), std::negate<int>(), … in transform_inclusive_scan_test() 72 …transform_inclusive_scan_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int>(), … in transform_inclusive_scan_test() 148 int ia[] = { 1, 3, 5, 7, 9}; in transform_inclusive_scan_init_test() local 157 const unsigned sa = sizeof(ia) / sizeof(ia[0]); in transform_inclusive_scan_init_test() 168 …transform_inclusive_scan_init_test(Iter(ia), Iter(ia + i), std::plus<int>(), identity<int>()… in transform_inclusive_scan_init_test() 169 …transform_inclusive_scan_init_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>()… in transform_inclusive_scan_init_test() [all …]
|
D | for_each_n_test.cpp | 32 int ia[] = {0, 1, 2, 3, 4, 5}; in test_for_each_n() local 33 const unsigned s = sizeof(ia)/sizeof(ia[0]); in test_for_each_n() 37 Iter it = ba::for_each_n(Iter(ia), 0, for_each_test()); in test_for_each_n() 38 BOOST_CHECK(it == Iter(ia)); in test_for_each_n() 44 Iter it = ba::for_each_n(Iter(ia), s, for_each_test()); in test_for_each_n() 46 BOOST_CHECK(it == Iter(ia+s)); in test_for_each_n() 49 BOOST_CHECK(ia[i] == static_cast<int>(i+1)); in test_for_each_n() 54 Iter it = ba::for_each_n(Iter(ia), 1, for_each_test()); in test_for_each_n() 56 BOOST_CHECK(it == Iter(ia+1)); in test_for_each_n() 59 BOOST_CHECK(ia[i] == static_cast<int>(i+2)); in test_for_each_n()
|
D | transform_exclusive_scan_test.cpp | 57 int ia[] = { 1, 3, 5, 7, 9}; in test() local 66 const unsigned sa = sizeof(ia) / sizeof(ia[0]); in test() 77 … test(Iter(ia), Iter(ia + i), std::plus<int>(), identity<int>(), 0, pResI0, pResI0 + i); in test() 78 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>(), 0, mResI0, mResI0 + i); in test() 79 … test(Iter(ia), Iter(ia + i), std::plus<int>(), std::negate<int>(), 0, pResN0, pResN0 + i); in test() 80 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int>(), 0, mResN0, mResN0 + i); in test() 81 … test(Iter(ia), Iter(ia + i), std::plus<int>(), identity<int>(), 2, pResI2, pResI2 + i); in test() 82 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>(), 2, mResI2, mResI2 + i); in test() 83 … test(Iter(ia), Iter(ia + i), std::plus<int>(), std::negate<int>(), 2, pResN2, pResN2 + i); in test() 84 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int>(), 2, mResN2, mResN2 + i); in test()
|
/third_party/boost/libs/date_time/test/gregorian/ |
D | testgreg_serialize.cpp | 124 archive::xml_iarchive ia(iss); in main() local 126 archive::text_iarchive ia(iss); in main() local 131 ia >> BOOST_SERIALIZATION_NVP(d2); in main() 132 ia >> BOOST_SERIALIZATION_NVP(sv_d3); in main() 133 ia >> BOOST_SERIALIZATION_NVP(sv_d4); in main() 134 ia >> BOOST_SERIALIZATION_NVP(dd2); in main() 135 ia >> BOOST_SERIALIZATION_NVP(sv_dd2); in main() 136 ia >> BOOST_SERIALIZATION_NVP(dp2); in main() 137 ia >> BOOST_SERIALIZATION_NVP(gy2); in main() 138 ia >> BOOST_SERIALIZATION_NVP(gm2); in main() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/ |
D | arm_cfft_radix2_q15.c | 96 uint32_t n1, n2, ia; in arm_radix2_butterfly_q15() local 106 ia = 0; in arm_radix2_butterfly_q15() 111 coeff = read_q15x2 ((q15_t *)pCoef + (ia * 2U)); in arm_radix2_butterfly_q15() 113 ia = ia + twidCoefModifier; in arm_radix2_butterfly_q15() 139 coeff = read_q15x2 ((q15_t *)pCoef + (ia * 2U)); in arm_radix2_butterfly_q15() 141 ia = ia + twidCoefModifier; in arm_radix2_butterfly_q15() 179 ia = 0; in arm_radix2_butterfly_q15() 184 coeff = read_q15x2 ((q15_t *)pCoef + (ia * 2U)); in arm_radix2_butterfly_q15() 186 ia = ia + twidCoefModifier; in arm_radix2_butterfly_q15() 242 ia = 0; in arm_radix2_butterfly_q15() [all …]
|
D | arm_cfft_radix2_q31.c | 97 unsigned n1, n2, ia; in arm_radix2_butterfly_q31() local 106 ia = 0; in arm_radix2_butterfly_q31() 111 cosVal = pCoef[ia * 2]; in arm_radix2_butterfly_q31() 112 sinVal = pCoef[(ia * 2) + 1]; in arm_radix2_butterfly_q31() 113 ia = ia + twidCoefModifier; in arm_radix2_butterfly_q31() 140 ia = 0; in arm_radix2_butterfly_q31() 145 cosVal = pCoef[ia * 2]; in arm_radix2_butterfly_q31() 146 sinVal = pCoef[(ia * 2) + 1]; in arm_radix2_butterfly_q31() 147 ia = ia + twidCoefModifier; in arm_radix2_butterfly_q31() 179 ia = 0; in arm_radix2_butterfly_q31() [all …]
|
D | arm_cfft_radix2_f32.c | 121 uint32_t n1, n2, ia; in arm_radix2_butterfly_f32() local 130 ia = 0; in arm_radix2_butterfly_f32() 136 cosVal = pCoef[ia * 2]; in arm_radix2_butterfly_f32() 137 sinVal = pCoef[(ia * 2) + 1]; in arm_radix2_butterfly_f32() 140 ia += twidCoefModifier; in arm_radix2_butterfly_f32() 174 ia = 0; in arm_radix2_butterfly_f32() 180 cosVal = pCoef[ia * 2]; in arm_radix2_butterfly_f32() 181 sinVal = pCoef[(ia * 2) + 1]; in arm_radix2_butterfly_f32() 182 ia += twidCoefModifier; in arm_radix2_butterfly_f32() 237 ia = 0; in arm_radix2_butterfly_f32() [all …]
|
D | arm_cfft_radix2_f16.c | 123 uint32_t n1, n2, ia; in arm_radix2_butterfly_f16() local 132 ia = 0; in arm_radix2_butterfly_f16() 138 cosVal = pCoef[ia * 2]; in arm_radix2_butterfly_f16() 139 sinVal = pCoef[(ia * 2) + 1]; in arm_radix2_butterfly_f16() 142 ia += twidCoefModifier; in arm_radix2_butterfly_f16() 176 ia = 0; in arm_radix2_butterfly_f16() 182 cosVal = pCoef[ia * 2]; in arm_radix2_butterfly_f16() 183 sinVal = pCoef[(ia * 2) + 1]; in arm_radix2_butterfly_f16() 184 ia += twidCoefModifier; in arm_radix2_butterfly_f16() 239 ia = 0; in arm_radix2_butterfly_f16() [all …]
|
/third_party/boost/libs/date_time/test/posix_time/ |
D | testtime_serialize.cpp | 89 archive::xml_iarchive ia(iss); in main() local 91 archive::text_iarchive ia(iss); in main() local 96 ia >> BOOST_SERIALIZATION_NVP(pt2); in main() 97 ia >> BOOST_SERIALIZATION_NVP(sv_pt3); in main() 98 ia >> BOOST_SERIALIZATION_NVP(sv_pt4); in main() 99 ia >> BOOST_SERIALIZATION_NVP(tp2); in main() 100 ia >> BOOST_SERIALIZATION_NVP(td2); in main() 101 ia >> BOOST_SERIALIZATION_NVP(sv_td2); in main() 103 ia >> pt2; in main() 104 ia >> sv_pt3; in main() [all …]
|
/third_party/boost/libs/serialization/test/ |
D | test_const_pass.cpp | 34 void f3(boost::archive::text_iarchive & ia, A & a){ in f3() argument 35 ia & a; in f3() 36 ia & BOOST_SERIALIZATION_NVP(a); in f3() 37 ia >> a; in f3() 38 ia >> BOOST_SERIALIZATION_NVP(a); in f3() 40 void f4(boost::archive::text_iarchive & ia, A * & a){ in f4() argument 41 ia & a; in f4() 42 ia & BOOST_SERIALIZATION_NVP(a); in f4() 43 ia >> a; in f4() 44 ia >> BOOST_SERIALIZATION_NVP(a); in f4()
|
D | test_check.cpp | 88 boost::archive::text_iarchive ia(s); in main() local 91 ia >> c1_in; // check_const_loading in main() 94 ia >> c1_ptr_in; // warn check_pointer_level in main() 97 ia >> c2_ptr_in; // error check_object_versioning in main() 100 ia >> c3_ptr_in; // warning check_pointer_tracking in main() 103 ia >> c2_in; // error check_object_versioning in main() 127 boost::archive::text_iarchive ia(s); in main() local 130 ia >> BOOST_SERIALIZATION_NVP(c1_in); // check_const_loading in main() 133 ia >> BOOST_SERIALIZATION_NVP(c1_ptr_in); // warn check_pointer_level in main() 136 ia >> BOOST_SERIALIZATION_NVP(c2_ptr_in); // error check_object_versioning in main() [all …]
|
D | test_reset_object_address.cpp | 49 boost::archive::text_iarchive ia(ss); in test1() local 52 ia >> a2; in test1() 56 ia.reset_object_address(& a1, & a2); in test1() 93 boost::archive::text_iarchive ia(ss); in test2() local 96 ia >> b2; in test2() 100 ia.reset_object_address(& b1, & b2); in test2() 101 ia >> b1_ptr; in test2() 136 boost::archive::text_iarchive ia(ss); in test3() local 138 ia >> d2; in test3() 140 ia.reset_object_address(& d1, & d2); in test3() [all …]
|
D | test_dll_simple.cpp | 50 boost::archive::text_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test1() local 51 ia >> boost::serialization::make_nvp("a", a1); in test1() 74 boost::archive::polymorphic_text_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test2() local 75 boost::archive::polymorphic_iarchive & pia(ia); in test2() 98 boost::archive::text_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test3() local 99 ia >> boost::serialization::make_nvp("a", a1); in test3() 123 boost::archive::polymorphic_text_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test4() local 124 boost::archive::polymorphic_iarchive & pia(ia); in test4() 150 boost::archive::text_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test5() local 151 ia >> boost::serialization::make_nvp("b", b1); in test5() [all …]
|
D | test_tracking.cpp | 81 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in in() local 91 ia >> BOOST_SERIALIZATION_NVP(an) >> BOOST_SERIALIZATION_NVP(an); in in() 93 ia >> BOOST_SERIALIZATION_NVP(as) >> BOOST_SERIALIZATION_NVP(as); in in() 95 ia >> BOOST_SERIALIZATION_NVP(aa) >> BOOST_SERIALIZATION_NVP(aa); in in() 105 ia >> BOOST_SERIALIZATION_NVP(pan); in in() 106 ia >> BOOST_SERIALIZATION_NVP(pan); in in() 108 ia >> BOOST_SERIALIZATION_NVP(pas); in in() 109 ia >> BOOST_SERIALIZATION_NVP(pas); in in() 111 ia >> BOOST_SERIALIZATION_NVP(paa); in in() 112 ia >> BOOST_SERIALIZATION_NVP(paa); in in()
|
D | test_registered.cpp | 88 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in load_derived() local 95 ia.register_type(static_cast<polymorphic_derived1 *>(NULL)); in load_derived() 96 ia.register_type(static_cast<polymorphic_derived2 *>(NULL)); in load_derived() 98 ia >> BOOST_SERIALIZATION_NVP(rd1); in load_derived() 114 ia >> BOOST_SERIALIZATION_NVP(rd2); in load_derived() 131 ia >> BOOST_SERIALIZATION_NVP(rb1); in load_derived() 150 ia >> BOOST_SERIALIZATION_NVP(rb2); in load_derived() 192 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in load_registered() local 199 ia.register_type(static_cast<polymorphic_derived1 *>(NULL)); in load_registered() 200 ia.register_type(static_cast<polymorphic_derived2 *>(NULL)); in load_registered() [all …]
|
D | test_unregistered.cpp | 105 boost::archive::iarchive ia(is); 113 ia >> BOOST_SERIALIZATION_NVP(rb1); 159 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in load_unregistered2() local 167 ia >> BOOST_SERIALIZATION_NVP(rd1); in load_unregistered2() 206 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in load_registered() local 213 ia.register_type(static_cast<polymorphic_derived1 *>(NULL)); in load_registered() 214 ia.register_type(static_cast<polymorphic_derived2 *>(NULL)); in load_registered() 216 ia >> BOOST_SERIALIZATION_NVP(rb1); in load_registered() 230 ia >> BOOST_SERIALIZATION_NVP(rb2); in load_registered() 273 test_iarchive ia(is); in load_unregistered_pointer() local [all …]
|
D | test_variant.cpp | 101 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test_type() local 102 ia >> boost::serialization::make_nvp("written", got_read); in test_type() 134 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in do_bad_read() local 137 ia >> BOOST_SERIALIZATION_NVP(little_variant); in do_bad_read() 195 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test_pointer() local 196 ia >> boost::serialization::make_nvp("written", v2); in test_pointer() 198 ia >> boost::serialization::make_nvp("written", h2_ptr); in test_pointer() 230 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in test_variant_set() local 231 ia >> boost::serialization::make_nvp("written", set2); in test_variant_set() 233 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_set() [all …]
|
D | test_shared_ptr_132.cpp | 99 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in load() local 100 ia >> BOOST_SERIALIZATION_NVP(spa); in load() 143 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in load2() local 144 ia >> BOOST_SERIALIZATION_NVP(first); in load2() 145 ia >> BOOST_SERIALIZATION_NVP(second); in load2() 192 test_iarchive ia(is, TEST_ARCHIVE_FLAGS); in load3() local 194 ia >> BOOST_SERIALIZATION_NVP(third); in load3() 197 ia >> BOOST_SERIALIZATION_NVP(first); in load3() 198 ia >> BOOST_SERIALIZATION_NVP(second); in load3()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | bind_test.cc | 46 const int ia[] = { 10, 20, 30, 40}; in TEST_F() local 47 const FormatArgImpl args[] = {FormatArgImpl(ia[0]), FormatArgImpl(ia[1]), in TEST_F() 48 FormatArgImpl(ia[2]), FormatArgImpl(ia[3])}; in TEST_F() 125 const int ia[] = { 10, 20, 30, 40, -10 }; in TEST_F() local 126 const FormatArgImpl args[] = {FormatArgImpl(ia[0]), FormatArgImpl(ia[1]), in TEST_F() 127 FormatArgImpl(ia[2]), FormatArgImpl(ia[3]), in TEST_F() 128 FormatArgImpl(ia[4])}; in TEST_F()
|
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | bind_test.cc | 32 const int ia[] = { 10, 20, 30, 40}; in TEST_F() local 33 const FormatArgImpl args[] = {FormatArgImpl(ia[0]), FormatArgImpl(ia[1]), in TEST_F() 34 FormatArgImpl(ia[2]), FormatArgImpl(ia[3])}; in TEST_F() 111 const int ia[] = { 10, 20, 30, 40, -10 }; in TEST_F() local 112 const FormatArgImpl args[] = {FormatArgImpl(ia[0]), FormatArgImpl(ia[1]), in TEST_F() 113 FormatArgImpl(ia[2]), FormatArgImpl(ia[3]), in TEST_F() 114 FormatArgImpl(ia[4])}; in TEST_F()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedBase.cpp | 136 glw::GLint ia[4]; in CheckBuffer() local 140 gl.getIntegeri_v(GL_COLOR_WRITEMASK, idx, ia); in CheckBuffer() 143 if ((ia[0] != state[idx].mask_r) || (static_cast<int>(lia[0]) != state[idx].mask_r) || in CheckBuffer() 144 (static_cast<int>(ba[0]) != state[idx].mask_r) || (ia[1] != state[idx].mask_g) || in CheckBuffer() 146 (ia[2] != state[idx].mask_b) || (static_cast<int>(lia[2]) != state[idx].mask_b) || in CheckBuffer() 147 (static_cast<int>(ba[2]) != state[idx].mask_b) || (ia[3] != state[idx].mask_a) || in CheckBuffer() 154 << "int: " << ia[0] << ", " << ia[1] << ", " << ia[2] << ", " << ia[3] << "\n" in CheckBuffer() 170 gl.getIntegerv(GL_COLOR_WRITEMASK, ia); in CheckBuffer() 174 if ((ia[0] != state[idx].mask_r) || (static_cast<int>(lia[0]) != state[idx].mask_r) || in CheckBuffer() 175 (ia[1] != state[idx].mask_g) || (static_cast<int>(lia[1]) != state[idx].mask_g) || in CheckBuffer() [all …]
|
/third_party/libffi/testsuite/libffi.call/ |
D | align_stdcall.c | 29 int ia[2] = {1,2}; in main() local 30 void *values[4] = {&ia[0], &fa[0], &ia[1], &fa[1]}; in main() 37 ff = align_arguments(ia[0], fa[0], ia[1], fa[1]);; in main()
|
D | align_mixed.c | 29 int ia[2] = {1,2}; in main() local 30 void *values[4] = {&ia[0], &fa[0], &ia[1], &fa[1]}; in main() 37 ff = align_arguments(ia[0], fa[0], ia[1], fa[1]); in main()
|