Lines Matching defs:myString

29     char myString[512] = "";
140 u_sscanf(uStringBuf, "Char c: %c", myString);
141 if (*myString != 'A') {
142 log_err("%%c Got: %c, Expected: A\n", *myString);
152 u_sscanf(uStringBuf, "String %%s: %s", myString);
153 if (strcmp(myString, "My-String")) {
154 log_err("%%s Got: %s, Expected: My-String\n", myString);
160 u_sscanf(uStringBuf, "NULL String %%s: %s", myString);
161 if (strcmp(myString, "(null)")) {
162 log_err("%%s Got: %s, Expected: My-String\n", myString);
167 u_austrncpy(myString, myUString, sizeof(myString)/sizeof(*myString));
168 if (strcmp(myString, "My-String")) {
169 log_err("%%S Got: %s, Expected: My String\n", myString);
174 u_austrncpy(myString, myUString, sizeof(myString)/sizeof(*myString));
175 if (strcmp(myString, "(null)")) {
176 log_err("%%S Got: %s, Expected: (null)\n", myString);
205 u_austrncpy(myString, uStringBuf, sizeof(uStringBuf)/sizeof(*uStringBuf));
206 if (strcmp(myString, longStr)) {
207 log_err("%%S Got: %s, Expected: %s\n", myString, longStr);
214 u_austrncpy(myString, uStringBuf, sizeof(uStringBuf)/sizeof(*uStringBuf));
215 if (strcmp(myString, longStr)) {
216 log_err("%%S Got: %s, Expected: %s\n", myString, longStr);
510 char myString[256] = "";
521 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
522 if (strcmp(myString, testBuf) != 0) {
523 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
528 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
529 if (strcmp(myString, testBuf) != 0) {
530 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
535 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
536 if (strcmp(myString, testBuf) != 0) {
537 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
543 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
544 if (strcmp(myString, testBuf) != 0) {
545 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
550 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
551 if (strcmp(myString, testBuf) != 0) {
552 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
557 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
558 if (strcmp(myString, testBuf) != 0) {
559 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
564 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
565 if (strcmp(myString, testBuf) != 0) {
566 log_err("%%e Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
571 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
572 if (strcmp(myString, testBuf) != 0) {
573 log_err("%%E Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
578 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
579 if (strcmp(myString, testBuf) != 0) {
580 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
585 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
586 if (strcmp(myString, testBuf) != 0) {
587 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", myString, testBuf);
596 u_austrncpy(myString, uStringBuf, sizeof(myString)/sizeof(myString[0]));
597 if (testBuf[0] != myString[0] || myString[0] != num) {
598 log_err("%%c Got: 0x%x, Expected: 0x%x\n", myString[0], testBuf[0]);