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

<<11121314151617181920>>

  /system/update_engine/payload_generator/
zip_unittest.cc 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 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) {
76 TEST_AND_RETURN_FALSE(writer->Write(in.data(), in.size()));
86 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0;
87 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0;
95 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const {
96 return BzipCompress(in, out);
98 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const
162 brillo::Blob in; local
    [all...]
  /art/test/137-cfi/src/
Main.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
80 // First do the in-process unwinding.
143 BufferedReader in = new BufferedReader(new FileReader("/proc/self/cmdline")); local
144 String s = in.readLine();
145 in.close();
  /cts/tests/tests/security/src/android/security/cts/
HwRngTest.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 * Asserts that the {@code /dev/hw_random} device is configured in an acceptable way or is not
82 // In short, assert that:
84 // 2. a driver is selected in the hrwng framework, and
100 // 2. Assert that a driver is selected in the hrwng framework.
121 InputStream in = null; local
123 in = new FileInputStream(file);
124 return new String(readyFully(in), "US-ASCII");
126 closeSilently(in);
146 BufferedReader in = null; local
    [all...]
  /development/tools/idegen/src/
Configuration.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 throw new AssertionError("Not in root directory.");
101 // Look for user-specific excluded-paths file in current directory.
120 * source roots in our generated source directory (specifically,
152 // Do not check excludes in this branch.
175 * if the file doesn't have a package or if the file isn't in the
203 BufferedReader in = new BufferedReader(new FileReader(file)); local
206 while ((line = in.readLine()) != null) {
211 // line ends in a ";"
253 BufferedReader in = new BufferedReader(new FileReader(file)); local
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
ImageFactory.java 44 final InputStream in = loader.getResourceAsStream(name); local
45 final byte[] data = new byte[in.available()];
46 in.read(data);
47 in.close();
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
ClassFileVersionTest.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
84 DataInputStream in = new DataInputStream(new FileInputStream( local
86 int magic = in.readInt();
90 expectedMinorVersion = in.readUnsignedShort();
91 expectedMajorVersion = in.readUnsignedShort();
92 in.close();
94 printErrorAndFail(thisCommandName + "has error in reading target class file!");
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
SequenceTest.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
79 protected Object getDecodedObject(BerInputStream in)
81 Object[] values = (Object[]) in.content;
149 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local
151 .decode(in));
178 protected Object getDecodedObject(BerInputStream in)
186 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local
187 in.setVerify();
188 seqVerify.decode(in);
    [all...]
  /external/emma/core/java12/com/vladium/util/
Files.java 43 BufferedReader in = null; local
46 in = new BufferedReader (new FileReader (atfile), 8 * 1024); // uses default encoding
49 for (String line; (line = in.readLine ()) != null; )
59 if (in != null) try { in.close (); } catch (Exception ignore) {}
83 * Note that duplicate removal in classpaths affects ClassLoader.getResources().
86 * necessary for reproducing its behavior in Sun-compatible JVMs.
292 * A slightly stricter version of File.createTempFile() in J2SDK 1.3: it requires
301 * guarantees do not hold if files are created in the same directory outside
311 * @return writeable temp file descriptor [incorporates 'parentDir' in its pathname
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableClassToInstanceMapTest.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
75 Map<Class<?>, Object> in = Collections.emptyMap(); local
76 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
83 Map<Class<? extends Number>, Number> in = Maps.newHashMap(); local
84 in.put(Number.class, 0);
85 in.put(Double.class, Math.PI);
86 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
117 Map<Class<?>, Object> in = Collections.emptyMap(); local
118 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
123 ImmutableMap<Class<? extends Number>, ? extends Number> in local
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
ByteSinkTest.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
67 ByteArrayInputStream in = new ByteArrayInputStream(bytes); local
68 sink.writeFrom(in);
75 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10])); local
76 assertFalse(in.closed());
77 sink.writeFrom(in);
78 assertFalse(in.closed());
109 TestInputStream in = new TestInputStream( local
111 okSink.writeFrom(in);
    [all...]
IoTestCase.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
82 // fall back to copying URLs to files in the testDir == null block below
87 // testdata resources aren't file:// urls, so create a directory to store them in and then
113 * deleted in the tear-down for this test.
125 * Gets a temp dir for testing. The returned directory and all contents of it will be deleted in
138 * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will
139 * be deleted in the tear-down for this test.
164 InputStream in = url.openStream(); local
169 for (int read = in.read(buf); read != -1; read = in.read(buf))
    [all...]
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
Analyzer.java 37 * to a given {@link ICoverageVisitor} instance. In addition the
111 * Analyzes the class definition from a given in-memory buffer.
157 * Analyzes all classes found in the given input stream. The input stream
189 * Analyzes all class files contained in the given file or folder. Class
206 final InputStream in = new FileInputStream(file); local
208 count += analyzeAll(in, file.getPath());
210 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/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
MetadataManager.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
36 * additional data files such as PhoneNumberAlternateFormats, but in the future it is envisaged it
64 private static void close(InputStream in) {
65 if (in != null) {
67 in.close();
77 ObjectInputStream in = null; local
79 in = new ObjectInputStream(source);
81 alternateFormats.readExternal(in);
88 close(in);
107 ObjectInputStream in = null; local
    [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/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...]

Completed in 1368 milliseconds

<<11121314151617181920>>