Searched defs:in (Results 1 - 25 of 640) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/rmi/server/Unmarshal/checkUnmarshalOnStopThread/
H A DPoisonPill.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
44 private void readObject(ObjectInputStream in) argument
/openjdk7/jdk/src/share/classes/sun/audio/
H A DAudioStreamSequence.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
34 * This class can be used to play two audio clips in sequence.<p>
49 InputStream in; field in class:AudioStreamSequence
H A DNativeAudioStream.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
51 public NativeAudioStream(InputStream in) throws IOException { argument
53 super(in);
H A DAudioTranslatorStream.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
32 * Translator for native audio formats (not implemented in this release).
39 public AudioTranslatorStream(InputStream in) throws IOException { argument
40 super(in);
H A DAudioStream.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 public AudioStream(InputStream in) throws IOException { argument
59 super(in);
61 stream = in;
63 if( in.markSupported() == false ) {
65 stream = new BufferedInputStream( in, 1024 );
71 this.in = ais;
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DReadAfterClose.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 static void testRead(InputStream in) throws Exception { argument
36 in.close();
40 in.read(buf, 0, 1);
46 in.read(buf, 0, 0);
/openjdk7/jdk/test/java/io/Serializable/classDescFlagConflict/
H A DFoo.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 * SC_SERIALIZABLE and SC_EXTERNALIZABLE bits set results in an
34 public void readExternal(ObjectInput in) argument
/openjdk7/jdk/test/java/rmi/registry/classPathCodebase/
H A DDummy.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
25 * Dummy implements Remote so that it can be stored in the registry,
43 public void readExternal(java.io.ObjectInput in) argument
/openjdk7/jdk/test/javax/security/auth/login/LoginContext/
H A DDefaultHandlerImpl.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 * specified in the <code>callbacks</code> parameter.
80 (new InputStreamReader(System.in))).readLine());
88 pc.setPassword(readPassword(System.in));
98 private char[] readPassword(InputStream in) throws IOException { argument
111 switch (c = in.read()) {
117 int c2 = in.read();
119 if (!(in instanceof PushbackInputStream)) {
120 in
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DExternalizable.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
33 * written in the serialization stream and it is the responsibility
55 * the writeReplace and readResolve methods documented in the Serializable
88 * readExternal method must read the values in the same sequence
91 * @param in the stream to read data from in order to restore the object
96 void readExternal(ObjectInput in) throws IOException, ClassNotFoundException; argument
/openjdk7/jdk/src/share/back/
H A DClassObjectReferenceImpl.c9 * 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 reflectedType(PacketInputStream *in, PacketOutputStream *out) argument
40 object = inStream_readObjectRef(env, in);
41 if (inStream_error(in)) {
H A DStringReferenceImpl.c9 * 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 value(PacketInputStream *in, PacketOutputStream *out) argument
39 string = inStream_readStringRef(env, in);
40 if (inStream_error(in)) {
/openjdk7/jdk/test/java/io/PipedInputStream/
H A DWriterLoop.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 static PipedInputStream in; field in class:WriterLoop
56 in = new PipedInputStream();
57 out = new PipedOutputStream(in);
63 in.read(new byte[2048]);
66 in.close();
/openjdk7/jdk/test/java/io/PushbackInputStream/
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(PushbackInputStream in, int expected) argument
38 in.unread(4);
39 in.unread(5);
40 in.unread(6);
41 in.skip(2);
42 if (in.read() != 4) {
46 one = in.read();
47 two = in
[all...]
/openjdk7/jdk/test/java/io/Serializable/classDescHooks/
H A DCNFException.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 CNFInputStream(InputStream in) throws IOException { argument
36 super(in);
/openjdk7/jdk/test/java/lang/String/
H A DToLowerCase.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
77 // Remove dot_above in the sequence I + dot_above (Turkish and Azeri)
108 static void test(String in, Locale locale, String expected) { argument
109 String result = in.toLowerCase(locale);
111 System.err.println("input: " + in + ", locale: " + locale +
H A DToUpperCase.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
28 it's the only character in the string. should also uppercase
69 // Remove DOT ABOVE after "i" in Lithuanian
96 static void test(String in, Locale locale, String expected) { argument
97 String result = in.toUpperCase(locale);
99 System.err.println("input: " + in + ", locale: " + locale +
/openjdk7/jdk/test/java/util/zip/
H A DAvailable.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
60 static void tryAvail(InputStream in) throws Exception { argument
64 while ((n = in.read(buf)) != -1);
65 if (in.available() != 0) {
74 InputStream in = zf.getInputStream(zf.getEntry("Available.java"));
76 int initialAvailable = in.available();
77 in.read();
78 if (in.available() != initialAvailable - 1)
81 in
[all...]
/openjdk7/jdk/test/javax/management/ImplementationVersion/
H A DImplVersionReader.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 BufferedReader in; field in class:ImplVersionReader
39 in = new BufferedReader(new InputStreamReader(is));
46 String trace = in.readLine();
/openjdk7/jdk/test/javax/management/remote/mandatory/version/
H A DImplVersionReader.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 BufferedReader in; field in class:ImplVersionReader
39 in = new BufferedReader(new InputStreamReader(is));
46 String trace = in.readLine();
/openjdk7/jdk/test/lib/testlibrary/jdk/testlibrary/
H A DStreamPumper.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 private final InputStream in; field in class:StreamPumper
38 * Create a StreamPumper that reads from in and writes to out.
40 * @param in
45 public StreamPumper(InputStream in, OutputStream out) { argument
46 this.in = in;
51 * Implements Thread.run(). Continuously read from {@code in} and write to
52 * {@code out} until {@code in} ha
[all...]
/openjdk7/hotspot/test/testlibrary/com/oracle/java/testlibrary/
H A DStreamPumper.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 private final InputStream in; field in class:StreamPumper
38 * Create a StreamPumper that reads from in and writes to out.
40 * @param in The stream to read from.
43 public StreamPumper(InputStream in, OutputStream out) { argument
44 this.in = in;
49 * Implements Thread.run(). Continuously read from <code>in</code> and write
50 * to <code>out</code> until <code>in</cod
[all...]
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletObjectInputStream.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
47 public AppletObjectInputStream(InputStream in, AppletClassLoader loader) argument
50 super(in);
/openjdk7/jdk/src/share/classes/java/util/
H A DInvalidPropertiesFormatException.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
84 private void readObject(java.io.ObjectInputStream in) argument
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DObjectInputStreamWithLoader.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
36 * This class deserializes an object in the context of a specific class loader.
51 public ObjectInputStreamWithLoader(InputStream in, ClassLoader theLoader) argument
53 super(in);

Completed in 100 milliseconds

1234567891011>>