Home
last modified time | relevance | path

Searched refs:rowIndex (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/tests/
DPDFTaggedTableTest.cpp69 for (int rowIndex = 0; rowIndex < kRowCount; rowIndex++) { in DEF_TEST() local
71 row->fNodeId = 4 + rowIndex; in DEF_TEST()
76 int cellIndex = rowIndex * kColCount + colIndex; in DEF_TEST()
80 } else if (rowIndex == 0 || colIndex == 0) { in DEF_TEST()
91 } else if (rowIndex == 0 || colIndex == 0) { in DEF_TEST()
93 "Table", "Scope", rowIndex == 0 ? "Column" : "Row"); in DEF_TEST()
116 for (int rowIndex = 0; rowIndex < kRowCount; rowIndex++) { in DEF_TEST() local
118 int cellIndex = rowIndex * kColCount + colIndex; in DEF_TEST()
124 int y = 144 + rowIndex * 48; in DEF_TEST()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPVecToTrieCompactHandler.java27 public void setRowIndexForErrorValue(int rowIndex) { in setRowIndexForErrorValue() argument
31 public void setRowIndexForInitialValue(int rowIndex) { in setRowIndexForInitialValue() argument
32 initialValue = rowIndex; in setRowIndexForInitialValue()
36 public void setRowIndexForRange(int start, int end, int rowIndex) { in setRowIndexForRange() argument
37 builder.setRange(start, end + 1, rowIndex, true); in setRowIndexForRange()
41 public void startRealValues(int rowIndex) { in startRealValues() argument
42 if (rowIndex > 0xffff) { in startRealValues()
DPropsVectors.java300 public int[] getRow(int rowIndex) { in getRow() argument
305 if (rowIndex < 0 || rowIndex > rows) { in getRow()
309 System.arraycopy(v, rowIndex * columns + 2, rowToReturn, 0, in getRow()
322 public int getRowStart(int rowIndex) { in getRowStart() argument
327 if (rowIndex < 0 || rowIndex > rows) { in getRowStart()
330 return v[rowIndex * columns]; in getRowStart()
341 public int getRowEnd(int rowIndex) { in getRowEnd() argument
346 if (rowIndex < 0 || rowIndex > rows) { in getRowEnd()
349 return v[rowIndex * columns + 1] - 1; in getRowEnd()
564 public void setRowIndexForRange(int start, int end, int rowIndex); in setRowIndexForRange() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPVecToTrieCompactHandler.java23 public void setRowIndexForErrorValue(int rowIndex) { in setRowIndexForErrorValue() argument
27 public void setRowIndexForInitialValue(int rowIndex) { in setRowIndexForInitialValue() argument
28 initialValue = rowIndex; in setRowIndexForInitialValue()
32 public void setRowIndexForRange(int start, int end, int rowIndex) { in setRowIndexForRange() argument
33 builder.setRange(start, end + 1, rowIndex, true); in setRowIndexForRange()
37 public void startRealValues(int rowIndex) { in startRealValues() argument
38 if (rowIndex > 0xffff) { in startRealValues()
DPropsVectors.java298 public int[] getRow(int rowIndex) { in getRow() argument
303 if (rowIndex < 0 || rowIndex > rows) { in getRow()
307 System.arraycopy(v, rowIndex * columns + 2, rowToReturn, 0, in getRow()
320 public int getRowStart(int rowIndex) { in getRowStart() argument
325 if (rowIndex < 0 || rowIndex > rows) { in getRowStart()
328 return v[rowIndex * columns]; in getRowStart()
339 public int getRowEnd(int rowIndex) { in getRowEnd() argument
344 if (rowIndex < 0 || rowIndex > rows) { in getRowEnd()
347 return v[rowIndex * columns + 1] - 1; in getRowEnd()
559 public void setRowIndexForRange(int start, int end, int rowIndex); in setRowIndexForRange() argument
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DArrayTable.java304 public V at(int rowIndex, int columnIndex) {
306 checkElementIndex(rowIndex, rowList.size());
308 return array[rowIndex][columnIndex];
325 public V set(int rowIndex, int columnIndex, @NullableDecl V value) {
327 checkElementIndex(rowIndex, rowList.size());
329 V oldValue = array[rowIndex][columnIndex];
330 array[rowIndex][columnIndex] = value;
413 Integer rowIndex = rowKeyToIndex.get(rowKey);
415 return (rowIndex == null || columnIndex == null) ? null : at(rowIndex, columnIndex);
437 Integer rowIndex = rowKeyToIndex.get(rowKey);
[all …]
DDenseImmutableTable.java67 int rowIndex = rowKeyToIndex.get(rowKey); in DenseImmutableTable() local
69 V existingValue = values[rowIndex][columnIndex]; in DenseImmutableTable()
71 values[rowIndex][columnIndex] = cell.getValue(); in DenseImmutableTable()
72 rowCounts[rowIndex]++; in DenseImmutableTable()
74 cellRowIndices[i] = rowIndex; in DenseImmutableTable()
142 private final int rowIndex; field in Row
144 Row(int rowIndex) { in Row() argument
145 super(rowCounts[rowIndex]); in Row()
146 this.rowIndex = rowIndex; in Row()
156 return values[rowIndex][keyIndex]; in getValue()
[all …]
DSparseImmutableTable.java47 Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); in SparseImmutableTable() local
64 cellRowIndices[i] = rowIndex.get(rowKey); in SparseImmutableTable()
109 int rowIndex = cellRowIndices[index]; in getCell() local
110 Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex); in getCell()
119 int rowIndex = cellRowIndices[index]; in getValue() local
120 ImmutableMap<C, V> row = rowMap.values().asList().get(rowIndex); in getValue()
/external/guava/guava/src/com/google/common/collect/
DDenseImmutableTable.java67 int rowIndex = rowKeyToIndex.get(rowKey); in DenseImmutableTable() local
69 V existingValue = values[rowIndex][columnIndex]; in DenseImmutableTable()
71 values[rowIndex][columnIndex] = cell.getValue(); in DenseImmutableTable()
72 rowCounts[rowIndex]++; in DenseImmutableTable()
74 cellRowIndices[i] = rowIndex; in DenseImmutableTable()
141 private final int rowIndex; field in Row
143 Row(int rowIndex) { in Row() argument
144 super(rowCounts[rowIndex]); in Row()
145 this.rowIndex = rowIndex; in Row()
155 return values[rowIndex][keyIndex]; in getValue()
[all …]
DArrayTable.java308 public V at(int rowIndex, int columnIndex) {
310 checkElementIndex(rowIndex, rowList.size());
312 return array[rowIndex][columnIndex];
329 public V set(int rowIndex, int columnIndex, @Nullable V value) {
331 checkElementIndex(rowIndex, rowList.size());
333 V oldValue = array[rowIndex][columnIndex];
334 array[rowIndex][columnIndex] = value;
417 Integer rowIndex = rowKeyToIndex.get(rowKey);
419 return (rowIndex == null || columnIndex == null) ? null : at(rowIndex, columnIndex);
441 Integer rowIndex = rowKeyToIndex.get(rowKey);
[all …]
DSparseImmutableTable.java47 Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); in SparseImmutableTable() local
64 cellRowIndices[i] = rowIndex.get(rowKey); in SparseImmutableTable()
109 int rowIndex = cellRowIndices[index]; in getCell() local
110 Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex); in getCell()
119 int rowIndex = cellRowIndices[index]; in getValue() local
120 ImmutableMap<C, V> row = rowMap.values().asList().get(rowIndex); in getValue()
/external/webrtc/webrtc/tools/loopback_test/
Dstat_tracker.js45 samplingFunctions[varName] = function (report, rowIndex) { argument
49 dataTable.setCell(rowIndex, columnIndex, sample);
69 var rowIndex = dataTable.addRow();
70 dataTable.setCell(rowIndex, timeColumnIndex, result[0].timestamp);
72 samplingFunctions[v](report, rowIndex);
/external/perfetto/ui/src/frontend/
Daggregation_panel.ts76 getFormattedData(data: AggregateData, rowIndex: number, columnIndex: number) {
79 return `${data.strings[data.columns[columnIndex].data[rowIndex]]}`;
81 return `${data.columns[columnIndex].data[rowIndex] / 1000000}`;
84 `${data.strings[data.columns[columnIndex].data[rowIndex]]}`);
87 return `${data.columns[columnIndex].data[rowIndex]}`;
/external/doclava/res/assets/templates/
Ddiff.cs71 if (tr.rowIndex + 1 < table.rows.length) {
72 var tbody = table.rows[tr.rowIndex + 1].parentNode;
79 if (tr.rowIndex + 1 < table.rows.length
80 && $(table.rows[tr.rowIndex + 1]).hasClass("class-entry")) {
81 var tbody = table.rows[tr.rowIndex + 1].parentNode;
98 var i = tr.rowIndex + 1;
106 var i = tr.rowIndex + 1;
/external/angle/src/compiler/translator/tree_ops/
DScalarizeVecAndMatConstructorArgs.cpp34 TIntermBinary *ConstructMatrixIndexBinaryNode(TIntermSymbol *symbolNode, int colIndex, int rowIndex) in ConstructMatrixIndexBinaryNode() argument
38 return new TIntermBinary(EOpIndexDirect, colVectorNode, CreateIndexNode(rowIndex)); in ConstructMatrixIndexBinaryNode()
163 int colIndex = 0, rowIndex = 0; in scalarizeArgs() local
170 ConstructMatrixIndexBinaryNode(symbolNode, colIndex, rowIndex); in scalarizeArgs()
172 rowIndex++; in scalarizeArgs()
173 if (rowIndex >= originalArg->getRows()) in scalarizeArgs()
175 rowIndex = 0; in scalarizeArgs()
/external/autotest/frontend/client/src/autotest/common/table/
DDataTable.java47 public void onRowClicked(int rowIndex, JSONObject row, boolean isRightClick); in onRowClicked() argument
212 public void removeRow(int rowIndex) { in removeRow() argument
213 jsonObjects.remove(rowIndex); in removeRow()
214 int realRow = rowIndex + 1; // header row in removeRow()
231 public JSONObject getRow(int rowIndex) { in getRow() argument
232 return jsonObjects.get(rowIndex); in getRow()
293 protected void notifyListenersClicked(int rowIndex, boolean isRightClick) { in notifyListenersClicked() argument
294 JSONObject row = getRow(rowIndex); in notifyListenersClicked()
296 listener.onRowClicked(rowIndex, row, isRightClick); in notifyListenersClicked()
DTableRenderer.java27 for (int rowIndex = startRow; rowIndex < startRow + maxRows && rowIndex < rows.length; in renderRowsAndAppend()
28 rowIndex++) { in renderRowsAndAppend()
29 CellInfo[] row = rows[rowIndex]; in renderRowsAndAppend()
/external/angle/src/compiler/translator/
DShaderStorageBlockFunctionHLSL.cpp84 for (int rowIndex = 0; rowIndex < ssboFunction.type.getRows(); rowIndex++) in OutputSSBOLoadFunctionBody() local
87 << rowIndex * ssboFunction.matrixStride << ")), "; in OutputSSBOLoadFunctionBody()
169 for (int rowIndex = 0; rowIndex < ssboFunction.type.getRows(); rowIndex++) in OutputSSBOStoreFunctionBody() local
172 << rowIndex * ssboFunction.matrixStride << ", asuint(tmp_[" << rowIndex in OutputSSBOStoreFunctionBody()
/external/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions-inl.h232 Index rowIndex, colIndex, otherIndex; in operator() local
233 computeBaseIndices(0, rowIndex, colIndex, otherIndex); in operator()
234 return loadCoeff(row, rowIndex, colIndex, otherIndex); in operator()
243 Index rowIndex, colIndex, otherIndex; in operator() local
244 computeBaseIndices(patchIndex, rowIndex, colIndex, otherIndex); in operator()
245 return loadCoeff(row, rowIndex, colIndex, otherIndex); in operator()
250 Index rowIndex, colIndex, otherIndex; in loadPacket() local
251 computeBaseIndices(0, rowIndex, colIndex, otherIndex); in loadPacket()
252 return loadPacket(row, rowIndex, colIndex, otherIndex); in loadPacket()
259 Index rowIndex, colIndex, otherIndex; in loadPacket() local
[all …]
Deigen_cuboid_convolution.h295 Index planeIndex, rowIndex, colIndex, otherIndex; in operator() local
296 computeBaseIndices(0, planeIndex, rowIndex, colIndex, otherIndex); in operator()
297 return loadCoeff(row, planeIndex, rowIndex, colIndex, otherIndex); in operator()
305 Index planeIndex, rowIndex, colIndex, otherIndex; in operator() local
306 computeBaseIndices(patchIndex, planeIndex, rowIndex, colIndex, otherIndex); in operator()
307 return loadCoeff(row, planeIndex, rowIndex, colIndex, otherIndex); in operator()
312 Index planeIndex, rowIndex, colIndex, otherIndex; in loadPacket() local
313 computeBaseIndices(0, planeIndex, rowIndex, colIndex, otherIndex); in loadPacket()
314 return loadPacket(row, planeIndex, rowIndex, colIndex, otherIndex); in loadPacket()
321 Index planeIndex, rowIndex, colIndex, otherIndex; in loadPacket() local
[all …]
/external/dng_sdk/source/
Ddng_gain_map.cpp317 for (int32 rowIndex = 0; rowIndex < fPoints.v; rowIndex++) in PutStream() local
326 stream.Put_real32 (Entry (rowIndex, in PutStream()
419 for (int32 rowIndex = 0; rowIndex < mapPoints.v; rowIndex++) in GetStream() local
430 map->Entry (rowIndex, colIndex, plane) = x; in GetStream()
441 (unsigned) rowIndex, in GetStream()
Ddng_gain_map.h93 real32 & Entry (uint32 rowIndex, in Entry() argument
99 rowIndex * fRowStep + in Entry()
108 const real32 & Entry (uint32 rowIndex, in Entry() argument
114 rowIndex * fRowStep + in Entry()
/external/icu/icu4c/source/common/
Dpropsvec.cpp293 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex, in upvec_getRow() argument
298 if(pv->isCompacted || rowIndex<0 || rowIndex>=pv->rows) { in upvec_getRow()
303 row=pv->v+rowIndex*columns; in upvec_getRow()
500 int32_t rowIndex, uint32_t *row, int32_t columns, in upvec_compactToUTrie2Handler() argument
506 utrie2_setRange32(toUTrie2->trie, start, end, (uint32_t)rowIndex, TRUE, pErrorCode); in upvec_compactToUTrie2Handler()
510 toUTrie2->initialValue=rowIndex; in upvec_compactToUTrie2Handler()
513 toUTrie2->errorValue=rowIndex; in upvec_compactToUTrie2Handler()
516 toUTrie2->maxValue=rowIndex; in upvec_compactToUTrie2Handler()
517 if(rowIndex>0xffff) { in upvec_compactToUTrie2Handler()
Dpropsvec.h107 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex,
131 int32_t rowIndex, uint32_t *row, int32_t columns,
173 int32_t rowIndex, uint32_t *row, int32_t columns,
/external/cldr/tools/java/org/unicode/cldr/tool/
DTablePrinter.java458 private int findIdentical(Comparable[][] sortedFlat, int rowIndex, int colIndex) { in findIdentical() argument
460 Comparable item = sortedFlat[rowIndex][colIndex]; in findIdentical()
461 if (rowIndex > 0 && item.equals(sortedFlat[rowIndex - 1][colIndex])) { in findIdentical()
462 if (!breakSpans(sortedFlat, rowIndex, colIndex)) { in findIdentical()
466 for (int k = rowIndex + 1; k < sortedFlat.length; ++k) { in findIdentical()
469 return k - rowIndex; in findIdentical()
472 return sortedFlat.length - rowIndex; in findIdentical()
486 private boolean breakSpans(Comparable[][] sortedFlat, int rowIndex, int colIndex2) { in breakSpans() argument
490 … && sortedFlat[rowIndex][colIndex].compareTo(sortedFlat[rowIndex - 1][colIndex]) != 0) { in breakSpans()

12