/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | FastInfosetUtil.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 public static XMLStreamReader createFIStreamReader(InputStream in) { argument 49 FastInfosetReflection.fiStAXDocumentParser_setInputStream.invoke(sdp, in);
|
H A D | StreamUtils.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 43 public static InputStream hasSomeData(InputStream in) { argument 44 if (in != null) { 46 if (in.available() < 1) { 47 if (!in.markSupported()) { 48 in = new BufferedInputStream(in); 50 in [all...] |
/openjdk7/jdk/test/com/oracle/net/ |
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 33 * interfaces listed in a given file. 127 static void testConnection(OutputStream out, InputStream in) argument 136 int n = in.read(ba);
|
/openjdk7/jdk/test/java/io/ByteArrayInputStream/ |
H A D | Skip.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 private static void dotest(InputStream in, int curpos, long total, argument 38 "\nTotal bytes in the stream = " + total + 44 in.reset(); 45 int avail = curpos >= 0 ? curpos : in.available(); 46 long n = in.skip(avail); 51 long skipped = in.skip(toskip); 61 ByteArrayInputStream in = new ByteArrayInputStream(new byte[total]); 64 dotest(in, [all...] |
/openjdk7/jdk/test/java/io/PipedInputStream/ |
H A D | Constructors.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 34 static PipedInputStream in; field in class:Constructors 42 int read = in.read(new byte[pipeSize]); 58 in = new PipedInputStream(pipeSize); 59 out = new PipedOutputStream(in); 63 in = new PipedInputStream(out, pipeSize); 82 in.close();
|
/openjdk7/jdk/test/java/io/PipedReader/ |
H A D | Constructors.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 34 static PipedReader in; field in class:Constructors 42 int read = in.read(new char[pipeSize]); 58 in = new PipedReader(pipeSize); 59 out = new PipedWriter(in); 63 in = new PipedReader(out, pipeSize); 82 in.close();
|
/openjdk7/jdk/test/java/io/Serializable/GetField/ |
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 27 * serialized fields which don't exist in the receiving object. 36 private void readObject(ObjectInputStream in) argument 39 ObjectInputStream.GetField fields = in.readFields();
|
/openjdk7/jdk/test/java/io/Serializable/NPEProvoker/ |
H A D | NPEProvoker.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 46 public void readExternal(ObjectInput in) throws IOException, argument
|
/openjdk7/jdk/test/java/io/Serializable/NoClassDefFoundErrorTrap/ |
H A D | NoClassDefFoundErrorTrap.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 52 public TestObjectInputStream(InputStream in) argument 55 super(in); 91 ObjectInputStream in = new TestObjectInputStream(bin); 97 in.readObject();
|
/openjdk7/jdk/test/java/io/Serializable/optionalDataEnd/ |
H A D | OptionalDataEnd.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 47 private void readObject(ObjectInputStream in) argument 50 in.defaultReadObject(); 52 in.readObject(); 55 in.readObject();
|
/openjdk7/jdk/test/java/io/Serializable/resolveClassException/ |
H A D | ResolveClassException.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 36 BrokenObjectInputStream(InputStream in) throws IOException { argument 37 super(in);
|
/openjdk7/jdk/test/java/io/Serializable/superclassDataLoss/ |
H A D | Test.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 MixedSuperclassStream(InputStream in) throws IOException { super(in); } argument
|
/openjdk7/jdk/test/java/io/Serializable/unnamedPackageSwitch/ |
H A D | Test.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 * representing a class in the unnamed package to be resolved to a 28 * local class with the same name in a named package, and vice-versa. 38 TestObjectInputStream(InputStream in) throws IOException { super(in); } argument
|
/openjdk7/jdk/test/java/lang/Runtime/exec/ |
H A D | ConcurrentRead.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 InputStream in = p.getInputStream(); 50 Thread t1 = new WriterThread(out, in); 52 Thread t2 = new WriterThread(out, in); 62 InputStream in; field in class:ConcurrentRead.WriterThread 63 WriterThread(OutputStream out, InputStream in) { argument 65 this.in = in; 71 if (in [all...] |
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/ |
H A D | OriginServer.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 * Http get request in both clear and secure channel 57 * data sent in the response. 83 BufferedReader in = 87 readRequest(in); 90 // send bytecodes in response (assumes HTTP/1.0 or later) 135 private static void readRequest(BufferedReader in) argument 140 line = in.readLine();
|
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/www/protocol/https/HttpsClient/ |
H A D | OriginServer.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 36 * Http get request in both clear and secure channel 58 * the data sent in the response. 84 BufferedReader in = 88 readRequest(in); 91 // send bytecodes in response (assumes HTTP/1.0 or later) 136 private static void readRequest(BufferedReader in) argument 144 line = in.readLine();
|
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/ |
H A D | OriginServer.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 * http requests in both clear and secure channel. 58 * data sent in the response. 84 BufferedReader in = 88 readRequest(in); 91 // send bytecodes in response (assumes HTTP/1.0 or later) 136 private static void readRequest(BufferedReader in) argument 141 line = in.readLine(); 148 line = in [all...] |
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/ |
H A D | VerifyTreeSet.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 41 public TreeSet<K> diff(TreeSet in) { argument 43 delta.removeAll(in);
|
/openjdk7/langtools/src/share/classes/javax/tools/ |
H A D | Tool.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 * or {@code err} in some unspecified format. 55 * @param in "standard" input; use System.in if null 63 int run(InputStream in, OutputStream out, OutputStream err, String... arguments); argument
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Password.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 public static char[] readPassword(InputStream in) throws IOException { argument 40 return readPassword(in, false); 46 public static char[] readPassword(InputStream in, boolean isEchoOn) argument 55 if (!isEchoOn && in == System.in && ((con = System.console()) != null)) { 63 in = new ByteArrayInputStream(consoleBytes); 81 switch (c = in [all...] |
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | CertificatePolicySet.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 57 * @param in the passed DerInputStream. 60 public CertificatePolicySet(DerInputStream in) throws IOException { argument 62 DerValue[] seq = in.getSequence(5);
|
/openjdk7/jdk/src/share/classes/sun/tools/native2ascii/ |
H A D | A2NFilter.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 30 * the possibility of being encoded in a user specified encoding 32 * determination as to whether a given supplied character in its 33 * source character stream is encodeable in the target encoding. 34 * If not, it is remains in its back-tick U escaped form. 47 public A2NFilter(Reader in) { argument 48 super(in); 67 int n = in [all...] |
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/ |
H A D | CompressInputStream.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 public CompressInputStream(InputStream in) { argument 34 super(in); 40 // position of next code to read in buffer (5 == end of buffer) 94 int b1 = in.read(); 95 int b2 = in.read(); 96 int b3 = in.read(); 97 int b4 = in.read();
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | CompressInputStream.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 public CompressInputStream(InputStream in) { argument 34 super(in); 40 // position of next code to read in buffer (5 == end of buffer) 94 int b1 = in.read(); 95 int b2 = in.read(); 96 int b3 = in.read(); 97 int b4 = in.read();
|
/openjdk7/jdk/test/java/rmi/testlibrary/ |
H A D | StreamPipe.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 34 private InputStream in; field in class:StreamPipe 43 private StreamPipe(InputStream in, OutputStream out, String name) { argument 45 this.in = in; 50 * Creates a StreamPipe thread that copies in to out and returns 53 public static StreamPipe plugTogether(InputStream in, OutputStream out) { argument 60 StreamPipe pipe = new StreamPipe(in, out, name); 72 int nr = in [all...] |