Searched refs:readIndex (Results 1 – 3 of 3) sorted by relevance
77 int readIndex = 0; in getSuggestionSpansAtWord() local79 for (; readIndex < spans.length; ++readIndex) { in getSuggestionSpansAtWord()80 final SuggestionSpan span = spans[readIndex]; in getSuggestionSpansAtWord()88 for (int i = readIndex + 1; i < spans.length; ++i) { in getSuggestionSpansAtWord()102 spans[writeIndex++] = spans[readIndex]; in getSuggestionSpansAtWord()105 return writeIndex == readIndex ? spans : Arrays.copyOfRange(spans, 0, writeIndex); in getSuggestionSpansAtWord()
234 int readIndex, writeIndex; in _print_swath() local235 for (readIndex = writeIndex = 0; readIndex < nbytes; readIndex += BYTES_PER_PIXEL(1)) { in _print_swath()236 unsigned char gray = SP_GRAY(buff[readIndex + 0], buff[readIndex + 1], in _print_swath()237 buff[readIndex + 2]); in _print_swath()
291 int readIndex, writeIndex; in _print_swath() local292 for (readIndex = writeIndex = 0; readIndex < nbytes; readIndex += BYTES_PER_PIXEL(1)) { in _print_swath()293 unsigned char gray = SP_GRAY(buff[readIndex + 0], buff[readIndex + 1], in _print_swath()294 buff[readIndex + 2]); in _print_swath()