HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 726 - 750 of 3164) sorted by null

<<21222324252627282930>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ConsoleTest.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
42 private InputStream in = new ByteArrayInputStream(bytes); field in class:ConsoleTest
52 console = constructor.newInstance(in, out);
OutputStreamTesterTest.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
120 final PipedInputStream in = new PipedInputStream(); local
121 PipedOutputStream out = new PipedOutputStream(in);
130 while ((count = in.read(buffer)) != -1) {
WriterTesterTest.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
113 final PipedReader in = new PipedReader(); local
114 PipedWriter out = new PipedWriter(in);
123 while ((count = in.read(buffer)) != -1) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
GZIPOutputStreamTest.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
173 GZIPInputStream in = new GZIPInputStream(pin); local
183 assertEquals(1, in.read());
184 assertEquals(2, in.read());
185 assertEquals(3, in.read());
  /libcore/luni/src/main/java/libcore/io/
Streams.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
35 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
39 public static int readSingleByte(InputStream in) throws IOException {
41 int result = in.read(buffer, 0, 1);
46 * Implements OutputStream.write(int) in terms of OutputStream.write(byte[], int, int).
57 * Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
59 public static void readFully(InputStream in, byte[] dst) throws IOException {
60 readFully(in, dst, 0, dst.length);
64 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throw
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetDecoderTest.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
35 ByteBuffer in = ByteBuffer.wrap(new byte[] { 109, 97, 109 }); local
36 assertEquals("\u6d61x", d.decode(in).toString());
  /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&lt;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&lt;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) {
85 * 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...]
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/
TelephonyVvmConfigManager.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
97 public static ArrayList readBundleList(XmlPullParser in) throws IOException,
99 final int outerDepth = in.getDepth();
101 while (((event = in.next()) != XmlPullParser.END_DOCUMENT) &&
102 (event != XmlPullParser.END_TAG || in.getDepth() < outerDepth)) {
104 final String startTag = in.getName();
106 in.next();
107 return XmlUtils.readThisListXml(in, startTag, tagName,
114 public static PersistableBundle restoreFromXml(XmlPullParser in) throws IOException
    [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

Completed in 876 milliseconds

<<21222324252627282930>>