Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/iotest/
Dfiletst.c867 static const UChar strABAccentA[] = { 0x0041, 0x0042, 0x00C1, 0x0043, 0}; in TestCodepage() local
869 UChar testBuf[UPRV_LENGTHOF(strABAccentA)*2]; /* *2 to see if too much was */ in TestCodepage()
889 u_file_write(strABAccentA, u_strlen(strABAccentA), myFile); in TestCodepage()
897 retVal = u_file_read(testBuf, u_strlen(strABAccentA), myFile); in TestCodepage()
898 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
901 if (retVal != u_strlen(strABAccentA)) { in TestCodepage()
902 …The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strABAccentA)); in TestCodepage()
930 retVal = u_file_read(testBuf + 1, u_strlen(strABAccentA) - 1, myFile); in TestCodepage()
931 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
934 if ((retVal + 1) != u_strlen(strABAccentA)) { in TestCodepage()
[all …]