/openjdk7/jdk/test/java/util/zip/ |
H A D | StreamIOAfterClose.java | 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 Test if zip related in/output streams will 46 private static void testRead(InputStream in) throws Exception { argument 47 in.close(); 49 in.read();
|
/openjdk7/jdk/test/javax/crypto/Cipher/ |
H A D | ByteBuffers.java | 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 87 private static void crypt(Cipher cipher, ByteBuffer in, ByteBuffer out, byte[] outBytes, Random random) throws Exception { argument 88 in.clear(); 92 int lim = in.limit(); 93 in.limit(random.nextInt(lim)); 94 cipher.update(in, out); 95 if (in.hasRemaining()) { 98 in.limit(lim); 99 cipher.doFinal(in, ou [all...] |
/openjdk7/jdk/test/sun/net/sdp/ |
H A D | Sanity.java | 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 153 static void testConnection(OutputStream out, InputStream in) argument 162 int n = in.read(ba);
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/ |
H A D | MultiplexConnectionInfo.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 MultiplexInputStream in = null; field in class:MultiplexConnectionInfo
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | TestISO2022JPSubBytes.java | 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 /* \U2460 is not valid character in ISO2022JP and will be substituted 38 static char[][] in = { {'\u25cb', '\u2460', '\u25cb'}, field in class:TestISO2022JPSubBytes 64 test(enc, in[0], expected[0]); 67 test(enc, in[1], expected[1]); 71 test(enc, in[2], expected[2]); 74 test(enc, in[3], expected[3]);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/servicecontext/ |
H A D | ServiceContext.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * registration mechanism defined in ServiceContexts. OMG defined 75 * in the subclass. After this constructor completes, the service 76 * context representation can be read from in. 82 in = s; 85 /** Returns Service context id. Must be overloaded in subclass. 107 * into an encapsulation stream. Must be overloaded in subclass. 111 /** in i 115 protected InputStream in = null ; field in class:ServiceContext [all...] |
/openjdk7/corba/src/share/classes/com/sun/org/omg/SendingContext/ |
H A D | _CodeBaseImplBase.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 org.omg.CORBA.portable.InputStream in, 80 String x = com.sun.org.omg.CORBA.RepositoryIdHelper.read (in); 89 String x[] = com.sun.org.omg.CORBA.RepositoryIdSeqHelper.read (in); 100 String x = com.sun.org.omg.CORBA.RepositoryIdHelper.read (in); 109 String x[] = com.sun.org.omg.CORBA.RepositoryIdSeqHelper.read (in); 120 String x = com.sun.org.omg.CORBA.RepositoryIdHelper.read (in); 55 _invoke(String method, org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler rh) argument
|
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | ServiceDetailHelper.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 44 public static org.omg.CORBA.ServiceDetail read(org.omg.CORBA.portable.InputStream in) { argument 46 that.service_detail_type = in.read_ulong(); 48 int __length = in.read_long(); 50 in.read_octet_array(that.service_detail, 0, that.service_detail.length); 55 org.omg.CORBA.portable.InputStream in = a.create_input_stream(); 56 return read(in);
|
H A D | ServiceInformationHelper.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 47 public static org.omg.CORBA.ServiceInformation read(org.omg.CORBA.portable.InputStream in) { argument 50 int __length = in.read_long(); 52 in.read_ulong_array(that.service_options, 0, that.service_options.length); 55 int __length = in.read_long(); 58 that.service_details[__index] = org.omg.CORBA.ServiceDetailHelper.read(in); 64 org.omg.CORBA.portable.InputStream in = a.create_input_stream(); 65 return read(in); [all...] |
H A D | ServiceInformationHolder.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 33 * that is used to store "out" and "inout" parameters in IDL methods. 37 * parameter in the method invocation; for "inout" parameters, the programmer 38 * must also fill the "in" value to be sent to the server. 39 * Before the method invocation returns, the ORB will fill in the 43 * the value stored in its <code>value</code> field can be accessed with 51 * <code>ServiceInformationHolder</code> object in its <code>value</code> field. 78 * Marshals the value in thi 95 _read(org.omg.CORBA.portable.InputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/smartcardio/ |
H A D | ATR.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * <p>Instances of this class are immutable. Where data is passed in or out 101 * Returns a copy of the bytes in this ATR. 103 * @return a copy of the bytes in this ATR. 110 * Returns a copy of the historical bytes in this ATR. 114 * @return a copy of the historical bytes in this ATR. 134 * identical to the bytes in this ATR. 159 private void readObject(java.io.ObjectInputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/midi/spi/ |
H A D | MidiFileWriter.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 108 * @param in sequence containing MIDI data to be written to the file 118 public abstract int write(Sequence in, int fileType, OutputStream out) throws IOException; argument 124 * @param in sequence containing MIDI data to be written to the external file 134 public abstract int write(Sequence in, int fileType, File out) throws IOException; argument
|
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/ |
H A D | SerialStruct.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * A serialized mapping in the Java programming language of an SQL 44 * In addition, the structured type is custom mapped to a class in the 50 * the SQL type name of the SQL structured type in the database, and methods 59 * used in the SQL definition of the SQL structured type. 66 * An array of <code>Object</code> instances in which each 69 * ordered according to their order in the definition of the 82 * @param map a <code>java.util.Map</code> object in whic 90 SerialStruct(Struct in, Map<String,Class<?>> map) argument 133 SerialStruct(SQLData in, Map<String,Class<?>> map) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/ |
H A D | RTFEditorKit.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 65 * to be in a format appropriate for this kind of content 68 * @param in The stream to read from 70 * @param pos The location in the document to place the 76 public void read(InputStream in, Document doc, int pos) throws IOException, BadLocationException { argument 82 rdr.readFromStream(in); 86 super.read(in, doc, pos); 92 * in 123 read(Reader in, Document doc, int pos) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/applet/ |
H A D | AppletAudioClip.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 64 // in the clip. 65 InputStream in = url.openStream(); 66 createAppletAudioClip(in); 83 // in the clip. 105 InputStream in = new ByteArrayInputStream(data); 107 createAppletAudioClip(in); 122 void createAppletAudioClip(InputStream in) throw argument [all...] |
/openjdk7/jdk/src/share/classes/sun/audio/ |
H A D | AudioPlayer.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 89 * Create an AudioPlayer thread in a privileged block. 127 public synchronized void start(InputStream in) { argument 131 System.out.println(" InputStream = " + in); 133 devAudio.openChannel(in); 142 * nothing happens if the stream wasn't playing in the 146 public synchronized void stop(InputStream in) { argument 152 devAudio.closeChannel(in); [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FilterInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 50 protected volatile InputStream in; field in class:FilterInputStream 54 * by assigning the argument <code>in</code> 55 * to the field <code>this.in</code> so as 58 * @param in the underlying input stream, or <code>null</code> if 61 protected FilterInputStream(InputStream in) { argument 62 this.in = in; [all...] |
H A D | FilterReader.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 46 protected Reader in; field in class:FilterReader 51 * @param in a Reader object providing the underlying stream. 52 * @throws NullPointerException if <code>in</code> is <code>null</code> 54 protected FilterReader(Reader in) { argument 55 super(in); 56 this.in = in; [all...] |
H A D | InputStreamReader.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 50 * BufferedReader in 51 * = new BufferedReader(new InputStreamReader(System.in)); 69 * @param in An InputStream 71 public InputStreamReader(InputStream in) { argument 72 super(in); 74 sd = StreamDecoder.forInputStreamReader(in, this, (String)null); // ## check lock object 84 * @param in 94 InputStreamReader(InputStream in, String charsetName) argument 112 InputStreamReader(InputStream in, Charset cs) argument 128 InputStreamReader(InputStream in, CharsetDecoder dec) argument [all...] |
H A D | SequenceInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 48 InputStream in; field in class:SequenceInputStream 56 * the enumeration will be read, in order, 80 * will be read in order, first <code>s1</code> 102 * Continues reading in the next stream if an EOF is reached. 105 if (in != null) { 106 in.close(); 110 in [all...] |
/openjdk7/jdk/src/share/classes/java/rmi/activation/ |
H A D | ActivationID.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 58 * in a few ways: <ul> 143 * 2) the activator specified in each identifier 193 * names specified in the {@link java.rmi.server.RemoteObject 200 * names is specified in the {@link 235 * <code>in</code> to read this object's unique identifier 239 * <code>in</code> to read the external ref type name of the 256 * in th 264 readObject(ObjectInputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | UnresolvedPermissionCollection.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 114 * Returns an enumeration of all the UnresolvedPermission lists in the 156 * in which the values are Vectors for 189 * Reads in a Hashtable in which the values are Vectors of 190 * UnresolvedPermissions and saves them in the perms field. 192 private void readObject(ObjectInputStream in) throws IOException, argument 196 // Read in serialize [all...] |
/openjdk7/jdk/src/share/classes/java/util/prefs/ |
H A D | NodeChangeEvent.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 96 private void readObject(java.io.ObjectInputStream in) argument
|
H A D | PreferenceChangeEvent.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 117 private void readObject(java.io.ObjectInputStream in) argument
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | CheckedInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 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 * @param in the input stream 48 public CheckedInputStream(InputStream in, Checksum cksum) { argument 49 super(in); 59 int b = in.read(); 71 * @param off the start offset in the destination array <code>b</code> 82 len = in.read(buf, off, len);
|