Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DLineNumberInputStream.java183 int nr; in skip() local
191 nr = read(data, 0, (int) Math.min(chunk, remaining)); in skip()
192 if (nr < 0) { in skip()
195 remaining -= nr; in skip()
DInputStream.java538 int nr; in skip() local
547 nr = read(skipBuffer, 0, (int)Math.min(size, remaining)); in skip()
548 if (nr < 0) { in skip()
551 remaining -= nr; in skip()
/libcore/luni/src/test/native/
Dlibcore_java_io_FileTest.cpp61 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), in Java_libcore_java_io_FileTest_installSeccompFilter()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java610 int nr = read(bb, pos); in transferToArbitraryChannel() local
611 if (nr <= 0) in transferToArbitraryChannel()
618 if (nw != nr) in transferToArbitraryChannel()
722 int nr = src.read(bb); in transferFromArbitraryChannel() local
723 if (nr <= 0) in transferFromArbitraryChannel()
728 if (nw != nr) in transferFromArbitraryChannel()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetEncoderTest.java1000 byte[] nr = getLegalByteArray(); in testReplacement()
1001 assertSame(encoder, encoder.replaceWith(nr)); in testReplacement()
1002 assertTrue(Arrays.equals(nr, encoder.replacement())); in testReplacement()
1004 nr = getIllegalByteArray(); in testReplacement()