Searched defs:in (Results 401 - 425 of 640) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DCustomObjTrees.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 private void readObject(ObjectInputStream in) argument
80 z = in.readBoolean();
81 b = in.readByte();
82 c = in.readChar();
83 s = in.readShort();
84 i = in.readInt();
85 f = in.readFloat();
86 j = in
[all...]
H A DExternObjTrees.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
82 public void readExternal(ObjectInput in) argument
85 z = in.readBoolean();
86 b = in.readByte();
87 c = in.readChar();
88 s = in.readShort();
89 i = in.readInt();
90 f = in.readFloat();
91 j = in
[all...]
H A DGetPutFieldTrees.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
80 private void readObject(ObjectInputStream in) argument
83 ObjectInputStream.GetField fields = in.readFields();
100 * Write and read a tree of objects from a stream. The benchmark is run in
102 * and the stream is flushed (and underlying stream buffer cleared) in
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/
H A DCompress.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
37 static final int BASE = 2; // base for codes found in lookup table
64 private InputStream in; field in class:Compress.CompressSocket
71 if (in == null) {
72 in = new CompressInputStream(super.getInputStream());
74 return in;
99 public CompressInputStream(InputStream in) { argument
100 super(in);
106 // position of next code to read in buffe
[all...]
/openjdk7/jdk/test/java/util/zip/
H A DInflaterBufferSize.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
72 private static byte[] deflate(byte[] in, int level) throws Throwable { argument
74 flater.setInput(in);
88 private static byte[] inflate(byte[] in) throws Throwable { argument
90 flater.setInput(in);
/openjdk7/jdk/test/javax/xml/crypto/dsig/
H A DKeySelectors.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
50 * KeySelector which would always return the secret key specified in its
90 * NOTE: If there is an X509CRL in the KeyInfo element, then revoked
103 // search for X509Data in keyinfo
295 // i.e. the public key is in "certs/xxx.crt".
335 // specified in X509Data element, i.e. searching
387 static String dumpArray(byte[] in) { argument
391 for (int i=0;i<(in.length/numBytesPerRow); i++) {
393 buf.append("(byte)0x" + getHex(in[
[all...]
/openjdk7/jdk/test/sun/net/idn/
H A DTestData.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
206 "cs7.dillons.co.uk.203.119.193.in-addr.arpa",
436 private static byte[] getBytes(String in){ argument
437 if(in==null){
440 byte[] bytes = new byte[in.length()];
441 for(int i=0; i < in.length();i++){
442 bytes[i] = (byte)in.charAt(i);
446 ConformanceTestCase(String comt, String in, String out, argument
452 byte[] bytes = getBytes(in);
[all...]
/openjdk7/jdk/test/sun/net/www/
H A DMarkResetTest.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 BufferedReader in; field in class:MarkResetTest.FtpServer.FtpServerHandler
168 in = new BufferedReader(new InputStreamReader(
177 str = in.readLine();
180 out.println("530 Not logged in.");
/openjdk7/jdk/test/sun/net/www/http/HttpClient/
H A DMultiThreadTest.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
67 InputStream in = http.getInputStream();
72 n = in.read(b);
76 in.close();
252 int readUntil (InputStream in, char[] seq) throws IOException { argument
255 int c = in.read();
274 InputStream in = new BufferedInputStream (s.getInputStream());
285 n = readUntil (in, new char[] {'\r','\n', '\r','\n'});
/openjdk7/jdk/src/share/classes/sun/io/
H A DByteToCharUnicode.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 * Unicode characters. This class may be used directly, in which case it
34 * subclassed in order to preset the byte order and mark behavior.
39 * method. If a correct mark is seen later in the input stream, it is passed
60 int byteOrder; /* Byte order in use */
98 public int convert(byte[] in, int inOff, int inEnd, argument
117 b1 = in[inI++] & 0xff;
123 b2 = in[in
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DStreamDecoder.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
59 public static StreamDecoder forInputStreamReader(InputStream in, argument
69 return new StreamDecoder(in, lock, Charset.forName(csn));
74 public static StreamDecoder forInputStreamReader(InputStream in, argument
78 return new StreamDecoder(in, lock, cs);
81 public static StreamDecoder forInputStreamReader(InputStream in, argument
85 return new StreamDecoder(in, lock, dec);
99 // -- Public methods corresponding to those in InputStreamReade
210 getChannel(FileInputStream in) argument
226 private InputStream in; field in class:StreamDecoder
229 StreamDecoder(InputStream in, Object lock, Charset cs) argument
236 StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) argument
[all...]
H A DSurrogate.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
55 * Tells whether or not the given value is in the high surrogate range.
63 * Tells whether or not the given value is in the low surrogate range.
71 * Tells whether or not the given value is in the surrogate range.
80 * surrogate pair in UTF-16.
175 * @param in The source buffer, from which one more character
178 * @returns Either a parsed UCS-4 character, in which case the isPair()
180 * -1, in whic
183 parse(char c, CharBuffer in) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DActivatableRef.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
73 * specified in the activation descriptor. The ActivatableRef
74 * in the resulting stub has its activation id set to the
110 * parameters of a call don't need to be buffered in anticipation
145 * Object is not active in VM; retry call
191 * in a ServerException if it was propagated by a
270 * ActivatableRef. We need to set the ref in *this*
272 * retrieved from the stub. The ref type embedded in th
366 readExternal(ObjectInput in) argument
[all...]
H A DUnicastRef.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
50 * class's getLiveRef method (as it is inherited by UnicastRef2) in
90 * this method (as it is inherited by UnicastRef) in the
167 ObjectInput in = call.getInputStream();
174 Object returnValue = unmarshalValue(rtype, in);
234 * the connection in a corrupted state.
301 protected static Object unmarshalValue(Class<?> type, ObjectInput in) argument
306 return Integer.valueOf(in
489 readExternal(ObjectInput in) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DLiveRef.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
41 * class and its getClientSocketFactory method in the implementation
60 * server in this address space; if false, the ref is for a remote
61 * object (hence a surrogate or proxy) in another address space.
70 * Construct a new live reference for a server object in the local
78 * Construct a new live reference for a server object in the local
90 * in the local address space.
98 * in th
283 read(ObjectInput in, boolean useNewFormat) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DHttpSendSocket.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 * by enclosing the data output stream in, then extracting the input
65 protected InputStream in = null; field in class:HttpSendSocket
154 in = null;
172 in = conn.getInputStream();
197 message = "missing content type in response" +
200 message = "invalid content type in response: " +
206 BufferedReader din = new BufferedReader(new InputStreamReader(in));
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/
H A DConnectionMultiplexer.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
40 * run() method must be called in a thread created for demultiplexing
72 private InputStream in; field in class:ConnectionMultiplexer
107 * @param in input stream of underlying connection
114 InputStream in,
119 this.in = in;
123 dataIn = new DataInputStream(in);
112 ConnectionMultiplexer( TCPChannel channel, InputStream in, OutputStream out, boolean orig) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DWindowDimensions.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
61 public WindowDimensions(Point loc, Dimension size, Insets in, boolean isClient) { argument
62 this(new Rectangle(loc, size), in, isClient);
147 public void setInsets(Insets in) { argument
148 insets = (in != null)?((Insets)in.clone()):new Insets(0, 0, 0, 0);
/openjdk7/jdk/src/solaris/classes/sun/security/provider/
H A DNativePRNG.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 * /dev/random is only writable by root in many configurations. Because
41 * SHA1PRNG around in parallel.
129 // lifetime in ms, currently 100 ms (0.1 s)
149 // number of bytes left in urandomBuffer
194 // read data.length bytes from in
197 private static void readFully(InputStream in, byte[] data) argument
202 int k = in
[all...]
/openjdk7/langtools/test/tools/javac/api/6411310/
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
53 // names for entries to be created in directories and jar files
200 byte[] read(InputStream in) throws IOException { argument
205 while ((n = in.read(data, offset, data.length - offset)) != -1) {
211 in.close();
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DContext.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
66 * doAs(): Performs an action in the name of the Subject
266 * @param in the input byte
270 public byte[] doAs(final Action action, final byte[] in) throws Exception { argument
276 return action.run(Context.this, in);
502 public byte[] take(final byte[] in) throws Exception { argument
522 }, in);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/
H A DExsltDatetime.java9 * you may not use this file except in compliance with the License.
14 * Unless required by applicable law or agreed to in writing, software
67 * The date/time string that's returned must be a string in the format defined as the
68 * lexical representation of xs:dateTime in
87 // Get the offset (in milliseconds).
117 * The date:date function returns the date specified in the date/time string given
120 * The date/time string that's returned must be a string in the format defined as the
121 * lexical representation of xs:dateTime in
124 * If the argument is not in either of these formats, date:date returns an empty string ('').
128 * The date is returned as a string with a lexical representation as defined for xs:date in
794 getEraDatetimeZone(String in) argument
852 testFormats(String in, String[] formats) argument
875 getNumber(String in, String[] formats, int calField) argument
890 getNameOrAbbrev(String in, String[] formatsIn, String formatOut) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DBitArray.java9 * you may not use this file except in compliance with the License.
14 * Unless required by applicable law or agreed to in writing, software
60 * Constructor. Defines the initial size of the bit array (in bits).
82 * indicate the DOM in which the nodes in this array belong.
96 * Returns the size of this bit array (in bits).
109 "Programmer's assertion in BitArray.getBit");
135 * This method returns the Nth bit that is set in the bit array. The
136 * current position is cached in the following 4 variables and will
137 * help speed up a sequence of next() call in a
260 readExternal(ObjectInput in) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DNamedNodeMapImpl.java9 * you may not use this file except in compliance with the License.
14 * Unless required by applicable law or agreed to in writing, software
37 * by name. Entity and Notation nodes are stored in NamedNodeMaps
38 * attached to the DocumentType. Attributes are placed in a NamedNodeMap
40 * require more work, such as firing mutation events, they are stored in
49 * in a single Vector sorted by the primary "nodename" key.
52 * must be stored in an array; that's only an access method. Note too
101 * Report how many nodes are currently stored in this NamedNodeMap.
144 * Introduced in DOM Level 2. <p>
152 * name did not identify any node in th
607 readObject(ObjectInputStream in) argument
[all...]
H A DPSVIAttrNSImpl.java9 * you may not use this file except in compliance with the License.
14 * Unless required by applicable law or agreed to in writing, software
67 * value in the original document, this is true; otherwise, it is false */
125 * @return false value was specified in schema, true value comes from the infoset
163 // This is the only information we can provide in a pipeline.
249 private void readObject(ObjectInputStream in) argument

Completed in 57 milliseconds

<<11121314151617181920>>