HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 401 - 425 of 3057) sorted by null

<<11121314151617181920>>

  /libcore/benchmarks/src/benchmarks/regression/
SSLSocketBenchmark.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
86 InputStream in = s.getInputStream(); local
88 int n = in.read(buffer);
93 in.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
AttributedCharacterIteratorAttributeTest.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
73 ObjectInputStream in = null; local
93 in = new ObjectInputStream(new ByteArrayInputStream(bytes
97 dattribute2 = (AttributedCharacterIterator.Attribute) in.readObject();
111 if (in != null)
112 in.close();
  /libcore/luni/src/test/java/libcore/java/lang/
ProcessBuilderTest.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
59 InputStream in = process.getInputStream(); local
65 in.read();
  /libcore/luni/src/test/java/libcore/java/text/
OldAttributedCharacterIteratorAttributeTest.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
158 ObjectInputStream in = null; local
169 in = new ObjectInputStream(new ByteArrayInputStream(bytes
173 attr2 = (AttributedCharacterIterator.Attribute) in.readObject();
187 if (in != null)
188 in.close();
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipStreamTest.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
139 ZipInputStream in = new ZipInputStream(bytesIn); local
144 ZipEntry entry = in.getNextEntry();
149 while ((len = in.read(buf)) > 0) {
162 assertNull("should only be three entries", in.getNextEntry());
164 in.close();
  /libcore/luni/src/test/java/libcore/util/
ZoneInfoDBTest.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
48 // Given no tzdata files we can use, we should fall back to built-in "GMT".
58 RandomAccessFile in = new RandomAccessFile(TZDATA_IN_ROOT, "r"); local
59 byte[] content = new byte[(int) in.length()];
60 in.readFully(content);
67 in.close();
  /libcore/ojluni/src/main/java/sun/misc/
Service.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
45 * provider</i> is a specific implementation of a service. The classes in a
47 * in the service itself. Service providers may be installed in an
48 * implementation of the Java platform in the form of extensions, that is, jar
53 * <p> In this lookup mechanism a service is represented by an interface or an
67 * file in the resource directory <tt>META-INF/services</tt>. The file's name
73 * character are ignored. The file must be encoded in UTF-8
217 InputStream in = null; local
    [all...]
  /libcore/ojluni/src/main/java/sun/net/www/http/
HttpCapture.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
43 * that URL will be captured in the associated file.
47 * - Rules are checked in sequence, in the same order as in the file, until a
73 BufferedReader in; local
75 in = new BufferedReader(new FileReader(rulesFile));
80 String line = in.readLine()
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
EmailMessageCursor.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
41 * To get around this, we load null values in those columns, and then in this wrapper we directly
44 * This will still potentially blow up if this cursor gets wrapped in a CrossProcessCursorWrapper
72 final InputStream in = cr.openInputStream(htmlUri); local
75 underlyingHtmlString = IOUtils.toString(in);
77 in.close();
88 final InputStream in = cr.openInputStream(textUri); local
91 underlyingTextString = IOUtils.toString(in);
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Fingerprint.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 * Name of the digest algorithm we use in {@link java.security.MessageDigest}
83 DigestInputStream in = null; local
86 in = new DigestInputStream(stream, DIGESTER);
90 int n = in.read(bytes);
95 if (in != null) in.close();
98 return new Fingerprint(in.getMessageDigest().digest());
175 throw new IllegalArgumentException("illegal hex digit in " + streamId)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
BlockingHttpClientTests.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
152 BufferedInputStream in = new BufferedInputStream(response); local
155 while ((read = in.read()) != -1) {
159 in.close();
163 fail("IOException in onSuccess");
  /packages/services/Telephony/src/com/android/phone/common/mail/internet/
BinaryTempFileBody.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 InputStream in = getInputStream(); local
74 IOUtils.copy(in, base64Out);
77 in.close();
81 public BinaryTempFileBodyInputStream(InputStream in) {
82 super(in);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
WindowsLoader.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 BufferedReader in = null; local
47 in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
54 while ((line = in.readLine()) != null) {
83 if (in != null) {
84 in.close();
  /build/kati/
strutil.h 4 // you may not use this file except in compliance with the License.
9 // Unless required by applicable law or agreed to in writing, software
31 return in != r.in || s != r.s || i != r.i;
34 const StringPiece* in; member in struct:WordScanner::Iterator
39 explicit WordScanner(StringPiece in);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
GetElementAt.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
30 private int[] in; field in class:GetElementAt
49 in = new int[size];
51 in[i] = random.nextInt(100);
60 gIn.copyFrom(in);
69 assertEquals("idx = " + k, in[k], out[k]);
81 gIn.copyFrom(in);
90 assertEquals("idx = " + k, in[k], out[k]);
  /development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
HelloCompute.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
45 ImageView in = (ImageView) findViewById(R.id.displayin); local
46 in.setImageBitmap(mBitmapIn);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
ExplicitTest.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
176 DerInputStream in = new DerInputStream((byte[]) taggedType[i][1]); local
178 ((ASN1Type) taggedType[i][2]).decode(in));
GeneralizedTimeTest.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
107 DerInputStream in = new DerInputStream( local
111 gtime.decode(in)); //decoded
116 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local
120 gtime.decode(in)); //decoded
ImplicitTest.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
167 DerInputStream in = new DerInputStream((byte[]) taggedType[i][1]); local
169 ((ASN1Type) taggedType[i][2]).decode(in));
IntegerTest.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
93 DerInputStream in = new DerInputStream((byte[]) validTestcase[i][2]); local
96 (byte[]) asn1.decode(in))); // returned
101 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local
105 (byte[]) asn1.decode(in))); //returned
126 // wrong content: is not encoded in minimum number of octets
128 // wrong content: is not encoded in minimum number of octets
133 DerInputStream in = new DerInputStream(invalid[i]); local
134 ASN1Integer.getInstance().decode(in);
    [all...]
UTCTimeTest.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
99 DerInputStream in = new DerInputStream((byte[]) validUTCTimes[i][1]); local
102 utime.decode(in)); //decoded
107 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local
111 utime.decode(in)); //decoded
  /external/apache-http/src/org/apache/http/impl/conn/
LoggingSessionInputBuffer.java 12 * (the "License"); you may not use this file except in compliance with
17 * Unless required by applicable law or agreed to in writing, software
56 private final SessionInputBuffer in; field in class:LoggingSessionInputBuffer
63 * @param in The session input buffer.
66 public LoggingSessionInputBuffer(final SessionInputBuffer in, final Wire wire) {
68 this.in = in;
73 return this.in.isDataAvailable(timeout);
77 int l = this.in.read(b, off, len);
85 int l = this.in.read()
    [all...]
  /external/apache-http/src/org/apache/http/impl/io/
ContentLengthInputStream.java 12 * "License"); you may not use this file except in compliance
17 * Unless required by applicable law or agreed to in writing,
94 private SessionInputBuffer in = null; field in class:ContentLengthInputStream
99 * @param in The session input buffer to wrap
103 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) {
105 if (in == null) {
111 this.in = in;
152 return this.in.read();
179 int count = this.in.read(b, off, len)
    [all...]
  /external/boringssl/src/crypto/cipher/
aead_test.cc 5 * copyright notice and this permission notice appear in all copies.
9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
33 // IN: 6a4583908d
41 std::vector<uint8_t> key, nonce, in, ad, ct, tag; local
44 !t->GetBytes(&in, "IN") ||
58 std::vector<uint8_t> out(in.size() + EVP_AEAD_max_overhead(aead));
62 nonce.data(), nonce.size(), in.data(), in.size()
    [all...]
  /external/curl/lib/
if2ip.c 10 * This software is licensed as described in the file COPYING, which
26 # include <netinet/in.h>
147 /* We are interested only in interface addresses whose
210 struct in_addr in; local
242 memcpy(&in, &s->sin_addr, sizeof(in));
243 Curl_inet_ntop(s->sin_family, &in, buf, buf_size);

Completed in 1691 milliseconds

<<11121314151617181920>>