HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 701 - 725 of 2162) sorted by null

<<21222324252627282930>>

  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.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
177 ZipInputStream in = new ZipInputStream(new FileInputStream(createZipFile(1, originalSize))); local
178 while (in.getNextEntry() != null) {
179 while (in.read(readBuffer, 0, readBuffer.length) != -1) {}
181 in.close();
448 // when we find it in the central directory.
  /packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_validate/com/mot/treetest/
TreeTest.java 178 // Utility function to parse the contents of parm.txt files in each DMT directory
187 BufferedReader in = new BufferedReader(new FileReader(modifiedFileName + local
191 while ( (line = in.readLine()) != null) {
313 in.close();
317 in = new BufferedReader(new FileReader( (new File(
320 while ( (line = in.readLine()) != null) {
342 in.close();
356 BufferedReader in = new BufferedReader(new FileReader(resultFile)); local
362 while ( (line = in.readLine()) != null) {
  /external/smack/src/org/xbill/DNS/
Name.java 50 /** The maximum number of labels in a Name */
62 /* Used in wildcard names. */
294 * that it will avoid creating new objects in some cases.
312 * to the constructor, except that it will avoid creating new objects in some
340 * @param in A stream containing the DNS message which is currently
344 Name(DNSInput in) throws WireParseException {
351 len = in.readU8();
361 in.readByteArray(label, 1, len);
366 pos = in.readU8();
369 System.err.println("currently " + in.current()
    [all...]
Record.java 75 rrFromWire(DNSInput in) throws IOException;
78 newRecord(Name name, int type, int dclass, long ttl, int length, DNSInput in)
82 rec = getEmptyRecord(name, type, dclass, ttl, in != null);
83 if (in != null) {
84 if (in.remaining() < length)
86 in.setActive(length);
88 rec.rrFromWire(in);
90 if (in.remaining() > 0)
92 in.clearActive();
104 * @param data The rdata of the record, in uncompressed DNS wire format. Onl
115 DNSInput in; local
467 DNSInput in = new DNSInput(data); local
    [all...]
  /frameworks/base/core/java/android/provider/
DocumentsContract.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
85 * is used in the {@code <intent-filter>} of a {@code <provider>}.
96 * Included in {@link AssetFileDescriptor#getExtras()} when returned
176 * Timestamp when a document was last modified, in milliseconds since
211 * Size of a document, in bytes, or {@code null} if unknown. This column
272 * Flag indicating that a directory prefers its contents be shown in a
302 * this directory in a larger format grid. For example, a directory
385 * Number of bytes available in this root. This column is optional, and
479 * Optional boolean flag included in a directory {@link Cursor#getExtras()
913 final Bundle in = new Bundle(); local
952 final Bundle in = new Bundle(); local
984 final Bundle in = new Bundle(); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CharsetEncoderTest.java 5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
282 CharBuffer in = CharBuffer.wrap("aaa"); local
295 encoder.encode(in, out, true);
304 encoder.encode(in, out, false);
327 // encode facade can be execute in anywhere
328 CharBuffer in = CharBuffer.wrap("aaa"); local
330 encoder.encode(in);
331 in.rewind();
334 encoder.encode(in);
372 CharBuffer in = CharBuffer.wrap("aaa"); local
422 CharBuffer in = CharBuffer.wrap("aaa"); local
591 CharBuffer in = CharBuffer.wrap("\\ud800"); local
628 CharBuffer in; local
708 CharBuffer in = CharBuffer.wrap(unistr); local
833 CharBuffer in = getMalformedCharBuffer(); local
917 CharBuffer in = CharBuffer.wrap("aaa"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
SocketTest.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
108 SocketChannel in = ssc.accept(); local
110 in.socket().setTcpNoDelay(false);
113 InetSocketAddress listenAddress = (InetSocketAddress) in.socket().getLocalSocketAddress();
116 InetSocketAddress inLocalAddress = (InetSocketAddress) in.socket().getLocalSocketAddress();
117 InetSocketAddress inRemoteAddress = (InetSocketAddress) in.socket().getRemoteSocketAddress();
135 assertTrue(in.isConnected());
136 assertTrue(in.socket().isConnected());
140 in.close()
245 InputStream in = socket.getInputStream(); local
308 InputStream in = socket.getInputStream(); local
376 InputStream in = socket.getInputStream(); local
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
XsltXPathConformanceTestSuite.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 * <p>Unfortunately, some of the tests in the OASIS suite will fail when
84 * "Couldn't open file" errors due to a mismatch in file name casing.
86 * stylesheet files. In particular, "http://webxtest/" isn't generally
271 * Finds the named file in the named directory. This tries extra hard to
273 * available in a different casing.
428 * Returns the given file's XML fragment as a single node, wrapped in
451 // it in <result> tags would result in a malformed XML document
581 InputStream in = new BufferedInputStream(new FileInputStream(file), 1024); local
    [all...]
  /cts/hostsidetests/theme/src/android/theme/cts/
ThemeHostTest.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
55 private static final int CAPTURE_TIMEOUT = 500;//0.5sec in ms
57 private static final int ADB_TIMEOUT = 60 * 60 * 1000;//60mins in ms
65 /** The class name of the main activity in the APK. */
230 final ZipInputStream in = new ZipInputStream(zipStream); local
234 while ((ze = in.getNextEntry()) != null) {
239 while ((count = in.read(buffer)) != -1) {
247 in.close();
305 assertTrue(failures + " failures in theme test", failures == 0)
327 final Scanner in = new Scanner(logs); local
    [all...]
  /cts/libs/json/src/com/android/json/stream/
JsonReader.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
29 * end delimiters of objects and arrays. The tokens are traversed in
30 * depth-first order, the same order that they appear in the JSON document.
37 * <p>Next, create handler methods for each structure in your JSON text. You'll
86 * public List<Message> readJsonStream(InputStream in) throws IOException {
87 * JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8"));
165 * in JSON.
176 private final Reader in; field in class:JsonReader
207 * and length in the buffer
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.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
53 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local
56 assertEquals(0, in.read());
57 assertEquals(1, in.read());
58 assertEquals(2, in.read());
59 assertEquals(3, in.read());
61 in.close();
105 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local
106 assertEquals(DATA, in.read())
181 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DebugEventSocketProxy.java 6 Redistribution and use in source and binary forms, with or without
11 2. Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
43 * be kept in sync. New events must be handled on both sides of socket.
52 protected BufferedReader in; field in class:DebugEventSocketProxy
83 in = new BufferedReader(isr);
108 in.readLine()
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStore2Test.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
472 InputStream in = new ByteArrayInputStream(keyStore); local
473 keyTest.load(in, pssWord);
474 in.close();
484 in = new ByteArrayInputStream(keyStore);
485 keyTest.load(in, null);
486 in.close();