HomeSort by relevance Sort by last modified time
    Searched full:testlength (Results 1 - 25 of 35) sorted by null

1 2

  /libcore/luni/src/test/java/libcore/java/io/
OldDataInputStreamTest.java 40 private final int testLength = fileString.length();
59 byte rbytes[] = new byte[testLength - 5];
69 testLength - 5, r);
71 new String(rbytes).equals(fileString.substring(0, testLength - 5)));
76 new String(rbytes, 0, 5).equals(fileString.substring(testLength - 5)));
90 byte rbytes[] = new byte[testLength - 5];
98 r = dis.read(rbytes, 1, testLength - 10);
100 testLength - 10, r);
108 new String(rbytes, 0, r).equals(fileString.substring(testLength - 10)));
122 byte rbytes[] = new byte[testLength - 5]
    [all...]
OldFilterOutputStreamTest.java 38 private final int testLength = fileString.length();
99 Support_OutputStream sos = new Support_OutputStream(testLength);
105 bis.available() == testLength);
106 byte[] wbytes = new byte[testLength];
107 bis.read(wbytes, 0, testLength);
122 Support_OutputStream sos = new Support_OutputStream(testLength);
124 os.write(fileString.getBytes(), 10, testLength - 10);
128 bis.available() == testLength - 10);
129 byte[] wbytes = new byte[testLength - 10];
145 Support_OutputStream sos = new Support_OutputStream(testLength);
    [all...]
OldDataOutputStreamTest.java 44 private static final int testLength = testString.length();
74 os.write(testString.getBytes(), 5, testLength - 7);
77 byte[] rbuf = new byte[testLength];
78 r = dis.read(rbuf, 0, testLength);
80 testLength - 7, r);
84 testString.substring(5, testLength - 2)));
143 byte[] rbuf = new byte[testLength];
144 dis.read(rbuf, 0, testLength);
147 new String(rbuf, 0, testLength).equals(testString));
OldPipedWriterTest.java 28 static final int testLength = testString.length();
106 reader.read(testLength));
148 reader.read(testLength));
166 reader.read(testLength));
207 pw.write(testBuf, 0, testLength);
209 reader.read(testLength);
260 testBuf = new char[testLength];
261 testString.getChars(0, testLength, testBuf, 0);
OldRandomAccessFileTest.java 46 static final int testLength = testString.length();
192 testLength, fc.position());
218 raf.write(testString.getBytes(), 0, testLength);
219 assertEquals("Test 1: Incorrect filePointer returned. ", testLength, raf
237 assertEquals("Test 1: Incorrect length returned. ", testLength,
293 fos.write(testString.getBytes(), 0, testLength);
297 byte[] rbuf = new byte[testLength + 10];
301 testLength, bytesRead);
303 new String(rbuf, 0, testLength));
326 fos.write(testString.getBytes(), 0, testLength);
    [all...]
OldPipedOutputStreamTest.java 77 static final int testLength = testString.length();
  /external/chromium_org/third_party/icu/source/extra/scrptrun/
srtest.cpp 25 int32_t testLength = sizeof testChars / sizeof testChars[0];
29 ScriptRun scriptRun(testChars, 0, testLength);
  /external/icu/icu4c/source/extra/scrptrun/
srtest.cpp 25 int32_t testLength = sizeof testChars / sizeof testChars[0];
29 ScriptRun scriptRun(testChars, 0, testLength);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TestLengthRelaxed.rs 17 #include "TestLength.rs"
TestLength.java 25 public class TestLength extends RSBaseCompute {
294 public void testLength() {
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SpannableStringBuilderTest.java 22 public void testLength() throws Exception {
  /cts/tests/tests/text/src/android/text/cts/
InputFilter_LengthFilterTest.java 55 String expectedAfterFilter = "TestLength";
AlteredCharSequenceTest.java 87 public void testLength() {
  /libcore/support/src/test/java/tests/support/
Support_TestWebData.java 97 testLength = length;
111 testLength = file.length();
151 public long testLength;
  /frameworks/base/tests/CoreTests/android/core/
TestWebData.java 110 testLength = length;
118 public int testLength;
  /cts/tests/tests/os/src/android/os/cts/
MemoryFileTest.java 97 public void testLength() throws IOException {
  /packages/apps/Settings/tests/src/com/android/settings/bluetooth/
Utf8ByteLengthFilterTest.java 108 String expectedAfterFilter = "TestLength";
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
ObjectInputStreamTest.java 134 private final int testLength = testString.length();
231 byte[] buf = new byte[testLength];
249 ois.read(buf, testLength, 1);
261 ois.read(buf, 0, testLength);
271 byte[] buf = new byte[testLength];
291 byte[] buf = new byte[testLength];
311 byte[] buf = new byte[testLength];
315 ois.readFully(buf, 0, testLength);
330 byte[] buf = new byte[testLength];
348 ois.readFully(buf, testLength, 1)
    [all...]
  /external/chromium_org/third_party/icu/source/common/
usc_impl.h 43 * UScriptRun *scriptRun = uscript_openRun(text, testLength, &error);
  /external/icu/icu4c/source/common/
usc_impl.h 43 * UScriptRun *scriptRun = uscript_openRun(text, testLength, &error);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CoderResultTest.java 152 public void testLength() {
  /external/chromium_org/third_party/icu/source/test/intltest/
csdetest.cpp 160 int32_t testLength = testString.length();
217 decoded = NEW_ARRAY(UChar, testLength);
218 dLength = ucsdet_getUChars(matches[0], decoded, testLength, &status);
224 for(int32_t i = 0; i < testLength; i += 1) {
    [all...]
  /external/icu/icu4c/source/test/intltest/
csdetest.cpp 160 int32_t testLength = testString.length();
217 decoded = NEW_ARRAY(UChar, testLength);
218 dLength = ucsdet_getUChars(matches[0], decoded, testLength, &status);
224 for(int32_t i = 0; i < testLength; i += 1) {
    [all...]
  /external/zopfli/src/zopfli/
deflate.c 305 size_t testlength = 0; local
315 testlength++;
330 testlength += litlen;
333 assert(expected_data_size == 0 || testlength == expected_data_size);
  /cts/tests/tests/admin/src/android/admin/cts/
DevicePolicyManagerTest.java 478 for (long testLength : new long[] {
480 mDevicePolicyManager.setPasswordExpirationTimeout(mComponent, testLength);
481 assertEquals(testLength,
    [all...]

Completed in 395 milliseconds

1 2