/libcore/luni/src/test/java/libcore/java/io/ |
OldPipedWriterTest.java | 75 char[] testBuf; 99 pw.write(testBuf); 143 pw.write(testBuf); 163 pw.write(testBuf); 173 pw.write(testBuf, 0, 5); 182 pw.write(testBuf, -1, 1); 189 pw.write(testBuf, 0, -1); 196 pw.write(testBuf, 5, testString.length()); 207 pw.write(testBuf, 0, testLength); 211 Arrays.equals( testBuf, reader.buf)) [all...] |
OldRandomAccessFileTest.java | 253 byte[] testBuf = testString.getBytes(); 257 raf.write(testBuf[i]); 268 testBuf[i], raf.read()); [all...] |
/external/chromium_org/third_party/icu/source/test/iotest/ |
strtst.c | 511 char testBuf[256] = ""; 519 sprintf(testBuf, "%x", (int)num); 522 if (strcmp(myString, testBuf) != 0) { 523 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); 526 sprintf(testBuf, "%X", (int)num); 529 if (strcmp(myString, testBuf) != 0) { 530 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); 533 sprintf(testBuf, "%o", (int)num); 536 if (strcmp(myString, testBuf) != 0) { 537 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); [all...] |
filetst.c | 35 char testBuf[256] = ""; 43 memset(testBuf, '*', sizeof(testBuf)/sizeof(*testBuf)); 832 UChar testBuf[sizeof(strABAccentA)/sizeof(strABAccentA[0])*2]; /* *2 to see if too much was */ 860 retVal = u_file_read(testBuf, u_strlen(strABAccentA), myFile); 861 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { 880 retVal = u_file_read(testBuf, u_strlen(strBadConversion), myFile); 881 if (u_strncmp(strBadConversion, testBuf, u_strlen(strBadConversion)) != 0) { [all...] |
/external/icu4c/test/iotest/ |
strtst.c | 511 char testBuf[256] = ""; 519 sprintf(testBuf, "%x", (int)num); 522 if (strcmp(myString, testBuf) != 0) { 523 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); 526 sprintf(testBuf, "%X", (int)num); 529 if (strcmp(myString, testBuf) != 0) { 530 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); 533 sprintf(testBuf, "%o", (int)num); 536 if (strcmp(myString, testBuf) != 0) { 537 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); [all...] |
filetst.c | 35 char testBuf[256] = ""; 43 memset(testBuf, '*', sizeof(testBuf)/sizeof(*testBuf)); 832 UChar testBuf[sizeof(strABAccentA)/sizeof(strABAccentA[0])*2]; /* *2 to see if too much was */ 860 retVal = u_file_read(testBuf, u_strlen(strABAccentA), myFile); 861 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { 880 retVal = u_file_read(testBuf, u_strlen(strBadConversion), myFile); 881 if (u_strncmp(strBadConversion, testBuf, u_strlen(strBadConversion)) != 0) { [all...] |