HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 226 - 250 of 3164) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/
CompactDataInputOutputTest.java 31 private CompactDataInput in; field in class:CompactDataInputOutputTest
37 in = new CompactDataInput(new PipedInputStream(pipe));
83 assertEquals(Long.valueOf(value), Long.valueOf(in.readVarInt()));
84 assertEquals(Integer.valueOf(-1), Integer.valueOf(in.read()));
111 final boolean[] actual = in.readBooleanArray();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DataFormatFieldTest.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
172 // implemented in
176 ObjectInputStream in = null; local
193 in = new ObjectInputStream(new ByteArrayInputStream(bytes
197 dfield2 = (Field) in.readObject();
204 in.readObject();
217 if (in != null)
218 in.close();
  /libcore/luni/src/test/java/libcore/java/util/zip/
GZIPOutputStreamTest.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
50 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, true); local
51 assertEquals(1, in.read());
52 assertEquals(2, in.read());
53 assertEquals(3, in.read());
54 in.close();
58 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, false); local
60 in.read();
64 in.close()
    [all...]
ZipInputStreamTest.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 ZipInputStream in = new ZipInputStream(new ByteArrayInputStream(bytes)); local
61 ZipEntry entry = in.getNextEntry();
66 while ((count = in.read(buffer)) != -1) {
70 assertNull(in.getNextEntry()); // There's only one entry in the Zip files we create.
72 in.close();
81 ZipInputStream in = new ZipInputStream(emptyZipIn); local
83 ZipEntry entry = in.getNextEntry()
    [all...]
  /device/google/marlin/common/
utils.mk 22 # $(call find-word-in-list,w,wlist)
23 # finds an exact match of word w in word list wlist
28 # search word w in list wl, if found match m, return stripped word w
31 define find-word-in-list
40 # $(call match-word-in-list,w,wlist)
41 # does an exact match of word w in word list wlist
44 # return output of an exact match of word w in wordlist wlist
48 define match-word-in-list
51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \
57 # matches prefix p in wlist using delimiter deli
    [all...]
  /cts/hostsidetests/abioverride/src/android/abioverride/cts/
AbiOverrideTest.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 * Test to check the APK runs in 32bit ABI.
44 * The class name of the main activity in the APK.
49 * The class name of the main activity in the APK.
95 Scanner in = new Scanner(logs); local
96 while (in.hasNextLine()) {
97 String line = in.nextLine();
102 in.close();
103 // Verify that TEST_STRING is actually found in logs
    [all...]
  /cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
TrustedVoiceHostTest.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
56 * The class name of the main activity in the APK.
94 Scanner in = null; local
106 in = new Scanner(logs);
109 while (in.hasNextLine()) {
110 String line = in.nextLine();
121 if (in != null) {
122 in.close();
  /cts/libs/vogar-expect/src/vogar/util/
Strings.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 BufferedReader in = new BufferedReader(reader); local
47 while ((line = in.readLine()) != null) {
51 in.close();
60 BufferedReader in = local
64 while ((line = in.readLine()) != null) {
67 in.close();
  /cts/tests/tests/security/src/android/security/cts/
AslrTest.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 BufferedReader in = null; local
110 in = new BufferedReader(new FileReader("/proc/sys/kernel/randomize_va_space"));
111 int level = Integer.parseInt(in.readLine().trim());
118 if (in != null) {
119 in.close();
  /dalvik/dx/src/com/android/multidex/
Path.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 private static byte[] readStream(InputStream in, ByteArrayOutputStream baos, byte[] readBuffer)
69 int amt = in.read(readBuffer);
77 in.close();
100 InputStream in = element.open(path); local
102 byte[] bytes = readStream(in, baos, readBuffer);
108 in.close();
  /development/samples/Vault/src/com/example/android/vault/
Utils.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 final InputStream in = new FileInputStream(file); local
64 while ((count = in.read(buffer)) != -1) {
69 in.close();
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
ParserLoader.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
51 // load all the class files in the "classDir" related to the grammarName
60 final InputStream in = new BufferedInputStream(new FileInputStream(f)); local
61 final byte[] classData = new byte[in.available()];
62 in.read(classData)
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
SequenceOfTest.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
83 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local
85 .decode(in));
108 public Object getDecodedObject(BerInputStream in)
116 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local
117 in.setVerify();
118 seqVerify.decode(in);