Searched refs:in (Results 201 - 225 of 331) sorted by relevance

1234567891011>>

/libcore/ojluni/src/main/java/java/time/chrono/
H A DChronoPeriodImpl.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
31 * Redistribution and use in source and binary forms, with or without
37 * * Redistributions in binary form must reproduce the above copyright notice,
38 * this list of conditions and the following disclaimer in the documentation
86 * A period expressed in terms of a standard year-month-day calendar system.
88 * This class is used by applications seeking to handle dates in non-ISO calendar systems.
393 static ChronoPeriodImpl readExternal(DataInput in) throws IOException { argument
394 Chronology chrono = Chronology.of(in
[all...]
H A DChronoZonedDateTimeImpl.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 * Redistribution and use in source and binary forms, with or without
42 * * Redistributions in binary form must reproduce the above copyright notice,
43 * this list of conditions and the following disclaimer in the documentation
87 * A date-time with a time-zone in the calendar neutral API.
100 * @serial Document the delegation of this class in the serialized-form specification.
356 static ChronoZonedDateTime<?> readExternal(ObjectInput in) throws IOException, ClassNotFoundException { argument
357 ChronoLocalDateTime<?> dateTime = (ChronoLocalDateTime<?>) in
[all...]
H A DMinguoDate.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
31 * Redistribution and use in source and binary forms, with or without
37 * * Redistributions in binary form must reproduce the above copyright notice,
38 * this list of conditions and the following disclaimer in the documentation
89 * A date in the Minguo calendar system.
92 * This calendar system is primarily used in the Republic of China, often known as Taiwan.
116 * Obtains the current {@code MinguoDate} from the system clock in the default time-zone.
118 * This will query the {@link Clock#systemDefaultZone() system clock} in th
506 readExternal(DataInput in) argument
[all...]
H A DThaiBuddhistDate.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
31 * Redistribution and use in source and binary forms, with or without
37 * * Redistributions in binary form must reproduce the above copyright notice,
38 * this list of conditions and the following disclaimer in the documentation
89 * A date in the Thai Buddhist calendar system.
92 * This calendar system is primarily used in Thailand.
116 * Obtains the current {@code ThaiBuddhistDate} from the system clock in the default time-zone.
118 * This will query the {@link Clock#systemDefaultZone() system clock} in th
506 readExternal(DataInput in) argument
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DFloatingDecimal.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
269 // the binary to decimal digits conversion done in dtoa() and roundup()
354 * all the significant bits, after scaling, are held in lvalue.
446 // with scaling by 10^nTinyBits, the result will fit in
461 // in the result. The integer you get from this can
481 // out in the single-float case. Our manipulation of
516 int B2, B5; // powers of 2 and powers of 5, respectively, in B
517 int S2, S5; // powers of 2 and powers of 5, respectively, in
[all...]
H A DCharacterEncoder.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
44 * that, in general, the encoded text has the form:
58 * abstract methods in this class.
68 * referenced in the See Also list below.
124 protected int readFully(InputStream in, byte buffer[]) argument
127 int q = in.read();
173 * Encode the buffer in <i>aBuffer</i> and write the encoded
202 * Return a byte array from the remaining bytes in thi
[all...]
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
H A DSerializationTest.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
46 * returns array of objects to be de/serialized in tests, and the second
58 * The location of golden files (in both modes) is controlled via
76 * @return array of objects to be de/serialized in tests.
255 * The <code>comparator</code> is searched in the following order: <br>
258 * has class in its classes hierarchy that overrides <code>equals(Object)</code>
348 * with corresponding object in provided array (i.e. <code>objects[N]</code>)
350 * in object's array.)
409 * The method serialize/deserialize each object in <cod
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DPropertiesTest.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
627 ByteArrayInputStream in = new ByteArrayInputStream(out
629 myProps2.load(in);
630 in.close();
680 ByteArrayInputStream in = new ByteArrayInputStream(out
682 myProps2.load(in);
683 in.close();
717 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
718 myProps2.load(in);
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
H A DJarFileTest.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
111 * /usr/bin/openssl x509 -req -days 3650 -in root1.csr -signkey root1.pem -out root1.crt
116 * /usr/bin/openssl x509 -req -days 3650 -in root2.csr -CA root1.crt -CAkey root1.pem -out root2.crt
117 * /usr/bin/openssl x509 -req -days 3650 -in root1.csr -CA root2.crt -CAkey root2.pem -out root1.crt
120 * /usr/bin/openssl x509 -req -days 3650 -in signer.csr -CA root1.crt -CAkey root1.pem -out signer.crt
121 * /usr/bin/openssl pkcs12 -inkey signer.pem -in signer.crt -export -out signer.p12 -name signer -passout pass:certloop
289 * Note only (and all of) the following should be contained in the file
312 assertEquals("Error in returned entry", 311, jarFile.getEntry(
349 assertEquals("Error in returne
[all...]
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
H A DFtpClient.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 private InputStream in; field in class:FtpClient
81 * Only passive mode used in JDK. See Bug 8010784.
156 * the NetworkClients will not work correctly in EBCDIC based systems.
157 * However, we cannot just use ASCII or ISO8859_1 universally, because in
158 * Asian locales, non-ASCII characters may be embedded in otherwise
160 * are a little ambiguous in this matter. For instance, RFC2398 [part 2.1]
162 * mechanism, but there is no way to specify in th
799 createInputStream(InputStream in) argument
1814 private BufferedReader in = null; field in class:FtpClient.FtpFileIterator
1819 FtpFileIterator(FtpDirParser p, BufferedReader in) argument
[all...]
/libcore/ojluni/src/main/java/java/time/zone/
H A DZoneRules.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 * Redistribution and use in source and binary forms, with or without
42 * * Redistributions in binary form must reproduce the above copyright notice,
43 * this list of conditions and the following disclaimer in the documentation
357 * Epoch second values used for offsets are encoded in a variable
358 * length form to make the common cases put fewer bytes in the stream.
375 * ZoneOffset values are encoded in a variable length form so the
376 * common cases put fewer bytes in th
429 readExternal(DataInput in) argument
[all...]
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipFile.java10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * version 2 for more details (a copy is included in the LICENSE file that
58 * or method in this class will cause a {@link NullPointerException} to be
125 * <code>File</code> object in the specified mode. The mode argument
136 * @param mode the mode in which the file is to be opened
170 * <code>File</code> object in the specified mode. The mode argument
178 * @param mode the mode in which the file is to be opened
218 // Android-changed, handle OPEN_DELETE case in #close().
360 * <p> Closing this ZIP file will, in tur
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCharsetEncoder2Test.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
84 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument
149 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { argument
173 // ...we're done. Note that the RI loses its state in
184 // See what we got in the output buffer by decoding and checking that we
/libcore/luni/src/test/java/libcore/dalvik/system/
H A DPathClassLoaderTest.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 try (InputStream in = pcl.getResourceAsStream("dalvik/system/loading-test.jar");
74 Streams.copy(in, out);
104 // We can read all the bytes in the resource despite META-INF/TEST.DSA being malformed
105 // (lacking first byte compared to the one in hyts_signed.jar, see
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldJarFileTest.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
138 InputStream in = jf.getInputStream(new JarEntry("invalid"));
139 assertNull("Got stream for non-existent entry", in);
147 // InputStream returned in any way, exception can be thrown in case
160 // InputStream returned in any way, exception can be thrown in case
/libcore/ojluni/src/main/java/com/sun/security/cert/internal/x509/
H A DX509V1CertImpl.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
94 * @param in an input stream holding at least one certificate
97 public X509V1CertImpl(InputStream in) argument
101 getFactory().generateCertificate(in);
/libcore/ojluni/src/main/java/java/net/
H A DSocket.java10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * version 2 for more details (a copy is included in the LICENSE file that
95 * as its arguments. This could result in a SecurityException.
166 * @exception SocketException if there is an error in the underlying protocol,
195 * as its arguments. This could result in a SecurityException.
231 * as its arguments. This could result in a SecurityException.
263 * free port in the {@code bind} operation.</p>
268 * as its arguments. This could result in a SecurityException.
303 * free port in th
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificateValidity.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
123 * @param in the DerInputStream to read the CertificateValidity from.
126 public CertificateValidity(DerInputStream in) throws IOException { argument
127 DerValue derVal = in.getDerValue();
142 * Encode the CertificateValidity period in DER form to the stream.
149 // in cases where default constructor is used check for
264 * we use the internal Dates rather than the passed in Date
H A DIssuingDistributionPointExtension.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
48 * The extension is defined in Section 5.2.5 of
184 // All the elements in issuingDistributionPoint are optional
189 DerInputStream in = val.data;
190 while (in != null && in.available() != 0) {
191 DerValue opt = in.getDerValue();
/libcore/tzdata/shared2/src/main/libcore/tzdata/shared2/
H A DFileUtils.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
134 // The isSymlink() check is important so that we don't delete files in other
170 try (FileInputStream in = new FileInputStream(file)) {
172 int bytesRead = in.read(max, 0, maxBytes);
/libcore/tzdata/shared2/src/test/libcore/tzdata/shared2/
H A DTimeZoneDistroTest.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
43 // Delete files / directories in reverse order.
156 public TestInputStream(InputStream in) { argument
157 super(in);
/libcore/luni/src/test/java/libcore/java/util/
H A DLibcoreIoDerivedBase64Test.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
213 private static String decodeToString(String in) throws Exception { argument
214 byte[] bytes = asciiToBytes(in);
233 // Use bytes in your test, not Strings.
252 // Use bytes in your test, not Strings.
259 private static int[] decodeToInts(String in) throws Exception { argument
260 byte[] bytes = decode(asciiToBytes(in));
278 * Convert a byte[] to an int[]. int is used because it is more convenient to use ints in
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DURICertStore.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
63 * <code>CRL</code>s from a URI, for example, as specified in an X.509
71 * Currently, the cache is shared between all applications in the VM and uses a
125 // Default maximum connect timeout in milliseconds (15 seconds)
130 * Integer value indicating the connect timeout, in seconds, to be
148 // specified in seconds
207 * Creates a CertStore from information included in the AccessDescription
249 // if ldap URI we wrap the CertSelector in a
[all...]
/libcore/ojluni/src/main/native/
H A DSocketChannelImpl.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
35 #include <netinet/in.h>
/libcore/ojluni/src/test/
H A Dartrun6 # you may not use this file except in compliance with the License.
11 # Unless required by applicable law or agreed to in writing, software
21 ### Export ANDROID_DATA=something else (it should have dalvik-cache dir in it)
111 for dexjar in ${BOOT_DEXJARS[@]}; do

Completed in 736 milliseconds

1234567891011>>