Lines Matching defs:buf
53 * Buffered data is stored in {@code buf}. As long as no exception occurs, 0 <= pos <= end
58 private byte[] buf;
124 buf = new byte[capacity];
136 if (buf != null) {
137 buf = null;
153 if (buf == null) {
165 if (buf[i] == LF) {
166 int lineEnd = (i != pos && buf[i - 1] == CR) ? i - 1 : i;
167 String res = new String(buf, pos, lineEnd - pos, charset);
177 int length = (count > 0 && buf[count - 1] == CR) ? count - 1 : count;
178 return new String(buf, 0, length, charset);
183 out.write(buf, pos, end - pos);
189 if (buf[i] == LF) {
191 out.write(buf, pos, i - pos);
235 int result = in.read(buf, 0, buf.length);