/external/eigen/test/eigen2/ |
eigen2_determinant.cpp | 35 m2.row(i).swap(m2.row(j)); 43 m2.row(i) += x*m2.row(j); 46 m2.row(i) *= x;
|
/external/eigen/test/ |
hessenberg.cpp | 25 for(int row = 2; row < size; ++row) { 26 for(int col = 0; col < row-1; ++col) { 27 VERIFY(H(row,col) == (typename MatrixType::Scalar)0);
|
jacobi.cpp | 44 VERIFY_IS_APPROX(b.row(p), c * a.row(p) + internal::conj(s) * a.row(q)); 45 VERIFY_IS_APPROX(b.row(q), -s * a.row(p) + internal::conj(c) * a.row(q));
|
/external/skia/src/gpu/effects/ |
GrTextureStripAtlas.h | 44 * @param data Bitmap data to copy into the row 45 * @return The row index we inserted into, or -1 if we failed to find an open row. The caller 46 * is responsible for calling unlockRow() with this row index when it's done with it. 49 void unlockRow(int row); 52 * These functions help turn an integer row index in [0, 1, 2, ... numRows] into a scalar y 63 * Where yOffset, returned by getYOffset(), is the offset to the start of the row within the 64 * atlas and scaleFactor, returned by getVerticalScaleFactor(), is the y-scale of the row, 67 SkScalar getYOffset(int row) const { return SkIntToScalar(row) / fNumRows; [all...] |
/external/ceres-solver/internal/ceres/ |
schur_eliminator_impl.h | 91 // and build the row/column block structure of the reduced linear 100 // Iterate over the row blocks of A, and detect the chunks. The 118 // Add to the chunk until the first block in the row is 119 // different than the one in the first row for the chunk. 121 const CompressedRow& row = bs->rows[r + chunk.size]; local 122 if (row.cells.front().block_id != chunk_block_id) { 126 // Iterate over the blocks in the row, ignoring the first 128 for (int c = 1; c < row.cells.size(); ++c) { 129 const Cell& cell = row.cells[c]; 204 // buffer_ contains the non-zero blocks in the row correspondin 311 const CompressedRow& row = bs->rows[chunk.start + j]; local 368 const CompressedRow& row = bs->rows[row_block_counter + j]; local 440 const CompressedRow& row = bs->rows[row_block_counter + j]; local 575 const CompressedRow& row = bs->rows[row_block_counter]; local 612 const CompressedRow& row = bs->rows[row_block_index]; local 666 const CompressedRow& row = bs->rows[row_block_index]; local [all...] |
block_random_access_dense_matrix_test.cc | 53 int row; local 58 m.GetCell(i, j, &row, &col, &row_stride, &col_stride); 61 EXPECT_EQ(row, row_idx); 83 int row; local 88 i, j, &row, &col, &row_stride, &col_stride); 90 row, col, blocks[i], blocks[j]) =
|
/external/eigen/Eigen/src/Core/ |
SelfCwiseBinaryOp.h | 65 inline Scalar& coeffRef(Index row, Index col) 68 return m_matrix.const_cast_derived().coeffRef(row, col); 70 inline const Scalar& coeffRef(Index row, Index col) const 72 return m_matrix.coeffRef(row, col); 88 void copyCoeff(Index row, Index col, const DenseBase<OtherDerived>& other) 91 eigen_internal_assert(row >= 0 && row < rows() 93 Scalar& tmp = m_matrix.coeffRef(row,col); 94 tmp = m_functor(tmp, _other.coeff(row,col)); 107 void copyPacket(Index row, Index col, const DenseBase<OtherDerived>& other [all...] |
Visitor.h | 22 row = (UnrollCount-1) % Derived::RowsAtCompileTime enumerator in enum:Eigen::internal::visitor_impl::__anon7477 28 visitor(mat.coeff(row, col), row, col); 99 Index row, col; member in struct:Eigen::internal::coeff_visitor 104 row = i; 124 this->row = i; 152 this->row = i; 168 * and puts in *row and *col its location. 175 DenseBase<Derived>::minCoeff(IndexType* row, IndexType* col) const 179 *row = minVisitor.row [all...] |
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
DynamicSparseMatrix.h | 89 /** \returns the coefficient value at given position \a row, \a col 92 inline Scalar coeff(Index row, Index col) const 94 const Index outer = IsRowMajor ? row : col; 95 const Index inner = IsRowMajor ? col : row; 99 /** \returns a reference to the coefficient value at given position \a row, \a col 103 inline Scalar& coeffRef(Index row, Index col) 105 const Index outer = IsRowMajor ? row : col; 106 const Index inner = IsRowMajor ? col : row; 145 /** \returns a reference to the non zero coefficient at position \a row, \a col assuming that: 150 inline Scalar& insertBack(Index row, Index col [all...] |
/external/jpeg/ |
rdrle.c | 59 * then fetch the required row from the virtual array on subsequent calls. 69 JDIMENSION row; /* current row # in the virtual array */ member in struct:_rle_source_struct 71 rle_pixel** rle_row; /* holds a row returned by rle_getrow() */ 181 * Read one row of pixels. 191 source->row--; 193 ((j_common_ptr) cinfo, source->image, source->row, (JDIMENSION) 1, FALSE); 199 * Read one row of pixels. 215 source->row--; 217 ((j_common_ptr) cinfo, source->image, source->row, (JDIMENSION) 1, FALSE) 244 JDIMENSION row, col; local [all...] |
/external/qemu/distrib/jpeg-6b/ |
rdrle.c | 59 * then fetch the required row from the virtual array on subsequent calls. 69 JDIMENSION row; /* current row # in the virtual array */ member in struct:_rle_source_struct 71 rle_pixel** rle_row; /* holds a row returned by rle_getrow() */ 181 * Read one row of pixels. 191 source->row--; 193 ((j_common_ptr) cinfo, source->image, source->row, (JDIMENSION) 1, FALSE); 199 * Read one row of pixels. 215 source->row--; 217 ((j_common_ptr) cinfo, source->image, source->row, (JDIMENSION) 1, FALSE) 244 JDIMENSION row, col; local [all...] |
/frameworks/base/libs/androidfw/ |
CursorWindow.cpp | 165 // Fill in the row slot 176 LOG_WINDOW("The row failed, so back out the new row accounting " 183 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n", 222 CursorWindow::RowSlot* CursorWindow::getRowSlot(uint32_t row) { 223 uint32_t chunkPos = row; 256 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) { 257 if (row >= mHeader->numRows || column >= mHeader->numColumns) { 258 ALOGE("Failed to read row %d, column %d from a CursorWindow which " 260 row, column, mHeader->numRows, mHeader->numColumns) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
default_images_view.cc | 36 // Number of columns in a row of default images. 179 for (int row = 0; row < rows_count; ++row) { 180 views::ColumnSet* column_set = layout->AddColumnSet(row); 204 for (int row = 0; row < rows_count; ++row) { 205 if (row != 0) 207 layout->StartRow(0, row); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractTableTest.java | 158 Map<Integer, Character> row = table.row("foo"); local 159 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row); 161 assertEquals(ImmutableMap.of(1, 'a'), row); 163 assertEquals(ImmutableMap.of(), row); local 165 assertEquals(ImmutableMap.of(2, 'b'), row); 166 row.clear(); 167 assertEquals(ImmutableMap.of(), row); local 169 assertEquals(ImmutableMap.of(5, 'x'), row);
|
/external/webkit/Source/WebCore/html/ |
HTMLTableRowsCollection.cpp | 40 static bool isInHead(Element* row) 42 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(theadTag); 45 static bool isInBody(Element* row) 47 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(tbodyTag); 50 static bool isInFoot(Element* row) 52 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(tfootTag); 59 // Start by looking for the next row in this section [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/net/ |
layouttestresults.py | 66 def _failures_from_fail_row(self, row): 67 # Look at all anchors in this row, and guess what type 71 for anchor in row.findAll("a"): 82 # FIXME: Its possible the row contained no links due to ORWT brokeness. 87 def _failures_from_row(cls, row, table_title): 89 return cls._failures_from_fail_row(row) 101 def _test_result_from_row(cls, row, table_title): 102 test_name = unicode(row.find("a").string) 103 failures = cls._failures_from_row(row, table_title) 118 # FIXME: We might end with two TestResults object for the same test if it appears in more than one row [all...] |
/external/libvpx/libvpx/vpx_scale/generic/ |
yv12extend.c | 216 int row; local 222 for (row = 0; row < src_ybc->y_height; row++) { 231 for (row = 0; row < src_ybc->uv_height; row++) { 240 for (row = 0; row < src_ybc->uv_height; row++) 251 int row; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
TransformationMatrix.cpp | 61 // the array refers to the column that the element lies in; the second index refers to the row. 150 // deleting the ith row and jth column from A. 183 // Row column labeling reversed since we transpose rows & columns 359 Vector3 row[3], pdum3; local 363 row[i][0] = localMatrix[i][0]; 364 row[i][1] = localMatrix[i][1]; 365 row[i][2] = localMatrix[i][2]; 368 // Compute X scale factor and normalize first row. 369 result.scaleX = v3Length(row[0]); 370 v3Scale(row[0], 1.0) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
MoreSuggestions.java | 72 int row = 0; local 84 if ((row + 1) >= maxRow) { 87 mNumColumnsInRow[row] = pos - rowStartPos; 89 row++; 92 mRowNumbers[pos] = row; 95 mNumColumnsInRow[row] = pos - rowStartPos; 96 mNumRows = row + 1; 114 for (int row = 0; row < mNumRows; row++) 149 final int row = mRowNumbers[pos]; local 159 final int row = mRowNumbers[pos]; local [all...] |
/external/chromium/chrome/browser/ui/views/ |
task_manager_view.cc | 67 string16 GetText(int row, int column) OVERRIDE; 68 SkBitmap GetIcon(int row) OVERRIDE; 79 // Returns true if resource corresponding to |row| is a background resource. 80 bool IsBackgroundResource(int row); 91 string16 TaskManagerTableModel::GetText(int row, int col_id) { 94 return model_->GetResourceTitle(row); 97 return model_->GetResourceNetworkUsage(row); 100 if (!model_->IsResourceFirstInGroup(row)) 102 return model_->GetResourceCPUUsage(row); 105 if (!model_->IsResourceFirstInGroup(row)) 467 const char* row = stats->GetRowName(i); local [all...] |
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCDatabaseMetaData.java | 557 String row[] = { "" }; local 558 tr.newrow(row); 567 String row[] = { "" }; local 568 tr.newrow(row); 577 String row[] = new String[1]; local 578 row[0] = "TABLE"; 579 tr.newrow(row); 580 row = new String[1]; 581 row[0] = "VIEW"; 582 tr.newrow(row); 652 String row[] = new String[cols.length]; local 810 String row[] = new String[cols.length]; local 826 String row[] = new String[cols.length]; local 923 String row[] = new String[cols.length]; local 966 String row[] = new String[cols.length]; local 1000 String row[] = new String[out.ncolumns]; local 1343 String row[] = new String[cols.length]; local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testcursor.c | 109 int i, row, col; local 115 for ( row=0; row<32; ++row ) { 124 switch (arrow[4+row][col]) { 137 sscanf(arrow[4+row], "%d,%d", &hot_x, &hot_y);
|
/external/skia/src/effects/ |
SkColorFilterImageFilter.cpp | 38 bool component_needs_clamping(SkScalar row[5]) { 39 SkScalar maxValue = row[4] / 255; 40 SkScalar minValue = row[4] / 255; 42 if (row[i] > 0) 43 maxValue += row[i]; 45 minValue += row[i];
|
/external/webkit/Tools/DumpRenderTree/cg/ |
PixelDumpSupportCG.cpp | 86 for (unsigned row = 0; row < pixelsHigh; row++) { 96 for (unsigned row = 0; row < pixelsHigh; row++) {
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
PlanarYUVLuminanceSource.java | 60 public byte[] getRow(int y, byte[] row) { 62 throw new IllegalArgumentException("Requested row is outside the image: " + y); 65 if (row == null || row.length < width) { 66 row = new byte[width]; 69 System.arraycopy(yuvData, offset, row, 0, width); 70 return row; 94 // Otherwise copy one cropped row at a time.
|