/external/eigen/test/ |
H A D | nomalloc.cpp | 35 Index rows = m.rows(); local 38 MatrixType m1 = MatrixType::Random(rows, cols), 39 m2 = MatrixType::Random(rows, cols), 40 m3(rows, cols); 44 Index r = internal::random<Index>(0, rows-1), 49 VERIFY_IS_APPROX(m1.cwiseProduct(m1.block(0,0,rows,cols)), (m1.array()*m1.array()).matrix());
|
H A D | product.h | 35 Index rows = m.rows(); local 40 MatrixType m1 = MatrixType::Random(rows, cols), 41 m2 = MatrixType::Random(rows, cols), 42 m3(rows, cols); 44 identity = RowSquareMatrixType::Identity(rows, rows), 45 square = RowSquareMatrixType::Random(rows, rows), 46 res = RowSquareMatrixType::Random(rows, row [all...] |
H A D | product_extra.cpp | 22 Index rows = m.rows(); local 25 MatrixType m1 = MatrixType::Random(rows, cols), 26 m2 = MatrixType::Random(rows, cols), 27 m3(rows, cols), 28 mzero = MatrixType::Zero(rows, cols), 29 identity = MatrixType::Identity(rows, rows), 30 square = MatrixType::Random(rows, rows), [all...] |
H A D | product_notemporary.cpp | 41 Index rows = m.rows(); local 44 ColMajorMatrixType m1 = MatrixType::Random(rows, cols), 45 m2 = MatrixType::Random(rows, cols), 46 m3(rows, cols); 47 RowVectorType rv1 = RowVectorType::Random(rows), rvres(rows); 49 RowMajorMatrixType rm3(rows, cols); 58 r1 = internal::random<Index>(8,rows-r0);
|
H A D | sparse_basic.cpp | 17 const Index rows = ref.rows(); local 22 double density = (std::max)(8./(rows*cols), 0.01); 27 SparseMatrixType m(rows, cols); 28 DenseMatrix refMat = DenseMatrix::Zero(rows, cols); 29 DenseVector vec1 = DenseVector::Random(rows); 57 int i = internal::random<int>(0,rows-1); 59 int h = internal::random<int>(1,rows-i-1); 86 for(int r=0; r<rows; r++) 95 DenseMatrix m1(rows,col [all...] |
H A D | 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, row [all...] |
/external/eigen/unsupported/Eigen/src/Skyline/ |
H A D | SkylineMatrixBase.h | 35 /**< The number of rows at compile-time. This is just a copy of the value provided 38 * \sa MatrixBase::rows(), MatrixBase::cols(), ColsAtCompileTime, SizeAtCompileTime */ 44 * \sa MatrixBase::rows(), MatrixBase::cols(), RowsAtCompileTime, SizeAtCompileTime */ 50 * rows times the number of columns, or to \a Dynamic if this is not 60 /**< This is set to true if either the number of rows or the number of 104 /** \returns the number of rows. \sa cols(), RowsAtCompileTime */ 105 inline Index rows() const { function in class:Eigen::SkylineMatrixBase 106 return derived().rows(); 109 /** \returns the number of columns. \sa rows(), ColsAtCompileTime*/ 114 /** \returns the number of coefficients, which is \a rows()*col [all...] |
/external/freetype/src/sfnt/ |
H A D | pngshim.c | 196 png_byte* *rows; local 200 y_offset < 0 || y_offset + metrics->height > map->rows || 310 if ( FT_NEW_ARRAY( rows, imgHeight ) ) 317 rows[i] = map->buffer + ( y_offset + i ) * map->pitch + x_offset * 4; 319 png_read_image( png, rows ); 321 FT_FREE( rows );
|
/external/mesa3d/src/gallium/winsys/sw/fbdev/ |
H A D | fbdev_sw_winsys.c | 59 unsigned rows; member in struct:fbdev_sw_winsys 94 if (dst->y + dst->height > fbdev->rows) { 96 if (dst->y >= fbdev->rows) 99 height = fbdev->rows - dst->y; 224 fbdev->rows = fbdev->finfo.smem_len / fbdev->finfo.line_length;
|
/external/opencv/cxcore/src/ |
H A D | cximage.cpp | 88 CV_CALL( img = cvCreateImageHeader( cvSize(m->cols,m->rows), 215 CvMatrix::CvMatrix( int rows, int cols, int type, CvMemStorage* storage, bool alloc_data ) argument 220 cvInitMatHeader( matrix, rows, cols, type, alloc_data ? 221 cvMemStorageAlloc( storage, rows*cols*CV_ELEM_SIZE(type) ) : 0 ); 242 CV_CALL( m = cvCreateMat( src->rows, src->cols, src->type )); 275 CV_CALL( temp_mat = cvCreateMat( m->rows, m->cols,
|
/external/smack/src/org/jivesoftware/smackx/ |
H A D | ReportedData.java | 34 * in columns and rows. 41 private List<Row> rows = new ArrayList<Row>(); field in class:ReportedData 77 // Add the rows to the report based on the form's items 91 rows.add(new Row(fieldList)); 108 rows.add(row); 121 * Returns an Iterator for the rows returned from a search. 123 * @return an Iterator for the rows returned from a search. 126 return Collections.unmodifiableList(new ArrayList<Row>(rows)).iterator();
|
/external/ceres-solver/internal/ceres/ |
H A D | compressed_row_sparse_matrix.cc | 46 // duplicates in the pair of arrays rows and cols, i.e., there is no 49 // rows[i] == rows[j] && cols[i] == cols[j] 53 RowColLessThan(const int* rows, const int* cols) argument 54 : rows(rows), cols(cols) { 58 if (rows[x] == rows[y]) { 61 return (rows[x] < rows[ 64 const int* rows; member in struct:ceres::internal::__anon1612::RowColLessThan 303 int* rows = matrix->mutable_rows(); local [all...] |
H A D | incomplete_lq_factorization.cc | 46 const int row_begin = matrix->rows()[row]; 47 const int row_end = matrix->rows()[row + 1]; 69 const int* a_rows = a.rows(); 73 const int* b_rows = b.rows(); 119 int* rows = matrix->mutable_rows(); local 122 int num_nonzeros = rows[matrix->num_rows()]; 126 rows[matrix->num_rows()] = num_nonzeros; 160 rows[matrix->num_rows()] = num_nonzeros; 172 const int* rows = matrix.rows(); local [all...] |
H A D | solver_impl_test.cc | 871 int* rows = expected_block_sparse_jacobian.mutable_rows(); local 874 rows[0] = 0; 877 rows[1] = 2; 879 rows[2] = 0; 882 rows[3] = 2; 884 rows[4] = 1; 887 rows[5] = 2; 889 rows[6] = 1; 892 rows[7] = 0; 894 rows[ 968 int* rows = expected_block_sparse_jacobian.mutable_rows(); local [all...] |
/external/chromium/chrome/browser/geolocation/ |
H A D | geolocation_exceptions_table_model.cc | 78 const Rows& rows) const { 79 for (Rows::const_iterator i(rows.begin()); i != rows.end(); ++i) { 85 if (!rows.count(j)) 90 return !rows.empty(); 93 void GeolocationExceptionsTableModel::RemoveRows(const Rows& rows) { argument 94 for (Rows::const_reverse_iterator i(rows.rbegin()); i != rows.rend(); ++i) { 120 if ((row == 0) || rows.count(row - 1)) 215 // The rows ar [all...] |
/external/chromium_org/chrome/browser/history/ |
H A D | thumbnail_database_unittest.cc | 89 size_t rows = 0; local 90 EXPECT_TRUE(sql::test::CountTableRows(db, "favicons", &rows)); 91 EXPECT_EQ(0u, rows); 92 EXPECT_TRUE(sql::test::CountTableRows(db, "favicon_bitmaps", &rows)); 93 EXPECT_EQ(0u, rows); 94 EXPECT_TRUE(sql::test::CountTableRows(db, "icon_mapping", &rows)); 95 EXPECT_EQ(0u, rows); 367 // rows from the database.
|
H A D | typed_url_syncable_service.cc | 178 URLRows* rows) { 209 DCHECK(rows); 210 // Delete rows. 211 for (URLRows::const_iterator row = rows->begin(); 212 row != rows->end(); ++row) { 176 OnUrlsDeleted(bool all_history, bool archived, URLRows* rows) argument
|
H A D | typed_url_syncable_service_unittest.cc | 153 URLRows* rows, 247 URLRows* rows, 270 // Create new URL rows, populate the mock backend with its visits, and 278 rows->push_back(MakeTypedUrlRow( 281 SetVisitsForUrl(rows->back().id(), &visit_vectors->back()); 282 changed_urls.push_back(rows->back()); 502 URLRows rows; local 506 rows.push_back(url_rows[i]); 510 typed_url_sync_service_->OnUrlsDeleted(false, false, &rows); 244 InitiateServerState( unsigned int num_typed_urls, unsigned int num_reload_urls, URLRows* rows, std::vector<VisitVector>* visit_vectors, const std::vector<const char*>& urls, syncer::SyncChangeList* change_list) argument
|
/external/chromium_org/chrome/browser/importer/ |
H A D | in_process_importer_bridge.cc | 30 const std::vector<ImporterURLRow>& rows) { 32 converted.reserve(rows.size()); 33 for (std::vector<ImporterURLRow>::const_iterator it = rows.begin(); 34 it != rows.end(); ++it) { 204 const std::vector<ImporterURLRow>& rows, 207 ConvertImporterURLRowsToHistoryURLRows(rows); 29 ConvertImporterURLRowsToHistoryURLRows( const std::vector<ImporterURLRow>& rows) argument 203 SetHistoryItems( const std::vector<ImporterURLRow>& rows, importer::VisitSource visit_source) argument
|
/external/chromium_org/chrome/browser/predictors/ |
H A D | autocomplete_action_predictor_unittest.cc | 186 void DeleteRowsWithURLs(const history::URLRows& rows) { argument 187 predictor_->DeleteRowsWithURLs(rows); 299 history::URLRows rows; local 301 rows.push_back(history::URLRow(test_url_db[i].url)); 303 DeleteRowsWithURLs(rows);
|
/external/chromium_org/chrome/browser/ui/sync/ |
H A D | profile_signin_confirmation_helper.cc | 43 history::URLRows rows; variable 44 backend->GetAllTypedURLs(&rows); 45 if (!rows.empty()) { 47 << rows.size() << " typed URLs";
|
/external/chromium_org/chrome/utility/importer/ |
H A D | external_process_importer_bridge.cc | 103 const std::vector<ImporterURLRow>& rows, 105 Send(new ProfileImportProcessHostMsg_NotifyHistoryImportStart(rows.size())); 110 int rows_left = rows.end() - rows.begin(); 111 for (std::vector<ImporterURLRow>::const_iterator it = rows.begin(); 112 it < rows.end();) { 102 SetHistoryItems( const std::vector<ImporterURLRow>& rows, importer::VisitSource visit_source) argument
|
/external/chromium_org/content/browser/accessibility/ |
H A D | browser_accessibility_cocoa.h | 91 @property(nonatomic, readonly) NSArray* rows; variable
|
/external/chromium_org/media/cdm/ppapi/ |
H A D | ffmpeg_cdm_video_decoder.cc | 114 int32_t rows, 122 for (int i = 0; i < rows; ++i) { 111 CopyPlane(const uint8_t* source, int32_t source_stride, int32_t target_stride, int32_t rows, int32_t copy_bytes_per_row, uint8_t* target) argument
|
/external/chromium_org/sql/ |
H A D | recovery_unittest.cc | 23 // columns and |row_sep| between rows. 439 size_t rows = 0; local 440 EXPECT_TRUE(recovery->AutoRecoverTable("x", 0, &rows)); 441 EXPECT_EQ(2u, rows); 462 size_t rows = 0; local 463 EXPECT_FALSE(recovery->AutoRecoverTable("y", 0, &rows)); 478 // rows. The row with 17 will get the default injected at insert 501 // defaults coming from the recovery system. The two %5 rows should 519 size_t rows = 0; local 520 EXPECT_TRUE(recovery->AutoRecoverTable("x", 0, &rows)); 555 size_t rows = 0; local 594 size_t rows = 0; local 639 size_t rows = 0; local 674 size_t rows = 0; local [all...] |