Lines Matching refs:myString
29 char myString[512] = ""; in TestString() local
140 u_sscanf(uStringBuf, "Char c: %c", myString); in TestString()
141 if (*myString != 'A') { in TestString()
142 log_err("%%c Got: %c, Expected: A\n", *myString); in TestString()
152 u_sscanf(uStringBuf, "String %%s: %s", myString); in TestString()
153 if (strcmp(myString, "My-String")) { in TestString()
154 log_err("%%s Got: %s, Expected: My-String\n", myString); in TestString()
160 u_sscanf(uStringBuf, "NULL String %%s: %s", myString); in TestString()
161 if (strcmp(myString, "(null)")) { in TestString()
162 log_err("%%s Got: %s, Expected: My-String\n", myString); in TestString()
167 u_austrncpy(myString, myUString, sizeof(myString)/sizeof(*myString)); in TestString()
168 if (strcmp(myString, "My-String")) { in TestString()
169 log_err("%%S Got: %s, Expected: My String\n", myString); in TestString()
174 u_austrncpy(myString, myUString, sizeof(myString)/sizeof(*myString)); in TestString()
175 if (strcmp(myString, "(null)")) { in TestString()
176 log_err("%%S Got: %s, Expected: (null)\n", myString); in TestString()
205 u_austrncpy(myString, uStringBuf, sizeof(uStringBuf)/sizeof(*uStringBuf)); in TestString()
206 if (strcmp(myString, longStr)) { in TestString()
207 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
214 u_austrncpy(myString, uStringBuf, sizeof(uStringBuf)/sizeof(*uStringBuf)); in TestString()
215 if (strcmp(myString, longStr)) { in TestString()
216 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
500 char myString[256] = ""; in TestStringCompatibility() local
511 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
512 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
513 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
518 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
519 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
520 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
525 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
526 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
527 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
533 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
534 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
535 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
540 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
541 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
542 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
547 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
548 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
549 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
568 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
569 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
570 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
575 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
576 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
577 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
586 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
587 if (testBuf[0] != myString[0] || myString[0] != num) { in TestStringCompatibility()
588 log_err("%%c Got: 0x%x, Expected: 0x%x\n", myString[0], testBuf[0]); in TestStringCompatibility()