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
80 * The index of the position in the circular buffer at which the
82 * piped output stream. <code>in&lt;0</code> implies the buffer is empty,
83 * <code>in==out</code> implies the buffer is full
86 protected int in = -1;
89 * The index of the position in the circular buffer at which the next
204 if (in == out)
206 if (in < 0) {
207 in = 0;
210 buffer[in++] = (byte)(b & 0xFF);
211 if (in >= buffer.length) {
212 in = 0;
231 if (in == out)
234 if (out < in) {
235 nextTransferAmount = buffer.length - in;
236 } else if (in < out) {
237 if (in == -1) {
238 in = out = 0;
239 nextTransferAmount = buffer.length - in;
241 nextTransferAmount = out - in;
247 System.arraycopy(b, off, buffer, in, nextTransferAmount);
250 in += nextTransferAmount;
251 if (in >= buffer.length) {
252 in = 0;
268 while (in == out) {
292 * value byte is returned as an <code>int</code> in the range
310 && !closedByWriter && (in < 0)) {
316 while (in < 0) {
336 if (in == out) {
338 in = -1;
355 * @param off the start offset in the destination array <code>b</code>
384 while ((in >= 0) && (len > 1)) {
388 if (in > out) {
389 available = Math.min((buffer.length - out), (in - out));
406 if (in == out) {
408 in = -1;
428 if(in < 0)
430 else if(in == out)
432 else if (in > out)
433 return in - out;
435 return in + buffer.length - out;
447 in = -1;