Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/iotest/
Dfiletst.c836 static const UChar strABAccentA[] = { 0x0041, 0x0042, 0x00C1, 0x0043, 0}; in TestCodepage() local
838 UChar testBuf[sizeof(strABAccentA)/sizeof(strABAccentA[0])*2]; /* *2 to see if too much was */ in TestCodepage()
858 u_file_write(strABAccentA, u_strlen(strABAccentA), myFile); in TestCodepage()
866 retVal = u_file_read(testBuf, u_strlen(strABAccentA), myFile); in TestCodepage()
867 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
870 if (retVal != u_strlen(strABAccentA)) { in TestCodepage()
871 …The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strABAccentA)); in TestCodepage()
899 retVal = u_file_read(testBuf + 1, u_strlen(strABAccentA) - 1, myFile); in TestCodepage()
900 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage()
903 if ((retVal + 1) != u_strlen(strABAccentA)) { in TestCodepage()
[all …]