Home | History | Annotate | Download | only in util

Lines Matching refs:off

118     public void write(char[] buf, int off, int len) {
125 if (buf[off + i] == '\n') {
136 appendToBuffer(buf, off, nextNewLine);
140 off += nextNewLine + 1;
150 appendToBuffer(buf, off, rest);
153 off += rest;
161 appendToBuffer(buf, off, len);
163 if (buf[off + i] == '\n') {
172 public void write(String s, int off, int len) {
179 if (s.charAt(off + i) == '\n') {
190 appendToBuffer(s, off, nextNewLine);
194 off += nextNewLine + 1;
204 appendToBuffer(s, off, rest);
207 off += rest;
215 appendToBuffer(s, off, len);
217 if (s.charAt(off + i) == '\n') {
229 * @param off The start index to copy from.
232 private void appendToBuffer(char[] buf, int off, int len) {
236 System.arraycopy(buf, off, buffer, bufferIndex, len);
244 * @param off The start index to copy from.
247 private void appendToBuffer(String s, int off, int len) {
251 s.getChars(off, off + len, buffer, bufferIndex);