/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);
|
OldPipedOutputStreamTest.java | 77 static final int testLength = testString.length();
|
/external/icu/icu4c/source/extra/scrptrun/ |
srtest.cpp | 25 int32_t testLength = sizeof testChars / sizeof testChars[0]; 29 ScriptRun scriptRun(testChars, 0, testLength);
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
DeviceAdminTest.java | 69 for (long testLength : new long[] { 71 dpm.setPasswordExpirationTimeout(mAdminComponent, testLength); 72 assertEquals(testLength,
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 97 testLength = length; 111 testLength = file.length(); 151 public long testLength;
|
Support_TestWebServer.java | 753 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);
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ |
LineRegionTest.java | 77 public void testLength() throws Exception {
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
SpannableStringBuilderTest.java | 22 public void testLength() throws Exception {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/nodes/ |
TagTest.java | 72 public void testLength() {
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 97 public void testLength() throws IOException {
|
/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...] |
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 87 public void testLength() {
|
SpannableStringBuilderTest.java | 684 public void testLength() {
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
RandomAccessFileInputStreamTest.java | 252 public void testLength() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CoderResultTest.java | 152 public void testLength() {
|
/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...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 701 assertEquals(params1.testLength, hf); 739 String.valueOf(params.testLength), hf); [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestLength.java | 28 public class TestLength extends RSBaseCompute { 639 public void testLength() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
CharBufferTest.java | 677 public void testLength() {
|