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()
510 char myString[256] = ""; in TestStringCompatibility() local
521 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
522 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
523 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
528 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
529 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
530 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
535 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
536 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
537 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
543 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
544 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
545 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
550 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
551 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
552 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
557 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
558 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
559 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
578 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
579 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
580 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
585 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
586 if (strcmp(myString, testBuf) != 0) { in TestStringCompatibility()
587 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
596 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0])); in TestStringCompatibility()
597 if (testBuf[0] != myString[0] || myString[0] != num) { in TestStringCompatibility()
598 log_err("%%c Got: 0x%x, Expected: 0x%x\n", myString[0], testBuf[0]); in TestStringCompatibility()