Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/io/InputStream/
DSkip.java38 private static final int EOF = -1; field in Skip
102 dotest(in, EOF, 11, 20, 0); in testSkip()
178 private static final int EOF = -1; field in MyInputStream
208 return EOF; in read()
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOStatus.java36 @Native public static final int EOF = -1; // End of file field in IOStatus
81 return ((n > EOF) || (n < UNSUPPORTED_CASE)); in checkAll()
DSocketChannelImpl.java454 return IOStatus.EOF; in read()
491 return IOStatus.EOF; in read()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java69 private final static int EOF = -1; field in SocketChannelTest
1929 if (EOF == count) { in test_readLjava_nio_ByteBuffer_Blocking()
1973 if (EOF == count) { in test_readLjava_nio_ByteBuffer_Nonblocking()
2028 if (EOF == count) { in test_writeLjava_nio_ByteBuffer_Blocking()
2088 if (EOF == count) { in test_writeLjava_nio_ByteBuffer_NonBlocking()
2695 if (EOF == countRead) { in assert_read$LByteBuffer()
2776 if (EOF == count) { in assert_write$LByteBuffer()
2928 while (EOF != worker.read(readBuffer)) {} in test_write$LByteBuffer2()
2969 while (EOF != worker.read(readBuffer)) {} in test_write$LByteBuffer_buffers()
3011 while (EOF != worker.read(readBuffer)) {} in test_write$LByteBuffer_writes()
/libcore/ojluni/src/main/native/
DUnixNativeDispatcher.c376 if (fclose(fp) == EOF && errno != EINTR) { in Java_sun_nio_fs_UnixNativeDispatcher_fclose()