Searched defs:in (Results 26 - 50 of 640) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DFastInfosetUtil.java9 * 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 DStreamUtils.java9 * 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 DSanity.java9 * 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 DSkip.java9 * 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 DConstructors.java9 * 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 DConstructors.java9 * 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 DRead.java9 * 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 DNPEProvoker.java9 * 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 DNoClassDefFoundErrorTrap.java9 * 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 DOptionalDataEnd.java9 * 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 DResolveClassException.java9 * 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 DTest.java9 * 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 DTest.java9 * 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 DConcurrentRead.java9 * 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 DOriginServer.java9 * 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 DOriginServer.java9 * 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 DOriginServer.java9 * 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 DVerifyTreeSet.java9 * 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 DTool.java9 * 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 DPassword.java9 * 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 DCertificatePolicySet.java9 * 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 DA2NFilter.java9 * 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 DCompressInputStream.java9 * 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 DCompressInputStream.java9 * 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 DStreamPipe.java9 * 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...]

Completed in 76 milliseconds

1234567891011>>