Searched defs:available (Results 1 - 25 of 125) sorted by relevance

12345

/openjdk7/jdk/test/java/io/InputStream/
H A DSkip.java125 public int available() { return 0; } method in class:MyInputStream
H A DReadParams.java225 public int available() { return 0; } method in class:MyInputStream
/openjdk7/jdk/test/java/io/LineNumberInputStream/
H A DSkip.java101 public int available() { return 0; } method in class:MyInputStream
H A DAvailable.java26 @summary Check for correct implementation of LineNumberInputStream.available
42 check(in.available(), 5);
45 check(in.available(), 4);
49 check(in.available(), 2);
65 public int available() { method in class:MyInStream
/openjdk7/jdk/test/java/nio/charset/spi/
H A DTest.java32 private static final SortedMap available = Charset.availableCharsets(); field in class:Test
46 if (!available.containsKey(cs.name()))
47 fail(csn, "Not in available charsets: " + available.keySet());
48 if (!((Charset)available.get(cs.name())).equals(cs))
60 if (available.containsKey(csn))
77 for (Iterator i = available.keySet().iterator(); i.hasNext();)
/openjdk7/jdk/src/share/classes/java/io/
H A DFilterInputStream.java68 * <code>0</code> to <code>255</code>. If no byte is available
71 * is available, the end of the stream is detected, or an exception
89 * input is available.
113 * blocks until some input is available; otherwise, no
161 * This method returns the result of {@link #in in}.available().
167 public int available() throws IOException { method in class:FilterInputStream
168 return in.available();
H A DInputStream.java54 * <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
248 * <p> The {@code available} method for class {@code InputStream} always
258 public int available() throws IOException { method in class:InputStream
H A DObjectInput.java55 * available.
64 * block until some input is available.
74 * block until some input is available.
95 * @return the number of available bytes.
98 public int available() throws IOException; method in interface:ObjectInput
H A DSequenceInputStream.java126 * This method simply calls {@code available} of the current underlying
137 public int available() throws IOException { method in class:SequenceInputStream
139 return 0; // no way to signal EOF from available()
141 return in.available();
147 * <code>255</code>. If no byte is available because the end of the
149 * This method blocks until input data is available, the end of the
177 * blocks until at least 1 byte of input is available; otherwise, no
H A DStringBufferInputStream.java80 * <code>0</code> to <code>255</code>. If no byte is available
161 public synchronized int available() { method in class:StringBufferInputStream
H A DByteArrayInputStream.java133 * <code>0</code> to <code>255</code>. If no byte is available
231 public synchronized int available() { method in class:ByteArrayInputStream
H A DLineNumberInputStream.java70 * <code>0</code> to <code>255</code>. If no byte is available
73 * is available, the end of the stream is detected, or an exception
114 * into an array of bytes. This method blocks until some input is available.
239 public int available() throws IOException { method in class:LineNumberInputStream
240 return (pushBack == -1) ? super.available()/2 : super.available()/2 + 1;
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_GDIObject.cpp108 BOOL available; local
112 available = TRUE;
121 available = TRUE;
124 available = FALSE;
128 return available;
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DCountUpdate.java100 public int available() { method in class:BufferBreaker
H A DFill.java62 public int available() { method in class:Fill.Source
/openjdk7/jdk/test/java/io/DataInputStream/
H A DSkipBytes.java86 public int available() { return 0; } method in class:MyInputStream
/openjdk7/jdk/test/java/io/charStreams/
H A DABCInputStream.java82 public int available() { method in class:ABCInputStream
/openjdk7/jdk/test/javax/print/PrintSubInputStream/
H A DExample.java130 int avail = super.available();
134 public int available() method in class:Example.TestInputStream
136 int true_avail = super.available();
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DFixedLengthInputStream.java66 public int available () throws IOException { method in class:FixedLengthInputStream
70 int n = in.available();
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DChannelInputStream.java112 public int available() throws IOException { method in class:ChannelInputStream
/openjdk7/jdk/src/share/classes/sun/rmi/log/
H A DLogInputStream.java49 * available.
64 * This method blocks until some input is available.
76 * This method blocks until some input is available.
112 * @return the number of available bytes, which is initially
115 public int available() throws IOException { method in class:LogInputStream
116 int avail = in.available();
/openjdk7/jdk/src/share/back/
H A Dinvoker.h38 jboolean available; /* Is the thread in an invokable state? */ member in struct:InvokeRequest
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DQPDecoderStream.java61 * to <code>255</code>. If no byte is available because the end of
63 * This method blocks until input data is available, the end of the
142 * available.
178 * this method just invokes the <code>available</code> method
181 public int available() throws IOException { method in class:QPDecoderStream
183 // bytes are available *after* decoding
184 return in.available();
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DAppInputStream.java58 public int available() throws IOException { method in class:AppInputStream
62 return r.available();
101 while (r.available() == 0) {
108 int howmany = Math.min(len, r.available());
H A DByteBufferInputStream.java138 public int available() throws IOException { method in class:ByteBufferInputStream
141 throw new IOException("available on a closed InputStream");

Completed in 112 milliseconds

12345