/libcore/luni/src/test/java/libcore/java/io/ |
H A D | FileInputStreamTest.java | 127 fis2.available(); 153 fis1.available(); 187 fis.available(); 222 assertEquals(0, input.available());
|
H A D | OldAndroidPipedStreamTest.java | 45 assertEquals(0, in.available()); 112 assertEquals(0, in.available()); 198 assertEquals(0, in.available());
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | ByteArrayInputStream.java | 133 * <code>0</code> to <code>255</code>. If no byte is available 231 public synchronized int available() { method in class:ByteArrayInputStream
|
H A D | InputStream.java | 54 * <code>255</code>. If no byte is available because the end of the stream 56 * blocks until input data is available, the end of the stream is detected, 71 * available, end of file is detected, or an exception is thrown. 75 * least one byte. If no byte is available because the stream is at the 110 * <p> This method blocks until input data is available, end of file is 115 * least one byte. If no byte is available because the stream is at end of 250 * <p> The {@code available} method for class {@code InputStream} always 260 public int available() throws IOException { method in class:InputStream
|
H A D | StringBufferInputStream.java | 80 * <code>0</code> to <code>255</code>. If no byte is available 164 public synchronized int available() { method in class:StringBufferInputStream
|
H A D | FileInputStream.java | 42 * are available depends on the host environment. 236 * if no input is yet available. 266 * is available. 282 * blocks until some input is available; otherwise, no 376 // BEGIN Android-changed: available() implementation changed from bare native. 377 public int available() throws IOException { method in class:FileInputStream 387 // END Android-changed: available() implementation changed from bare native.
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | FileDescriptorHolderSocketImpl.java | 102 protected int available() throws IOException { method in class:FileDescriptorHolderSocketImpl
|
H A D | ChannelInputStream.java | 119 public int available() throws IOException { method in class:ChannelInputStream
|
/libcore/ojluni/src/main/java/sun/security/timestamp/ |
H A D | TimestampToken.java | 158 while (tstInfo.data.available() > 0) {
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ScheduledThreadPoolExecutor.java | 26 * This file is available under and governed by the GNU General Public 862 * we are not guaranteed to have such indices available, in 900 * Condition signalled when a newer task becomes available at the 903 private final Condition available = lock.newCondition(); field in class:ScheduledThreadPoolExecutor.DelayedWorkQueue 1064 available.signal(); 1120 available.await(); 1127 available.await(); 1132 available.awaitNanos(delay); 1142 available.signal(); 1159 nanos = available [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 495 boolean available; 497 available = lockFileChannel.tryLock() != null; 511 available = fileCreated; 516 // continue searching for an available lock. 517 available = false; 519 if (available) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | DataOutputStreamTest.java | 157 int i, a = dis.available() / 2; 232 dis.available() == unihw.length() + 2);
|
H A D | LineNumberInputStreamTest.java | 46 * java.io.LineNumberInputStream#available() 49 assertTrue("Returned incorrect number of available bytes", lnis 50 .available() == text.length() / 2);
|
H A D | FilterInputStreamTest.java | 122 * java.io.FilterInputStream#available() 125 assertTrue("Returned incorrect number of available bytes", is 126 .available() == INPUT.length());
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | BasicConstraintsExtension.java | 134 if (val.data == null || val.data.available() == 0) { 145 if (val.data.available() == 0) {
|
H A D | AuthorityInfoAccessExtension.java | 125 while (val.data.available() != 0) {
|
H A D | CertificatePoliciesExtension.java | 149 while (val.data.available() != 0) {
|
H A D | CertificateVersion.java | 79 if (derVal.data.available() != 0) {
|
H A D | GeneralSubtree.java | 83 while (val.data.available() != 0) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | SocketImplTest.java | 94 protected int available() throws IOException { method in class:SocketImplTest.MockSocketImpl
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | OCSPResponse.java | 280 //System.out.println ("version is available"); 283 if (seq.data.available() != 0) { 331 if (seqDerIn.available() > 0) { 361 // if seq[3] is available , then it is a sequence of certificates 363 // certs are available 703 if (derVal.data.available() != 0) { 739 if (tmp.available() == 0) { 749 if (tmp.available() == 0) { 760 if (tmp.available() > 0) {
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldSocketImplFactoryTest.java | 124 protected int available() throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | X509CertificateTest.java | 176 final int size = ris.available(); 243 byte[] buf = new byte[ris.available()]; 1130 assertEquals(certsBytes.length * 2, bais.available()); 1133 assertTrue(certsBytes.length < bais.available()); 1143 assertEquals(cert1Bytes.length * 2, bais.available()); 1145 assertEquals(cert1Bytes.length, bais.available()); 1191 assertEquals(certsPlusExtra.length, bais.available()); 1209 assertEquals(0, bais.available()); 1211 assertEquals(4096, bais.available()); 1221 assertEquals(certsPlusExtra.length, bais.available()); [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | DeflaterInputStream.java | 205 // so that available is more accurate. 263 public int available() throws IOException { method in class:DeflaterInputStream
|
H A D | InflaterInputStream.java | 121 * enough input is available for decompression. 189 public int available() throws IOException { method in class:InflaterInputStream
|