Lines Matching refs:myString
32 char myString[512] = ""; in TestString() local
143 u_sscanf(uStringBuf, "Char c: %c", myString); in TestString()
144 if (*myString != 'A') { in TestString()
145 log_err("%%c Got: %c, Expected: A\n", *myString); in TestString()
155 u_sscanf(uStringBuf, "String %%s: %s", myString); in TestString()
156 if (strcmp(myString, "My-String")) { in TestString()
157 log_err("%%s Got: %s, Expected: My-String\n", myString); in TestString()
163 u_sscanf(uStringBuf, "NULL String %%s: %s", myString); in TestString()
164 if (strcmp(myString, "(null)")) { in TestString()
165 log_err("%%s Got: %s, Expected: My-String\n", myString); in TestString()
170 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myString)); in TestString()
171 if (strcmp(myString, "My-String")) { in TestString()
172 log_err("%%S Got: %s, Expected: My String\n", myString); in TestString()
177 u_austrncpy(myString, myUString, UPRV_LENGTHOF(myString)); in TestString()
178 if (strcmp(myString, "(null)")) { in TestString()
179 log_err("%%S Got: %s, Expected: (null)\n", myString); in TestString()
208 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(uStringBuf)); in TestString()
209 if (strcmp(myString, longStr)) { in TestString()
210 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
217 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(uStringBuf)); in TestString()
218 if (strcmp(myString, longStr)) { in TestString()
219 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
513 char myString[256] = ""; in TestStringCompatibility() local
524 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
525 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
526 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
531 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
532 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
533 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
538 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
539 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
540 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
546 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
547 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
548 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
553 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
554 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
555 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
560 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
561 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
562 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
581 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
582 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
583 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
588 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
589 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
590 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
599 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
600 if (testBuf[0] != myString[0] || myString[0] != num) { in TestStringCompatibility()
601 log_err("%%c Got: 0x%x, Expected: 0x%x\n", myString[0], testBuf[0]); in TestStringCompatibility()