/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...] |
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);
|
/external/webkit/Source/WebCore/platform/text/wince/ |
TextCodecWinCE.cpp | 207 int testLength = length; 210 int resultLength = MultiByteToWideChar(codePage, flags, bytes, testLength, 0, 0); 216 MultiByteToWideChar(codePage, flags, bytes, testLength, result.data() + oldSize, resultLength); 218 if (testLength == untestedLength) { 219 *left = length - testLength; 222 untestedLength -= testLength; 223 length -= testLength; 224 bytes += testLength; 226 untestedLength = testLength - 1; 232 testLength = (untestedLength + 1) / 2 [all...] |
/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...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 89 testLength = length; 103 testLength = file.length(); 143 public long 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() {
|
SpannableStringBuilderTest.java | 565 public void 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);
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 99 public void testLength() throws IOException {
|
/packages/apps/Settings/tests/src/com/android/settings/bluetooth/ |
Utf8ByteLengthFilterTest.java | 108 String expectedAfterFilter = "TestLength";
|
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
CoderResultTest.java | 152 public void testLength() {
|
/external/icu4c/common/ |
usc_impl.h | 43 * UScriptRun *scriptRun = uscript_openRun(text, testLength, &error);
|
/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) {
|
/external/icu4c/test/cintltst/ |
idnatest.c | 38 static void TestLength(void); 67 addTest(root, &TestLength, "idna/TestLength"); 702 static void TestLength(){ [all...] |
/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 {
|