/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));
|
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...] |
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);
|
OldFilterInputStreamTest.java | 45 private static final int testLength = testString.length(); 62 testLength, is.available());
|
OldPipedOutputStreamTest.java | 77 static final int testLength = testString.length();
|
/external/icu4c/extra/scrptrun/ |
srtest.cpp | 25 int32_t testLength = sizeof testChars / sizeof testChars[0]; 29 ScriptRun scriptRun(testChars, 0, testLength);
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 89 testLength = length; 103 testLength = file.length(); 143 public long testLength;
|
Support_TestWebServer.java | 779 psPrint(ps, "Content-length: "+Support_TestWebData.testParams[testNum].testLength);
|
/frameworks/base/tests/CoreTests/android/core/ |
TestWebData.java | 110 testLength = length; 118 public int testLength;
|
TestWebServer.java | 816 psPrint(ps, "Content-length: "+TestWebData.testParams[testNum].testLength);
|
/libcore/luni/src/test/java/tests/api/java/io/ |
ObjectInputStreamTest.java | 53 private final int testLength = testString.length(); 94 assertEquals("Test 1: Incorrect number of bytes;", testLength, ois.available()); 162 byte[] buf = new byte[testLength]; 166 ois.read(buf, 0, testLength); 172 byte[] buf = new byte[testLength]; 190 ois.read(buf, testLength, 1); 202 ois.read(buf, 0, testLength); 212 byte[] buf = new byte[testLength]; 232 byte[] buf = new byte[testLength]; 252 byte[] buf = new byte[testLength]; [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SpannableStringBuilderTest.java | 22 public void testLength() throws Exception {
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 99 public void testLength() throws IOException {
|
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 87 public void testLength() {
|
SpannableStringBuilderTest.java | 565 public void testLength() {
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
CoderResultTest.java | 152 public void testLength() {
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
csdetest.cpp | 148 int32_t testLength = testString.length(); 205 decoded = NEW_ARRAY(UChar, testLength); 206 dLength = ucsdet_getUChars(matches[0], decoded, testLength, &status); 212 for(int32_t i = 0; i < testLength; i += 1) {
|
/external/icu4c/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) {
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 732 assertEquals(params.testLength, hf); 762 String.valueOf(params.testLength), hf); [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteStreamsTest.java | 728 public void testLength() throws IOException {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
CharBufferTest.java | 677 public void testLength() {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 263 public void testLength() { [all...] |