/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ObjectTest.java | 27 int ready = 0; field in ObjectTest 121 ready++; in test_notify() 140 ready = 0; in test_notify() 158 if (ready == threadCount) { in test_notify() 162 assertEquals("Not all launched threads are waiting. (ready=" + ready + ")", in test_notify() 163 ready, threadCount); in test_notify() 193 ready += 1; in test_notifyAll() 211 ready = 0; in test_notifyAll() 227 if (ready == threadCount) { in test_notifyAll() 233 assertEquals("Not all launched threads are waiting.", threadCount, ready); in test_notifyAll()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | CharArrayReaderTest.java | 34 assertTrue("Failed to create reader", cr.ready()); in test_Constructor$C() 42 assertTrue("Failed to create reader", cr.ready()); in test_Constructor$CII() 112 assertTrue("ready returned false", cr.ready()); in test_ready() 114 assertTrue("ready returned true", !cr.ready()); in test_ready() 118 cr.ready(); in test_ready() 126 cr.ready(); in test_ready()
|
D | InputStreamReaderTest.java | 151 reader.ready(); in test_close() 182 assertFalse(reader.ready()); in test_close() 521 assertTrue("Ready test failed", is.ready()); in test_ready() 523 assertTrue("More chars, but not ready", is.ready()); in test_ready() 525 assertTrue(reader.ready()); in test_ready() 527 assertFalse(reader.ready()); in test_ready()
|
D | StringReaderTest.java | 110 assertTrue("Steam not ready", sr.ready()); in test_ready() 114 sr.ready(); in test_ready()
|
D | PipedReaderTest.java | 381 assertTrue("Reader should be ready", preader.ready()); in test_ready() 386 preader.ready()); in test_ready()
|
D | ConsoleTest.java | 81 assertTrue(reader1.ready()); in test_reader()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldCharArrayReaderTest.java | 37 assertTrue("Failed to create reader", cr.ready()); in test_Constructor$C() 73 assertTrue("Test 5: Failed to create reader", cr.ready()); in test_Constructor$CII() 196 assertTrue("ready returned false", cr.ready()); in test_ready() 198 assertTrue("ready returned true", !cr.ready()); in test_ready() 201 cr.ready(); in test_ready() 210 cr.ready(); in test_ready()
|
D | OldInputStreamReaderTest.java | 138 assertTrue(reader.ready()); in testReady() 140 assertFalse(reader.ready()); in testReady() 210 reader.ready(); in testClose() 234 assertTrue("Ready test failed", is.ready()); in test_ready() 236 assertTrue("More chars, but not ready", is.ready()); in test_ready()
|
D | OldFilterReaderTest.java | 63 public boolean ready() throws IOException { in ready() method in OldFilterReaderTest.MockReader 148 fr.ready(); in test_ready()
|
D | OldPushbackReaderTest.java | 233 assertTrue("Should be ready!", tobj.ready()); in test_ready() 236 tobj.ready(); in test_ready()
|
D | OldReaderTest.java | 90 simple.ready(); in test_ready()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FilterReader.java | 91 public boolean ready() throws IOException { in ready() method in FilterReader 92 return in.ready(); in ready()
|
D | InputStreamReader.java | 194 public boolean ready() throws IOException { in ready() method in InputStreamReader 195 return sd.ready(); in ready()
|
D | BufferedReader.java | 299 while ((n < len) && in.ready()) { in read() 453 public boolean ready() throws IOException { in ready() method in BufferedReader 465 if (nextChar >= nChars && in.ready()) { in ready() 474 return (nextChar < nChars) || in.ready(); in ready()
|
D | PushbackReader.java | 204 public boolean ready() throws IOException { in ready() method in PushbackReader 207 return (pos < buf.length) || super.ready(); in ready()
|
D | Console.java | 417 public boolean ready() throws IOException { in ready() method in Console.LineReader 419 return in.ready(); in ready() 485 if (nextChar == nChars && in.ready()) { in read()
|
D | Reader.java | 203 public boolean ready() throws IOException { in ready() method in Reader
|
D | StringReader.java | 142 public boolean ready() throws IOException { in ready() method in StringReader
|
D | CharArrayReader.java | 183 public boolean ready() throws IOException { in ready() method in CharArrayReader
|
D | PipedReader.java | 342 public synchronized boolean ready() throws IOException { in ready() method in PipedReader
|
/libcore/ojluni/src/main/native/ |
D | SocketChannelImpl.c | 54 jboolean ready) in Java_sun_nio_ch_SocketChannelImpl_checkConnect() argument 63 if (!ready) { in Java_sun_nio_ch_SocketChannelImpl_checkConnect()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ChannelsTest.java | 402 assertFalse(testReader.ready()); in testNewReaderReadableByteChannelString_InputNull() 416 assertFalse(testReader.ready()); in testNewReaderReadableByteChannelString_InputNull() 439 assertFalse(testReader.ready()); in testNewReaderReadableByteChannelString_internalBufferZero() 452 assertFalse(testReader.ready()); in testNewReaderReadableByteChannelString_internalBufferZero() 477 assertTrue(testReader.ready()); in testNewReaderReadableByteChannelString() 478 assertTrue(testReader_s.ready()); in testNewReaderReadableByteChannelString() 493 assertTrue(testReader.ready()); in testNewReaderReadableByteChannelString() 494 assertTrue(testReader_s.ready()); in testNewReaderReadableByteChannelString()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ASimpleReader.java | 48 public boolean ready() throws IOException { in ready() method in Support_ASimpleReader
|
D | Support_StringReader.java | 186 public boolean ready() throws IOException { in ready() method in Support_StringReader
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | Console.java | 128 public boolean ready() throws java.io.IOException { in ready() method in Console.LineReader
|