/external/chromium_org/third_party/skia/src/utils/ |
SkMeshUtils.cpp | 21 int texW, int texH, int rows, int cols) { 22 if (rows < 2 || cols < 2) { 34 fTexCount = rows * cols; 35 rows -= 1; 37 fIndexCount = rows * cols * 6; 54 for (int x = 0; x < rows; x++) { 56 *idx++ = index + rows + 1; 60 *idx++ = index + rows + 1; 61 *idx++ = index + rows + 2; 72 const SkScalar dx = SkIntToScalar(texW) / rows; [all...] |
/external/skia/src/utils/ |
SkMeshUtils.cpp | 21 int texW, int texH, int rows, int cols) { 22 if (rows < 2 || cols < 2) { 34 fTexCount = rows * cols; 35 rows -= 1; 37 fIndexCount = rows * cols * 6; 54 for (int x = 0; x < rows; x++) { 56 *idx++ = index + rows + 1; 60 *idx++ = index + rows + 1; 61 *idx++ = index + rows + 2; 72 const SkScalar dx = SkIntToScalar(texW) / rows; [all...] |
/external/eigen/test/eigen2/ |
eigen2_basicstuff.cpp | 17 int rows = m.rows(); local 22 MatrixType m1 = MatrixType::Random(rows, cols), 23 m2 = MatrixType::Random(rows, cols), 24 m3(rows, cols), 25 mzero = MatrixType::Zero(rows, cols), 27 ::Identity(rows, rows), 28 square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows, rows); [all...] |
eigen2_inverse.cpp | 19 int rows = m.rows(); local 26 MatrixType m1 = MatrixType::Random(rows, cols), 27 m2(rows, cols), 28 mzero = MatrixType::Zero(rows, cols), 29 identity = MatrixType::Identity(rows, rows); 31 while(ei_abs(m1.determinant()) < RealScalar(0.1) && rows <= 8) 33 m1 = MatrixType::Random(rows, cols);
|
eigen2_svd.cpp | 18 int rows = m.rows(); local 23 MatrixType a = MatrixType::Random(rows,cols); 25 Matrix<Scalar, MatrixType::RowsAtCompileTime, 1>::Random(rows,1); 34 MatrixType sigma = MatrixType::Zero(rows,cols); 35 MatrixType matU = MatrixType::Zero(rows,rows); 37 matU.block(0,0,rows,cols) = svd.matrixU(); 42 if (rows==cols) 46 MatrixType a1 = MatrixType::Random(rows,cols) [all...] |
eigen2_adjoint.cpp | 22 int rows = m.rows(); local 29 MatrixType m1 = MatrixType::Random(rows, cols), 30 m2 = MatrixType::Random(rows, cols), 31 m3(rows, cols), 32 mzero = MatrixType::Zero(rows, cols), 33 identity = SquareMatrixType::Identity(rows, rows), 34 square = SquareMatrixType::Random(rows, rows); [all...] |
eigen2_sparse_vector.cpp | 12 template<typename Scalar> void sparse_vector(int rows, int cols) 14 double densityMat = std::max(8./(rows*cols), 0.01); 15 double densityVec = std::max(8./float(rows), 0.1); 22 SparseMatrixType m1(rows,cols); 23 SparseVectorType v1(rows), v2(rows), v3(rows); 24 DenseMatrix refM1 = DenseMatrix::Zero(rows, cols); 25 DenseVector refV1 = DenseVector::Random(rows), 26 refV2 = DenseVector::Random(rows), [all...] |
/external/eigen/test/ |
array_replicate.cpp | 24 Index rows = m.rows(); local 27 MatrixType m1 = MatrixType::Random(rows, cols), 28 m2 = MatrixType::Random(rows, cols); 30 VectorType v1 = VectorType::Random(rows); 38 x1.resize(rows*f1,cols*f2); 41 x1.block(i*rows,j*cols,rows,cols) = m1; 44 x2.resize(2*rows,3*cols); 49 x2.resize(rows,f1) [all...] |
dontalign.cpp | 27 Index rows = m.rows(); local 30 MatrixType a = MatrixType::Random(rows,cols); 31 SquareMatrixType square = SquareMatrixType::Random(rows,rows); 32 VectorType v = VectorType::Random(rows); 43 Scalar* array = internal::aligned_new<Scalar>(rows); 44 v = VectorType::MapAligned(array, rows); 45 internal::aligned_delete(array, rows);
|
permutationmatrices.cpp | 18 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime, 20 typedef PermutationMatrix<Rows> LeftPermutationType; 21 typedef Matrix<int, Rows, 1> LeftPermutationVectorType; 27 Index rows = m.rows(); local 30 MatrixType m_original = MatrixType::Random(rows,cols); 32 randomPermutationVector(lv, rows); 39 for (int i=0; i<rows; i++) 43 Matrix<Scalar,Rows,Rows> lm(lp) [all...] |
corners.cpp | 19 Index rows = m.rows(); local 22 Index r = internal::random<Index>(1,rows); 25 MatrixType matrix = MatrixType::Random(rows,cols); 26 const MatrixType const_matrix = MatrixType::Random(rows,cols); 30 COMPARE_CORNER(bottomLeftCorner(r,c), block(rows-r,0,r,c)); 31 COMPARE_CORNER(bottomRightCorner(r,c), block(rows-r,cols-c,r,c)); 33 Index sr = internal::random<Index>(1,rows) - 1; 34 Index nr = internal::random<Index>(1,rows-sr); 40 COMPARE_CORNER(bottomRows(r), block(rows-r,0,r,cols)) 52 rows = MatrixType::RowsAtCompileTime, enumerator in enum:__anon17979 [all...] |
sparse_product.cpp | 25 int r = internal::random(0,m2.rows()-1); 40 const Index rows = internal::random<int>(1,n); local 46 double density = (std::max)(8./(rows*cols), 0.01); 55 DenseMatrix refMat2 = DenseMatrix::Zero(rows, depth); 56 DenseMatrix refMat2t = DenseMatrix::Zero(depth, rows); 59 DenseMatrix refMat4 = DenseMatrix::Zero(rows, cols); 60 DenseMatrix refMat4t = DenseMatrix::Zero(cols, rows); 62 DenseMatrix refMat6 = DenseMatrix::Random(rows, rows); 63 DenseMatrix dm4 = DenseMatrix::Zero(rows, rows) [all...] |
diagonalmatrices.cpp | 17 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; 18 typedef Matrix<Scalar, Rows, 1> VectorType; 20 typedef Matrix<Scalar, Rows, Rows> SquareMatrixType; 21 typedef DiagonalMatrix<Scalar, Rows> LeftDiagonalMatrix; 23 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix; 24 Index rows = m.rows(); local 27 MatrixType m1 = MatrixType::Random(rows, cols) [all...] |
householder.cpp | 21 Index rows = m.rows(); local 36 Matrix<Scalar, EIGEN_SIZE_MAX(MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime), 1> _tmp((std::max)(rows,cols)); 43 VectorType v1 = VectorType::Random(rows), v2; 48 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm()); 49 v1 = VectorType::Random(rows); 54 MatrixType m1(rows, cols), 55 m2(rows, cols); 57 v1 = VectorType::Random(rows); [all...] |
product_selfadjoint.cpp | 22 Index rows = m.rows(); local 25 MatrixType m1 = MatrixType::Random(rows, cols), 26 m2 = MatrixType::Random(rows, cols), 28 VectorType v1 = VectorType::Random(rows), 29 v2 = VectorType::Random(rows), 30 v3(rows); 31 RowVectorType r1 = RowVectorType::Random(rows), 32 r2 = RowVectorType::Random(rows); 33 RhsMatrixType m4 = RhsMatrixType::Random(rows,10) [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
unordered.test | 41 {0 0 0 {SCAN TABLE t1 USING INDEX i1 (~128 rows)}} 42 {0 0 0 {SCAN TABLE t1 (~128 rows)} 0 0 0 {USE TEMP B-TREE FOR ORDER BY}} 44 {0 0 0 {SEARCH TABLE t1 USING INDEX i1 (a>?) (~32 rows)}} 45 {0 0 0 {SCAN TABLE t1 (~42 rows)}} 47 {0 0 0 {SEARCH TABLE t1 USING INDEX i1 (a=?) (~1 rows)}} 48 {0 0 0 {SEARCH TABLE t1 USING INDEX i1 (a=?) (~1 rows)} 51 {0 0 0 {SEARCH TABLE t1 USING COVERING INDEX i1 (~1 rows)}} 52 {0 0 0 {SEARCH TABLE t1 (~1 rows)}} 54 {0 0 0 {SCAN TABLE t1 USING INDEX i1 (~128 rows)}} 55 {0 0 0 {SCAN TABLE t1 (~128 rows)} 0 0 0 {USE TEMP B-TREE FOR GROUP BY} [all...] |
eqp.test | 41 0 0 1 {SEARCH TABLE t1 USING INDEX i1 (a=?) (~10 rows)} 42 0 0 1 {SEARCH TABLE t1 USING INDEX i2 (b=?) (~10 rows)} 43 0 1 0 {SCAN TABLE t2 (~1000000 rows)} 48 0 0 0 {SCAN TABLE t2 (~1000000 rows)} 49 0 1 1 {SEARCH TABLE t1 USING INDEX i1 (a=?) (~10 rows)} 50 0 1 1 {SEARCH TABLE t1 USING INDEX i2 (b=?) (~10 rows)} 55 0 0 0 {SCAN TABLE t1 USING COVERING INDEX i1 (~1000000 rows)} 60 0 0 0 {SCAN TABLE t1 (~1000000 rows)} 66 0 0 0 {SEARCH TABLE t1 USING COVERING INDEX i1 (a=?) (~10 rows)} 71 0 0 0 {SCAN TABLE t3 (~1000000 rows)} [all...] |
/external/eigen/bench/ |
sparse_transpose.cpp | 38 int rows = SIZE; local 42 EigenSparseMatrix sm1(rows,cols), sm3(rows,cols); 47 fillMatrix(density, rows, cols, sm1); 52 DenseMatrix m1(rows,cols), m3(rows,cols); 59 std::cout << "Non zeros: " << sm1.nonZeros()/float(sm1.rows()*sm1.cols())*100 << "%\n"; 81 GmmDynSparse gmmT3(rows,cols); 82 GmmSparse m1(rows,cols), m3(rows,cols) [all...] |
/external/chromium/chrome/browser/geolocation/ |
geolocation_exceptions_table_model_unittest.cc | 65 GeolocationExceptionsTableModel::Rows rows; local 66 rows.insert(0U); 67 EXPECT_TRUE(model_->CanRemoveRows(rows)); 76 EXPECT_FALSE(model_->CanRemoveRows(rows)); 79 rows.clear(); 80 rows.insert(1U); 81 rows.insert(2U); 82 EXPECT_TRUE(model_->CanRemoveRows(rows)); 91 GeolocationExceptionsTableModel::Rows rows local [all...] |
/cts/tools/signature-tools/templates/ |
Table.st | 6 $rows$
|
/external/chromium_org/third_party/WebKit/ManualTests/spatial-navigation/ |
frameset.html | 2 <frameset border=1 rows="10%,10%,*">
|
/external/chromium_org/third_party/skia/include/utils/ |
SkMeshUtils.h | 23 bool init(int texW, int texH, int rows, int cols) { 24 return this->init(NULL, NULL, texW, texH, rows, cols); 28 int texW, int texH, int rows, int cols); 45 static void Draw(SkCanvas*, const SkBitmap&, int rows, int cols,
|
/external/eigen/doc/examples/ |
class_Block.cpp | 8 topLeftCorner(MatrixBase<Derived>& m, int rows, int cols) 10 return Eigen::Block<Derived>(m.derived(), 0, 0, rows, cols); 15 topLeftCorner(const MatrixBase<Derived>& m, int rows, int cols) 17 return Eigen::Block<const Derived>(m.derived(), 0, 0, rows, cols);
|
tut_matrix_resize_fixed_size.cpp | 11 << m.rows() << "x" << m.cols() << std::endl;
|
/external/skia/include/utils/ |
SkMeshUtils.h | 23 bool init(int texW, int texH, int rows, int cols) { 24 return this->init(NULL, NULL, texW, texH, rows, cols); 28 int texW, int texH, int rows, int cols); 45 static void Draw(SkCanvas*, const SkBitmap&, int rows, int cols,
|