Searched refs:available (Results 51 - 75 of 369) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/sound/midi/Gervill/AudioFloatInputStream/
H A DAvailable.java27 @summary Test AudioFloatInputStream available method */
73 if(stream.available() != 1024)
74 throw new RuntimeException("stream.available return incorrect value.");
76 if(stream.available() != 512)
77 throw new RuntimeException("stream.available return incorrect value.");
/openjdk7/jdk/test/javax/sound/midi/Gervill/RiffReaderWriter/
H A DAvailable.java27 @summary Test RiffReader available method */
58 int avail = readchunk.available();
60 assertEquals(avail - 1,readchunk.available());
/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/classes/sun/rmi/transport/proxy/
H A DHttpSendInputStream.java104 public int available() throws IOException method in class:HttpSendInputStream
108 return in.available();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DUCode_UCodeESC_CharStream.java110 int available; field in class:UCode_UCodeESC_CharStream
163 available = (bufsize += 2048);
215 if (available == bufsize) {
218 available = tokenBegin;
223 else if (available > tokenBegin)
224 available = bufsize;
225 else if ((tokenBegin - available) < 2048)
228 available = tokenBegin;
286 if (++bufpos == available)
309 if (++bufpos == available)
[all...]
H A DJavaCharStream.java111 int available; field in class:JavaCharStream
177 available = (bufsize += 2048);
243 if (available == bufsize)
248 available = tokenBegin;
253 else if (available > tokenBegin)
254 available = bufsize;
255 else if ((tokenBegin - available) < 2048)
258 available = tokenBegin;
316 if (++bufpos == available)
327 if (++bufpos == available)
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDLSSoundbank.java305 while (riff.available() != 0) {
410 info.name = chunk.readString(chunk.available());
412 info.creationDate = chunk.readString(chunk.available());
414 info.engineers = chunk.readString(chunk.available());
416 info.product = chunk.readString(chunk.available());
418 info.copyright = chunk.readString(chunk.available());
420 info.comments = chunk.readString(chunk.available());
422 info.tools = chunk.readString(chunk.available());
424 info.archival_location = chunk.readString(chunk.available());
426 info.artist = chunk.readString(chunk.available());
[all...]
H A DSF2Soundbank.java147 this.targetEngine = chunk.readString(chunk.available());
149 this.name = chunk.readString(chunk.available());
151 this.romName = chunk.readString(chunk.available());
156 this.creationDate = chunk.readString(chunk.available());
158 this.engineers = chunk.readString(chunk.available());
160 this.product = chunk.readString(chunk.available());
162 this.copyright = chunk.readString(chunk.available());
164 this.comments = chunk.readString(chunk.available());
166 this.tools = chunk.readString(chunk.available());
177 byte[] sampleData = new byte[chunk.available()];
[all...]
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DTunnelProxy.java342 int available; field in class:TunnelProxy.NioInputStream
355 available = 0;
383 canreturn = available();
386 canreturn = available();
390 available -= willreturn;
403 public synchronized int available () throws IOException { method in class:TunnelProxy.NioInputStream
410 if (available > 0)
411 return available;
414 available = channel.read (chanbuf);
415 if (available >
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DPAData.java52 * specification available at
105 if (encoding.getData().available() > 0)
169 while (d2.data.available() > 0) {
179 while (d.data.available() > 0) {
236 while (d2.data.available() > 0) {
246 while (d.data.available() > 0) {
274 while (der.data.available() > 0) {
292 while (der.data.available() > 0) {
H A DETypeInfo2.java101 if (encoding.getData().available() > 0) {
110 if (encoding.getData().available() > 0) {
117 if (encoding.getData().available() > 0)
/openjdk7/jdk/test/java/util/zip/
H A DDeflateIn_InflateOut.java58 check(dis.available() == 1);
67 check(dis.available() == 0);
88 check(dis.available() == 0);
121 * Note that this test relies on DeflaterInputStream.available() to
129 while (dis.available() == 1) {
152 check(dis.available() == 1);
161 check(dis.available() == 0);
205 check(dis.available() == 0);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DSimpleCharStream.java38 int available; field in class:SimpleCharStream
107 available = bufsize;
113 if (maxNextCharInd == available)
115 if (available == bufsize)
120 available = tokenBegin;
127 else if (available > tokenBegin)
128 available = bufsize;
129 else if ((tokenBegin - available) < 2048)
132 available = tokenBegin;
138 available
[all...]
/openjdk7/jdk/src/share/classes/sun/security/timestamp/
H A DTSResponse.java84 * -- the TSA's time source is not available
91 * -- or is not available
160 * The TSA's time source is not available.
176 * available.
278 return "The TSA's time source is not available.";
288 "understood or is not available.";
340 if (status.data.available() > 0) {
348 if (status.data.available() > 0) {
359 if (derValue.data.available() > 0) {
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DChunkedInputStream.java154 * returns the number of bytes available to read in the current chunk
159 public int available () throws IOException { method in class:ChunkedInputStream
163 int n = in.available();
173 return in.available() > 0;
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DAudioInputStream.java195 * @see #available
217 * available, the end of the stream is detected, or an exception is thrown.
229 * @see #available
254 * @see #available
325 * @see #available
370 public int available() throws IOException { method in class:AudioInputStream
372 int temp = stream.available();
471 public int available() throws IOException { method in class:AudioInputStream.TargetDataLineInputStream
472 return line.available();
/openjdk7/jdk/src/share/classes/java/io/
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
/openjdk7/jdk/src/share/back/
H A Dinvoker.h38 jboolean available; /* Is the thread in an invokable state? */ member in struct:InvokeRequest
/openjdk7/jdk/test/java/beans/Introspector/memory/
H A DSimpleClassLoader.java41 int length = fi.available();
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DCountUpdate.java100 public int available() { method in class:BufferBreaker
/openjdk7/jdk/test/java/io/ByteArrayInputStream/
H A DSkip.java45 int avail = curpos >= 0 ? curpos : in.available();
/openjdk7/jdk/test/java/io/DataInputStream/
H A DSkipBytes.java86 public int available() { return 0; } method in class:MyInputStream
/openjdk7/jdk/test/java/io/InputStream/
H A DSkip.java125 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
/openjdk7/jdk/test/java/io/Serializable/available/
H A DAvailable.java26 * @summary Verify that ObjectInputStream.available() functions properly when
77 * a call to available() on an ObjectInputStream created on top of the
79 * will get thrown if the available() call attempts to read past the
80 * underlying stream's available data.
86 new ByteArrayInputStream(trunc)).available();

Completed in 84 milliseconds

1234567891011>>