Lines Matching refs:chars
537 * of <code>chars</code> that doesn't contain a NEWLINE, followed
547 protected void write(char[] chars, int startIndex, int length)
554 int newlineIndex = indexOf(chars, NEWLINE, startIndex, endIndex);
557 output(chars, lastIndex, newlineIndex - lastIndex);
561 newlineIndex = indexOf(chars, '\n', lastIndex, endIndex);
564 output(chars, lastIndex, endIndex - lastIndex);
568 // We can break chars if the length exceeds maxLength.
575 int newlineIndex = indexOf(chars, NEWLINE, lastIndex,
584 output(chars, lastIndex, newlineIndex - lastIndex);
592 output(chars, lastIndex, endIndex - lastIndex);
597 // Need to break chars, find a place to split chars at,
605 if (Character.isWhitespace(chars[counter +
614 output(chars, lastIndex, breakPoint - lastIndex);
628 if (Character.isWhitespace(chars[counter +
636 output(chars, lastIndex, endIndex - lastIndex);
641 if (chars[breakPoint] == NEWLINE) {
642 output(chars, lastIndex, breakPoint++ -
647 output(chars, lastIndex, ++breakPoint -
703 private int indexOf(char[] chars, char sChar, int startIndex,
706 if (chars[startIndex] == sChar) {