Lines Matching defs:row

92      * The actual compressed state table.  Each conceptual row represents
93 * a state, and the cells in it contain the row numbers of the states
98 * physical row by sliding them up and possibly shifting them to one
105 * This index maps logical row numbers to physical row numbers
113 * successive entries in this array are used for a single row.
118 * This index maps from a logical row number into the bitmap table above.
128 * For each logical row, this index contains a constant that is added to
209 // read in the row-number index
231 // load in the row-shift index
263 * passes the row and column number to getNextState()
264 * @param row The current state
268 public final short getNextStateFromCharacter(int row, int ch) {
275 return getNextState(row, col);
279 * Returns the value in the cell with the specified (logical) row and
280 * column numbers. In DictionaryBasedBreakIterator, the row number is
282 * is the row number of the new state to transition to. (0 is the
284 * @param row The row number of the current state
287 * @return The row number of the new state to transition to
289 public final short getNextState(int row, int col) {
290 if (cellIsPopulated(row, col)) {
291 // we map from logical to physical row number by looking up the
294 // logical row and offsetting the logical column number by
297 return internalAt(rowIndex[row], col + rowIndexShifts[row]);
305 * Given (logical) row and column numbers, returns true if the
308 private final boolean cellIsPopulated(int row, int col) {
309 // look up the entry in the bitmap index for the specified row.
311 // populated cell in the row
312 if (rowIndexFlagsIndex[row] < 0) {
313 return col == -rowIndexFlagsIndex[row];
323 int flags = rowIndexFlags[rowIndexFlagsIndex[row] + (col >> 5)];
331 * @param row The PHYSICAL row number of the cell
335 private final short internalAt(int row, int col) {
339 return table[row * numCols + col];