• Home
  • Raw
  • Download

Lines Matching refs:myString

49     char myString[256] = "";  in TestFileFromICU()  local
57 memset(myString, '*', UPRV_LENGTHOF(myString)); in TestFileFromICU()
133 log_err("u_fgetc 1 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
138 log_err("u_fgetc 2 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
143 log_err("u_fgetc 3 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
150 …"u_fgetcx returned \\u%04X\\u%04X\\u%04X. Expected 'Sin'.", myString[0], myString[1], myString[2]); in TestFileFromICU()
218 u_fscanf(myFile, "Char %%c: %c\n", myString); in TestFileFromICU()
219 if (*myString != 'A') { in TestFileFromICU()
220 log_err("%%c Got: %c, Expected: A\n", *myString); in TestFileFromICU()
226 u_fscanf(myFile, "String %%s: %s\n", myString); in TestFileFromICU()
227 if (strcmp(myString, "My-String")) { in TestFileFromICU()
228 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
230 u_fscanf(myFile, "NULL String %%s: %s\n", myString); in TestFileFromICU()
231 if (strcmp(myString, "(null)")) { in TestFileFromICU()
232 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
235 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
236 if (strcmp(myString, "My-String")) { in TestFileFromICU()
240 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
241 if (strcmp(myString, "(null)")) { in TestFileFromICU()
256 myString[2] = '!'; in TestFileFromICU()
257 myString[3] = '!'; in TestFileFromICU()
258 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
259 if (strcmp(myString, "\t\n") != 0) { in TestFileFromICU()
260 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
266 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
267 if (strcmp(myString, "Pointer to integer (Count) %n: n=1 n=1\n") != 0) { in TestFileFromICU()
268 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
274 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
275 if (strcmp(myString, "Pointer to integer Value: 37\n") != 0) { in TestFileFromICU()
276 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
282 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
283 …if (strcmp(myString, "This is a long test123456789012345678901234567890123456789012345678901234567… in TestFileFromICU()
284 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
288 log_err("u_fgets got \"%s\" and it should have returned NULL\n", myString); in TestFileFromICU()
294 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
295 if (strcmp(myString, "") != 0) { in TestFileFromICU()
296 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
302 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myUString)); in TestFileFromICU()
303 if (strcmp(myString, "\t") != 0) { in TestFileFromICU()
304 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
307 u_austrncpy(myString, u_fgets(myUString, UPRV_LENGTHOF(myUString), myFile), in TestFileFromICU()
309 if (strcmp(myString, "Normal fprintf count: n=1 n=1\n") != 0) { in TestFileFromICU()
310 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
316 u_austrncpy(myString, u_fgets(myUString, UPRV_LENGTHOF(myUString), myFile), in TestFileFromICU()
318 if (strcmp(myString, "\tNormal fprintf count value: n=27\n") != 0) { in TestFileFromICU()
319 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()