Lines Matching refs:myString
34 char myString[256] = ""; in TestFileFromICU() local
42 memset(myString, '*', sizeof(myString)/sizeof(*myString)); in TestFileFromICU()
114 log_err("u_fgetc 1 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
119 log_err("u_fgetc 2 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
124 log_err("u_fgetc 3 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
131 …"u_fgetcx returned \\u%04X\\u%04X\\u%04X. Expected 'Sin'.", myString[0], myString[1], myString[2]); in TestFileFromICU()
199 u_fscanf(myFile, "Char %%c: %c\n", myString); in TestFileFromICU()
200 if (*myString != 'A') { in TestFileFromICU()
201 log_err("%%c Got: %c, Expected: A\n", *myString); in TestFileFromICU()
207 u_fscanf(myFile, "String %%s: %s\n", myString); in TestFileFromICU()
208 if (strcmp(myString, "My-String")) { in TestFileFromICU()
209 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
211 u_fscanf(myFile, "NULL String %%s: %s\n", myString); in TestFileFromICU()
212 if (strcmp(myString, "(null)")) { in TestFileFromICU()
213 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
216 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
217 if (strcmp(myString, "My-String")) { in TestFileFromICU()
221 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
222 if (strcmp(myString, "(null)")) { in TestFileFromICU()
237 myString[2] = '!'; in TestFileFromICU()
238 myString[3] = '!'; in TestFileFromICU()
239 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
240 if (myString == NULL || strcmp(myString, "\t\n") != 0) { in TestFileFromICU()
241 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
247 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
248 if (myString == NULL || strcmp(myString, "Pointer to integer (Count) %n: n=1 n=1\n") != 0) { in TestFileFromICU()
249 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
255 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
256 if (myString == NULL || strcmp(myString, "Pointer to integer Value: 37\n") != 0) { in TestFileFromICU()
257 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
263 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
264 …if (myString == NULL || strcmp(myString, "This is a long test1234567890123456789012345678901234567… in TestFileFromICU()
265 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
269 log_err("u_fgets got \"%s\" and it should have returned NULL\n", myString); in TestFileFromICU()
275 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
276 if (myString == NULL || strcmp(myString, "") != 0) { in TestFileFromICU()
277 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
283 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
284 if (myString == NULL || strcmp(myString, "\t") != 0) { in TestFileFromICU()
285 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
288 u_austrncpy(myString, u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile), in TestFileFromICU()
290 if (strcmp(myString, "Normal fprintf count: n=1 n=1\n") != 0) { in TestFileFromICU()
291 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
297 u_austrncpy(myString, u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile), in TestFileFromICU()
299 if (strcmp(myString, "\tNormal fprintf count value: n=27\n") != 0) { in TestFileFromICU()
300 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()