HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 451 - 475 of 3847) sorted by null

<<11121314151617181920>>

  /external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/
InstrumentTest.java 117 InputStream in = new FileInputStream(classfile); local
118 ClassReader reader = new ClassReader(in);
119 in.close();
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
Analyzer.java 39 * to a given {@link ICoverageVisitor} instance. In addition the
115 * Analyzes the class definition from a given in-memory buffer.
162 * Analyzes all classes found in the given input stream. The input stream
199 * Analyzes all class files contained in the given file or folder. Class
216 final InputStream in = new FileInputStream(file); local
218 count += analyzeAll(in, file.getPath());
220 in.close();
  /external/jarjar/src/main/com/tonicsystems/jarjar/util/
IoUtil.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 InputStream in = new FileInputStream(from); local
45 pipe(in, out, buf);
50 in.close();
84 // treat them again and write them in output, wenn they not are empty directories
  /external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
PhoneNumberToTimeZonesMapper.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
65 ObjectInputStream in = null; local
68 in = new ObjectInputStream(source);
69 map.readExternal(in);
73 close(in);
78 private static void close(InputStream in) {
79 if (in != null) {
81 in.close();
90 * map data in a thread-safe way
    [all...]
  /external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
PrefixFileReader.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 // prefix mapping file is available in the file system, so that a file can be loaded when needed.
54 ObjectInputStream in = null; local
56 in = new ObjectInputStream(source);
57 mappingFileProvider.readExternal(in);
61 close(in);
80 ObjectInputStream in = null; local
82 in = new ObjectInputStream(source);
84 map.readExternal(in);
    [all...]
  /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/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
57 InputStream in = new BufferedInputStream(socket.getInputStream()); local
58 if (checkStream(in)) {
60 return followStream(in);
69 + port + " failed; retrying in 1s");
84 private boolean checkStream(InputStream in) throws IOException {
85 in.mark(1);
86 if (in.read() == -1) {
89 in.reset()
    [all...]
  /frameworks/base/core/java/android/os/
IncidentReportArgs.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
49 public IncidentReportArgs(Parcel in) {
50 readFromParcel(in);
73 public void readFromParcel(Parcel in) {
74 mAll = in.readInt() != 0;
77 int N = in.readInt();
79 mSections.add(in.readInt());
83 N = in.readInt();
85 mHeaders.add(in.createByteArray())
    [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/tests/wifitests/src/com/android/server/wifi/
DeletedEphemeralSsidsStoreDataTest.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 final XmlPullParser in = Xml.newPullParser(); local
88 in.setInput(inputStream, StandardCharsets.UTF_8.name());
89 mDeletedEphemeralSsidsStoreData.deserializeData(in, in.getDepth(), shared);
  /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/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
178 // Must create in this order so that GZIPOutputStream writes the header before
183 GZIPInputStream in = new GZIPInputStream(pin); local
192 assertEquals(1, in.read());
193 assertEquals(2, in.read());
194 assertEquals(3, in.read());
196 in.close();
  /libcore/luni/src/test/java/dalvik/system/
ClassLoaderTestSupport.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
73 * Copy a resource in the package directory to the indicated
80 InputStream in = loader.getResourceAsStream(PACKAGE_PATH + resourceName); local
81 if (in == null) {
86 Streams.copy(in, out);
88 in.close();
  /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();
  /packages/apps/Dialer/java/com/android/voicemail/impl/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
68 InputStream in = getInputStream(); local
70 IOUtils.copy(in, base64Out);
73 in.close();
77 public BinaryTempFileBodyInputStream(InputStream in) {
78 super(in);
  /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");
  /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();

Completed in 3199 milliseconds

<<11121314151617181920>>