/external/icu4c/extra/scrptrun/ |
srtest.cpp | 25 int32_t testLength = sizeof testChars / sizeof testChars[0]; 29 ScriptRun scriptRun(testChars, 0, testLength);
|
/libcore/luni/src/test/java/tests/sql/ |
BlobTest.java | 69 public void testLength() {
|
ClobTest.java | 82 public void 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 | 161 public void testLength() throws IOException {
|
/libcore/luni/src/test/java/tests/api/java/io/ |
FilterOutputStreamTest.java | 43 private final int testLength = fileString.length(); 137 Support_OutputStream sos = new Support_OutputStream(testLength); 143 bis.available() == testLength); 144 byte[] wbytes = new byte[testLength]; 145 bis.read(wbytes, 0, testLength); 168 Support_OutputStream sos = new Support_OutputStream(testLength); 170 os.write(fileString.getBytes(), 10, testLength - 10); 174 bis.available() == testLength - 10); 175 byte[] wbytes = new byte[testLength - 10]; 199 Support_OutputStream sos = new Support_OutputStream(testLength); [all...] |
DataInputStreamTest.java | 44 private final int testLength = fileString.length(); 81 byte rbytes[] = new byte[testLength - 5]; 91 testLength - 5, r); 93 new String(rbytes).equals(fileString.substring(0, testLength - 5))); 98 new String(rbytes, 0, 5).equals(fileString.substring(testLength - 5))); 120 byte rbytes[] = new byte[testLength - 5]; 128 r = dis.read(rbytes, 1, testLength - 10); 130 testLength - 10, r); 138 new String(rbytes, 0, r).equals(fileString.substring(testLength - 10))); 160 byte rbytes[] = new byte[testLength - 5] [all...] |
DataOutputStreamTest.java | 59 private static final int testLength = testString.length(); 108 os.write(testString.getBytes(), 0, testLength / 2); 110 assertEquals("Incorrect size returned", testLength / 2, os.size()); 112 byte[] rbuf = new byte[testLength / 2]; 113 dis.read(rbuf, 0, testLength / 2); 131 os.write(testString.getBytes(), 5, testLength - 7); 134 byte[] rbuf = new byte[testLength]; 135 r = dis.read(rbuf, 0, testLength); 137 testLength - 7, r); 141 testString.substring(5, testLength - 2))) [all...] |
FilterInputStreamTest.java | 51 private static final int testLength = testString.length(); 85 testLength, is.available());
|
PipedOutputStreamTest.java | 83 static final int testLength = testString.length();
|
PipedWriterTest.java | 33 static final int testLength = testString.length(); 145 reader.read(testLength)); 205 reader.read(testLength)); 232 reader.read(testLength)); 282 pw.write(testBuf, 0, testLength); 284 reader.read(testLength); 485 testBuf = new char[testLength]; 486 testString.getChars(0, testLength, testBuf, 0);
|
RandomAccessFileTest.java | 52 static final int testLength = testString.length(); 222 testLength, fc.position()); 260 raf.write(testString.getBytes(), 0, testLength); 261 assertEquals("Test 1: Incorrect filePointer returned. ", testLength, raf 285 assertEquals("Test 1: Incorrect length returned. ", testLength, 361 fos.write(testString.getBytes(), 0, testLength); 365 byte[] rbuf = new byte[testLength + 10]; 369 testLength, bytesRead); 371 new String(rbuf, 0, testLength)); 400 fos.write(testString.getBytes(), 0, testLength); [all...] |
ObjectInputStreamTest.java | 67 private final int testLength = testString.length(); 161 assertEquals("Test 1: Incorrect number of bytes;", testLength, ois.available()); 316 byte[] buf = new byte[testLength]; 320 ois.read(buf, 0, testLength); 335 byte[] buf = new byte[testLength]; 353 ois.read(buf, testLength, 1); 365 ois.read(buf, 0, testLength); 424 byte[] buf = new byte[testLength]; 453 byte[] buf = new byte[testLength]; 481 byte[] buf = new byte[testLength]; [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 89 testLength = length; 103 testLength = file.length(); 143 public long testLength;
|
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 106 public void testLength() {
|
SpannableStringBuilderTest.java | 666 public void testLength() {
|
/external/chromium/third_party/icu/source/test/intltest/ |
csdetest.cpp | 145 int32_t testLength = testString.length(); 202 decoded = NEW_ARRAY(UChar, testLength); 203 dLength = ucsdet_getUChars(matches[0], decoded, testLength, &status); 209 for(int32_t i = 0; i < testLength; i += 1) {
|
/external/icu4c/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) {
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
CharBufferTest.java | 862 public void testLength() { [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 355 public void testLength() { [all...] |