Lines Matching refs:myUString
31 UChar myUString[256]; in TestFileFromICU() local
39 u_memset(myUString, 0x2a, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
111 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
112 if (myUString[0] != 0x53 /* S */) { in TestFileFromICU()
115 u_fungetc(myUString[0], myFile); in TestFileFromICU()
116 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
117 if (myUString[0] != 0x53 /* S */) { in TestFileFromICU()
120 u_fungetc(myUString[0], myFile); in TestFileFromICU()
121 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
122 if (myUString[0] != 0x53 /* S */) { in TestFileFromICU()
125 u_fungetc(myUString[0], myFile); in TestFileFromICU()
126 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
127 myUString[1] = (UChar)u_fgetcx(myFile); /* Mix getc and getcx and see what happens. */ in TestFileFromICU()
128 myUString[2] = u_fgetc(myFile); in TestFileFromICU()
129 …if (myUString[0] != 0x53 /* S */ && myUString[1] != 0x69 /* i */ && myUString[2] != 0x6E /* n */) { in TestFileFromICU()
132 u_fungetc(myUString[2], myFile); in TestFileFromICU()
133 u_fungetc(myUString[1], myFile); in TestFileFromICU()
134 u_fungetc(myUString[0], myFile); in TestFileFromICU()
202 u_fscanf(myFile, "UChar %%C: %C\n", myUString); in TestFileFromICU()
203 if (*myUString != (UChar)0x0041) { /*'A'*/ in TestFileFromICU()
204 log_err("%%C Got: %C, Expected: A\n", *myUString); in TestFileFromICU()
214 u_fscanf(myFile, "Unicode String %%S: %S\n", myUString); in TestFileFromICU()
215 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
217 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
219 u_fscanf(myFile, "NULL Unicode String %%S: %S\n", myUString); in TestFileFromICU()
220 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
222 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
235 u_fgets(myUString, 4, myFile); in TestFileFromICU()
236 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
241 if (u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile) != myUString) { in TestFileFromICU()
244 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
249 if (u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile) != myUString) { in TestFileFromICU()
252 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
257 if (u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile) != myUString) { in TestFileFromICU()
260 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
265 if (u_fgets(myUString, 0, myFile) != NULL) { in TestFileFromICU()
269 if (u_fgets(myUString, 1, myFile) != myUString) { in TestFileFromICU()
272 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
277 if (u_fgets(myUString, 2, myFile) != myUString) { in TestFileFromICU()
280 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
285 u_austrncpy(myString, u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile), in TestFileFromICU()
286 sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
294 u_austrncpy(myString, u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile), in TestFileFromICU()
295 sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
302 if (u_fscanf(myFile, "%S\n", myUString) != 0) { in TestFileFromICU()
1403 UChar myUString[256]; in TestUnicodeFormat() local
1408 u_memset(myUString, 0x2a, sizeof(myUString)/sizeof(*myUString)); in TestUnicodeFormat()
1423 u_fscanf_u(myFile, PERCENT_S, myUString); in TestUnicodeFormat()
1425 if (u_strcmp(TEST_STR, myUString) != 0) { in TestUnicodeFormat()