Searched refs:strABAccentA (Results 1 – 1 of 1) sorted by relevance
/external/icu/icu4c/source/test/iotest/ |
D | filetst.c | 839 static const UChar strABAccentA[] = { 0x0041, 0x0042, 0x00C1, 0x0043, 0}; in TestCodepage() local 841 UChar testBuf[UPRV_LENGTHOF(strABAccentA)*2]; /* *2 to see if too much was */ in TestCodepage() 861 u_file_write(strABAccentA, u_strlen(strABAccentA), myFile); in TestCodepage() 869 retVal = u_file_read(testBuf, u_strlen(strABAccentA), myFile); in TestCodepage() 870 if (u_strncmp(strABAccentA, testBuf, u_strlen(strABAccentA)) != 0) { in TestCodepage() 873 if (retVal != u_strlen(strABAccentA)) { in TestCodepage() 874 …The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strABAccentA)); 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() 906 if ((retVal + 1) != u_strlen(strABAccentA)) { in TestCodepage() [all …]
|