Lines Matching refs:myUString

34     UChar myUString[256];  in TestFileFromICU()  local
42 u_memset(myUString, 0x2a, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
114 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
115 if (myUString[0] != 0x53 /* S */) { in TestFileFromICU()
118 u_fungetc(myUString[0], myFile); in TestFileFromICU()
119 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
120 if (myUString[0] != 0x53 /* S */) { in TestFileFromICU()
123 u_fungetc(myUString[0], myFile); in TestFileFromICU()
124 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
125 if (myUString[0] != 0x53 /* S */) { in TestFileFromICU()
128 u_fungetc(myUString[0], myFile); in TestFileFromICU()
129 myUString[0] = u_fgetc(myFile); in TestFileFromICU()
130 myUString[1] = (UChar)u_fgetcx(myFile); /* Mix getc and getcx and see what happens. */ in TestFileFromICU()
131 myUString[2] = u_fgetc(myFile); in TestFileFromICU()
132 …if (myUString[0] != 0x53 /* S */ && myUString[1] != 0x69 /* i */ && myUString[2] != 0x6E /* n */) { in TestFileFromICU()
135 u_fungetc(myUString[2], myFile); in TestFileFromICU()
136 u_fungetc(myUString[1], myFile); in TestFileFromICU()
137 u_fungetc(myUString[0], myFile); in TestFileFromICU()
205 u_fscanf(myFile, "UChar %%C: %C\n", myUString); in TestFileFromICU()
206 if (*myUString != (UChar)0x0041) { /*'A'*/ in TestFileFromICU()
207 log_err("%%C Got: %C, Expected: A\n", *myUString); in TestFileFromICU()
217 u_fscanf(myFile, "Unicode String %%S: %S\n", myUString); in TestFileFromICU()
218 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
220 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
222 u_fscanf(myFile, "NULL Unicode String %%S: %S\n", myUString); in TestFileFromICU()
223 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
225 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
238 u_fgets(myUString, 4, myFile); in TestFileFromICU()
241 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
246 if (u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile) != myUString) { in TestFileFromICU()
249 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
254 if (u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile) != myUString) { in TestFileFromICU()
257 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
262 if (u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile) != myUString) { in TestFileFromICU()
265 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
270 if (u_fgets(myUString, 0, myFile) != NULL) { in TestFileFromICU()
274 if (u_fgets(myUString, 1, myFile) != myUString) { in TestFileFromICU()
277 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
282 if (u_fgets(myUString, 2, myFile) != myUString) { in TestFileFromICU()
285 u_austrncpy(myString, myUString, sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
290 u_austrncpy(myString, u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile), in TestFileFromICU()
291 sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
299 u_austrncpy(myString, u_fgets(myUString, sizeof(myUString)/sizeof(*myUString), myFile), in TestFileFromICU()
300 sizeof(myUString)/sizeof(*myUString)); in TestFileFromICU()
307 if (u_fscanf(myFile, "%S\n", myUString) != 0) { in TestFileFromICU()
1483 UChar myUString[256]; in TestUnicodeFormat() local
1488 u_memset(myUString, 0x2a, sizeof(myUString)/sizeof(*myUString)); in TestUnicodeFormat()
1503 u_fscanf_u(myFile, PERCENT_S, myUString); in TestUnicodeFormat()
1505 if (u_strcmp(TEST_STR, myUString) != 0) { in TestUnicodeFormat()