Lines Matching defs:in

9  * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
40 * operation remembers a point in the input
66 * "in" field is also nulled out on close.)
74 * The index one greater than the index of the last valid byte in
77 * in the range <code>0</code> through <code>buf.length</code>;
85 * The current position in the buffer. This is the index of the next
88 * This value is always in the range <code>0</code>
106 * in the range <code>-1</code> through <code>pos</code>.
107 * If there is no marked position in the input
109 * there is a marked position in the input
116 * in the buffer array (though they may be
117 * moved to another place in the buffer array,
149 InputStream input = in;
169 * <code>in</code>, for later use. An internal
170 * buffer array is created and stored in <code>buf</code>.
172 * @param in the underlying input stream.
174 public BufferedInputStream(InputStream in) {
175 this(in, defaultBufferSize);
182 * <code>in</code>, for later use. An internal
184 * is created and stored in <code>buf</code>.
186 * @param in the underlying input stream.
190 public BufferedInputStream(InputStream in, int size) {
191 super(in);
202 * This method also assumes that all data has already been read in,
209 else if (pos >= buffer.length) /* no room left in buffer */
250 * @see java.io.FilterInputStream#in
311 * attempt to read as many bytes as possible in the same fashion.
341 InputStream input = in;
364 // If no mark position set then don't keep in buffer
368 // Fill in buffer to save bytes for reset
387 * This method returns the sum of the number of bytes remaining to be read in
389 * {@link java.io.FilterInputStream#in in}.available().
469 InputStream input = in;
470 in = null;
475 // Else retry in case a new buf was CASed in fill()