/libcore/luni/src/test/java/libcore/java/net/ |
URLConnectionTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 130 // Android became more strict after M about which characters were allowed in request header 424 // Setting the server workerThreads to 1 ensures the responses are generated in the order 1038 InputStream in = connection.getInputStream(); local 1118 InputStream in = server.getUrl("\/").openConnection().getInputStream(); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarFileTest.java | 6 * (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")); local 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/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 71 protected MeasuringInputStream(InputStream in) { 72 super(in); 99 MeasuringInputStream in = new MeasuringInputStream(new ByteArrayInputStream(aesCipherText)); local 100 InputStream cin = new CipherInputStream(in, cipher); 102 assertEquals(aesCipherText.length, in.getTotalRead()); 108 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); local 111 discard -= in.read(null, 0, discard); 113 byte[] bytes = readAll(in); 121 InputStream in = new CipherInputStream( local 133 InputStream in = new CipherInputStream( local 145 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); local 153 InputStream in = new CipherInputStream(new ByteArrayInputStream(rc4CipherText), cipher); local 161 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); local [all...] |
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
MethodHandles.java | 9 * 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 Lookup in(Class<?> requestedLookupClass) { return null; } method in class:MethodHandles.Lookup
|
/libcore/ojluni/src/main/java/java/io/ |
Console.java | 10 * 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 39 * underlying platform and also upon the manner in which the virtual 58 * block in multithreaded scenarios. 71 * in this class will cause a {@link NullPointerException} to be thrown. 77 * lifetime of sensitive data in memory. 126 * on the returned object will not read in characters beyond the line 143 * A format string as described in <a 147 * Arguments referenced by the format specifiers in the forma 404 private Reader in; field in class:Console.LineReader [all...] |
DataInputStream.java | 9 * 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 * types from an underlying input stream in a machine-independent 39 * methods in this class. 52 * @param in the specified input stream 54 public DataInputStream(InputStream in) { 55 super(in); 81 * be the number of bytes actually read; these bytes will be stored in 99 * @see java.io.FilterInputStream#in [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
X509CRLSelector.java | 9 * 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 * Unless otherwise specified, the methods defined in this class are not 95 * Sets the issuerNames criterion. The issuer distinguished name in the 140 * Sets the issuerNames criterion. The issuer distinguished name in the 152 * or a byte array representing a distinguished name (in 163 * encoded distinguished name, as defined in X.501. The ASN.1 notation for 211 * name in the <code>X509CRL</code> must match at least one of the specified 231 * encoding information in the RFC 2253 String form of some distinguishe 631 DerInputStream in = new DerInputStream(crlNumExtVal); local [all...] |
/libcore/ojluni/src/main/java/java/text/ |
ChoiceFormat.java | 9 * 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 * It is generally used in a <code>MessageFormat</code> for handling plurals. 58 * in ascending order, the results of formatting will be incorrect. ChoiceFormat 64 * classes in that you create a <code>ChoiceFormat</code> object with a 67 * doesn't require any complex setup for a given locale. In fact, 286 // Single quotes themselves must be escaped in either case. 323 * Set the choices to be used in formatting. 325 * parsed with that format,and should be in ascending sorted order. Whe [all...] |
/libcore/ojluni/src/main/java/java/util/ |
ArrayPrefixHelpers.java | 43 * Managing this relies on ORing some bits in the pendingCount for 80 T in, out; field in class:ArrayPrefixHelpers.CumulateTask 125 T pin = t.in; 126 lt.in = pin; 130 rt.in = (l == org ? lout : 171 if (l == org) { // leftmost; no in 176 sum = t.in; 188 sum = t.in; 232 long in, out; field in class:ArrayPrefixHelpers.LongCumulateTask 277 long pin = t.in; 382 double in, out; field in class:ArrayPrefixHelpers.DoubleCumulateTask 532 int in, out; field in class:ArrayPrefixHelpers.IntCumulateTask [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
GZIPInputStream.java | 9 * 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 * This class implements a stream filter for reading compressed data in 67 * @param in the input stream 75 public GZIPInputStream(InputStream in, int size) throws IOException { 76 super(in, new Inflater(true), size); 77 readHeader(in); 82 * @param in the input stream 88 public GZIPInputStream(InputStream in) throws IOException 159 CheckedInputStream in = new CheckedInputStream(this_in, crc); local 210 InputStream in = this.in; local [all...] |
/libcore/ojluni/src/main/java/sun/net/www/http/ |
ChunkedInputStream.java | 9 * 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 49 private InputStream in; field in class:ChunkedInputStream 64 * The size, in bytes, of the chunk that is currently being read. 65 * This size is only valid if the current position in the underlying 72 * chunk. This value is always in the range <code>0</code> through to 84 * The current position in the buffer. It contains the index 90 * The index one greater than the index of the last valid byte in the 91 * buffer. This value is always in the range <code>0</code> throug [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
ObjectIdentifier.java | 9 * 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 38 * string name used instead of (or in addition to) the numerical id. 44 * meaning to identifiers below the 1.3.6.1.4.1.42.2.17 node in the 65 * IMPORTANT NOTES FOR CODE CHANGES (bug 4811968) IN JDK 1.7.0 77 * Below are all 4 cases in a serialization/deserialization process: 90 * Therfore, for the first 3 cases, exact compatibility is preserved. In 91 * the 4th case, non-huge OID is still supportable in old versions, while 228 * The encoding of the ID in the stream uses "DER", a BER/1 subset 270 DerInputStream in = new DerInputStream(buf); local [all...] |
/libcore/ojluni/src/main/java/sun/security/validator/ |
SimpleValidator.java | 9 * 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 * more advanced features and will be deemphasized in favor of the PKIX 269 * Get the value of the specified bit in the Netscape certificate type 287 DerInputStream in = new DerInputStream(extVal); local 288 byte[] encoded = in.getOctetString(); 337 // EKU irrelevant in CA certificates 354 * with a trust anchor as the final cert in the chain. If no trust anchor
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
IssuingDistributionPointExtension.java | 9 * 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; local 190 while (in != null && in.available() != 0) { 191 DerValue opt = in.getDerValue();
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 6 * (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 54 * should be set to value "serial.reference". In this mode, no testing 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. 431 InputStream in = SerializationTest.class.getResourceAsStream(pathString); local 476 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
ios.cpp | 75 const ios_base::openmode ios_base::in; member in class:ios_base 208 // that is also set in the exception mask exceptions(). 231 // Copy x's state to *this. This member function is used in the
|
/ndk/sources/host-tools/make-3.81/ |
ansi2knr.c | 7 ansi2knr is distributed in the hope that it will be useful, but WITHOUT ANY 10 works at all, unless he says so in writing. Refer to the GNU General Public 14 but only under the conditions described in the GPL. A copy of this license 16 your rights and responsibilities. It should be in a file named COPYLEFT, 24 with another program, this in itself does not bring the other program under 33 * --filename provides the file name for the #line directive in the output, 62 * <ghost@aladdin.com>. Other authors are noted in the change history 63 * that follows (in reverse chronological order): 69 - the check for \ + newline in scanstring was unnecessary. 91 lpd 1999-01-28 fixed two bugs: a '/' in an argument list caused a 233 { FILE *in = stdin; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferHistory.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 298 Intent in = new Intent(this, BluetoothOppTransferActivity.class); local 299 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 300 in.setDataAndNormalize(contentUri); 301 this.startActivity(in); [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstallerMain.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 90 * caller got here any other way, remove the extra that we allow in 137 InputStream in = null; local 139 in = getContentResolver().openInputStream(uri); 141 final byte[] raw = Streams.readFully(in); 148 IoUtils.closeQuietly(in); 162 try (BufferedInputStream in = 164 byte[] data = Streams.readFully(in);
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
HTMLViewerActivity.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 44 * purposefully very limited in what it supports, including no network or 183 final InputStream in = new GZIPInputStream( local 186 getIntent().getType(), "utf-8", in);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
CachedInputStream.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 31 * - support overriding the markLimit passed in mark() call (The value that BitmapFactory 40 private int mCount = 0; // total validate bytes in chunk buffers 41 private int mMarkPos = -1; // marked read position in chunk buffers 44 private final byte[] tmp = new byte[1]; // tmp buffer used in read() 46 public CachedInputStream(InputStream in) { 47 super(in); 56 * set the value that will override small readlimit passed in mark() call. 107 if (in!=null) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileSystemUtils.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 103 * Instances should NOT be constructed in standard programming. 115 * As this is not very useful, this method is deprecated in favour 116 * of {@link #freeSpaceKb(String)} which returns a result in kilobytes. 130 * @throws IllegalStateException if an error occurred in initialisation 132 * @since Commons IO 1.1, enhanced OS support in 1.2 and 1.3 134 * Deprecated from 1.3, may be removed in 2.0 143 * Returns the free space on a drive or volume in kilobytes by invoking 152 * In order to work, you must be running Windows, or have a implementation o 400 InputStream in = null; local [all...] |
IOUtils.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 53 * Two methods are provided in each case, one that uses the platform default 59 * All the methods in this class that read a stream are buffered internally. 62 * to be efficient in tests. 64 * Wherever possible, the methods in this class do <em>not</em> flush or close 124 * Instances should NOT be constructed in standard programming. 135 * This is typically used in finally blocks. 153 * This is typically used in finally blocks. 171 * This is typically used in finally blocks 1052 InputStreamReader in = new InputStreamReader(input); local 1080 InputStreamReader in = new InputStreamReader(input, encoding); local [all...] |
/packages/services/Telephony/src/org/apache/commons/io/ |
IOUtils.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 52 * Two methods are provided in each case, one that uses the platform default 58 * All the methods in this class that read a stream are buffered internally. 61 * to be efficient in tests. 63 * Wherever possible, the methods in this class do <em>not</em> flush or close 123 * Instances should NOT be constructed in standard programming. 134 * This is typically used in finally blocks. 152 * This is typically used in finally blocks. 170 * This is typically used in finally blocks 977 InputStreamReader in = new InputStreamReader(input); local 1005 InputStreamReader in = new InputStreamReader(input, encoding); local [all...] |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
wagon-file-2.6.jar | |