Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/external/icu/icu4c/source/common/
Dpropsvec.c30 int32_t columns; /* number of columns, plus two for start & limit values */ member
42 upvec_open(int32_t columns, UErrorCode *pErrorCode) { in upvec_open() argument
50 if(columns<1) { in upvec_open()
54 columns+=2; /* count range start and limit columns */ in upvec_open()
57 v=(uint32_t *)uprv_malloc(UPVEC_INITIAL_ROWS*columns*4); in upvec_open()
66 pv->columns=columns; in upvec_open()
72 uprv_memset(row, 0, pv->rows*columns*4); in upvec_open()
75 row+=columns; in upvec_open()
79 row+=columns; in upvec_open()
95 int32_t columns, i, start, limit, prevRow; in _findRow() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPropsVectors.java38 private int columns; // number of columns, plus two for start field in PropsVectors
69 index = prevRow * columns; in findRow()
75 index += columns; in findRow()
80 index += columns; in findRow()
89 index += columns; in findRow()
107 index = columns * mid; in findRow()
121 index = start * columns; in findRow()
147 columns = numOfColumns + 2; // count range start and limit columns in PropsVectors()
148 v = new int[INITIAL_ROWS * columns]; in PropsVectors()
155 int index = columns; in PropsVectors()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPropsVectors.java40 private int columns; // number of columns, plus two for start field in PropsVectors
71 index = prevRow * columns; in findRow()
77 index += columns; in findRow()
82 index += columns; in findRow()
91 index += columns; in findRow()
109 index = columns * mid; in findRow()
123 index = start * columns; in findRow()
149 columns = numOfColumns + 2; // count range start and limit columns in PropsVectors()
150 v = new int[INITIAL_ROWS * columns]; in PropsVectors()
157 int index = columns; in PropsVectors()
[all …]
/external/emma/core/java12/com/vladium/emma/report/txt/
DReportGenerator.java140 final int [] columns = m_settings.getColumnOrder (); in visit() local
148 addHeaderRow (item, columns); in visit()
151 addItemRow (item, columns); in visit()
184 addHeaderRow (pkg, columns); in visit()
189 addItemRow (pkg, columns); in visit()
202 final int [] columns = m_settings.getColumnOrder (); in visit() local
210 addHeaderRow (item, columns); in visit()
213 addItemRow (item, columns); in visit()
233 addHeaderRow (srcORcls, columns); in visit()
238 addItemRow (srcORcls, columns); in visit()
[all …]
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c49 int columns; variable
63 columns = 80; in sigwinch_handler()
65 columns = winsize.ws_col; in sigwinch_handler()
93 static void progress_bar(long long current, long long max, int columns) in progress_bar() argument
104 hashes = (current * (columns - used)) / max; in progress_bar()
105 spaces = columns - used - hashes; in progress_bar()
107 if((current > max) || (columns - used < 0)) in progress_bar()
146 progress_bar(cur_uncompressed, estimated_uncompressed, columns); in enable_progress_bar()
170 columns); in set_progressbar_state()
189 columns = 80; in progress_thrd()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DContactsFacade.java104 String[] columns = cursor.getColumnNames(); in contactsGetAttributes() local
105 for (int i = 0; i < columns.length; i++) { in contactsGetAttributes()
106 result.add(columns[i]); in contactsGetAttributes()
117 String[] columns = { "_id" }; in contactsGetIds() local
118 Cursor cursor = mContentResolver.query(CONTACTS_URI, columns, null, null, null); in contactsGetIds()
132 String[] columns; in contactsGet() local
135 columns = new String[] { "_id", "name", "primary_phone", "primary_email", "type" }; in contactsGet()
138 columns = new String[attributes.length()]; in contactsGet()
140 columns[i] = attributes.getString(i); in contactsGet()
144 for (String s : columns) { in contactsGet()
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DDataTable.java52 protected String[][] columns; field in DataTable
73 public DataTable(String[][] columns) { in DataTable() argument
74 int rows = columns.length; in DataTable()
75 this.columns = new String[rows][2]; in DataTable()
77 System.arraycopy(columns[i], 0, this.columns[i], 0, 2); in DataTable()
88 for (int i = 0; i < columns.length; i++) { in DataTable()
89 table.setText(0, i, columns[i][1]); in DataTable()
144 String[] rowText = new String[columns.length]; in getRowText()
145 for (int i = 0; i < columns.length; i++) { in getRowText()
149 String columnKey = columns[i][0]; in getRowText()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealMatrix.java39 private final int columns; field in OpenMapRealMatrix
52 this.columns = columnDimension; in OpenMapRealMatrix()
62 this.columns = matrix.columns; in OpenMapRealMatrix()
82 return columns; in getColumnDimension()
111 final int row = iterator.key() / columns; in add()
112 final int col = iterator.key() - row * columns; in add()
146 final int row = iterator.key() / columns; in subtract()
147 final int col = iterator.key() - row * columns; in subtract()
172 final int i = key / columns; in multiply()
173 final int k = key % columns; in multiply()
[all …]
DBlockRealMatrix.java82 private final int columns; field in BlockRealMatrix
98 public BlockRealMatrix(final int rows, final int columns) in BlockRealMatrix() argument
101 super(rows, columns); in BlockRealMatrix()
103 this.columns = columns; in BlockRealMatrix()
107 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockRealMatrix()
110 blocks = createBlocksLayout(rows, columns); in BlockRealMatrix()
147 public BlockRealMatrix(final int rows, final int columns, in BlockRealMatrix() argument
151 super(rows, columns); in BlockRealMatrix()
153 this.columns = columns; in BlockRealMatrix()
157 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockRealMatrix()
[all …]
DBlockFieldMatrix.java84 private final int columns; field in BlockFieldMatrix
101 public BlockFieldMatrix(final Field<T> field, final int rows, final int columns) in BlockFieldMatrix() argument
104 super(field, rows, columns); in BlockFieldMatrix()
106 this.columns = columns; in BlockFieldMatrix()
110 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockFieldMatrix()
113 blocks = createBlocksLayout(field, rows, columns); in BlockFieldMatrix()
150 public BlockFieldMatrix(final int rows, final int columns, in BlockFieldMatrix() argument
154 super(extractField(blockData), rows, columns); in BlockFieldMatrix() local
156 this.columns = columns; in BlockFieldMatrix()
160 blockColumns = (columns + BLOCK_SIZE - 1) / BLOCK_SIZE; in BlockFieldMatrix()
[all …]
DSparseFieldMatrix.java44 private final int columns; field in SparseFieldMatrix
54 columns= 0; in SparseFieldMatrix()
71 this.columns = columnDimension; in SparseFieldMatrix()
82 columns = other.getColumnDimension(); in SparseFieldMatrix()
93 columns = other.getColumnDimension(); in SparseFieldMatrix()
96 for (int j = 0; j < columns; j++) { in SparseFieldMatrix()
134 return columns; in getColumnDimension()
187 return row * columns + column; in computeKey()
DArray2DRowRealMatrix.java463 final int columns = getColumnDimension(); in walkInRowOrder() local
464 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder()
467 for (int j = 0; j < columns; ++j) { in walkInRowOrder()
479 final int columns = getColumnDimension(); in walkInRowOrder() local
480 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder()
483 for (int j = 0; j < columns; ++j) { in walkInRowOrder()
531 final int columns = getColumnDimension(); in walkInColumnOrder() local
532 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInColumnOrder()
533 for (int j = 0; j < columns; ++j) { in walkInColumnOrder()
547 final int columns = getColumnDimension(); in walkInColumnOrder() local
[all …]
DRealMatrixImpl.java471 final int columns = getColumnDimension(); in walkInRowOrder() local
472 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder()
475 for (int j = 0; j < columns; ++j) { in walkInRowOrder()
487 final int columns = getColumnDimension(); in walkInRowOrder() local
488 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder()
491 for (int j = 0; j < columns; ++j) { in walkInRowOrder()
539 final int columns = getColumnDimension(); in walkInColumnOrder() local
540 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInColumnOrder()
541 for (int j = 0; j < columns; ++j) { in walkInColumnOrder()
555 final int columns = getColumnDimension(); in walkInColumnOrder() local
[all …]
DArray2DRowFieldMatrix.java455 final int columns = getColumnDimension(); in walkInRowOrder() local
456 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder()
459 for (int j = 0; j < columns; ++j) { in walkInRowOrder()
471 final int columns = getColumnDimension(); in walkInRowOrder() local
472 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder()
475 for (int j = 0; j < columns; ++j) { in walkInRowOrder()
523 final int columns = getColumnDimension(); in walkInColumnOrder() local
524 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInColumnOrder()
525 for (int j = 0; j < columns; ++j) { in walkInColumnOrder()
539 final int columns = getColumnDimension(); in walkInColumnOrder() local
[all …]
/external/autotest/tko/
Dplotgraph5 ($file, $y_label, $columns, $title) = @ARGV;
8 die unless ($columns =~ /^1:\d+/);
11 plotgraph($file, $y_label, $columns, $title);
17 my ($file, $y_label, $columns, $title) = @_;
37 $plot_main = "\"${file}.main\" using $columns title \"mainline\"";
40 $plot_mm = "\"${file}.mm\" using $columns title \"-mm\"";
43 $plot_other = "\"${file}.other\" using $columns title \"other\"";
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetSelector.java47 int columns = (encodings.length + 31) / 32; in generateSelectorData() local
50 for (int col = 0; col < columns; ++col) { in generateSelectorData()
78 for (int col = 0; col < columns; col++) { in generateSelectorData()
106 int columns = (encodings.length + 31) / 32; in selectForMask() local
107 int numOnes = countOnes(mask, columns); in selectForMask()
112 for (int j = 0; j < columns; j++) { in selectForMask()
197 int columns = (encodings.length + 31) / 32; in selectForString() local
198 int[] mask = new int[columns]; in selectForString()
199 for (int i = 0; i < columns; i++) { in selectForString()
209 if (intersectMasks(mask, pvIndex, columns)) { in selectForString()
/external/opencv3/modules/ts/misc/
Dtable_formatter.py38 self.columns = {}
46 self.rows.append(tblRow(len(self.columns), properties))
59 if name in self.columns:
60 index = self.columns[name].index
62 index = len(self.columns)
65 self.columns[name] = caption
70 self.columns[name] = col
75 return self.columns.get(name, None)
77 vals = [v for v in self.columns.values() if v.index == name]
97 columns = self.columns.values()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() local
154 memcpy(dst2, src2, columns * sizeof(uint32_t)); in micro_tile_4_x_2_32bit()
184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() local
185 memcpy(dst2, src2, columns * sizeof(uint64_t)); in micro_tile_2_x_2_64bit()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() local
154 memcpy(dst2, src2, columns * sizeof(uint32_t)); in micro_tile_4_x_2_32bit()
184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() local
185 memcpy(dst2, src2, columns * sizeof(uint64_t)); in micro_tile_2_x_2_64bit()
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_fax.cpp76 int columns, in FaxG4FindB1B2() argument
83 b1 = FindBit(ref_buf, columns, a0 + 1, !first_bit); in FaxG4FindB1B2()
84 if (b1 >= columns) { in FaxG4FindB1B2()
85 b1 = b2 = columns; in FaxG4FindB1B2()
89 b1 = FindBit(ref_buf, columns, b1 + 1, first_bit); in FaxG4FindB1B2()
92 if (b1 >= columns) { in FaxG4FindB1B2()
93 b1 = b2 = columns; in FaxG4FindB1B2()
96 b2 = FindBit(ref_buf, columns, b1 + 1, first_bit); in FaxG4FindB1B2()
99 void FaxFillBits(uint8_t* dest_buf, int columns, int startpos, int endpos) { in FaxFillBits() argument
106 if (endpos >= columns) { in FaxFillBits()
[all …]
/external/toybox/toys/posix/
Dls.c231 unsigned columns, unsigned *xpos) in next_column() argument
238 *xpos = ul % columns; in next_column()
245 height = (dtlen+columns-1)/columns; in next_column()
249 if (height*columns - dtlen >= height) { in next_column()
250 *xpos = columns; in next_column()
257 transition = widecols * columns; in next_column()
259 *xpos = ul % columns; in next_column()
260 return (*xpos*height) + (ul/columns); in next_column()
264 *xpos = ul % (columns-1); in next_column()
266 return (*xpos*height) + widecols + (ul/(columns-1)); in next_column()
[all …]
/external/autotest/server/site_tests/cellular_StaleModemReboot/
Dcellular_StaleModemReboot.py135 columns = item.split(':')
136 columns = [x.strip() for x in columns]
137 if len(columns) > 1:
138 modem_status_dict[columns[0]] = columns[1]
140 modem_status_dict[columns[0]] = ''
/external/autotest/cli/
Dquery_results70 columns = options.columns.split(',') variable
74 if tag not in columns:
75 columns.append(tag)
76 tag_index=columns.index(tag)
100 values = [str(test_view[column]) for column in columns]
/external/toybox/lib/
Dlinestack.c87 int columns = 0, col, bytes; in crunch_str() local
97 if (width-columns<col) break; in crunch_str()
99 } else if (!escout || 0>(col = escout(out, width-columns, &end))) { in crunch_str()
111 if (width-columns<col) buf[col = width-columns] = 0; in crunch_str()
115 columns += col; in crunch_str()
120 return columns; in crunch_str()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteDatabase.java95 Iterator<Object> columns = sqlInsertString.columnValues.iterator(); in insertWithOnConflict() local
98 while (columns.hasNext()) { in insertWithOnConflict()
99 insert.setObject(i++, columns.next()); in insertWithOnConflict()
114 public Cursor query(boolean distinct, String table, String[] columns, in query() argument
124 columns, where, groupBy, having, orderBy, limit); in query()
140 public Cursor query(String table, String[] columns, String selection, in query() argument
143 … return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, null); in query()
147 public Cursor query(String table, String[] columns, String selection, in query() argument
150 … return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, limit); in query()
159 Iterator<Object> columns = sqlUpdateString.columnValues.iterator(); in update() local
[all …]

12345678910>>...14