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

<<11121314151617181920>>

  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
LZMAInputStream.java 23 * <b>IMPORTANT:</b> In contrast to other classes in this package, this class
44 * indexing. The limitation shouldn't matter much in practice since so
49 private InputStream in; field in class:LZMAInputStream
71 * in the range [<code>0</code>,
109 * in the range [<code>0</code>,
113 * in the range [0, 8]
116 * in the range [0, 4]
125 // 0x300 (768) probability variables in each literal subcoder.
144 // case of dictSize == 0 anyway, which is an allowed value but in
    [all...]
SimpleInputStream.java 19 private InputStream in; field in class:SimpleInputStream
36 SimpleInputStream(InputStream in, SimpleFilter simpleFilter) {
38 // in this constructor.
39 if (in == null)
46 this.in = in;
61 if (in == null)
96 inSize = in.read(filterBuf, pos + filtered + unfiltered,
106 // Filter the data in filterBuf.
120 if (in == null
    [all...]
SingleXZInputStream.java 22 * Decompresses exactly one XZ Stream in streamed mode (no seeking).
24 * and the read position in the input stream is left at the first byte
43 private InputStream in; field in class:SingleXZInputStream
59 private static byte[] readStreamHeader(InputStream in) throws IOException {
61 new DataInputStream(in).readFully(streamHeader);
67 * XZ Stream from <code>in</code> without a memory usage limit.
70 * from <code>in</code>. The header of the first Block is not read
73 * @param in input stream from which XZ-compressed
77 * input is not in the XZ format
88 * from <code>in</code
    [all...]
  /external/mockito/src/org/mockito/internal/configuration/
ClassPathLoader.java 21 * Loads configuration or extension points available in the classpath.
44 * <br>Suppose you wrote an extension to create mocks with some <em>Awesome</em> library, in order to tell
45 * Mockito to use it you need to put in your classpath
48 * <li>A file named <code>org.mockito.plugins.MockMaker</code> in a folder named
94 * {@link MockMaker} extension exists or is visible in the current classpath.</p>
153 InputStream in = null; local
155 in = resource.openStream();
156 for (String line : readerToLines(new InputStreamReader(in, "UTF-8"))) {
166 closeQuietly(in);
190 private static void closeQuietly(InputStream in) {
    [all...]
  /external/okhttp/okio/okio/src/test/java/okio/
RealBufferedSourceTest.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
39 InputStream in = new RealBufferedSource(source).inputStream(); local
40 assertEquals(0, in.available());
44 assertEquals('a', in.read());
45 assertEquals(Segment.SIZE - 1, in.available());
50 assertEquals(Segment.SIZE - 1, in.read(data, 0, data.length));
55 assertEquals('b', in.read());
56 assertEquals(1, in.available());
60 assertEquals('c', in.read())
71 InputStream in = source.inputStream(); local
    [all...]
  /external/vogar/src/vogar/
Md5Cache.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
60 FileInputStream in = new FileInputStream(file); local
63 while ((byteCount = in.read(bytes)) > 0) {
68 in.close();
105 // Do we have it in cache?
  /external/vogar/src/vogar/monitor/
HostMonitor.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 InputStream in = new BufferedInputStream(socket.getInputStream()); local
59 if (checkStream(in)) {
61 return followStream(in);
70 + port + " failed; retrying in 1s");
85 private boolean checkStream(InputStream in) throws IOException {
86 in.mark(1);
87 if (in.read() == -1) {
90 in.reset()
    [all...]
  /frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
ManageDialog.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
70 // mConfig can be null if we are a restricted user, in that case don't show this dialog
158 // [1] and [2] are received data in bytes and packets.
162 // [9] and [10] are transmitted data in bytes and packets.
172 DataInputStream in = null; local
174 // See dev_seq_printf_stats() in net/core/dev.c.
175 in = new DataInputStream(new FileInputStream("/proc/net/dev"));
179 String line = in.readLine().trim();
194 in.close()
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiApConfigStore.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
126 DataInputStream in = null; local
129 in = new DataInputStream(
132 int version = in.readInt();
137 config.SSID = in.readUTF();
140 config.apBand = in.readInt();
141 config.apChannel = in.readInt();
144 int authType = in.readInt();
147 config.preSharedKey = in.readUTF()
    [all...]
  /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);

Completed in 61 milliseconds

<<11121314151617181920>>