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

<<21222324252627282930>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationThaiTest.java 53 // commonly used mark-in-context order.
54 // In effect, marks are sorted after each syllable.
66 // combining character, similar to "c < ch" in traditional spanish.
118 * Read the external dictionary file, which is already in proper
132 // Read in a dictionary of Thai words
136 BufferedReader in = null; local
139 in = TestUtil.getDataReader(fileName, "UTF-8");
142 // Loop through each word in the dictionary and compare it to the previous
143 // word. They should be in sorted order.
146 String word = in.readLine()
    [all...]
UCAConformanceTest.java 10 * UCAConformanceTest performs conformance tests defined in the data
90 BufferedReader in; field in class:UCAConformanceTest
96 in = TestUtil.getDataReader(collationTest + type + "_SHORT" + ext);
99 in = TestUtil.getDataReader(collationTest + type + ext);
102 in = TestUtil.getDataReader(collationTest + type + "_STUB" + ext);
183 if (in == null || coll == null) {
194 logln("-prop:ucaconfnosortkeys=1 turns off getSortKey() in UCAConformanceTest");
204 while ((line = in.readLine()) != null) {
278 in.close();
281 in = null
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DataDrivenNumberFormatTestUtility.java 105 * Runs all the tests in the data driven test suite against codeUnderTest.
118 * Runs every format test in data driven test suite including those
140 BufferedReader in = null; local
142 in = TestUtil.getDataReader("numberformattestspecification.txt", "UTF-8");
144 readLine(in);
154 if (!readLine(in)) {
215 if (in != null) {
216 in.close();
288 private boolean readLine(BufferedReader in) throws IOException {
289 String line = in.readLine()
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
NormalizerBuilder.java 12 * in connection with or arising out of the use of the information here.
66 } else { // for use in Applets
89 BufferedReader in = TestUtil.getDataReader("unicode/CompositionExclusions.txt"); local
94 String line = in.readLine();
102 // store -1 in the excluded table for each character hit
108 in.close();
120 //BufferedReader in = new BufferedReader(new FileReader(UNICODE_DATA), 64*1024);
121 BufferedReader in = null; local
123 in = TestUtil.getDataReader("unicode/UnicodeData.txt");
136 String line = in.readLine()
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
IDNAConformanceTest.java 249 BufferedReader in = TestUtil.getDataReader("IDNATestInput.txt", "utf-8"); local
256 while ((tempStr = in.readLine()) != null) {
283 tempStr = in.readLine();
301 in.close();
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationThaiTest.java 52 // commonly used mark-in-context order.
53 // In effect, marks are sorted after each syllable.
65 // combining character, similar to "c < ch" in traditional spanish.
117 * Read the external dictionary file, which is already in proper
131 // Read in a dictionary of Thai words
135 BufferedReader in = null; local
138 in = TestUtil.getDataReader(fileName, "UTF-8");
141 // Loop through each word in the dictionary and compare it to the previous
142 // word. They should be in sorted order.
145 String word = in.readLine()
    [all...]
UCAConformanceTest.java 9 * UCAConformanceTest performs conformance tests defined in the data
89 BufferedReader in; field in class:UCAConformanceTest
95 in = TestUtil.getDataReader(collationTest + type + "_SHORT" + ext);
98 in = TestUtil.getDataReader(collationTest + type + ext);
101 in = TestUtil.getDataReader(collationTest + type + "_STUB" + ext);
182 if (in == null || coll == null) {
193 logln("-prop:ucaconfnosortkeys=1 turns off getSortKey() in UCAConformanceTest");
203 while ((line = in.readLine()) != null) {
277 in.close();
280 in = null
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DataDrivenNumberFormatTestUtility.java 104 * Runs all the tests in the data driven test suite against codeUnderTest.
117 * Runs every format test in data driven test suite including those
139 BufferedReader in = null; local
141 in = TestUtil.getDataReader("numberformattestspecification.txt", "UTF-8");
143 readLine(in);
153 if (!readLine(in)) {
214 if (in != null) {
215 in.close();
287 private boolean readLine(BufferedReader in) throws IOException {
288 String line = in.readLine()
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
NormalizerBuilder.java 11 * in connection with or arising out of the use of the information here.
65 } else { // for use in Applets
88 BufferedReader in = TestUtil.getDataReader("unicode/CompositionExclusions.txt"); local
93 String line = in.readLine();
101 // store -1 in the excluded table for each character hit
107 in.close();
119 //BufferedReader in = new BufferedReader(new FileReader(UNICODE_DATA), 64*1024);
120 BufferedReader in = null; local
122 in = TestUtil.getDataReader("unicode/UnicodeData.txt");
135 String line = in.readLine()
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
IDNAConformanceTest.java 248 BufferedReader in = TestUtil.getDataReader("IDNATestInput.txt", "utf-8"); local
255 while ((tempStr = in.readLine()) != null) {
282 tempStr = in.readLine();
300 in.close();
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/serializable/
SerializableChecker.java 30 * This class examines all the classes in a Jar file or a directory
63 // we're in deep trouble...
90 // Skip things in com.ibm.icu.dev; they're not relevant.
139 ObjectInputStream in = new ObjectInputStream(byteIn); local
142 objectsIn = (Object[]) in.readObject();
143 in.close();
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
CoverageTransformerTest.java 240 final InputStream in = clazz.getResourceAsStream(resource); local
244 while ((len = in.read(buffer)) != -1) {
247 in.close();
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
MockSocketConnectionTest.java 88 final InputStream in = a.getInputStream(); local
90 in.read();
95 final InputStream in = a.getInputStream(); local
98 in.read();
128 final InputStream in = a.getInputStream(); local
131 assertEquals(0, in.available());
140 assertEquals(4, in.available());
143 assertEquals(0, in.read());
144 assertEquals(1, in.read());
145 assertEquals(2, in.read())
151 final InputStream in = a.getInputStream(); local
168 final InputStream in = a.getInputStream(); local
174 final InputStream in = a.getInputStream(); local
    [all...]
  /external/jarjar/src/main/com/tonicsystems/jarjar/util/
ClassHeaderReader.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 InputStream in; field in class:ClassHeaderReader
53 public void read(InputStream in) throws IOException {
55 this.in = in;
122 in.close();
146 bsize += read(in, b, bsize, rounded - bsize);
152 private static int read(InputStream in, byte[] b, int off, int len) throws IOException {
155 int result = in.read(b, off + total, len - total)
    [all...]
  /external/javassist/src/main/javassist/tools/rmi/
AppletServer.java 6 * 1.1 (the "License"); you may not use this file except in compliance with
133 public void doReply(InputStream in, OutputStream out, String cmd)
137 processRMI(in, out);
139 lookupName(cmd, in, out);
141 super.doReply(in, out, cmd);
147 ObjectInputStream in = new ObjectInputStream(ins); local
149 int objectId = in.readInt();
150 int methodId = in.readInt();
156 Object[] args = readParameters(in);
185 in.close()
224 ObjectInputStream in = new ObjectInputStream(ins); local
    [all...]
ObjectImporter.java 6 * 1.1 (the "License"); you may not use this file except in compliance with
50 * <p>The parameters to a remote method is passed in the <i>call-by-value</i>
165 InputStream in = new BufferedInputStream(sock.getInputStream()); local
166 skipHeader(in);
167 ObjectInputStream din = new ObjectInputStream(in);
219 * object in Netscape's JVM. It returns a
273 private void skipHeader(InputStream in) throws IOException {
278 while ((c = in.read()) >= 0 && c != 0x0d)
281 in.read(); /* skip 0x0a (LF) */
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
LZMA2InputStream.java 39 * indexing. The limitation shouldn't matter much in practice since so
46 private DataInputStream in; field in class:LZMA2InputStream
69 * in the range [<code>DICT_SIZE_MIN</code>,
95 * from <code>in</code>.
109 * @param in input stream from which LZMA2-compressed
113 * in the range [<code>DICT_SIZE_MIN</code>,
116 public LZMA2InputStream(InputStream in, int dictSize) {
117 this(in, dictSize, null);
128 * @param in input stream from which LZMA2-compressed
132 * in the range [<code>DICT_SIZE_MIN</code>
    [all...]
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.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
78 InputStream in = response.getBodyStream(); local
79 assertEquals('A', in.read());
80 assertEquals('B', in.read());
81 assertEquals('C', in.read());
82 assertEquals(-1, in.read());
113 InputStream in = connection.getInputStream(); local
114 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
132 InputStream in = connection.getInputStream() local
160 InputStream in = connection.getInputStream(); local
173 InputStream in = connection.getInputStream(); local
192 InputStream in = urlConnection.getInputStream(); local
231 InputStream in = server.getUrl("\/").openConnection().getInputStream(); local
    [all...]
  /external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/
ClassDefinitionUtils.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
22 * you may not use this file except in compliance with the License.
27 * Unless required by applicable law or agreed to in writing, software
80 public static final int ACC_SYNTHETIC = 0x1000; // Declared synthetic; not present in the source code.
121 * Define a class in the provided class loader from the array of bytes. Inspired by cglib
125 * @param className class name in the format <code>org.objenesis.MyClass</code>
157 InputStream in = ClassDefinitionUtils.class.getClassLoader().getResourceAsStream(className); local
159 length = in.read(b);
162 in.close()
    [all...]
  /external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
MagicInstantiator.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
114 * Will generate the bytes for a class extending the type passed in parameter. This class will
125 DataOutputStream in = null; local
128 in = new DataOutputStream(bIn);
130 in.write(MAGIC);
131 in.write(VERSION);
132 in.writeShort(CONSTANT_POOL_COUNT);
137 in.writeByte(CONSTANT_Class);
138 in.writeShort(INDEX_UTF8_INSTANTIATOR_CLASS)
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
CertInstallerHelper.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
77 InputStream in = null; local
82 in = new FileInputStream(new File(
84 raw = Streams.readFully(in);
93 Assert.fail("key store failed to put in keychain");
97 // be only one alias in the keystore
118 if (in != null) {
120 in.close();
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
HttpFacade.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 private void inputStreamToOutputStream(InputStream in, OutputStream out) throws IOException {
61 if (in == null) {
72 while ((read = in.read(bytes)) != -1) {
78 in.close();
84 private String inputStreamToString(InputStream in) throws IOException {
85 BufferedReader r = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8));
173 InputStream in = new BufferedInputStream(urlConnection.getInputStream()); local
175 inputStreamToOutputStream(in, output)
195 InputStream in = new BufferedInputStream(urlConnection.getInputStream()); local
    [all...]
  /external/vogar/src/vogar/target/
TestRunner.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
40 * Runs an action, in process on the target.
99 * Load the properties that were either encapsulated in the APK (if using
100 * {@link vogar.android.ActivityMode}), or encapsulated in the JAR compiled by Vogar (in other
107 InputStream in = getPropertiesStream(); local
109 properties.load(in);
110 in.close();
184 // if there is more than one class in the set, this must be a package. Since we'r
    [all...]
  /frameworks/base/core/java/android/os/health/
HealthStats.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
31 * Each of the keys references data in one of five data types:
36 * (COUNT, MS, etc) will always be in the name of the constant for the key to
51 * measured in milliseconds. Timers track how many times a resource was used, and
129 public HealthStats(Parcel in) {
133 mDataType = in.readString();
136 count = in.readInt();
141 mTimerKeys[i] = in.readInt();
142 mTimerCounts[i] = in.readInt()
    [all...]
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
BandwidthTestUtil.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
47 * Parses the first line in a file if exists.
57 DataInputStream in = new DataInputStream(fstream); local
58 BufferedReader br = new BufferedReader(new InputStreamReader(in));
64 in.close();
76 * @param size in bytes of the file to download

Completed in 58 milliseconds

<<21222324252627282930>>