Searched refs:nr (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/io/ |
D | InputStream.java | 213 int nr; in skip() local 222 nr = read(skipBuffer, 0, (int)Math.min(size, remaining)); in skip() 223 if (nr < 0) { in skip() 226 remaining -= nr; in skip()
|
D | LineNumberInputStream.java | 182 int nr; in skip() local 190 nr = read(data, 0, (int) Math.min(chunk, remaining)); in skip() 191 if (nr < 0) { in skip() 194 remaining -= nr; in skip()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileChannelImpl.java | 540 int nr = read(bb, pos); in transferToArbitraryChannel() local 541 if (nr <= 0) in transferToArbitraryChannel() 548 if (nw != nr) in transferToArbitraryChannel() 652 int nr = src.read(bb); in transferFromArbitraryChannel() local 653 if (nr <= 0) in transferFromArbitraryChannel() 658 if (nw != nr) in transferFromArbitraryChannel()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetEncoderTest.java | 997 byte[] nr = getLegalByteArray(); in testReplacement() 998 assertSame(encoder, encoder.replaceWith(nr)); in testReplacement() 999 assertSame(nr, encoder.replacement()); in testReplacement() 1001 nr = getIllegalByteArray(); in testReplacement()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | HttpURLConnection.java | 3090 int nr; 3101 nr = read(localSkipBuffer, 0, 3103 if (nr < 0) { 3106 remaining -= nr;
|