/external/eigen/test/ |
array_reverse.cpp | 27 MatrixType m1 = MatrixType::Random(rows, cols); local 30 MatrixType m1_r = m1.reverse(); 34 VERIFY_IS_APPROX(m1_r(i, j), m1(rows - 1 - i, cols - 1 - j)); 38 Reverse<MatrixType> m1_rd(m1); 42 VERIFY_IS_APPROX(m1_rd(i, j), m1(rows - 1 - i, cols - 1 - j)); 46 Reverse<MatrixType, BothDirections> m1_rb(m1); 50 VERIFY_IS_APPROX(m1_rb(i, j), m1(rows - 1 - i, cols - 1 - j)); 54 Reverse<MatrixType, Vertical> m1_rv(m1); 58 VERIFY_IS_APPROX(m1_rv(i, j), m1(rows - 1 - i, j)); 62 Reverse<MatrixType, Horizontal> m1_rh(m1); [all...] |
basicstuff.cpp | 26 MatrixType m1 = MatrixType::Random(rows, cols), local 41 m1.coeffRef(r,c) = x; 42 VERIFY_IS_APPROX(x, m1.coeff(r,c)); 43 m1(r,c) = x; 44 VERIFY_IS_APPROX(x, m1(r,c)); 59 VERIFY_IS_APPROX( m1, m1); 60 VERIFY_IS_NOT_APPROX( m1, 2*m1); 61 VERIFY_IS_MUCH_SMALLER_THAN( mzero, m1); [all...] |
product_notemporary.cpp | 44 ColMajorMatrixType m1 = MatrixType::Random(rows, cols), local 60 VERIFY_EVALUATION_COUNT( m3 = (m1 * m2.adjoint()), 1); 61 VERIFY_EVALUATION_COUNT( m3.noalias() = m1 * m2.adjoint(), 0); 63 VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * (m1 * m2.transpose()), 0); 65 VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * m1 * s2 * m2.adjoint(), 0); 66 VERIFY_EVALUATION_COUNT( m3.noalias() = s1 * m1 * s2 * (m1*s3+m2*s2).adjoint(), 1); 67 VERIFY_EVALUATION_COUNT( m3.noalias() = (s1 * m1).adjoint() * s2 * m2, 0); 68 VERIFY_EVALUATION_COUNT( m3.noalias() += s1 * (-m1*s3).adjoint() * (s2 * m2 * s3), 0); 69 VERIFY_EVALUATION_COUNT( m3.noalias() -= s1 * (m1.transpose() * m2), 0) [all...] |
block.cpp | 26 MatrixType m1 = MatrixType::Random(rows, cols), local 27 m1_copy = m1, 41 VERIFY_IS_EQUAL(m1.col(c1).transpose(), m1.transpose().row(c1)); 43 m1 = m1_copy; 44 m1.row(r1) += s1 * m1_copy.row(r2); 45 VERIFY_IS_APPROX(m1.row(r1), m1_copy.row(r1) + s1 * m1_copy.row(r2)); 47 m1.row(r1).row(0) += s1 * m1_copy.row(r2); 48 VERIFY_IS_APPROX(m1.row(r1), m1_copy.row(r1) + Scalar(2) * s1 * m1_copy.row(r2)); 49 m1 = m1_copy 196 MatrixType m1 = MatrixType::Random(rows, cols); local [all...] |
product_symm.cpp | 26 MatrixType m1 = MatrixType::Random(rows, cols), local 29 m1 = (m1+m1.adjoint()).eval(); 38 m2 = m1.template triangularView<Lower>(); 40 VERIFY_IS_EQUAL(m1, m3); 42 rhs13 = (s1*m1) * (s2*rhs1)); 44 m2 = m1.template triangularView<Upper>(); rhs12.setRandom(); rhs13 = rhs12; 46 VERIFY_IS_EQUAL(m1, m3); 48 rhs13 += (s1*m1) * (s2*rhs1)) [all...] |
diagonalmatrices.cpp | 27 MatrixType m1 = MatrixType::Random(rows, cols), local 57 VERIFY_IS_APPROX( ((ldm1 * m1)(i,j)) , ldm1.diagonal()(i) * m1(i,j) ); 58 VERIFY_IS_APPROX( ((ldm1 * (m1+m2))(i,j)) , ldm1.diagonal()(i) * (m1+m2)(i,j) ); 59 VERIFY_IS_APPROX( ((m1 * rdm1)(i,j)) , rdm1.diagonal()(j) * m1(i,j) ); 60 VERIFY_IS_APPROX( ((v1.asDiagonal() * m1)(i,j)) , v1(i) * m1(i,j) ); 61 VERIFY_IS_APPROX( ((m1 * rv1.asDiagonal())(i,j)) , rv1(j) * m1(i,j) ) [all...] |
lu.cpp | 57 MatrixType m1(rows, cols), m3(rows, cols2); 59 createRandomPIMatrixOfRank(rank, rows, cols, m1); 67 lu.compute(m1); 75 VERIFY_IS_APPROX(lu.permutationP() * m1 * lu.permutationQ(), l*u); 78 ImageMatrixType m1image = lu.image(m1); 80 VERIFY_IS_APPROX(m1, lu.reconstructedMatrix()); 86 VERIFY((m1 * m1kernel).isMuchSmallerThan(m1)); 88 VERIFY_IS_APPROX(m1 * m1.adjoint() * m1image, m1image) [all...] |
qr_colpivoting.cpp | 25 MatrixType m1; local 26 createRandomPIMatrixOfRank(rank,rows,cols,m1); 27 ColPivHouseholderQR<MatrixType> qr(m1); 39 VERIFY_IS_APPROX(m1, c); 42 MatrixType m3 = m1*m2; 45 VERIFY_IS_APPROX(m3, m1*m2); 53 Matrix<Scalar,Rows,Cols> m1; local 54 createRandomPIMatrixOfRank(rank,Rows,Cols,m1); 55 ColPivHouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); 64 VERIFY_IS_APPROX(m1, c) [all...] |
adjoint.cpp | 28 MatrixType m1 = MatrixType::Random(rows, cols), local 41 VERIFY_IS_APPROX(m1.transpose().conjugate().adjoint(), m1); 42 VERIFY_IS_APPROX(m1.adjoint().conjugate().transpose(), m1); 45 VERIFY_IS_APPROX((m1.adjoint() * m2).adjoint(), m2.adjoint() * m1); 46 VERIFY_IS_APPROX((s1 * m1).adjoint(), internal::conj(s1) * m1.adjoint()); 76 VERIFY_IS_APPROX(m1.conjugate()(r,c), internal::conj(m1(r,c))) [all...] |
/art/test/CreateMethodSignature/ |
CreateMethodSignature.java | 18 Float m1(int a, double b, long c, Object d) { return null; } method in class:CreateMethodSignature
|
/external/clang/test/Lexer/ |
constants.c | 34 int m1 = '\\\''; // expected-warning {{multi-character character constant}} variable
|
/external/eigen/test/eigen2/ |
eigen2_adjoint.cpp | 29 MatrixType m1 = MatrixType::Random(rows, cols), local 44 VERIFY_IS_APPROX(m1.transpose().conjugate().adjoint(), m1); 45 VERIFY_IS_APPROX(m1.adjoint().conjugate().transpose(), m1); 48 VERIFY_IS_APPROX((m1.adjoint() * m2).adjoint(), m2.adjoint() * m1); 49 VERIFY_IS_APPROX((s1 * m1).adjoint(), ei_conj(s1) * m1.adjoint()); 69 VERIFY_IS_APPROX(m1.conjugate()(r,c), ei_conj(m1(r,c))) [all...] |
eigen2_triangular.cpp | 23 MatrixType m1 = MatrixType::Random(rows, cols), local 39 MatrixType m1up = m1.template part<Eigen::UpperTriangular>(); 49 // VERIFY_IS_APPROX(m1up.transpose() * m2, m1.upper().transpose().lower() * m2); 54 r1.template part<Eigen::UpperTriangular>() += m1; 59 m1.setZero(); 60 m1.template part<Eigen::UpperTriangular>() = (m2.transpose() * m2).lazy(); 62 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>().transpose(), m1); 65 m1.setZero(); 66 m1.template part<Eigen::LowerTriangular>() = (m2.transpose() * m2).lazy(); 67 VERIFY_IS_APPROX(m3.template part<Eigen::LowerTriangular>(), m1); 118 Matrix2i m1 = Matrix2i::Zero(); local [all...] |
/external/eigen/doc/examples/ |
class_CwiseBinaryOp.cpp | 15 Matrix4d m1 = Matrix4d::Random(), m2 = Matrix4d::Random(); local 16 cout << m1.binaryExpr(m2, MakeComplexOp<double>()) << endl;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
copy_assign.fail.cpp | 20 std::mutex m1; variable 25 std::unique_lock<std::mutex> lk1(m1);
|
move_assign.pass.cpp | 20 std::mutex m1; variable 26 std::unique_lock<std::mutex> lk1(m1);
|
/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 35 Matrix m1; local 38 m1.mData[4] = 9; 41 ASSERT_TRUE(m1.equals(m2)); 42 Matrix* clone = new Matrix(m1); 44 ASSERT_TRUE(m1.equals(*clone)); 62 Matrix m1; local 63 float* d1 = m1.mData; 76 m2.loadWith(m1); 83 Matrix m1; local 84 m1.translate(10, 5, 6) 92 Matrix m1; local 101 Matrix m1; local 111 Matrix m1; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
ede_cbcm_enc.c | 82 register DES_LONG tout0,tout1,xor0,xor1,m0,m1; local 93 c2l(iv1,m1); 99 tin[1]=m1; 102 m1=tin[1]; 120 tin[1]^=m1; 123 tin[1]^=m1; 133 l2c(m1,iv1); 144 c2l(iv1,m1); 150 tin[1]=m1; 153 m1=tin[1] [all...] |
/external/openssl/crypto/des/ |
ede_cbcm_enc.c | 82 register DES_LONG tout0,tout1,xor0,xor1,m0,m1; local 93 c2l(iv1,m1); 99 tin[1]=m1; 102 m1=tin[1]; 120 tin[1]^=m1; 123 tin[1]^=m1; 133 l2c(m1,iv1); 144 c2l(iv1,m1); 150 tin[1]=m1; 153 m1=tin[1] [all...] |
/external/valgrind/main/none/tests/ |
map_unmap.c | 60 void *m1, *m2; local 62 m1 = domap(); 63 if (m1 != expect1) { 64 printf("FAIL i=%d: m1=%p expect1=%p\n", 65 i, m1, expect1); 77 munmap(m1, LEN);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_md5.py | 48 m1 = md5() 49 m1.update(aas) 50 m1.update(bees) 51 m1.update(cees) 55 self.assertEqual(m1.digest(), m2.digest())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_md5.py | 48 m1 = md5() 49 m1.update(aas) 50 m1.update(bees) 51 m1.update(cees) 55 self.assertEqual(m1.digest(), m2.digest())
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_sad4d_sse2.asm | 35 movd m1, [ref1q+%3] 40 punpckldq m1, [ref1q+%5] 44 psadbw m1, m0 48 punpckldq m1, m2 50 paddd m6, m1 80 movh m1, [ref1q+%3] 84 movhps m1, [ref1q+%5] 87 psadbw m1, m0 90 paddd m4, m1 91 movh m1, [ref4q+%3 [all...] |
vp9_subpel_variance.asm | 243 mova m1, [dstq] 246 punpckhbw m3, m1, m5 247 punpcklbw m1, m5 252 punpckhbw m3, m1, m5 253 punpcklbw m1, m5 255 SUM_SSE m0, m1, m2, m3, m6, m7 270 movh m1, [dstq] 275 punpcklbw m1, m5 282 punpcklbw m1, m5 284 SUM_SSE m0, m1, m2, m3, m6, m [all...] |
/external/libvpx/libvpx/vp9/common/x86/ |
vp9_intrapred_sse2.asm | 25 pxor m1, m1 28 psadbw m0, m1 46 pxor m1, m1 51 psadbw m0, m1 52 psadbw m2, m1 75 pxor m1, m1 81 psadbw m0, m1 [all...] |