/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | BufferManagerReadGrow.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 78 public void mark(RestorableInputStream is) { argument 80 inputStream = is;
|
H A D | TypeCodeInputStream.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 128 // This is why the size of the enclosed stream needs to be substracted. 143 //getPosition() + " because enclosure is " + enclosure); 148 public static TypeCodeInputStream readEncapsulation(InputStream is, org.omg.CORBA.ORB _orb) { argument 152 int encapLength = is.read_long(); 156 is.read_octet_array(encapBuffer, 0, encapBuffer.length); 159 if (is instanceof CDRInputStream) { 161 ((CDRInputStream)is) [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 | WireObjectKeyTemplate.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 73 private byte[] getId( InputStream is ) 75 CDRInputStream cis = (CDRInputStream)is ; 87 public WireObjectKeyTemplate( InputStream is, OctetSeqHolder osh ) argument 89 osh.value = getId( is ) ; 90 initORB( (ORB)(is.orb())) ; 118 * are local or not. It seems that the easiest way to handle this is 136 /** Adapter ID is no [all...] |
/openjdk7/jdk/src/share/classes/javax/security/auth/x500/ |
H A D | X500Principal.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 43 * for the string representation of a distinguished name is defined in 84 * NOTE: this field is reflectively accessed from within X500Name. 91 * NOTE: The constructor is package private. It is intended to be accessed 104 * RFC 1779 or RFC 2253 (either format is acceptable). 116 * is <code>null</code> 118 * is improperl 239 X500Principal(InputStream is) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/ |
H A D | TransferableProxy.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 52 * object is returned. 75 // If the data is a Serializable object, then create a new instance 151 ClassLoaderObjectInputStream(InputStream is, argument 154 super(is); 189 // The code below is mostly copied from the superclass.
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | JPEGImageDecoder.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 68 private native void readImage(InputStream is, byte buf[]) argument 73 public JPEGImageDecoder(InputStreamImageSource src, InputStream is) { argument 74 super(src, is);
|
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | XMLDecoder.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 40 * The <code>XMLDecoder</code> class is used to read XML documents 41 * created using the <code>XMLEncoder</code> and is used just like 117 * @param owner the owner of this stream. <code>null</code> is a legal 135 * If the input source {@code is} is {@code null}, 136 * no exception is thrown and no parsing is performe 144 XMLDecoder(InputSource is) argument 161 XMLDecoder(InputSource is, Object owner, ExceptionListener el, ClassLoader cl) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | JarInputStream.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 34 * The <code>JarInputStream</code> class is used to read the contents of 56 * manifest. If a manifest is present, also attempts to verify 57 * the signatures if the JarInputStream is signed. 67 * manifest. If a manifest is present and verify is true, also attempts 68 * to verify the signatures if the JarInputStream is signed. 72 * it is signe 106 getBytes(InputStream is) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CipherInputStream.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 31 * A CipherInputStream is composed of an InputStream and a Cipher so 37 * <p> For example, if the Cipher is initialized for decryption, the 50 * <p> It is crucial for a programmer using this class not to use 52 * new method or constructor that is later added to one of the super 76 engine. the size 512 bytes is somewhat randomly chosen */ 132 * <br>Note: if the specified input stream or cipher is 135 * @param is th 138 CipherInputStream(InputStream is, Cipher c) argument 152 CipherInputStream(InputStream is) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/management/ |
H A D | MBeanAttributeInfo.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 37 * this class are immutable. Subclasses may be mutable but this is 52 jmx.serial.form=1.0 is not the same as that produced by 54 the serialization without that property is the same, and 55 that is the only form required by JMX 1.2. 88 * @serial Indicates if this method is a "is" 90 private final boolean is; field in class:MBeanAttributeInfo [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/ |
H A D | CompactParseable.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 28 * Permission is hereby granted, free of charge, to any person obtaining a copy 32 * copies of the Software, and to permit persons to whom the Software is 100 private static Reader makeReader(InputSource is) throws BuildException { argument 102 Reader r = is.getCharacterStream(); 104 InputStream in = is.getByteStream(); 106 String systemId = is.getSystemId(); 109 String encoding = is [all...] |
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/6725892/ |
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 52 InputStream is = t.getRequestBody(); 55 while (is.read () != -1) ; 56 is.close(); 100 InputStream is = s.getInputStream(); 104 is.read(); 122 InputStream is = urlc.getInputStream(); 124 // on server. If it timesout at client then there is 247 checkResponse(InputStream is, String resp) argument [all...] |
/openjdk7/jdk/test/java/io/DataInputStream/ |
H A D | OpsAfterClose.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 35 READ { boolean check(DataInputStream is) { 37 int read = is.read(); 46 READ_BUF { boolean check(DataInputStream is) { 49 int read = is.read(buf); 57 READ_BUF_OFF { boolean check(DataInputStream is) { 61 int read = is.read(buf, 0, len); 69 AVAILABLE { boolean check(DataInputStream is) { 235 check(DataInputStream is) argument 262 testDataInputStream(DataInputStream is) argument [all...] |
/openjdk7/jdk/test/java/lang/Runtime/exec/ |
H A D | WinCommand.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 35 private final InputStream is; field in class:StreamDrainer 37 public StreamDrainer(InputStream is) { this.is = is; } argument 41 while ((i = is.read()) >= 0)
|
/openjdk7/jdk/test/java/net/Authenticator/ |
H A D | B4678055.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 72 * An alternative (more likely) scenario that shows this behavior is 79 * from the first realm, which is wrong (unexpectedly) 89 /* Repeat the OK, to make sure the same new auth string is sent */ 99 static void read (InputStream is) throws IOException { argument 102 while ((c=is.read()) != -1) { 117 InputStream is = urlc.getInputStream (); 118 read (is); [all...] |
H A D | BasicTest4.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 41 InputStream is; field in class:BasicTest4.BasicServer 88 InputStream is = s.getInputStream (); 91 while (is.read(buf) > 0) ; 139 InputStream is = s.getInputStream (); 140 success = checkFor (is, "Authorization".toCharArray()); 184 static void read (InputStream is) throws IOException { argument 187 while ((c=is [all...] |
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/ |
H A D | CookieHttpsClientTest.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 * @summary Cookiemanager does not store cookies if url is read 158 static void readOneRequest(InputStream is) throws IOException { argument 160 while ((r = is.read()) != -1) { 174 * The remainder is just support stuff 228 * When we get here, the test is pretty much over.
|
/openjdk7/jdk/src/share/classes/sun/security/jgss/ |
H A D | GSSHeader.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 41 * The format is specified in RFC 2743 section 3.1. 85 * that is obtained from a socket. 87 public GSSHeader(InputStream is) argument 92 int tag = is.read(); 100 int length = getLength(is); 102 DerValue temp = new DerValue(is); 143 * size is i [all...] |
H A D | GSSToken.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 45 * is assumed that the array will be large enough to hold the 4 bytes of 56 * is assumed that the array will be large enough to hold the 4 bytes of 143 * @param is the InputStream to read from 148 public static final int readInt(InputStream is) throws IOException { argument 149 return (((0xFF & is.read()) << 8) 150 | (0xFF & is.read())); 168 * @param is th 174 readFully(InputStream is, byte[] buffer) argument 191 readFully(InputStream is, byte[] buffer, int offset, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | MicToken.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 45 InputStream is, MessageProp prop) 47 super(Krb5Token.MIC_ID, context, is, prop); 74 // debug("Application data to MicToken verify is [" + 87 //debug("Application data to MicToken cons is [" + 99 // Token is small 44 MicToken(Krb5Context context, InputStream is, MessageProp prop) argument
|
H A D | WrapToken_v2.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 39 * 4121, emitted by the GSSContext.wrap() call. It is a MessageToken except 42 * MICToken, which is another type of MessageToken. All data in a WrapToken is 44 * is replaced by (confounder || data || tokenHeader || checksum). 65 * @throws GSSException if the token is defective 81 * @param is the InputStream containing the token bytes 84 * @throws GSSException if the token is defectiv 87 WrapToken_v2(Krb5Context context, InputStream is, MessageProp prop) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/ |
H A D | CCacheInputStream.java | 4 * This code is free software; you can redistribute it and/or modify it 10 * This code is distributed in the hope that it will be useful, but WITHOUT 13 * version 2 for more details (a copy is included in the LICENSE file that 43 * This class extends KrbDataInputStream. It is used for parsing FCC-format 55 * FCC version 3 contains keyblock encryption type information, and is 59 * what KRB5_FCC_DEFAULT_FVNO is set to, it will create version 1, 2, 69 public CCacheInputStream(InputStream is){ argument 70 super(is); 111 * In file-based credential cache, the realm name is stored as part of 155 * In practice, a realm is name [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/ |
H A D | X509CertPath.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 56 * That is, the issuer of one certificate is the subject of the following 75 * The names of our encodings. PkiPath is the default. 102 * that is not an <code>X509Certificate</code> 111 ("List is not all X509Certificates: " 116 // Assumes that the resulting List is thread-safe. This is tru 132 X509CertPath(InputStream is) argument 146 X509CertPath(InputStream is, String encoding) argument 167 parsePKIPATH(InputStream is) argument 210 parsePKCS7(InputStream is) argument 251 readAllBytes(InputStream is) argument [all...] |
/openjdk7/jdk/test/java/security/Identity/ |
H A D | EqualsHashCodeContract.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 70 public MyIdentity(String name, IdentityScope is) throws KeyManagementException { argument 71 super(name, is);
|