Home
last modified time | relevance | path

Searched refs:testBuf (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/iotest/
Dstrtst.c514 char testBuf[256] = ""; in TestStringCompatibility() local
522 sprintf(testBuf, "%x", (int)num); in TestStringCompatibility()
525 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
526 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
529 sprintf(testBuf, "%X", (int)num); in TestStringCompatibility()
532 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
533 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
536 sprintf(testBuf, "%o", (int)num); in TestStringCompatibility()
539 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
540 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
[all …]
Dfiletst.c40 char testBuf[256] = ""; in TestFileFromICU() local
48 memset(testBuf, '*', UPRV_LENGTHOF(testBuf)); in TestFileFromICU()
841 UChar testBuf[UPRV_LENGTHOF(strABAccentA)*2]; /* *2 to see if too much was */ in TestCodepage() local
869 retVal = u_file_read(testBuf, u_strlen(strABAccentA), myFile); in TestCodepage()
870 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
889 retVal = u_file_read(testBuf, u_strlen(strBadConversion), myFile); in TestCodepage()
890 if (u_strncmp(strBadConversion, testBuf, u_strlen(strBadConversion)) != 0) { in TestCodepage()
898 u_file_read(testBuf, 1, myFile); in TestCodepage()
902 retVal = u_file_read(testBuf + 1, u_strlen(strABAccentA) - 1, myFile); in TestCodepage()
903 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DFixedLengthBlockOutputStreamTest.java84 testBuf(4, hwa); in testWriteBuf()
85 testBuf(512, hwa); in testWriteBuf()
86 testBuf(10240, hwa); in testWriteBuf()
87 testBuf(11, hwa + hwa + hwa); in testWriteBuf()
227 private void testBuf(int blockSize, String text) throws IOException { in testBuf() method in FixedLengthBlockOutputStreamTest