• Home
  • Raw
  • Download

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()
515 char myString[256] = ""; in TestStringCompatibility() local
526 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
527 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
528 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
533 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
534 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
535 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
540 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
541 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
542 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
548 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
549 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
550 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
555 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
556 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
557 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
562 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
563 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
564 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
583 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
584 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
585 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
590 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
591 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
592 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
601 u_austrncpy(myString, uStringBuf, UPRV_LENGTHOF(myString)); in TestStringCompatibility()
602 if (testBuf[0] != myString[0] || myString[0] != num) { in TestStringCompatibility()
603 log_err("%%c Got: 0x%x, Expected: 0x%x\n", myString[0], testBuf[0]); in TestStringCompatibility()