Searched defs:in (Results 376 - 400 of 640) sorted by relevance

<<11121314151617181920>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DReadAllStream.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 * by keeping some data in memory and the rest on the file system.
58 * inMemory size in the memory, and the rest on the file
64 * @param in from which to be read
65 * @param inMemory this much data is kept in the memory
66 * @throws IOException in case of exception
68 public void readAll(InputStream in, long inMemory) throws IOException { argument
72 boolean eof = memStream.readAll(in, inMemor
108 readAll(InputStream in) argument
165 readAll(InputStream in, long inMemory) argument
180 fill(InputStream in, byte[] buf) argument
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/RSA/
H A DTestRSA.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
138 System.out.println("in: " + toString(b));
144 public static void testKat(String alg, int mode, Key key, String in, String out, boolean result) throws Exception { argument
148 byte[] r = c.doFinal(parse(in));
/openjdk7/jdk/test/com/sun/jdi/
H A DConstantPoolInfo.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
163 DataInputStream in = new DataInputStream(bytesStream);
165 int tag = in.readByte();
169 String str=in.readUTF();
178 System.out.println("int " + in.readInt());
181 System.out.println("Float " + in.readFloat());
184 System.out.println("Long " + in.readLong());
187 System.out.println("Double " + in.readDouble());
190 System.out.println("Class " + in
240 read(DataInputStream in) argument
[all...]
/openjdk7/jdk/test/java/io/Serializable/subclass/
H A DAbstractObjectInputStream.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
43 * Since serialization must override java access rules in order to
49 * class should protect themselves from being subclassed in a way that will
56 * The subclass ensures that the types of all objects in the graph created
57 * from the stream match the classes present in the Java Virtual Machine.
148 protected InputStream in; field in class:AbstractObjectInputStream
160 * @exception IOException An exception occurred in the underlying stream.
164 public AbstractObjectInputStream(InputStream in) argument
167 this.in
[all...]
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLock.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
147 // starts a "lock slave" in another process, returning a mirror object to
243 private final InputStream in; field in class:Lock.IOHandler
245 IOHandler(InputStream in) { argument
246 this.in = in;
249 static void handle(InputStream in) { argument
250 IOHandler handler = new IOHandler(in);
260 int n = in
[all...]
/openjdk7/jdk/test/tools/launcher/
H A DArrrghs.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
57 * in Java is not only portable but also robust.
64 // The Cookie or the pattern we match in the debug output.
70 private static String removeExtraQuotes(String in) { argument
73 in = in.trim();
74 if (in.startsWith("\"") && in.endsWith("\"")) {
75 return in
[all...]
H A DTest7029048.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 * behaves correctly in all cases.
73 // used primarily to test the solaris variants in dual mode
92 static String getValue(String name, List<String> in) { argument
93 for (String x : in) {
170 * it is 1, but it could be more if the test wishes to set more paths in
274 * Case 4: we are in dual mode environment, running 64-bit then
/openjdk7/jdk/test/tools/pack200/
H A DTestExceptions.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
233 private final Object in; field in class:TestExceptions.TestInput
238 public TestInput(String name, Object in, Object out) { argument
240 this.in = in;
242 shouldNPE = (in == null || out == null);
248 outStr.append(", input:").append(in);
255 if (in != null && (in instanceo
298 PackTestJarInputStream(JarInputStream in, OutputStream out) argument
313 UnpackTestInput(InputStream in, JarOutputStream out) argument
328 UnpackTestFileInput(File in, JarOutputStream out) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DClassFile.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 FileInputStream in = new FileInputStream(file);
53 return new ClassFile(in, attributeFactory);
56 in.close();
63 public static ClassFile read(InputStream in) argument
65 return new ClassFile(in, new Attribute.Factory());
68 public static ClassFile read(InputStream in, Attribute.Factory attributeFactory) argument
70 return new ClassFile(in, attributeFactor
73 ClassFile(InputStream in, Attribute.Factory attributeFactory) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacTool.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
244 // in case of errors
249 // in case of errors
255 public int run(InputStream in, OutputStream out, OutputStream err, String... arguments) { argument
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsmd5.c8 * 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
82 cmsUInt8Number in[64]; member in struct:__anon831
97 void MD5_Transform(cmsUInt32Number buf[4], cmsUInt32Number in[16]) argument
107 STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7);
108 STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12);
109 STEP(F1, c, d, a, b, in[
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DNetClient.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
58 private BufferedInputStream in; field in class:TCPClient
65 in = new BufferedInputStream(tcpSocket.getInputStream());
132 count = in.read(inBuf, pos, total);
144 * Returns the integer represented by 4 bytes in network byte order.
163 * Encodes an integer into 4 bytes in network byte order in the buffer
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/dk/
H A DDes3DkCrypto.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
88 * bits, which are expanded individually into 64 bits as in des3Expand().
91 protected byte[] randomToKey(byte[] in) { argument
92 if (in.length != 21) {
96 byte[] one = keyCorrection(des3Expand(in, 0, 7));
97 byte[] two = keyCorrection(des3Expand(in, 7, 14));
98 byte[] three = keyCorrection(des3Expand(in, 14, 21));
136 * i.e., there is an odd number of "1" bits in th
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DPKCS7.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 * PKCS7 as defined in RSA Laboratories PKCS7 Technical Note. Profile
75 * @param in an input stream holding at least one PKCS7 block.
79 public PKCS7(InputStream in) throws ParsingException, IOException { argument
80 DataInputStream dis = new DataInputStream(in);
362 DerInputStream in = signerInfoVals[i].toDerInputStream();
363 signerInfos[i] = new SignerInfo(in);
442 DerInputStream in
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11Digest.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
45 * (less than 100 bytes total). For example, the 2nd hashing in HMAC or
46 * the PRF in TLS. In order to speed those up, we use some buffering to
57 // data in buffer, all fields valid, session acquired
75 // length of the digest in bytes
212 protected void engineUpdate(byte in) { argument
216 oneByte[0] = in;
221 protected void engineUpdate(byte[] in, in argument
297 doUpdate(byte[] in, int ofs, int len) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DX509Factory.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
113 private static int readFully(InputStream in, ByteArrayOutputStream bout, argument
118 int n = in.read(buffer, 0, length<2048?length:2048);
132 * in the cert cache, the cached object is returned. Otherwise,
223 * is assumed to be in the default encoding.
252 * is assumed to be in the specified encoding.
306 * <code>remove</code> method result in an
404 * Parses the data in th
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertificateExtensions.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
74 * @param in the DerInputStream to read the Extension from.
77 public CertificateExtensions(DerInputStream in) throws IOException { argument
78 init(in);
82 private void init(DerInputStream in) throws IOException { argument
84 DerValue[] exts = in.getSequence(5);
146 * Encode the extensions in DER form to the stream, setting
147 * the context specific tag as needed in th
[all...]
H A DReasonFlags.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
99 * @param position the position in the bit string to check.
148 * @param in the DerInputStream to read the ReasonFlags from.
151 public ReasonFlags(DerInputStream in) throws IOException { argument
152 DerValue derVal = in.getDerValue();
H A DX509Key.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
46 * Holds an X.509 key, for example a public key found in an X.509
79 * The number of bits unused in the last byte of the key.
111 * Sets the key in the BitArray form.
132 * Do this for consistency in case a subclass
157 * @param in the DER-encoded SubjectPublicKeyInfo value
160 public static PublicKey parse(DerValue in) throws IOException argument
165 if (in
379 decode(InputStream in) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/attach/
H A DHotSpotVirtualMachine.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 * to the library and thus will not be expanded in the target VM.
53 * name and it will be expended in the target VM.
58 InputStream in = execute("load",
63 int result = readInt(in);
68 in.close();
74 * Load agent library - library name will be expanded in target VM
105 throw new InternalError("instrument library is missing in targe
229 readInt(InputStream in) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DBinaryClass.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
106 public static BinaryClass load(Environment env, DataInputStream in) throws IOException { argument
107 return load(env, in, ~(ATT_CODE|ATT_ALLCLASSES));
111 DataInputStream in, int mask) throws IOException {
113 int magic = in.readInt(); // JVM 4.1 ClassFile.magic
117 int minor_version = in.readUnsignedShort(); // JVM 4.1 ClassFile.minor_version
118 int version = in.readUnsignedShort(); // JVM 4.1 ClassFile.major_version
134 BinaryConstantPool cpool = new BinaryConstantPool(in);
110 load(Environment env, DataInputStream in, int mask) argument
[all...]
H A DBinaryConstantPool.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 BinaryConstantPool(DataInputStream in) throws IOException { argument
52 types = new byte[in.readUnsignedShort()];
57 switch(types[i] = in.readByte()) {
59 cpool[i] = in.readUTF();
63 cpool[i] = new Integer(in.readInt());
66 cpool[i] = new Float(in.readFloat());
69 cpool[i++] = new Long(in
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/javac/
H A DBatchParser.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 * The classes defined in this file
75 public BatchParser(Environment env, InputStream in) throws IOException { argument
76 super(env, in);
128 // 'untransformed' modifiers. The modifiers in the ClassDefinition
132 // masked off while writing the class file, but are preserved in
176 // are legal modifiers. We avoid setting M_PUBLIC in some
177 // cases in orde
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jmap/
H A DJMap.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
100 // one or two parameters. For the built-in -dump option there is
119 // at this point we know if we are executing an SA tool or a built-in
132 // Here we handle the built-in options
160 // -dump option needs to be handled in a special way
219 InputStream in = ((HotSpotVirtualMachine)vm).
221 drain(vm, in);
232 // a "heap.bin" and having the dump created in th
314 drain(VirtualMachine vm, InputStream in) argument
[all...]
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DCustomDefaultObjTrees.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 private void readObject(ObjectInputStream in) argument
70 in.defaultReadObject();
75 * Write and read a tree of objects from a stream. The benchmark is run in
77 * and the stream is flushed (and underlying stream buffer cleared) in

Completed in 57 milliseconds

<<11121314151617181920>>