/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.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 63 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 64 DateFormatSymbols deserializedDfs = (DateFormatSymbols) in.readObject(); 65 assertEquals(-1, in.read());
|
/libcore/luni/src/test/java/libcore/javax/net/ |
ServerSocketFactoryTest.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 79 InputStream in = socket.getInputStream(); local 81 transfer(in, out); 114 * In 4.5 of UNIX Network Programming, Stevens says: 124 private void transfer(InputStream in, ByteArrayOutputStream out) throws IOException { 127 while ((count = in.read(buffer)) != -1) {
|
/libcore/ojluni/src/main/java/java/io/ |
PipedInputStream.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 86 * The index of the position in the circular buffer at which the 88 * piped output stream. <code>in<0</code> implies the buffer is empty, 89 * <code>in==out</code> implies the buffer is full 92 protected int in = -1; field in class:PipedInputStream 95 * The index of the position in the circular buffer at which the next 210 if (in == out) 212 if (in < 0) [all...] |
PipedReader.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 64 * The index of the position in the circular buffer at which the 66 * piped writer. <code>in<0</code> implies the buffer is empty, 67 * <code>in==out</code> implies the buffer is full 69 int in = -1; field in class:PipedReader 72 * The index of the position in the circular buffer at which the next 184 while (in == out) { 201 if (in < 0) [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
DeflaterInputStream.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 34 * Implements an input stream filter for compressing data in the "deflate" 65 if (in == null) { 74 * @param in input stream to read the uncompressed data to 75 * @throws NullPointerException if {@code in} is null 77 public DeflaterInputStream(InputStream in) { 78 this(in, new Deflater()); 86 * @param in input stream to read the uncompressed data t [all...] |
InflaterInputStream.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 35 * This class implements a stream filter for uncompressing data in the 78 * @param in the input stream 83 public InflaterInputStream(InputStream in, Inflater inf, int size) { 84 super(in); 85 if (in == null || inf == null) { 97 * @param in the input stream 100 public InflaterInputStream(InputStream in, Inflater inf) [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
EncryptedPrivateKeyInfo.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 * as defined in PKCS #8. 116 * @param algName encryption algorithm name. See Appendix A in the 198 * in the constructor when such mapping is available. 199 * See Appendix A in the 231 * <br>Note: In order to successfully retrieve the enclosed 375 * cipher to decrypt the encrypted data in <code>provider</code>. 429 DerInputStream in = new DerInputStream(encodedKey) local [all...] |
/libcore/ojluni/src/main/java/sun/net/www/ |
MeteredStream.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 120 int c = in.read(); 134 int n = in.read(b, off, len); 146 if (in instanceof ChunkedInputStream) { 147 n = in.skip(n); 152 n = in.skip(min); 166 in.close(); 170 return closed ? 0: in.available() [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
EDIPartyName.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 83 DerInputStream in = new DerInputStream(derValue.toByteArray()); local 84 DerValue[] seq = in.getSequence(2); 95 throw new IOException("Duplicate nameAssigner found in" 103 throw new IOException("Duplicate partyName found in" 225 * </ul>. These results are used in checking NameConstraints during 248 * path lengths in name subtrees.
|
Extension.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 36 * <p>Extensions are additional attributes which can be inserted in a X509 77 DerInputStream in = derVal.toDerInputStream(); local 80 extensionId = in.getOID(); 83 DerValue val = in.getDerValue(); 88 val = in.getDerValue(); 108 // passed in a DER encoded octet string, strip off the tag 206 * encoded octet string which is in the certificate [all...] |
OtherName.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 89 DerInputStream in = derValue.toDerInputStream(); local 91 oid = in.getOID(); 92 DerValue val = in.getDerValue(); 230 * <li>NAME_NARROWS = 1: input name narrows name (is lower in the 232 * <li>NAME_WIDENS = 2: input name widens name (is higher in the 236 * </ul>. These results are used in checking NameConstraints during
|
PolicyConstraintsExtension.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 40 * The policy constraints extension can be used in certificates issued 42 * in two ways. It can be used to prohibit policy mapping or require 43 * that each certificate in a path contain an acceptable policy 45 * The ASN.1 syntax for this is (IMPLICIT tagging is defined in the 153 DerInputStream in = val.data; local 154 while (in != null && in.available() != 0) [all...] |
/libcore/tzdata/update/src/main/libcore/tzdata/update/ |
FileUtils.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 154 // The isSymlink() check is important so that we don't delete files in other 185 FileInputStream in = new FileInputStream(file); local 187 new InputStreamReader(in, StandardCharsets.UTF_8));
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
SapSocketTest.java | 59 // Read in the length of the message 85 Add the sap_uim_socket1 to rild in init.rc: 88 Ensure the socket is present in /dev/socket: 94 rebuild with a make in the root folder to get the 104 Validate you do not get an error in the kernel log: 112 * Precondition: Add the sap_uim_socket1 to rild in init.rc: socket 115 * Ensure the socket is present in /dev/socket: srw-rw-rw- root bluetooth 120 * rebuild with a make in the root folder to get the 129 * Validate you do not get an error in the kernel log: type=1400 142 CodedInputStreamMicro in = CodedInputStreamMicro.newInstance(rilSocket.getInputStream()) local [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
LogoUtils.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 43 final InputStream in = context.getContentResolver().openInputStream(uri); local 47 while ((bytesReadCount = in.read(buffer)) != -1) { 86 * The point of using this method is that the entire image may be too big to fit entirely in
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsPackageEntry.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 58 public ProcStatsPackageEntry(Parcel in) { 59 mPackage = in.readString(); 60 in.readTypedList(mEntries, ProcStatsEntry.CREATOR); 61 mBgDuration = in.readLong(); 62 mAvgBgMem = in.readLong(); 63 mMaxBgMem = in.readLong(); 64 mBgWeight = in.readDouble(); 65 mRunDuration = in.readLong() [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/ |
pcm_rate.h | 20 * This program is distributed in the hope that it will be useful, 53 struct snd_pcm_rate_side_info in; member in struct:snd_pcm_rate_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
netfilter.h | 55 struct in_addr in; member in union:nf_inet_addr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
codecvt.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 89 * The characters in [from,from_end) are converted and written to 102 * the input ends early or there is insufficient space in the 131 * the state in initial conditions, rather than partial conversion 135 * character, and input to in() had 6 external characters with state 169 * The characters in [from,from_end) are converted and written to 182 * the input ends early or there is insufficient space in the 196 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
pcm_rate.h | 20 * This program is distributed in the hope that it will be useful, 53 struct snd_pcm_rate_side_info in; member in struct:snd_pcm_rate_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
netfilter.h | 65 struct in_addr in; member in union:nf_inet_addr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
codecvt.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 89 * The characters in [from,from_end) are converted and written to 102 * the input ends early or there is insufficient space in the 131 * the state in initial conditions, rather than partial conversion 135 * character, and input to in() had 6 external characters with state 169 * The characters in [from,from_end) are converted and written to 182 * the input ends early or there is insufficient space in the 196 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
codecvt.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 89 * The characters in [from,from_end) are converted and written to 102 * the input ends early or there is insufficient space in the 131 * the state in initial conditions, rather than partial conversion 135 * character, and input to in() had 6 external characters with state 169 * The characters in [from,from_end) are converted and written to 182 * the input ends early or there is insufficient space in the 196 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_future.py | 89 # the parser hack disabled. If a new keyword is introduced in 111 exec "from __future__ import unicode_literals; x = ''" in scope namespace
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_future.py | 89 # the parser hack disabled. If a new keyword is introduced in 111 exec "from __future__ import unicode_literals; x = ''" in scope namespace
|