Lines Matching refs:buf
60 protected volatile byte buf[];
63 * Atomic updater to provide compareAndSet for buf. This is
65 * of buf[] as primary indicator that this stream is closed. (The
71 (BufferedInputStream.class, byte[].class, "buf");
77 * in the range <code>0</code> through <code>buf.length</code>;
78 * elements <code>buf[0]</code> through <code>buf[count-1]
86 * character to be read from the <code>buf</code> array.
90 * than <code>count</code>, then <code>buf[pos]</code>
97 * @see java.io.BufferedInputStream#buf
110 * stream, then <code>buf[markpos]</code>
114 * then all bytes from positions <code>buf[markpos]</code>
115 * through <code>buf[pos-1]</code> must remain
160 byte[] buffer = buf;
170 * buffer array is created and stored in <code>buf</code>.
184 * is created and stored in <code>buf</code>.
195 buf = new byte[size];
225 // Can't replace buf if there was an async close.
229 // assert buf == null;
467 while ( (buffer = buf) != null) {
475 // Else retry in case a new buf was CASed in fill()