/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/ior/ |
H A D | IdentifiableFactoryFinder.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 38 /** If there is a registered factory for id, use it to 39 * read an Identifiable from is. Otherwise create an 41 * The type of generic container, or error behavior is 44 Identifiable create(int id, InputStream is); argument
|
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | CustomMarshal.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 32 * An abstract value type that is meant to 33 * be used by the ORB, not the user. Semantically it is treated 37 * <tt>CustomMarshal</tt> operations. The manner in which this is done is 45 * This is the method invoked for Marshalling. 52 * This is the method invoked for Unmarshalling. 54 * @param is 56 unmarshal(DataInputStream is) argument [all...] |
/openjdk7/corba/src/share/classes/org/omg/CORBA/portable/ |
H A D | BoxedValueHelper.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 36 Serializable read_value(InputStream is); argument
|
H A D | ValueFactory.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 36 * The ValueFactory interface is the native mapping for the IDL 37 * type CORBA::ValueFactory. The read_value() method is called by 41 * is.read_value(java.io.Serializable) with a uninitialized valuetype 42 * to use for unmarshaling. The value returned by the stream is 53 * @param is an InputStream object--from which the value will be read. 54 * @return a Serializable object--the value read off of "is" Input stream. 56 Serializable read_value(org.omg.CORBA_2_3.portable.InputStream is); argument [all...] |
/openjdk7/jdk/test/java/util/jar/JarInputStream/ |
H A D | EmptyJar.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 27 throw NullPointerException when the JAR file is 37 JarInputStream is = new JarInputStream
|
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/ |
H A D | B6529200.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 60 InputStream is = sock.getInputStream(); 67 char c = (char) is.read(); 81 * because it is sending unknown content length response */ 89 while ((c=is.read()) != -1) { 105 is.close (); 116 InputStream is; 120 is [all...] |
H A D | B6526913.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 56 InputStream is = urlc.getInputStream(); 60 count += is.read (buf); 62 is.close(); 79 InputStream is = t.getRequestBody(); 81 while (is.read() != -1) ; 82 is.close();
|
/openjdk7/jdk/test/java/security/cert/CertPathValidator/indirectCRL/ |
H A D | CircularCRLOneLevel.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 108 ByteArrayInputStream is; 110 is = new ByteArrayInputStream(targetCertStr.getBytes()); 111 Certificate targetCert = cf.generateCertificate(is); 113 is = new ByteArrayInputStream(selfSignedCertStr.getBytes()); 114 Certificate selfSignedCert = cf.generateCertificate(is); 128 ByteArrayInputStream is = 130 Certificate selfSignedCert = cf.generateCertificate(is); [all...] |
H A D | CircularCRLOneLevelRevoked.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 109 ByteArrayInputStream is; 111 is = new ByteArrayInputStream(targetCertStr.getBytes()); 112 Certificate targetCert = cf.generateCertificate(is); 114 is = new ByteArrayInputStream(selfSignedCertStr.getBytes()); 115 Certificate selfSignedCert = cf.generateCertificate(is); 129 ByteArrayInputStream is = 131 Certificate selfSignedCert = cf.generateCertificate(is); [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xs/ |
H A D | XSLoader.java | 15 * distributed under the License is distributed on an "AS IS" BASIS, 33 * parameters. Using the configuration, it is possible to change the 39 * <br> The following list of boolean parameters is defined: 48 * handler is notified. </dd> 60 * is not defined by this specification. 69 * @param is The list of <code>LSInput</code>s from which the XML 73 public XSModel loadInputList(LSInputList is); argument 77 * reference. If the URI contains a fragment identifier, the behavior is 87 * @param is The <code>LSInput</code> from which the source 88 * document is t 91 load(LSInput is) argument [all...] |
/openjdk7/jdk/test/java/io/InputStreamReader/ |
H A D | ReadOffset.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 34 InputStream is 36 InputStreamReader isr = new InputStreamReader(is, "US-ASCII");
|
/openjdk7/jdk/test/java/util/jar/JarFile/ |
H A D | SignedJarFileGetInputStream.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary JarFile.getInputStream should not throw when jar file is signed 42 InputStream is = jar.getInputStream(new ZipEntry(entry.getName())); 43 is.close();
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/RandomFileInputStream/ |
H A D | Read.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 86 InputStream is = buff.getInputStream(); 90 int ret = is.available(); 91 int n = is.read(); 93 throw new RuntimeException("is.read shouldn't return -1!"); 94 if(is.available() != ret - 1) 96 "is.available() returns incorrect value (" 97 + is [all...] |
H A D | ReadByte.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 86 InputStream is = buff.getInputStream(); 90 int ret = is.available(); 91 int n = is.read(b); 93 throw new RuntimeException("is.read shouldn't return -1!"); 94 if(is.available() != ret - n) 96 "is.available() returns incorrect value (" 97 + is [all...] |
H A D | ReadByteIntInt.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 86 InputStream is = buff.getInputStream(); 90 int ret = is.available(); 91 int n = is.read(b, 7, 50); 93 throw new RuntimeException("is.read shouldn't return -1!"); 94 if(is.available() != ret - n) 96 "is.available() returns incorrect value (" 97 + is [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/ |
H A D | SDDocumentSource.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 59 * The caller is responsible for closing the reader to avoid resource leak. 75 * The caller is responsible for closing the reader to avoid resource leak. 97 InputStream is = url.openStream(); 99 xif.createXMLStreamReader(systemId.toExternalForm(),is), is); 103 InputStream is = url.openStream(); 105 XMLStreamReaderFactory.create(systemId.toExternalForm(),is,fals [all...] |
/openjdk7/jdk/test/sun/net/www/http/KeepAliveStream/ |
H A D | KeepAliveStreamClose.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 38 InputStream is; field in class:KeepAliveStreamClose.XServer 57 is = s.getInputStream (); 61 is.read(); 76 * is returning zero and the calling close() stays in a loop 87 InputStream is = urlc.getInputStream (); 89 while ((c=is.read())!= -1) { 93 is [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/http/6550798/ |
H A D | test.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 63 InputStream is = null; 67 is = new BufferedInputStream(conn.getInputStream()); 69 is.skip(1000); 71 while (is.read(buf) != -1) { 74 if (is != null) { 78 is.close();
|
/openjdk7/jdk/test/sun/net/www/protocol/jar/ |
H A D | B6449504.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 64 * shows the bug, where the jar file is closed after the 67 InputStream is = j1.getInputStream (); 73 * is ready to be read, after the connect() above, but we 76 InputStream is = j2.getInputStream (); 77 readAndClose (is); 81 static void readAndClose (InputStream is) throws IOException { argument 82 while (is [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | X509Factory.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 72 * the data read from the input stream <code>is</code>. 74 * @param is an input stream with the certificate data. 81 public Certificate engineGenerateCertificate(InputStream is) argument 84 if (is == null) { 91 byte[] encoding = readOneBlock(is); 131 * If the given X509Certificate or X509CertImpl is already present 132 * in the cert cache, the cached object is returne 329 engineGenerateCertificates(InputStream is) argument 353 engineGenerateCRL(InputStream is) argument 390 engineGenerateCRLs( InputStream is) argument 409 parseX509orPKCS7Cert(InputStream is) argument 442 parseX509orPKCS7CRL(InputStream is) argument 481 readOneBlock(InputStream is) argument 610 readBERInternal(InputStream is, ByteArrayOutputStream bout, int tag) argument [all...] |
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/ |
H A D | ComodoHacker.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 264 try (ByteArrayInputStream is = 266 Certificate trustedCert = cf.generateCertificate(is); 282 try (ByteArrayInputStream is = 284 chain[0] = (X509Certificate)cf.generateCertificate(is); 287 try (ByteArrayInputStream is = 289 chain[1] = (X509Certificate)cf.generateCertificate(is); 292 try (ByteArrayInputStream is [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/http/ |
H A D | Finalizer.java | 5 * This code is free software; you can redistribute it and/or modify it 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 33 InputStream is; field in class:XServer 49 is = s.getInputStream (); 50 BufferedReader r = new BufferedReader(new InputStreamReader(is)); 92 InputStream is = urlc.getInputStream (); 93 is = urlc.getInputStream (); 94 sink (is); 98 is 113 sink(InputStream is) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/ior/ |
H A D | ObjectKeyFactoryImpl.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 55 * magic. If scid is not valid, null should be returned. 59 InputStream is, OctetSeqHolder osh ) ; 79 // is changed. 130 InputStream is, OctetSeqHolder osh ) { 136 oktemp = new POAObjectKeyTemplate( orb, magic, scid, is, osh ) ; 138 oktemp = new OldPOAObjectKeyTemplate( orb, magic, scid, is, osh ) ; 141 oktemp = new JIDLObjectKeyTemplate( orb, magic, scid, is, os 58 handle( int magic, int scid, InputStream is, OctetSeqHolder osh ) argument 185 create( InputStream is, Handler handler, OctetSeqHolder osh ) argument [all...] |
H A D | JIDLObjectKeyTemplate.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 49 public JIDLObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is ) 51 super( orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID ); 53 setORBVersion( is ) ; 59 public JIDLObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is, argument 62 super( orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID ); 64 osh.value = readObjectKey( is ) ; 66 setORBVersion( is ) ; [all...] |
/openjdk7/jaxp/src/javax/xml/parsers/ |
H A D | DocumentBuilder.java | 5 * This code is free software; you can redistribute it and/or modify it 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 49 * an instance of this class is obtained, XML can be parsed from a 72 * <p><code>DocumentBuilder</code> is reset to the same state as when it was created with 74 * <code>reset()</code> is designed to allow the reuse of existing <code>DocumentBuilder</code>s 77 * <p>The reset <code>DocumentBuilder</code> is not guaranteed to have the same {@link EntityResolver} or {@link ErrorHandler} 78 * <code>Object</code>s, e.g. {@link Object#equals(Object obj)}. It is guaranteed to have a functionally equal 99 * An <code>IllegalArgumentException</code> is thrown if the 100 * <code>InputStream</code> is nul 114 parse(InputStream is) argument 142 parse(InputStream is, String systemId) argument 225 parse(InputSource is) argument [all...] |