/openjdk7/jdk/test/java/io/Serializable/wrongReturnTypes/ |
H A D | Read.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 49 private Integer readObject(ObjectInputStream in) argument 53 in.defaultReadObject(); 65 FileInputStream in = new FileInputStream("tmp.ser"); 67 ObjectInputStream oin = new ObjectInputStream(in); 77 in.close();
|
/openjdk7/jdk/test/java/io/charStreams/ |
H A D | SmallReads.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 35 OneByteInputStream(InputStream in) { argument 36 super(in); 40 return in.read(b, off, 1);
|
/openjdk7/jdk/test/java/lang/Runtime/exec/ |
H A D | ExecWithInput.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 * This class demonstrates a regression in java1.4.1 in the handling of the 35 * of the time in 1.4, but about only about 50% of the time under 1.4.1. Issue 57 StringBufferInputStream in = new StringBufferInputStream(input); 59 IO ioIn = new IO("stdin", in, p.getOutputStream()); 79 * Handle IO. Thread is started in constructor. 83 private InputStream in; field in class:ExecWithInput.IO 86 IO(String name, InputStream in, OutputStrea argument [all...] |
/openjdk7/jdk/test/java/nio/channels/Channels/ |
H A D | Basic2.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 79 private final InputStream in; field in class:Basic2.Reader 83 Reader(InputStream in) { argument 84 this.in = in; 97 n = in.read(buf); 101 n = in.read(buf, off, len); 113 in.close();
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | TransferToChannel.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 39 static FileChannel in; field in class:TransferToChannel 50 in = fis.getChannel(); 53 in.close(); 75 long remainingBytes = in.size(); 100 long bytesTransferred = in.transferTo(size - remainingBytes, 110 long remainingBytes = in.size(); 115 long bytesTransferred = in.transferTo(size - remainingBytes,
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | CloseTimeoutChannel.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 56 InputStream in=socket.getInputStream(); 61 int n=read(socket, in); 76 /** Reads one byte from in, which must be s.getInputStream. */ 77 private static int read(Socket s, InputStream in) throws IOException { argument 80 return in.read(); 109 InputStream in=client.getInputStream(); 111 int n=in.read(); 117 n=in [all...] |
H A D | SocketInheritance.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 40 InputStream in; field in class:SocketInheritance.IOHandler 42 IOHandler(InputStream in) { argument 43 this.in = in; 46 static void handle(InputStream in) { argument 47 IOHandler handler = new IOHandler(in); 57 int n = in.read(b);
|
/openjdk7/jdk/test/sun/tools/native2ascii/ |
H A D | NativeErrors.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 51 BufferedReader in = null; 53 // Construct a command that runs the test in other vm 54 // Exec another vm to run test in 59 in = new BufferedReader(new InputStreamReader(p.getInputStream())); 60 checkResult(in, "err.bad.arg"); 70 in = new BufferedReader(new InputStreamReader(p.getInputStream())); 71 checkResult(in, "err.cannot.read"); 87 in 92 checkResult(BufferedReader in, String errorExpected) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmshalf.c | 8 * by Oracle in the LICENSE file that accompanied this code. 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 37 // to deal in the Software without restriction, including without limitation 42 // The above copyright notice and this permission notice shall be included in 60 // This code is inspired in the paper "Fast Half Float Conversions" 553 } in; local 557 in.flt = flt; 558 n = in.num;
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | SerialNumber.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 71 * @param in the DerInputStream to read the SerialNumber from. 74 public SerialNumber(DerInputStream in) throws IOException { argument 75 DerValue derVal = in.getDerValue(); 92 * @param in the InputStream to read the SerialNumber from. 95 public SerialNumber(InputStream in) throws IOException { argument 96 DerValue derVal = new DerValue(in); 108 * Encode the SerialNumber in DE [all...] |
H A D | UniqueIdentity.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 * @param in the DerInputStream to read the UniqueIdentity from. 67 public UniqueIdentity(DerInputStream in) throws IOException { argument 68 DerValue derVal = in.getDerValue(); 91 * Encode the UniqueIdentity in DER form to the stream.
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/ |
H A D | Harness.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 79 public Harness(InputStream in) throws IOException, ConfigFormatException { argument 81 StreamTokenizer tokens = new StreamTokenizer(new InputStreamReader(in));
|
/openjdk7/jdk/test/java/rmi/server/serverStackTrace/ |
H A D | SuppressStackTraces.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 28 * counteract the new feature in 1.4 of an exception's stack trace being part 55 private void readObject(ObjectInputStream in) argument 58 in.defaultReadObject();
|
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | HttpCaptureInputStream.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 public HttpCaptureInputStream(InputStream in, HttpCapture cap) { argument 39 super(in);
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | Negotiator.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 75 public abstract byte[] nextToken(byte[] in) throws IOException; argument
|
/openjdk7/jdk/src/share/classes/sun/rmi/log/ |
H A D | LogHandler.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 80 * @param in the input stream 86 Object recover(InputStream in) throws Exception { argument 87 MarshalInputStream s = new MarshalInputStream(in); 110 * every record in the log. After reading the update, this method 111 * invokes the applyUpdate (abstract) method in order to obtain 114 * @param in the input stream 120 Object readUpdate(LogInputStream in, Objec argument [all...] |
H A D | LogInputStream.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 32 private InputStream in; field in class:LogInputStream 42 public LogInputStream(InputStream in, int length) throws IOException { argument 43 this.in = in; 57 int c = in.read(); 88 int n = in.read(b, off, len); 105 n = in [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/server/ |
H A D | UnicastRef2.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 35 * class and its getLiveRef method (inherited from UnicastRef) in the 71 * Read in external representation for remote ref. 75 public void readExternal(ObjectInput in) argument 78 ref = LiveRef.read(in, true);
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/ |
H A D | ConnectionInputStream.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 53 * stream "in". 55 ConnectionInputStream(InputStream in) throws IOException { argument 56 super(in); 64 * Save reference in order to send "dirty" call after all args/returns 65 * have been unmarshaled. Save in hashtable incomingRefTable. This 72 // check whether endpoint is already in the hashtable
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | HttpReceiveSocket.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 40 * transmission to be able to fill in the content-length field of 61 * @param in the InputStream to use for this socket (can be null) 64 public HttpReceiveSocket(Socket socket, InputStream in, OutputStream out) argument 67 super(socket, in, out); 69 this.in = new HttpInputStream(in != null ? in [all...] |
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | ec_naf.c | 10 * This library is distributed in the hope that it will be useful, 56 * of bits of out, in is the original scalar, and w is the window size. 57 * NAF is discussed in the paper: D. Hankerson, J. Hernandez and A. 61 ec_compute_wNAF(signed char *out, int bitsize, const mp_int *in, int w) argument 71 MP_CHECKOK(mp_init_copy(&k, in));
|
/openjdk7/jdk/src/solaris/classes/java/io/ |
H A D | FileDescriptor.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 73 * known as <code>System.in</code>. 75 * @see java.lang.System#in 77 public static final FileDescriptor in = new FileDescriptor(0); field in class:FileDescriptor 112 * refers to a physical storage medium, such as a file in a file 113 * system, sync will not return until all in-memory modified copies 118 * storage (such as a file) to be in a known state For 124 * any in [all...] |
/openjdk7/langtools/test/tools/javap/ |
H A D | T6622260.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 27 * @summary javap prints negative bytes incorrectly in hex 65 DataInputStream in = new DataInputStream(new FileInputStream(f)); 67 in.readFully(data); 68 in.close(); 70 in = new DataInputStream(new ByteArrayInputStream(data)); 71 in.skipBytes(4); // magic 72 in.skipBytes(2); // minor 73 in 125 skipConstantPool(DataInputStream in) argument 170 skipAttributes(DataInputStream in) argument [all...] |
/openjdk7/jdk/test/sun/security/krb5/ |
H A D | RFC396xTest.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 231 static byte[] xeh(String in) { argument 232 in = in.replaceAll(" ", ""); 233 int len = in.length()/2; 236 out[i] = (byte)Integer.parseInt(in.substring(i*2, i*2+2), 16);
|
/openjdk7/hotspot/test/runtime/7158988/ |
H A D | FieldMonitor.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 222 private final BufferedReader in; field in class:StreamRedirectThread 229 * @param in Stream to copy from 232 StreamRedirectThread(String name, InputStream in) { argument 234 this.in = new BufferedReader(new InputStreamReader(in)); 243 while ((line = in.readLine ()) != null) {
|