/external/webrtc/src/system_wrappers/source/ |
H A D | data_log_helpers_unittest.cc | 20 webrtc::ValueContainer<int> v1(c); 24 v1.ToString(&s1); 28 v1 = v2; 29 v1.ToString(&s1); 35 webrtc::ValueContainer<double> v1(c); 39 v1.ToString(&s1); 43 v1 = v2; 44 v1.ToString(&s1);
|
/external/stlport/test/unit/ |
H A D | merge_test.cpp | 56 vector<int> v1(5); 57 vector<int> v2(v1.size()); 58 __iota(v1.begin(), v1.end(), 0); 61 vector <int> result(v1.size() + v2.size()); 62 merge(v1.begin(), v1.end(), v2.begin(), v2.end(), result.begin()); 78 vector <int> v1(5); 79 vector <int> v2(v1.size()); 80 for (int i = 0; (size_t)i < v1 [all...] |
/external/chromium_org/chromecast/media/cma/ipc/ |
H A D | media_message_unittest.cc | 56 int v1 = 2 * k + 1; local 57 EXPECT_TRUE(msg1->WritePod(v1)); 68 int v1; local 70 EXPECT_TRUE(msg2->ReadPod(&v1)); 71 EXPECT_EQ(v1, expected_v1); 89 uint32 v1 = 0; local 91 EXPECT_TRUE(msg1->WritePod(v1)); 92 EXPECT_TRUE(msg1->WritePod(v1)); 94 EXPECT_FALSE(msg1->WritePod(v1)); 108 uint32 v1 local 133 uint32 v1 = 0xcd; local [all...] |
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | TriangleUtilities.cpp | 14 _Vector v1 = triangle[1] - triangle[0]; local 19 double dot01 = v0.dot(v1); 21 double dot11 = v1.dot(v1); 22 double dot12 = v1.dot(v2);
|
/external/libcxx/test/utilities/template.bitset/bitset.members/ |
H A D | left_shift_eq.pass.cpp | 33 std::bitset<N> v1 = make_bitset<N>(); local 34 std::bitset<N> v2 = v1; 35 v1 <<= s; 38 assert(v1[i] == 0); 40 assert(v1[i] == v2[i-s]);
|
H A D | right_shift_eq.pass.cpp | 33 std::bitset<N> v1 = make_bitset<N>(); local 34 std::bitset<N> v2 = v1; 35 v1 >>= s; 38 assert(v1[i] == v2[i + s]); 40 assert(v1[i] == 0);
|
H A D | index_const.pass.cpp | 31 const std::bitset<N> v1 = make_bitset<N>(); local 34 assert(v1[N/2] == v1.test(N/2));
|
/external/openssl/crypto/des/ |
H A D | cfb_enc.c | 75 register DES_LONG d0,d1,v0,v1; local 95 c2l(iv,v1); 102 ti[1]=v1; 113 { v0=v1; v1=d0; } 115 { v0=d0; v1=d1; } 121 l2c(v1,iv); 125 sh[0]=v0, sh[1]=v1, sh[2]=d0, sh[3]=d1; 134 v0=sh[0], v1=sh[1]; 138 c2l(iv,v1); [all...] |
H A D | ofb64enc.c | 69 register DES_LONG v0,v1,t; local 80 c2l(iv,v1); 82 ti[1]=v1; 85 l2c(v1,dp); 102 v1=ti[1]; 105 l2c(v1,iv); 107 t=v0=v1=ti[0]=ti[1]=0;
|
H A D | cfb64ede.c | 72 register DES_LONG v0,v1; local 86 c2l(iv,v1); 89 ti[1]=v1; 92 v1=ti[1]; 96 l2c(v1,iv); 112 c2l(iv,v1); 115 ti[1]=v1; 118 v1=ti[1]; 122 l2c(v1,iv); 132 v0=v1 154 register DES_LONG d0,d1,v0,v1; local [all...] |
/external/skia/experimental/Intersection/ |
H A D | TriangleUtilities.cpp | 14 _Vector v1 = triangle[1] - triangle[0]; local 19 double dot01 = v0.dot(v1); 21 double dot11 = v1.dot(v1); 22 double dot12 = v1.dot(v2);
|
/external/eigen/test/ |
H A D | product_trmv.cpp | 26 VectorType v1 = VectorType::Random(rows); local 34 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Lower>() * v1, largerEps)); 36 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Upper>() * v1, largerEps)); 38 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitLower>() * v1, largerEps)); 40 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitUpper>() * v1, largerEps)); 44 VERIFY(((s1*m3).conjugate() * v1) [all...] |
H A D | adjoint.cpp | 18 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { argument 19 VERIFY(test_isApproxWithRef((s1 * v1 + s2 * v2).dot(v3), numext::conj(s1) * v1.dot(v3) + numext::conj(s2) * v2.dot(v3), 0)); 20 VERIFY(test_isApproxWithRef(v3.dot(s1 * v1 + s2 * v2), s1*v3.dot(v1)+s2*v3.dot(v2), 0)); 23 VERIFY(test_isApproxWithRef(v1.dot(square * v2), (square.adjoint() * v1).dot(v2), 0)); 29 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { argument 33 RealScalar ref = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm()); 34 VERIFY(test_isApproxWithRef((s1 * v1 75 VectorType v1 = VectorType::Random(rows), local [all...] |
/external/llvm/test/MC/AArch64/ |
H A D | neon-simd-ldst-one-elem.s | 29 ld2r { v0.16b, v1.16b }, [x0] 32 ld2r { v0.2d, v1.2d }, [x0] 33 ld2r { v0.8b, v1.8b }, [x0] 37 // CHECK: ld2r { v0.16b, v1.16b }, [x0] // encoding: [0x00,0xc0,0x60,0x4d] 40 // CHECK: ld2r { v0.2d, v1.2d }, [x0] // encoding: [0x00,0xcc,0x60,0x4d] 41 // CHECK: ld2r { v0.8b, v1.8b }, [x0] // encoding: [0x00,0xc0,0x60,0x0d] 46 ld3r { v0.16b, v1.16b, v2.16b }, [x0] 48 ld3r { v31.4s, v0.4s, v1.4s }, [sp] 49 ld3r { v0.2d, v1.2d, v2.2d }, [x0] 50 ld3r { v0.8b, v1 [all...] |
H A D | neon-simd-ldst-multi-elem.s | 28 st1 { v0.16b, v1.16b }, [x0] 31 st1 { v0.2d, v1.2d }, [x0] 32 st1 { v0.8b, v1.8b }, [x0] 35 st1 { v0.1d, v1.1d }, [x0] 36 // CHECK: st1 { v0.16b, v1.16b }, [x0] // encoding: [0x00,0xa0,0x00,0x4c] 39 // CHECK: st1 { v0.2d, v1.2d }, [x0] // encoding: [0x00,0xac,0x00,0x4c] 40 // CHECK: st1 { v0.8b, v1.8b }, [x0] // encoding: [0x00,0xa0,0x00,0x0c] 43 // CHECK: st1 { v0.1d, v1.1d }, [x0] // encoding: [0x00,0xac,0x00,0x0c] 45 st1 { v0.16b-v1.16b }, [x0] 48 st1 { v0.2d-v1 [all...] |
H A D | neon-simd-post-ldst-multi-elem.s | 37 ld1 { v0.16b, v1.16b }, [x0], x1 40 ld1 { v0.2d, v1.2d }, [x0], #32 41 ld1 { v0.8b, v1.8b }, [x0], x2 44 ld1 { v0.1d, v1.1d }, [x0], #16 45 // CHECK: ld1 { v0.16b, v1.16b }, [x0], x1 51 // CHECK: ld1 { v0.2d, v1.2d }, [x0], #32 53 // CHECK: ld1 { v0.8b, v1.8b }, [x0], x2 59 // CHECK: ld1 { v0.1d, v1.1d }, [x0], #16 66 ld1 { v0.16b, v1.16b, v2.16b }, [x0], x1 68 ld1 { v31.4s, v0.4s, v1 [all...] |
/external/chromium_org/ui/gfx/geometry/ |
H A D | point3_unittest.cc | 13 gfx::Vector3dF v1(3.1f, -3.2f, 9.3f); 20 { gfx::Point3F(4.7f, 1.9f, 12.5f), a + v1 }, 21 { gfx::Point3F(-1.5f, 8.3f, -6.1f), a - v1 }, 22 { a, a - v1 + v1 }, 23 { a, a + v1 - v1 }, 25 { gfx::Point3F(12.8f, 0.7f, 9.2f), a + v1 - v2 }, 26 { gfx::Point3F(-9.6f, 9.5f, -2.8f), a - v1 + v2 } 33 a += v1; [all...] |
/external/libcxx/test/numerics/numarray/template.valarray/valarray.members/ |
H A D | apply_cref.pass.cpp | 29 std::valarray<T> v1(a1, N1); 30 std::valarray<T> v2 = v1.apply(f); 37 std::valarray<T> v1; local 38 std::valarray<T> v2 = v1.apply(f); 45 std::valarray<T> v1(a1, N1); 46 std::valarray<T> v2 = (v1+v1).apply(f);
|
H A D | apply_value.pass.cpp | 29 std::valarray<T> v1(a1, N1); 30 std::valarray<T> v2 = v1.apply(f); 37 std::valarray<T> v1; local 38 std::valarray<T> v2 = v1.apply(f); 45 std::valarray<T> v1(a1, N1); 46 std::valarray<T> v2 = (v1+v1).apply(f);
|
/external/openssl/crypto/bf/ |
H A D | bf_ofb64.c | 69 register BF_LONG v0,v1,t; local 80 n2l(iv,v1); 82 ti[1]=v1; 85 l2n(v1,dp); 102 v1=ti[1]; 105 l2n(v1,iv); 107 t=v0=v1=ti[0]=ti[1]=0;
|
/external/openssl/crypto/rc2/ |
H A D | rc2ofb64.c | 70 register unsigned long v0,v1,t; local 81 c2l(iv,v1); 83 ti[1]=v1; 86 l2c(v1,dp); 103 v1=ti[1]; 106 l2c(v1,iv); 108 t=v0=v1=ti[0]=ti[1]=0;
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-deeply.cpp | 10 d v1 = 4; local 11 c v2 = v1 * v1;
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-disasm-mips64.cc | 107 COMPARE(addu(v0, v1, s0), 108 "00701021 addu v0, v1, s0"); 109 COMPARE(daddu(v0, v1, s0), 110 "0070102d daddu v0, v1, s0"); 120 COMPARE(subu(v0, v1, s0), 121 "00701023 subu v0, v1, s0"); 122 COMPARE(dsubu(v0, v1, s0), 123 "0070102f dsubu v0, v1, s0"); 134 COMPARE(mult(v0, v1), 135 "00430018 mult v0, v1"); [all...] |
/external/eigen/test/eigen2/ |
H A D | eigen2_basicstuff.cpp | 29 VectorType v1 = VectorType::Random(rows), local 42 v1.coeffRef(r) = x; 43 VERIFY_IS_APPROX(x, v1.coeff(r)); 44 v1(r) = x; 45 VERIFY_IS_APPROX(x, v1(r)); 46 v1[r] = x; 47 VERIFY_IS_APPROX(x, v1[r]); 49 VERIFY_IS_APPROX( v1, v1); 50 VERIFY_IS_NOT_APPROX( v1, [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | checks.h | 98 std::string* MakeCheckOpString(const t1& v1, const t2& v2, const char* names) { argument 100 ss << names << " (" << v1 << " vs. " << v2 << ")"; 131 inline std::string* Check##name##Impl(const t1& v1, const t2& v2, \ 133 if (v1 op v2) return NULL; \ 134 else return rtc::MakeCheckOpString(v1, v2, names); \ 136 inline std::string* Check##name##Impl(int v1, int v2, const char* names) { \ 137 if (v1 op v2) return NULL; \ 138 else return rtc::MakeCheckOpString(v1, v2, names); \ 159 #define DCHECK_EQ(v1, v2) CHECK_EQ(v1, v [all...] |