/third_party/boost/libs/bind/test/ |
D | bind_eq_test.cpp | 155 template<class F, class V> void test_1_(F f, V v1, V v2) in test_1_() argument 157 test_eq( boost::bind(f, v1), boost::bind(f, v1) ); in test_1_() 158 test_ne( boost::bind(f, v1), boost::bind(f, v2) ); in test_1_() 173 template<class F, class V> void test_2_(F f, V v1, V v2) in test_2_() argument 175 test_eq( boost::bind(f, v1, v1), boost::bind(f, v1, v1) ); in test_2_() 176 test_ne( boost::bind(f, v1, v1), boost::bind(f, v1, v2) ); in test_2_() 177 test_ne( boost::bind(f, v1, v1), boost::bind(f, v2, v1) ); in test_2_() 192 template<class F, class V> void test_3_(F f, V v1, V v2) in test_3_() argument 194 test_eq( boost::bind(f, v1, v1, v1), boost::bind(f, v1, v1, v1) ); in test_3_() 195 test_ne( boost::bind(f, v1, v1, v1), boost::bind(f, v1, v1, v2) ); in test_3_() [all …]
|
/third_party/boost/libs/phoenix/test/boost_bind_compatibility/ |
D | bind_eq_test.cpp | 189 template<class F, class V> void test_1_(F f, V v1, V v2) in test_1_() argument 191 test_eq( bind(f, v1), bind(f, v1) ); in test_1_() 192 test_ne( bind(f, v1), bind(f, v2) ); in test_1_() 207 template<class F, class V> void test_2_(F f, V v1, V v2) in test_2_() argument 209 test_eq( bind(f, v1, v1), bind(f, v1, v1) ); in test_2_() 210 test_ne( bind(f, v1, v1), bind(f, v1, v2) ); in test_2_() 211 test_ne( bind(f, v1, v1), bind(f, v2, v1) ); in test_2_() 226 template<class F, class V> void test_3_(F f, V v1, V v2) in test_3_() argument 228 test_eq( bind(f, v1, v1, v1), bind(f, v1, v1, v1) ); in test_3_() 229 test_ne( bind(f, v1, v1, v1), bind(f, v1, v1, v2) ); in test_3_() [all …]
|
/third_party/grpc/tools/interop_matrix/ |
D | client_matrix.py | 80 ('v1.0.1', ReleaseInfo(testcases_file='cxx__v1.0.1')), 81 ('v1.1.4', ReleaseInfo(testcases_file='cxx__v1.0.1')), 82 ('v1.2.5', ReleaseInfo(testcases_file='cxx__v1.0.1')), 83 ('v1.3.9', ReleaseInfo(testcases_file='cxx__v1.0.1')), 84 ('v1.4.2', ReleaseInfo(testcases_file='cxx__v1.0.1')), 85 ('v1.6.6', ReleaseInfo(testcases_file='cxx__v1.0.1')), 86 ('v1.7.2', ReleaseInfo(testcases_file='cxx__v1.0.1')), 87 ('v1.8.0', ReleaseInfo(testcases_file='cxx__v1.0.1')), 88 ('v1.9.1', ReleaseInfo(testcases_file='cxx__v1.0.1')), 89 ('v1.10.1', ReleaseInfo(testcases_file='cxx__v1.0.1')), [all …]
|
/third_party/unity/test/tests/ |
D | test_unity_integers.c | 82 UNITY_UINT16 v0, v1; in testNotEqualUInts() local 85 v1 = 9001; in testNotEqualUInts() 88 TEST_ASSERT_EQUAL_UINT(v0, v1); in testNotEqualUInts() 94 UNITY_UINT8 v0, v1; in testNotEqualUInt8s() local 97 v1 = 255; in testNotEqualUInt8s() 100 TEST_ASSERT_EQUAL_UINT8(v0, v1); in testNotEqualUInt8s() 106 UNITY_UINT16 v0, v1; in testNotEqualUInt16s() local 109 v1 = 65534u; in testNotEqualUInt16s() 112 TEST_ASSERT_EQUAL_UINT16(v0, v1); in testNotEqualUInt16s() 118 UNITY_UINT32 v0, v1; in testNotEqualUInt32s() local [all …]
|
/third_party/boost/libs/math/test/compile_test/ |
D | instantiate.hpp | 165 RealType v1(0.5), v2(0.5), v3(0.5); in instantiate() local 169 boost::math::tgamma(v1); in instantiate() 170 boost::math::tgamma1pm1(v1); in instantiate() 171 boost::math::lgamma(v1); in instantiate() 172 boost::math::lgamma(v1, &i); in instantiate() 173 boost::math::digamma(v1); in instantiate() 174 boost::math::trigamma(v1); in instantiate() 175 boost::math::polygamma(i, v1); in instantiate() 176 boost::math::tgamma_ratio(v1, v2); in instantiate() 177 boost::math::tgamma_delta_ratio(v1, v2); in instantiate() [all …]
|
/third_party/boost/libs/numeric/ublas/test/ |
D | test11.cpp | 21 void test_container_with (VP &v1) const { in test_container_with() 24 v1.insert_element (0, 55); in test_container_with() 25 v1.erase_element (1); in test_container_with() 26 v1.clear (); in test_container_with() 30 void test_expression_with (VP &v1, VP &v2, VP &v3) const { in test_expression_with() 40 initialize_vector (v1); in test_expression_with() 42 v1 = v2; in test_expression_with() 43 std::cout << "v1 = v2 = " << v1 << std::endl; in test_expression_with() 44 v1.assign_temporary (v2); in test_expression_with() 45 std::cout << "v1.assign_temporary (v2) = " << v1 << std::endl; in test_expression_with() [all …]
|
D | test22.cpp | 18 V v1 (N), v2 (N); in test() local 22 initialize_vector (v1); in test() 24 ublas::blas_2::tmv (v1, m); in test() 25 std::cout << "tmv (v1, m) = " << v1 << std::endl; in test() 26 initialize_vector (v1); in test() 28 ublas::blas_2::tmv (v1, ublas::trans (m)); in test() 29 std::cout << "tmv (v1, trans (m)) = " << v1 << std::endl; in test() 31 initialize_vector (v1); in test() 33 ublas::blas_2::tmv (v1, ublas::herm (m)); in test() 34 std::cout << "tmv (v1, herm (m)) = " << v1 << std::endl; in test() [all …]
|
D | test71.cpp | 22 void test_with (VP &v1, VP &v2, VP &v3) const { in test_with() 29 initialize_vector (v1); in test_with() 31 v1 = v2; in test_with() 32 std::cout << "v1 = v2 = " << v1 << std::endl; in test_with() 33 v1.assign_temporary (v2); in test_with() 34 std::cout << "v1.assign_temporary (v2) = " << v1 << std::endl; in test_with() 35 v1.swap (v2); in test_with() 36 std::cout << "v1.swap (v2) = " << v1 << " " << v2 << std::endl; in test_with() 39 v1 = ublas::zero_vector<value_type> (v1.size ()); in test_with() 40 std::cout << "v1.zero_vector = " << v1 << std::endl; in test_with() [all …]
|
D | test31.cpp | 23 void test_with (VP &v1, VP &v2, VP &v3) const { in test_with() 33 initialize_vector (v1); in test_with() 35 v1 = v2; in test_with() 36 std::cout << "v1 = v2 = " << v1 << std::endl; in test_with() 37 v1.assign_temporary (v2); in test_with() 38 std::cout << "v1.assign_temporary (v2) = " << v1 << std::endl; in test_with() 39 v1.swap (v2); in test_with() 40 std::cout << "v1.swap (v2) = " << v1 << " " << v2 << std::endl; in test_with() 43 v1 = ublas::zero_vector<> (v1.size ()); in test_with() 44 std::cout << "v1.zero_vector = " << v1 << std::endl; in test_with() [all …]
|
D | test21.cpp | 20 V v1 (N), v2 (N); in test() local 23 initialize_vector (v1); in test() 24 n = ublas::blas_1::asum (v1); in test() 25 std::cout << "asum (v1) = " << n << std::endl; in test() 28 initialize_vector (v1); in test() 29 n = ublas::blas_1::amax (v1); in test() 30 std::cout << "amax (v1) = " << n << std::endl; in test() 33 initialize_vector (v1); in test() 34 n = ublas::blas_1::nrm2 (v1); in test() 35 std::cout << "nrm2 (v1) = " << n << std::endl; in test() [all …]
|
/third_party/boost/libs/multiprecision/test/ublas_interop/ |
D | test11.cpp | 26 void test_container_with(VP& v1) const in test_container_with() 30 v1.insert_element(0, 55); in test_container_with() 31 v1.erase_element(1); in test_container_with() 32 v1.clear(); in test_container_with() 36 void test_expression_with(VP& v1, VP& v2, VP& v3) const in test_expression_with() 47 initialize_vector(v1); in test_expression_with() 49 v1 = v2; in test_expression_with() 50 std::cout << "v1 = v2 = " << v1 << std::endl; in test_expression_with() 51 v1.assign_temporary(v2); in test_expression_with() 52 std::cout << "v1.assign_temporary (v2) = " << v1 << std::endl; in test_expression_with() [all …]
|
D | test22.cpp | 23 V v1(N), v2(N); in test() local 27 initialize_vector(v1); in test() 29 ublas::blas_2::tmv(v1, m); in test() 30 std::cout << "tmv (v1, m) = " << v1 << std::endl; in test() 31 initialize_vector(v1); in test() 33 ublas::blas_2::tmv(v1, ublas::trans(m)); in test() 34 std::cout << "tmv (v1, trans (m)) = " << v1 << std::endl; in test() 36 initialize_vector(v1); in test() 38 ublas::blas_2::tmv(v1, ublas::herm(m)); in test() 39 std::cout << "tmv (v1, herm (m)) = " << v1 << std::endl; in test() [all …]
|
D | test71.cpp | 31 void test_with(VP& v1, VP& v2, VP& v3) const in test_with() 39 initialize_vector(v1); in test_with() 41 v1 = v2; in test_with() 42 std::cout << "v1 = v2 = " << v1 << std::endl; in test_with() 43 v1.assign_temporary(v2); in test_with() 44 std::cout << "v1.assign_temporary (v2) = " << v1 << std::endl; in test_with() 45 v1.swap(v2); in test_with() 46 std::cout << "v1.swap (v2) = " << v1 << " " << v2 << std::endl; in test_with() 49 v1 = ublas::zero_vector<value_type>(v1.size()); in test_with() 50 std::cout << "v1.zero_vector = " << v1 << std::endl; in test_with() [all …]
|
D | test31.cpp | 28 void test_with(VP& v1, VP& v2, VP& v3) const in test_with() 39 initialize_vector(v1); in test_with() 41 v1 = v2; in test_with() 42 std::cout << "v1 = v2 = " << v1 << std::endl; in test_with() 43 v1.assign_temporary(v2); in test_with() 44 std::cout << "v1.assign_temporary (v2) = " << v1 << std::endl; in test_with() 45 v1.swap(v2); in test_with() 46 std::cout << "v1.swap (v2) = " << v1 << " " << v2 << std::endl; in test_with() 49 v1 = ublas::zero_vector<>(v1.size()); in test_with() 50 std::cout << "v1.zero_vector = " << v1 << std::endl; in test_with() [all …]
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | test_sdwa.cpp | 31 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm 32 if (!setup_cs("v1 v1 s1 s1", (chip_class)i)) 37 …SDWA_instruction *sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).… 42 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa(); 52 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm 53 if (!setup_cs("v1 v1 s1 s1", (chip_class)i)) 57 …//~gfx7! SDWA is GFX8+ only: v1: %t0 = v_mul_f32 %a, %b dst_sel:dword src0_sel:dword src1_sel:dword 60 bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]); 68 //>> v1: %vgpr0, v1: %vgp1, s1: %sgpr0, s1: %sgpr1 = p_startpgm 69 if (!setup_cs("v1 v1 s1 s1", (chip_class)i)) [all …]
|
D | test_builder.cpp | 30 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm 31 if (!setup_cs("v1 v1 s1 s1", (chip_class)i)) 37 writeout(0, bld.v_mul_imm(bld.def(v1), inputs[0], 0)); 40 writeout(1, bld.v_mul_imm(bld.def(v1), inputs[0], 1)); 42 //! v1: %res2 = v_lshlrev_b32 2, %a 44 writeout(2, bld.v_mul_imm(bld.def(v1), inputs[0], 4)); 46 //! v1: %res3 = v_lshlrev_b32 31, %a 48 writeout(3, bld.v_mul_imm(bld.def(v1), inputs[0], 2147483648u)); 52 //~gfx8! v1: %res4_tmp = v_lshlrev_b32 3, %a 53 //~gfx8! v1: %res4, s2: %_ = v_add_co_u32 %res4_tmp, %a [all …]
|
D | test_optimizer.cpp | 30 //>> v1: %a, v1: %b, s1: %c, s1: %d = p_startpgm 31 if (!setup_cs("v1 v1 s1 s1", (chip_class)i)) 34 //! v1: %res0 = v_mul_f32 %a, -%b 37 writeout(0, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], neg_b)); 39 //~gfx9! v1: %neg_a = v_mul_f32 -1.0, %a 40 //~gfx9! v1: %res1 = v_mul_f32 0x123456, %neg_a 41 //~gfx10! v1: %res1 = v_mul_f32 0x123456, -%a 44 writeout(1, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), Operand::c32(0x123456u), neg_a)); 46 //! v1: %res2 = v_mul_f32 %a, %b 49 writeout(2, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), neg_neg_a, inputs[1])); [all …]
|
/third_party/mesa3d/src/gtest/include/gtest/ |
D | gtest_pred_impl.h | 46 // ASSERT_PRED_FORMAT1(pred_format, v1) 47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2) 58 // ASSERT_PRED1(pred, v1) 59 // ASSERT_PRED2(pred, v1, v2) 63 // and the values v1, v2, ..., must support the << operator for 90 const T1& v1) { in AssertPred1Helper() argument 91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper() 96 << e1 << " evaluates to " << ::testing::PrintToString(v1); in AssertPred1Helper() 101 #define GTEST_PRED_FORMAT1_(pred_format, v1, on_failure)\ argument 102 GTEST_ASSERT_(pred_format(#v1, v1), \ [all …]
|
/third_party/googletest/googletest/include/gtest/ |
D | gtest_pred_impl.h | 46 // ASSERT_PRED_FORMAT1(pred_format, v1) 47 // ASSERT_PRED_FORMAT2(pred_format, v1, v2) 58 // ASSERT_PRED1(pred, v1) 59 // ASSERT_PRED2(pred, v1, v2) 63 // and the values v1, v2, ..., must support the << operator for 90 const T1& v1) { in AssertPred1Helper() argument 91 if (pred(v1)) return AssertionSuccess(); in AssertPred1Helper() 96 << e1 << " evaluates to " << ::testing::PrintToString(v1); in AssertPred1Helper() 101 #define GTEST_PRED_FORMAT1_(pred_format, v1, on_failure)\ argument 102 GTEST_ASSERT_(pred_format(#v1, v1), \ [all …]
|
/third_party/boost/libs/sort/test/ |
D | test_block_indirect_sort.cpp | 37 std::vector< uint64_t > V1; in test1() local 38 V1.reserve (NElem); in test1() 41 V1.clear ( ); in test1() 42 for (uint32_t i = 0; i < NElem; ++i) V1.push_back (i); in test1() 44 block_indirect_sort ( V1.begin ( ), V1.end ( ), 4); in test1() 46 { BOOST_CHECK (V1[ i - 1 ] <= V1[ i ]); in test1() 50 V1.clear ( ); in test1() 51 for (uint32_t i = 0; i < NElem; ++i) V1.push_back (NElem - i); in test1() 53 block_indirect_sort ( V1.begin ( ), V1.end ( ), 4); in test1() 55 { BOOST_CHECK (V1[ i - 1 ] <= V1[ i ]); in test1() [all …]
|
/third_party/openh264/codec/decoder/core/arm64/ |
D | intra_pred_aarch64_neon.S | 80 dup v1.8b, v0.b[7] 81 ext v2.8b, v0.8b, v1.8b, #1 82 ext v3.8b, v0.8b, v1.8b, #2 84 uaddl v1.8h, v3.8b, v0.8b 85 add v1.8h, v1.8h, v2.8h 86 uqrshrn v1.8b, v1.8h, #2 87 st1 {v1.S}[0], [x0], x1 88 ext v0.8b, v1.8b, v2.8b, #1 90 ext v0.8b, v1.8b, v2.8b, #2 92 ext v0.8b, v1.8b, v2.8b, #3 [all …]
|
/third_party/openh264/codec/encoder/core/arm64/ |
D | intra_pred_aarch64_neon.S | 80 dup v1.8b, v0.b[7] 81 ext v2.8b, v0.8b, v1.8b, #1 82 ext v3.8b, v0.8b, v1.8b, #2 84 uaddl v1.8h, v3.8b, v0.8b 85 add v1.8h, v1.8h, v2.8h 86 uqrshrn v1.8b, v1.8h, #2 87 st1 {v1.S}[0], [x0], 4 88 ext v0.8b, v1.8b, v2.8b, #1 90 ext v0.8b, v1.8b, v2.8b, #2 92 ext v0.8b, v1.8b, v2.8b, #3 [all …]
|
/third_party/boost/libs/variant2/test/ |
D | variant_lt_gt.cpp | 27 #define TEST_EQ( v1, v2 ) \ argument 28 BOOST_TEST_NOT( v1 < v2 ); \ 29 BOOST_TEST_NOT( v1 > v2 ); \ 30 BOOST_TEST( v1 <= v2 ); \ 31 BOOST_TEST( v1 >= v2 ); 33 #define TEST_LE( v1, v3 ) \ argument 34 BOOST_TEST( v1 < v3 ); \ 35 BOOST_TEST( v3 > v1 ); \ 36 BOOST_TEST_NOT( v1 > v3 ); \ 37 BOOST_TEST_NOT( v3 < v1 ); \ [all …]
|
D | variant_lt_gt_cx.cpp | 33 #define TEST_EQ( v1, v2 ) \ argument 34 STATIC_ASSERT( !(v1 < v2) ); \ 35 STATIC_ASSERT( !(v1 > v2) ); \ 36 STATIC_ASSERT( v1 <= v2 ); \ 37 STATIC_ASSERT( v1 >= v2 ); 39 #define TEST_LE( v1, v3 ) \ argument 40 STATIC_ASSERT( v1 < v3 ); \ 41 STATIC_ASSERT( v3 > v1 ); \ 42 STATIC_ASSERT( !(v1 > v3) ); \ 43 STATIC_ASSERT( !(v3 < v1) ); \ [all …]
|
/third_party/boost/libs/algorithm/test/ |
D | find_backward_test.cpp | 67 std::vector<int> v1; in test_find_backward() local 68 const dist_t<std::vector<int> > dist(v1); in test_find_backward() 71 v1.push_back(i); in test_find_backward() 73 dist(ba::find_backward(v1.begin(), v1.end(), 0)), v1.size()); in test_find_backward() 75 dist(ba::find_backward(v1.begin(), v1.end(), 100)), v1.size()); in test_find_backward() 77 dist(ba::find_backward(v1.begin(), v1.end(), v1.back())), in test_find_backward() 78 v1.size() - 1); in test_find_backward() 80 dist(ba::find_backward(v1.begin(), v1.end(), v1.front())), 0); in test_find_backward() 82 BOOST_CHECK_EQUAL(dist(ba::find_backward(v1, 0)), v1.size()); in test_find_backward() 83 BOOST_CHECK_EQUAL(dist(ba::find_backward(v1, 100)), v1.size()); in test_find_backward() [all …]
|