Home | History | Annotate | Download | only in iotest

Lines Matching refs:myString

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