Searched defs:in (Results 151 - 175 of 213) sorted by relevance

123456789

/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DZipEntry.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
32 * an entry identifies data stored in an archive, it does not hold the data
34 * all its entries in a collection and then read the data for a specific entry
195 * the compressed size (in bytes).
342 * Central Directory Entry from "in", which must be positioned at
345 * On exit, "in" will be positioned at the start of the next entry.
347 ZipEntry(LittleEndianReader ler, InputStream in) throws IOException { argument
361 myReadFully(in, hdrBuf);
389 myReadFully(in, nameByte
422 myReadFully(InputStream in, byte[] b) argument
458 readShortLE(InputStream in) argument
469 readIntLE(InputStream in) argument
[all...]
/dalvik/libcore/auth/src/main/java/javax/security/auth/
H A DSubject.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
161 * the specific context in which the {@code action} is invoked.
238 * the specific context in which the {@code action} is invoked.
464 private void readObject(ObjectInputStream in) throws IOException, argument
467 in.defaultReadObject();
513 // FIXME is used only in two places. remove?
544 * this issue in other way
712 private void readObject(ObjectInputStream in) throws IOException, argument
714 in
[all...]
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/
H A DCharsetEncoderICU.java40 * data[INPUT_HELD] = number of input chars held in the converter's state
55 // always assigned in the methods
95 * Sets this encoders replacement string. Substitutes the string in output if an
159 * Flushes any characters saved in the converter's internal buffer and
209 * converter is stop and report if an error in input stream is encountered.
211 * @param in buffer to decode
217 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument
219 if (!in.hasRemaining()) {
223 data[INPUT_OFFSET] = getArray(in);
247 // in
351 getArray(CharBuffer in) argument
396 setPosition(CharBuffer in) argument
[all...]
/dalvik/libcore/logging/src/main/java/java/util/logging/
H A DLogRecord.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
48 // The major byte used in serialization.
51 // The minor byte used in serialization.
106 * The time that the event occurred, in milliseconds since 1970.
145 * sequence property is set to a new unique value, allocated in increasing
251 * Gets the time when this event occurred, in milliseconds since 1970.
253 * @return the time when this event occurred, in milliseconds since 1970.
260 * Sets the time when this event occurred, in milliseconds since 1970.
263 * the time when this event occurred, in millisecond
485 readObject(ObjectInputStream in) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DStringBuffer.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
27 * A modifiable {@link CharSequence sequence of characters} for use in creating
73 * Constructs a new StringBuffer containing the characters in the specified
407 * the starting offset in the character array.
635 * The inclusive start index in the char sequence.
637 * The exclusive end index in the char sequence.
663 * Replaces the characters in the specified range with the contents of the
671 * the string that will replace the contents in the range.
684 * Reverses the order of characters in thi
737 readObject(ObjectInputStream in) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/util/
H A DPriorityQueue.java5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
101 * if any of the elements in the collection are not comparable.
103 * if any of the elements in the collection are null.
146 * in any specified ordering.
182 * if the element cannot be compared with the elements in the
238 * @return true if the object was in the priority queue, false if the object
239 * was not in the priority queue.
267 * if the element cannot be compared with the elements in the
305 private void readObject(ObjectInputStream in) throw argument
[all...]
H A DProperties.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
58 * values to be used when a given key is not found in this {@code Properties}
80 * The default values for keys not found in this {@code Properties}
149 * found in the default {@code Properties}, {@code null} is returned.
166 * found, it looks in the default {@code Properties}. If the property is not
167 * found in the default {@code Properties}, it returns the specified
189 * Lists the mappings in this {@code Properties} to the specified
190 * {@code PrintStream} in a
194 * the {@code PrintStream} to write the content to in huma
288 load(InputStream in) argument
582 loadFromXML(InputStream in) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
H A DJarURLConnectionImpl.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
322 * Returns the permission, in this case the subclass, FilePermission object
383 protected JarURLConnectionInputStream(InputStream in, JarFile file) { argument
384 super(in);
385 inputStream = in;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DStringBuffer2Test.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
864 private String writeString(String in) { argument
867 for (int i = 0; i < in.length(); i++) {
868 result.append(" 0x" + Integer.toHexString(in.charAt(i)));
975 assertTrue("Increase in length trashed buffer", testBuffer.toString()
979 assertEquals("Decrease in length failed",
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DInputStreamReaderTest.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
48 private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese";
50 private InputStream in; field in class:InputStreamReaderTest
113 in = new ByteArrayInputStream(source.getBytes("UTF-8"));
114 reader = new InputStreamReader(in, "UTF-8");
134 in.close();
184 // if the decoder is passed in, keep its status intacted
306 in = this.getClass().getClassLoader().getResourceAsStream(
308 reader = new InputStreamReader(in, "ut
[all...]
H A DObjectStreamFieldTest.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
468 private void readObject(ObjectInputStream in) throws NotActiveException, argument
470 getField = in.readFields();
487 public MockObjectInputStream(InputStream in) argument
489 super(in);
533 private void readObject(ObjectInputStream in) throws NotActiveException, argument
535 getField = in.readFields();
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DProcessManager.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
72 * descriptors (associated with stdin/out/err in this case) can be
150 * without doing anything special and land back in
169 * Executes a native process. Fills in in, out, and err and returns the
173 String workingDirectory, FileDescriptor in, FileDescriptor out,
211 FileDescriptor in = new FileDescriptor();
224 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream);
233 ProcessImpl process = new ProcessImpl(pid, in, ou
172 exec(String[] command, String[] environment, String workingDirectory, FileDescriptor in, FileDescriptor out, FileDescriptor err, boolean redirectErrorStream) argument
265 ProcessImpl(int id, FileDescriptor in, FileDescriptor out, FileDescriptor err) argument
[all...]
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DServerSocketChannelTest.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
95 // Test for methods in abstract class.
138 notes = "Verifies in setUp method.",
433 notes = "Verifies that accept() returns null if the channel is in non-blocking mode and no connection is available to be accepted.",
463 InputStream in = serverSocket.getInputStream();
467 assertReadResult(in,CAPACITY_NORMAL);
476 private void assertReadResult(InputStream in, int size) throws IOException{ argument
480 while ((count = in.read(readContent, total, size + 1 - total)) != -1) {
508 InputStream in
[all...]
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/
H A DCharsetDecoder.java5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
32 * {@link java.nio.CharBuffer CharBuffer}. A decoder instance should be used in
62 * Both errors can be handled in three ways, the default one is to report the
79 * {@link #implReset() implReset} method in addition.
187 * @param in
191 * the position of the last character in the buffer, and the
210 public final CharBuffer decode(ByteBuffer in) argument
213 int length = (int) (in.remaining() * averChars);
217 result = decode(in, outpu
335 decode(ByteBuffer in, CharBuffer out, boolean endOfInput) argument
436 decodeLoop(ByteBuffer in, CharBuffer out) argument
[all...]
H A DCharsetEncoder.java5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
28 * sequence in some charset.
33 * in the following sequence, which is referred to as a encoding operation:
59 * problem mapping the input to a valid byte sequence in the specified charset.
61 * Both errors can be handled in three ways, the default one is to report the
79 * {@link #implReset() implReset} method in addition.
288 * @param in
292 * of the last byte in the buffer, and the position will be zero.
310 public final ByteBuffer encode(CharBuffer in) argument
439 encode(CharBuffer in, ByteBuffer out, boolean endOfInput) argument
522 encodeLoop(CharBuffer in, ByteBuffer out) argument
[all...]
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/
H A DAbstractCharsetEncoderTestCase.java5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
165 CharBuffer in = CharBuffer.wrap("aaa");
170 encoder.encode(in, out, true);
183 encoder.encode(in, out, false);
220 // encode facade can be execute in anywhere
221 CharBuffer in = CharBuffer.wrap("aaa");
223 encoder.encode(in);
224 in.rewind();
227 encoder.encode(in);
879 assertCodingErrorAction(boolean endOfInput, ByteBuffer out, CharBuffer in, byte[] expect) argument
[all...]
H A DCharsetEncoderTest.java5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
494 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument
495 int inPosition = in.position();
496 char[] input = new char[in.remaining()];
497 in.get(input);
501 in.position(inPosition);
502 // in.position(0);
507 in.position(inPosition);
508 // in
[all...]
/dalvik/libcore/prefs/src/main/java/java/util/prefs/
H A DXMLParser.java5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
365 static void importPrefs(InputStream in) throws IOException, argument
369 Document doc = builder.parse(new InputSource(in));
514 InputStream in = null;
519 in = new BufferedInputStream(istream, 8192);
523 Document doc = builder.parse(in);
545 closeQuietly(in);
618 private static void closeQuietly(InputStream in) { argument
619 if (in
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
H A DX509CRLImpl.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
59 * CertificateList structure (as specified in RFC 3280
67 // the core object to be wrapped in X509CRL
96 // many of the leading certificates in the list are issued
111 * the CRL (CertificateList structure described in RFC 3280)
115 public X509CRLImpl(InputStream in) throws CRLException { argument
118 this.crl = (CertificateList) CertificateList.ASN1.decode(in);
128 * the CRL (CertificateList structure described in RFC 3280)
223 // remember how many leading revoked certificates in th
[all...]
H A DX509CertImpl.java6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
64 * Certificate structure (as specified in RFC 3280
76 // the core object to be wrapped in X509Certificate
109 * @param in input stream containing ASN.1 encoded form of certificate.
112 public X509CertImpl(InputStream in) throws CertificateException { argument
115 this.certificate = (Certificate) Certificate.ASN1.decode(in);
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/digests/
H A DLongDigest.java36 * Copy constructor. We are using copy constructors in place
63 byte in)
65 xBuf[xBufOff++] = in;
77 byte[] in,
86 update(in[inOff]);
97 processWord(in, inOff);
105 // load in the remainder.
109 update(in[inOff]);
162 byte[] in,
165 W[wOff++] = ((long)(in[inOf
62 update( byte in) argument
76 update( byte[] in, int inOff, int len) argument
161 processWord( byte[] in, int inOff) argument
[all...]
H A DMD4Digest.java57 byte[] in,
60 X[xOff++] = (in[inOff] & 0xff) | ((in[inOff + 1] & 0xff) << 8)
61 | ((in[inOff + 2] & 0xff) << 16) | ((in[inOff + 3] & 0xff) << 24);
56 processWord( byte[] in, int inOff) argument
H A DMD5Digest.java5 * implementation of MD5 as outlined in "Handbook of Applied Cryptography", pages 346 - 347.
53 byte[] in,
56 X[xOff++] = (in[inOff] & 0xff) | ((in[inOff + 1] & 0xff) << 8)
57 | ((in[inOff + 2] & 0xff) << 16) | ((in[inOff + 3] & 0xff) << 24);
52 processWord( byte[] in, int inOff) argument
H A DSHA224Digest.java8 * SHA-224 as described in RFC 3874
68 byte[] in,
71 X[xOff++] = ((in[inOff] & 0xff) << 24) | ((in[inOff + 1] & 0xff) << 16)
72 | ((in[inOff + 2] & 0xff) << 8) | ((in[inOff + 3] & 0xff));
67 processWord( byte[] in, int inOff) argument
H A DSHA256Digest.java68 byte[] in,
71 X[xOff++] = ((in[inOff] & 0xff) << 24) | ((in[inOff + 1] & 0xff) << 16)
72 | ((in[inOff + 2] & 0xff) << 8) | ((in[inOff + 3] & 0xff));
67 processWord( byte[] in, int inOff) argument

Completed in 810 milliseconds

123456789