Searched refs:available (Results 101 - 125 of 369) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/net/www/httptest/
H A DHttpServer.java407 int available; field in class:HttpServer.NioInputStream
420 available = 0;
448 canreturn = available();
451 canreturn = available();
455 available -= willreturn;
468 public synchronized int available () throws IOException { method in class:HttpServer.NioInputStream
475 if (available > 0)
476 return available;
479 available = channel.read (chanbuf);
480 if (available >
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DEncryptedPrivateKeyInfo.java91 if (val.data.available() != 0) {
92 throw new IOException("overrun, bytes = " + val.data.available());
96 if (seq[0].data.available() != 0) {
101 if (seq[1].data.available() != 0) {
198 * in the constructor when such mapping is available.
439 if (algid.available() != 0) {
/openjdk7/jdk/src/share/classes/java/io/
H A DBufferedInputStream.java302 * <li> The <code>available</code> method of the underlying stream
340 // if not closed but no bytes available, return
342 if (input != null && input.available() <= 0)
389 * {@link java.io.FilterInputStream#in in}.available().
397 public synchronized int available() throws IOException { method in class:BufferedInputStream
399 int avail = getInIfOpen().available();
459 * Once the stream has been closed, further read(), available(), reset(),
H A DPushbackInputStream.java117 * <code>0</code> to <code>255</code>. If no byte is available
120 * is available, the end of the stream is detected, or an exception
147 * blocks until at least 1 byte of input is available; otherwise, no
264 * java.io.FilterInputStream#available available}.
272 * @see java.io.InputStream#available()
274 public int available() throws IOException { method in class:PushbackInputStream
277 int avail = super.available();
371 * available(), reset(), or skip() invocations will throw an IOException.
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
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DEncAPRepPart.java53 * specification available at
109 if (der.getData().available() > 0) {
115 if (der.getData().available() > 0) {
124 if (der.getData().available() > 0) {
H A DKDCReqBody.java67 * specification available at
166 while(subDer.getData().available() > 0) {
179 if (encoding.getData().available() > 0) {
182 if (encoding.getData().available() > 0) {
185 if (encoding.getData().available() > 0) {
191 while (subDer.getData().available() > 0) {
205 if (encoding.getData().available() > 0) {
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DPolicyInformation.java107 if (val.data.available() != 0) {
112 if (opt.data.available() == 0)
113 throw new IOException("No data available in policyQualifiers");
114 while (opt.data.available() != 0)
/openjdk7/langtools/test/tools/javap/
H A DT6622260.java75 int constantPoolPos = data.length - in.available();
78 int flagsPos = data.length - in.available();
98 int classAttributesPos = data.length - in.available();
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DDerInputStream.java158 * Note: UniversalString not supported till encoder is available.
353 int readLen = buffer.available();
378 if (buffer.available() == len)
392 } while (newstr.available() > 0);
394 if (newstr.available() != 0)
589 * Returns the number of bytes available for reading.
593 public int available() { return buffer.available(); } method in class:DerInputStream
/openjdk7/jdk/src/share/classes/java/net/
H A DSocketInputStream.java242 * @return the number of immediately available bytes
244 public int available() throws IOException { method in class:SocketInputStream
245 return impl.available();
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDHParameters.java80 if (encodedParams.data.available() != 0) {
84 if (encodedParams.data.available() != 0) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DBASE64DecoderStream.java63 * to <code>255</code>. If no byte is available because the end of
65 * This method blocks until input data is available, the end of the
86 * available.
125 public int available() throws IOException { method in class:BASE64DecoderStream
126 // This is only an estimate, since in.available()
128 return ((in.available() * 3)/4 + (bufsize-index));
H A DUUDecoderStream.java70 * to <code>255</code>. If no byte is available because the end of
72 * This method blocks until input data is available, the end of the
108 public int available() throws IOException { method in class:UUDecoderStream
109 // This is only an estimate, since in.available()
111 return ((in.available() * 3)/4 + (bufsize-index));
/openjdk7/jdk/test/com/sun/jndi/ldap/LdapName/
H A DEmptyNameSearch.java110 in.skip(in.available());
122 in.skip(in.available());
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DMicToken.java59 dataBytes = new byte[data.available()];
84 byte[] dataBytes = new byte[data.available()];
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DSigningCertificateInfo.java122 if (derValue.data.available() > 0) {
144 if (certId.data.available() > 0) {
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAParameters.java86 if (encodedParams.data.available() != 0) {
88 encodedParams.data.available() +
/openjdk7/jdk/test/java/util/zip/
H A DConstructDeflaterInput.java124 check(dis.available() == 1);
139 dis.available();
/openjdk7/jdk/test/javax/sound/sampled/FileWriter/
H A DWriterCloseInput.java84 inStream.available();
105 public int available() throws IOException { method in class:WriterCloseInput.ThrowAfterCloseStream
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMeteredStream.java169 public synchronized int available() throws IOException { method in class:MeteredStream
170 return closed ? 0: in.available();
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DKeepAliveStream.java85 if (nskip <= available()) {
133 } else if (in.available() < (expected - count)) {
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DHttpInputStream.java109 public int available() throws IOException method in class:HttpInputStream
111 int bytesAvailable = in.available();
119 * Read a byte of data from the stream. Make sure that one is available
/openjdk7/hotspot/test/runtime/6626217/
H A DLoader2.java16 byte result[] = new byte[fi.available()];
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DDirectoryLoader.java140 result = new byte[stream.available()];

Completed in 77 milliseconds

1234567891011>>