Lines Matching refs:expected

42 		size_t expected = 0;
43 if (result != expected || errno != 0) {
44 printf("\tPROBLEM: result for wcslen(\"%ls\") = %lu (expected %lu),"
45 " errno = %x (expected %x)\n", string, result, expected,
54 size_t expected = 4;
55 if (result != expected || errno != 0) {
56 printf("\tPROBLEM: result for wcslen(\"%ls\") = %lu (expected %lu),"
57 " errno = %x (expected %x)\n", string, result, expected,
66 size_t expected = 4;
67 if (result != expected || errno != 0) {
68 printf("\tPROBLEM: result for wcslen(\"%ls\") = %lu (expected %lu),"
69 " errno = %x (expected %x)\n", string, result, expected,
78 size_t expected = 2;
79 if (result != expected || errno != 0) {
80 printf("\tPROBLEM: result for wcslen(\"%ls\") = %lu (expected %lu),"
81 " errno = %x (expected %x)\n", string, result, expected,
90 size_t expected = 0;
91 if (result != expected || errno != 0) {
93 "(expected %lu), errno = %x (expected %x)\n",
94 string, result, expected, errno, 0);
102 size_t expected = 4;
103 if (result != expected || errno != 0) {
105 "(expected %lu), errno = %x (expected %x)\n",
106 string, result, expected, errno, 0);
114 size_t expected = 4;
115 if (result != expected || errno != 0) {
117 "(expected %lu), errno = %x (expected %x)\n",
118 string, result, expected, errno, 0);
145 int expected = 0;
146 if (result != expected || errno != 0) {
148 "(expected %d), errno = %x (expected 0)\n", a, b, result,
149 expected, errno);
158 int expected = -1;
159 if (result != expected || errno != 0) {
161 "(expected %d), errno = %x (expected 0)\n", a, b, result,
162 expected, errno);
171 int expected = 1;
172 if (result != expected || errno != 0) {
174 "(expected %d), errno = %x (expected 0)\n", a, b, result,
175 expected, errno);
184 int expected = 1;
185 if (result != expected || errno != 0) {
187 "(expected %d), errno = %x (expected 0)\n", a, b, result,
188 expected, errno);
197 int expected = 0;
198 if (result != expected || errno != 0) {
200 "(expected %d), errno = %x (expected 0)\n", a, b, result,
201 expected, errno);
210 int expected = -1;
211 if (result != expected || errno != 0) {
213 "(expected %d), errno = %x (expected 0)\n", a, b, result,
214 expected, errno);
223 int expected = -1;
224 if (result != expected || errno != 0) {
226 "(expected %d), errno = %x (expected 0)\n", a, b, result,
227 expected, errno);
236 int expected = 0;
237 if (result != expected || errno != 0) {
239 "(expected %d), errno = %x (expected 0)\n", a, b, result,
240 expected, errno);
249 int expected = 0;
250 if (result != expected || errno != 0) {
252 "(expected %d), errno = %x (expected 0)\n", a, b, result,
253 expected, errno);
262 int expected = 1;
263 if (result != expected || errno != 0) {
265 "(expected %d), errno = %x (expected 0)\n", a, b, result,
266 expected, errno);
275 int expected = -1;
276 if (result != expected || errno != 0) {
278 "(expected %d), errno = %x (expected 0)\n", a, b, result,
279 expected, errno);
306 int expected = 0;
307 if (result != expected || errno != 0) {
309 "(expected %d), errno = %x (expected 0)\n", a, b, result,
310 expected, errno);
319 int expected = -1;
320 if (result != expected || errno != 0) {
322 "(expected %d), errno = %x (expected 0)\n", a, b, result,
323 expected, errno);
332 int expected = 1;
333 if (result != expected || errno != 0) {
335 "(expected %d), errno = %x (expected 0)\n", a, b, result,
336 expected, errno);
345 int expected = 0;
346 if (result != expected || errno != 0) {
348 "(expected %d), errno = %x (expected 0)\n", a, b, result,
349 expected, errno);
358 int expected = 0;
359 if (result != expected || errno != 0) {
361 "(expected %d), errno = %x (expected 0)\n", a, b, result,
362 expected, errno);
371 int expected = -1;
372 if (result != expected || errno != 0) {
374 "(expected %d), errno = %x (expected 0)\n", a, b, result,
375 expected, errno);
384 int expected = 1;
385 if (result != expected || errno != 0) {
387 "(expected %d), errno = %x (expected 0)\n", a, b, result,
388 expected, errno);
397 int expected = 0;
398 if (result != expected || errno != 0) {
400 " (expected %d), errno = %x (expected 0)\n", a, b, result,
401 expected, errno);
410 int expected = 0;
411 if (result != expected || errno != 0) {
413 " (expected %d), errno = %x (expected 0)\n", a, b, result,
414 expected, errno);
423 int expected = 1;
424 if (result != expected || errno != 0) {
426 " (expected %d), errno = %x (expected 0)\n", a, b, result,
427 expected, errno);
436 int expected = -1;
437 if (result != expected || errno != 0) {
439 "%d (expected %d), errno = %x (expected 0)\n", a, b, result,
440 expected, errno);
467 const wchar_t* expected = NULL;
468 if (result != expected || errno != 0) {
470 "(expected %p), errno = %x (expected 0)\n", string, ch,
471 result, expected, errno);
480 const wchar_t* expected = string;
481 if (result != expected || errno != 0) {
483 "(expected %p), errno = %x (expected 0)\n", string, ch,
484 result, expected, errno);
493 const wchar_t* expected = NULL;
494 if (result != expected || errno != 0) {
496 "(expected %p), errno = %x (expected 0)\n", string, ch,
497 result, expected, errno);
506 const wchar_t* expected = string + 4;
507 if (result != expected || errno != 0) {
509 "(expected %p), errno = %x (expected 0)\n", string, ch,
510 result, expected, errno);
519 const wchar_t* expected = string;
520 if (result != expected || errno != 0) {
522 "(expected %p), errno = %x (expected 0)\n", string, ch,
523 result, expected, errno);
532 const wchar_t* expected = NULL;
533 if (result != expected || errno != 0) {
535 "(expected %p), errno = %x (expected 0)\n", string, ch,
536 result, expected, errno);
545 const wchar_t* expected = string + 14;
546 if (result != expected || errno != 0) {
548 "(expected %p), errno = %x (expected 0)\n", string, ch,
549 result, expected, errno);
558 const wchar_t* expected = string;
559 if (result != expected || errno != 0) {
561 "(expected %p), errno = %x (expected 0)\n", string, ch,
562 result, expected, errno);
571 const wchar_t* expected = string;
572 if (result != expected || errno != 0) {
574 "(expected %p), errno = %x (expected 0)\n", string, ch,
575 result, expected, errno);
584 const wchar_t* expected = string + wcslen(string);
585 if (result != expected || errno != 0) {
587 "(expected %p), errno = %x (expected 0)\n", string, ch,
588 result, expected, errno);
597 const wchar_t* expected = string + 4;
598 if (result != expected || errno != 0) {
600 "(expected %p), errno = %x (expected 0)\n", string, ch,
601 result, expected, errno);
610 const wchar_t* expected = string;
611 if (result != expected || errno != 0) {
613 "(expected %p), errno = %x (expected 0)\n", string, ch,
614 result, expected, errno);
623 const wchar_t* expected = string + wcslen(string);
624 if (result != expected || errno != 0) {
626 "(expected %p), errno = %x (expected 0)\n", string, ch,
627 result, expected, errno);
636 const wchar_t* expected = string + 14;
637 if (result != expected || errno != 0) {
639 "(expected %p), errno = %x (expected 0)\n", string, ch,
640 result, expected, errno);
649 const wchar_t* expected = NULL;
650 if (result != expected || errno != 0) {
652 "(expected %p), errno = %x (expected 0)\n", string, ch,
653 result, expected, errno);
662 const wchar_t* expected = string;
663 if (result != expected || errno != 0) {
665 "(expected %p), errno = %x (expected 0)\n", string, ch,
666 result, expected, errno);
675 const wchar_t* expected = NULL;
676 if (result != expected || errno != 0) {
678 "(expected %p), errno = %x (expected 0)\n", string, ch,
679 result, expected, errno);
688 const wchar_t* expected = string + 9;
689 if (result != expected || errno != 0) {
691 "(expected %p), errno = %x (expected 0)\n", string, ch,
692 result, expected, errno);
701 const wchar_t* expected = string;
702 if (result != expected || errno != 0) {
704 "(expected %p), errno = %x (expected 0)\n", string, ch,
705 result, expected, errno);
714 const wchar_t* expected = NULL;
715 if (result != expected || errno != 0) {
717 "(expected %p), errno = %x (expected 0)\n", string, ch,
718 result, expected, errno);
727 const wchar_t* expected = string + 14;
728 if (result != expected || errno != 0) {
730 "(expected %p), errno = %x (expected 0)\n", string, ch,
731 result, expected, errno);
760 " (expected 0)\n", string, result, errno);
771 " (expected 0)\n", string, result, errno);
781 " (expected 0)\n", string, result, errno);
810 "expected %p\n", source, result, destination);
815 "expected 0\n", source, errno);
820 "wcslen(destination)=%lu, expected 0\n", source,
826 "destination[0]=%x, expected %x\n", source, destination[0],
832 "destination[1]=%x, expected %x\n", source, destination[1],
844 "expected %p\n", source, result, destination);
849 "expected 0\n", source, errno);
854 "wcslen(destination)=%lu, expected 4\n", source,
860 "destination[0]=%x, expected %x\n", source, destination[0],
866 "destination[1]=%x, expected %x\n", source, destination[1],
872 "destination[2]=%x, expected %x\n", source, destination[2],
878 "destination[3]=%x, expected %x\n", source, destination[3],
884 "destination[4]=%x, expected %x\n", source, destination[4],
890 "destination[5]=%x, expected %x\n", source, destination[5],
902 "expected %p\n", source, result, destination);
907 "expected 0\n", source, errno);
912 "wcslen(destination)=%lu, expected 4\n", source,
918 "destination[0]=%x, expected %x\n", source, destination[0],
924 "destination[1]=%x, expected %x\n", source, destination[1],
930 "destination[2]=%x, expected %x\n", source, destination[2],
936 "destination[3]=%x, expected %x\n", source, destination[3],
942 "destination[4]=%x, expected %x\n", source, destination[4],
948 "destination[5]=%x, expected %x\n", source, destination[5],
960 "expected %p\n", source, result, destination);
965 "expected 0\n", source, errno);
970 "wcslen(destination)=%lu, expected 2\n", source,
976 "destination[0]=%x, expected %x\n", source, destination[0],
982 "destination[1]=%x, expected %x\n", source, destination[1],
988 "destination[2]=%x, expected %x\n", source, destination[2],
994 "destination[3]=%x, expected %x\n", source, destination[3],
1006 "expected %p\n", source, result, destination);
1011 "expected 0\n", source, errno);
1016 "destination[0]=%x, expected %x\n", source, destination[0],
1028 "expected %p\n", source, result, destination);
1033 "expected 0\n", source, errno);
1038 "destination[0]=%x, expected %x\n", source, destination[0],
1044 "destination[1]=%x, expected %x\n", source, destination[1],
1050 "destination[2]=%x, expected %x\n", source, destination[2],
1062 "expected %p\n", source, result, destination);
1067 "expected 0\n", source, errno);
1072 "destination[0]=%x, expected %x\n", source, destination[0],
1078 "destination[1]=%x, expected %x\n", source, destination[1],
1084 "destination[2]=%x, expected %x\n", source, destination[2],
1090 "destination[3]=%x, expected %x\n", source, destination[3],
1096 "destination[4]=%x, expected %x\n", source, destination[4],
1108 "expected %p\n", source, result, destination);
1113 "expected 0\n", source, errno);
1118 "wcslen(destination)=%lu, expected 4\n", source,
1124 "destination[0]=%x, expected %x\n", source, destination[0],
1130 "destination[1]=%x, expected %x\n", source, destination[1],
1136 "destination[2]=%x, expected %x\n", source, destination[2],
1142 "destination[3]=%x, expected %x\n", source, destination[3],
1148 "destination[4]=%x, expected %x\n", source, destination[4],
1154 "destination[5]=%x, expected %x\n", source, destination[5],
1160 "destination[6]=%x, expected %x\n", source, destination[6],
1166 "destination[7]=%x, expected %x\n", source, destination[7],
1172 "destination[8]=%x, expected %x\n", source, destination[8],
1202 "expected %p\n", source, result, destination);
1207 "expected 0\n", source, errno);
1212 "wcslen(destination)=%lu, expected 0\n", source,
1218 "destination[0]=%x, expected %x\n", source, destination[0],
1224 "destination[1]=%x, expected %x\n", source, destination[1],
1236 "expected %p\n", source, result, destination + 4);
1241 "expected 0\n", source, errno);
1246 "wcslen(destination)=%lu, expected 4\n", source,
1252 "destination[0]=%x, expected %x\n", source, destination[0],
1258 "destination[1]=%x, expected %x\n", source, destination[1],
1264 "destination[2]=%x, expected %x\n", source, destination[2],
1270 "destination[3]=%x, expected %x\n", source, destination[3],
1276 "destination[4]=%x, expected %x\n", source, destination[4],
1282 "destination[5]=%x, expected %x\n", source, destination[5],
1294 "expected %p\n", source, result, destination + 4);
1299 "expected 0\n", source, errno);
1304 "wcslen(destination)=%lu, expected 4\n", source,
1310 "destination[0]=%x, expected %x\n", source, destination[0],
1316 "destination[1]=%x, expected %x\n", source, destination[1],
1322 "destination[2]=%x, expected %x\n", source, destination[2],
1328 "destination[3]=%x, expected %x\n", source, destination[3],
1334 "destination[4]=%x, expected %x\n", source, destination[4],
1340 "destination[5]=%x, expected %x\n", source, destination[5],
1352 "expected %p\n", source, result, destination + 2);
1357 "expected 0\n", source, errno);
1362 "wcslen(destination)=%lu, expected 2\n", source,
1368 "destination[0]=%x, expected %x\n", source, destination[0],
1374 "destination[1]=%x, expected %x\n", source, destination[1],
1380 "destination[2]=%x, expected %x\n", source, destination[2],
1386 "destination[3]=%x, expected %x\n", source, destination[3],
1398 "expected %p\n", source, result, destination);
1403 "expected 0\n", source, errno);
1408 "destination[0]=%x, expected %x\n", source, destination[0],
1420 "expected %p\n", source, result, destination + 2);
1425 "expected 0\n", source, errno);
1430 "destination[0]=%x, expected %x\n", source, destination[0],
1436 "destination[1]=%x, expected %x\n", source, destination[1],
1442 "destination[2]=%x, expected %x\n", source, destination[2],
1454 "expected %p\n", source, result, destination + 4);
1459 "expected 0\n", source, errno);
1464 "destination[0]=%x, expected %x\n", source, destination[0],
1470 "destination[1]=%x, expected %x\n", source, destination[1],
1476 "destination[2]=%x, expected %x\n", source, destination[2],
1482 "destination[3]=%x, expected %x\n", source, destination[3],
1488 "destination[4]=%x, expected %x\n", source, destination[4],
1500 "expected %p\n", source, result, destination + 4);
1505 "expected 0\n", source, errno);
1510 "wcslen(destination)=%lu, expected 4\n", source,
1516 "destination[0]=%x, expected %x\n", source, destination[0],
1522 "destination[1]=%x, expected %x\n", source, destination[1],
1528 "destination[2]=%x, expected %x\n", source, destination[2],
1534 "destination[3]=%x, expected %x\n", source, destination[3],
1540 "destination[4]=%x, expected %x\n", source, destination[4],
1546 "destination[5]=%x, expected %x\n", source, destination[5],
1552 "destination[6]=%x, expected %x\n", source, destination[6],
1558 "destination[7]=%x, expected %x\n", source, destination[7],
1564 "destination[8]=%x, expected %x\n", source, destination[8],
1597 "expected %p\n", backup, source, result, destination);
1602 "expected 0\n", backup, source, errno);
1607 "wcslen(destination)=%lu, expected 0\n", backup, source,
1613 "expected %x\n", backup, source, destination[0], L'\0');
1618 "expected %x\n", backup, source, destination[1], L'X');
1629 "expected %p\n", backup, source, result, destination);
1634 "expected 0\n", backup, source, errno);
1639 "wcslen(destination)=%lu, expected 4\n", backup, source,
1645 "expected %x\n", backup, source, destination[0], L't');
1650 "expected %x\n", backup, source, destination[1], L'e');
1655 "expected %x\n", backup, source, destination[2], L's');
1660 "expected %x\n", backup, source, destination[3], L't');
1665 "expected %x\n", backup, source, destination[4], L'\0');
1670 "expected %x\n", backup, source, destination[5], L'X');
1681 "expected %p\n", backup, source, result, destination);
1686 "expected 0\n", backup, source, errno);
1691 "wcslen(destination)=%lu, expected 8\n", backup, source,
1697 "expected %x\n", backup, source, destination[0], L't');
1702 "expected %x\n", backup, source, destination[1], L'e');
1707 "expected %x\n", backup, source, destination[2], L's');
1712 "expected %x\n", backup, source, destination[3], L't');
1717 "expected %x\n", backup, source, destination[4], L't');
1722 "expected %x\n", backup, source, destination[5], L'\xE4');
1727 "expected %x\n", backup, source, destination[6], L's');
1732 "expected %x\n", backup, source, destination[7], L't');
1737 "expected %x\n", backup, source, destination[8], L'\0');
1742 "expected %x\n", backup, source, destination[9], L'X');
1753 "expected %p\n", backup, source, result, destination);
1758 "expected 0\n", backup, source, errno);
1763 "wcslen(destination)=%lu, expected 10\n", backup, source,
1769 "expected %x\n", backup, source, destination[0], L't');
1774 "expected %x\n", backup, source, destination[1], L'e');
1779 "expected %x\n", backup, source, destination[2], L's');
1784 "expected %x\n", backup, source, destination[3], L't');
1789 "expected %x\n", backup, source, destination[4], L't');
1794 "expected %x\n", backup, source, destination[5], L'\xE4');
1799 "expected %x\n", backup, source, destination[6], L's');
1804 "expected %x\n", backup, source, destination[7], L't');
1809 "expected %x\n", backup, source, destination[8], L't');
1814 "expected %x\n", backup, source, destination[9], L'e');
1819 "expected %x\n", backup, source, destination[10], L'\0');
1824 "expected %x\n", backup, source, destination[11], L'X');
1836 "expected %p\n", backup, source, result, destination);
1841 "expected 0\n", backup, source, errno);
1846 "wcslen(destination)=%lu, expected 4\n", backup, source,
1864 "expected %p\n", backup, source, result, destination);
1869 "expected 0\n", backup, source, errno);
1874 "wcslen(destination)=%lu, expected 10\n", backup, source,
1892 "expected %p\n", backup, source, result, destination);
1897 "expected 0\n", backup, source, errno);
1902 "wcslen(destination)=%lu, expected 15\n", backup, source,
1942 "expected %ld\n", backup, source, result, expectedResult);
1947 "expected 0\n", backup, source, errno);
1952 "wcslen(destination)=%lu, expected 32\n", backup, source,
1958 "%x, expected %x\n", backup, source, destination[0], L'X');
1971 "expected %ld\n", backup, source, result, expectedResult);
1976 "expected 0\n", backup, source, errno);
1981 "wcslen(destination)=%lu, expected 0\n", backup, source,
1987 "%x, expected %x\n", backup, source, destination[0], L'\0');
1992 "%x, expected %x\n", backup, source, destination[1], L'X');
2004 "expected %ld\n", backup, source, result, expectedResult);
2009 "expected 0\n", backup, source, errno);
2014 "wcslen(destination)=%lu, expected 2\n", backup, source,
2020 "%x, expected %x\n", backup, source, destination[0], L't');
2025 "%x, expected %x\n", backup, source, destination[1], L'e');
2030 "%x, expected %x\n", backup, source, destination[2], L'\0');
2035 "%x, expected %x\n", backup, source, destination[3], L'X');
2047 "expected %ld\n", backup, source, result, expectedResult);
2052 "expected 0\n", backup, source, errno);
2057 "wcslen(destination)=%lu, expected 3\n", backup, source,
2063 "%x, expected %x\n", backup, source, destination[0], L't');
2068 "%x, expected %x\n", backup, source, destination[1], L'e');
2073 "%x, expected %x\n", backup, source, destination[2], L's');
2078 "%x, expected %x\n", backup, source, destination[3], L'\0');
2083 "%x, expected %x\n", backup, source, destination[4], L'X');
2095 "expected %ld\n", backup, source, result, expectedResult);
2100 "expected 0\n", backup, source, errno);
2105 "wcslen(destination)=%lu, expected 4\n", backup, source,
2111 "%x, expected %x\n", backup, source, destination[0], L't');
2116 "%x, expected %x\n", backup, source, destination[1], L'e');
2121 "%x, expected %x\n", backup, source, destination[2], L's');
2126 "%x, expected %x\n", backup, source, destination[3], L't');
2131 "%x, expected %x\n", backup, source, destination[4], L'\0');
2136 "%x, expected %x\n", backup, source, destination[5], L'X');
2148 "expected %ld\n", backup, source, result, expectedResult);
2153 "expected 0\n", backup, source, errno);
2158 "wcslen(destination)=%lu, expected 8\n", backup, source,
2164 "%x, expected %x\n", backup, source, destination[0], L't');
2169 "%x, expected %x\n", backup, source, destination[1], L'e');
2174 "%x, expected %x\n", backup, source, destination[2], L's');
2179 "%x, expected %x\n", backup, source, destination[3], L't');
2184 "%x, expected %x\n", backup, source, destination[4], L't');
2189 "%x, expected %x\n", backup, source, destination[5],
2195 "%x, expected %x\n", backup, source, destination[6], L's');
2200 "%x, expected %x\n", backup, source, destination[7], L't');
2205 "%x, expected %x\n", backup, source, destination[8], L'\0');
2210 "%x, expected %x\n", backup, source, destination[9], L'X');
2245 "expected %ld\n", source, result, expectedResult);
2250 "expected 0\n", source, errno);
2255 "wcslen(destination)=%lu, expected 16\n", source,
2261 "destination[0]=%x, expected %x\n", source, destination[0],
2274 " expected %ld\n", source, result, expectedResult);
2279 "expected 0\n", source, errno);
2284 "wcslen(destination)=%lu, expected 0\n", source,
2290 "destination[0]=%x, expected %x\n", source, destination[0],
2296 "destination[1]=%x, expected %x\n", source, destination[1],
2309 "expected %ld\n", source, result, expectedResult);
2314 "expected 0\n", source, errno);
2319 "wcslen(destination)=%lu, expected 3\n", source,
2325 "destination[0]=%x, expected %x\n", source, destination[0],
2331 "destination[1]=%x, expected %x\n", source, destination[1],
2337 "destination[2]=%x, expected %x\n", source, destination[2],
2343 "destination[3]=%x, expected %x\n", source, destination[3],
2356 "expected %ld\n", source, result, expectedResult);
2361 "expected 0\n", source, errno);
2366 "wcslen(destination)=%lu, expected 4\n", source,
2372 "destination[0]=%x, expected %x\n", source, destination[0],
2378 "destination[1]=%x, expected %x\n", source, destination[1],
2384 "destination[2]=%x, expected %x\n", source, destination[2],
2390 "destination[3]=%x, expected %x\n", source, destination[3],
2396 "destination[4]=%x, expected %x\n", source, destination[4],
2402 "destination[5]=%x, expected %x\n", source, destination[5],
2453 "\tPROBLEM: %s = %d (expected %d), errno = %x (expected %x)\n",
2623 "\tPROBLEM: wcsftime(\"%ls\") = \"%ls\" (expected \"%ls\")\n",
2741 const wchar_t* expected = NULL;
2742 if (result != expected || errno != 0) {
2744 "(expected %p), errno = %x (expected 0)\n", string, accept,
2745 result, expected, errno);
2754 const wchar_t* expected = NULL;
2755 if (result != expected || errno != 0) {
2757 "(expected %p), errno = %x (expected 0)\n", string, accept,
2758 result, expected, errno);
2767 const wchar_t* expected = string + 4;
2768 if (result != expected || errno != 0) {
2770 "(expected %p), errno = %x (expected 0)\n", string, accept,
2771 result, expected, errno);
2780 const wchar_t* expected = string + 4;
2781 if (result != expected || errno != 0) {
2783 "(expected %p), errno = %x (expected 0)\n", string, accept,
2784 result, expected, errno);
2793 const wchar_t* expected = string;
2794 if (result != expected || errno != 0) {
2796 "(expected %p), errno = %x (expected 0)\n", string, accept,
2797 result, expected, errno);
2806 const wchar_t* expected = NULL;
2807 if (result != expected || errno != 0) {
2809 "(expected %p), errno = %x (expected 0)\n", string, accept,
2810 result, expected, errno);
2837 size_t expected = 0;
2838 if (result != expected || errno != 0) {
2840 "(expected %ld), errno = %x (expected 0)\n", string, reject,
2841 result, expected, errno);
2850 size_t expected = 8;
2851 if (result != expected || errno != 0) {
2853 "(expected %ld), errno = %x (expected 0)\n", string, reject,
2854 result, expected, errno);
2863 size_t expected = 0;
2864 if (result != expected || errno != 0) {
2866 "(expected %ld), errno = %x (expected 0)\n", string, reject,
2867 result, expected, errno);
2876 size_t expected = 10;
2877 if (result != expected || errno != 0) {
2879 "(expected %ld), errno = %x (expected 0)\n", string, reject,
2880 result, expected, errno);
2889 size_t expected = wcslen(string);
2890 if (result != expected || errno != 0) {
2892 "(expected %ld), errno = %x (expected 0)\n", string, reject,
2893 result, expected, errno);
2902 size_t expected = wcslen(string);
2903 if (result != expected || errno != 0) {
2905 "(expected %ld), errno = %x (expected 0)\n", string, reject,
2906 result, expected, errno);
2933 size_t expected = 0;
2934 if (result != expected || errno != 0) {
2936 "(expected %ld), errno = %x (expected 0)\n", string, accept,
2937 result, expected, errno);
2946 size_t expected = 0;
2947 if (result != expected || errno != 0) {
2949 "(expected %ld), errno = %x (expected 0)\n", string, accept,
2950 result, expected, errno);
2959 size_t expected = 0;
2960 if (result != expected || errno != 0) {
2962 "(expected %ld), errno = %x (expected 0)\n", string, accept,
2963 result, expected, errno);
2972 size_t expected = wcslen(string);
2973 if (result != expected || errno != 0) {
2975 "(expected %ld), errno = %x (expected 0)\n", string, accept,
2976 result, expected, errno);
2985 size_t expected = 0;
2986 if (result != expected || errno != 0) {
2988 "(expected %ld), errno = %x (expected 0)\n", string, accept,
2989 result, expected, errno);
3016 const wchar_t* expected = NULL;
3017 if (result != expected || errno != 0) {
3019 "(expected %p), errno = %x (expected 0)\n", string, sought,
3020 result, expected, errno);
3029 const wchar_t* expected = NULL;
3030 if (result != expected || errno != 0) {
3032 "(expected %p), errno = %x (expected 0)\n", string, sought,
3033 result, expected, errno);
3042 const wchar_t* expected = NULL;
3043 if (result != expected || errno != 0) {
3045 "(expected %p), errno = %x (expected 0)\n", string, sought,
3046 result, expected, errno);
3055 const wchar_t* expected = string;
3056 if (result != expected || errno != 0) {
3058 "(expected %p), errno = %x (expected 0)\n", string, sought,
3059 result, expected, errno);
3068 const wchar_t* expected = string + 4;
3069 if (result != expected || errno != 0) {
3071 "(expected %p), errno = %x (expected 0)\n", string, sought,
3072 result, expected, errno);
3081 const wchar_t* expected = string;
3082 if (result != expected || errno != 0) {
3084 "(expected %p), errno = %x (expected 0)\n", string, sought,
3085 result, expected, errno);
3094 const wchar_t* expected = NULL;
3095 if (result != expected || errno != 0) {
3097 "(expected %p), errno = %x (expected 0)\n", string, sought,
3098 result, expected, errno);
3125 wchar_t* expected = NULL;
3127 if (result != expected || state != expectedState) {
3129 "(expected %p), state = %p (expected %p)\n", string, delim,
3130 &state, result, expected, state, expectedState);
3135 expected = NULL;
3137 if (result != expected || state != expectedState) {
3139 "(expected %p), state = %p (expected %p)\n", string, delim,
3140 &state, result, expected, state, expectedState);
3150 wchar_t* expected = NULL;
3152 if (result != expected || state != expectedState) {
3154 "(expected %p), state = %p (expected %p)\n", string, delim,
3155 &state, result, expected, state, expectedState);
3160 expected = NULL;
3162 if (result != expected || state != expectedState) {
3164 "(expected %p), state = %p (expected %p)\n", string, delim,
3165 &state, result, expected, state, expectedState);
3175 wchar_t* expected = string;
3177 if (result != expected || state != expectedState) {
3179 "(expected %p), state = %p (expected %p)\n", string, delim,
3180 &state, result, expected, state, expectedState);
3185 expected = string + 5;
3187 if (result != expected || state != expectedState) {
3189 "(expected %p), state = %p (expected %p)\n", string, delim,
3190 &state, result, expected, state, expectedState);
3195 expected = string + 10;
3197 if (result != expected || state != expectedState) {
3199 "(expected %p), state = %p (expected %p)\n", string, delim,
3200 &state, result, expected, state, expectedState);
3205 expected = string + 15;
3207 if (result != expected || state != expectedState) {
3209 "(expected %p), state = %p (expected %p)\n", string, delim,
3210 &state, result, expected, state, expectedState);
3215 expected = NULL;
3217 if (result != expected || state != expectedState) {
3219 "(expected %p), state = %p (expected %p)\n", string, delim,
3220 &state, result, expected, state, expectedState);
3230 wchar_t* expected = string + 1;
3232 if (result != expected || state != expectedState) {
3234 "(expected %p), state = %p (expected %p)\n", string, delim,
3235 &state, result, expected, state, expectedState);
3240 "(expected %ls)\n", string, delim, &state, result, L"just");
3245 expected = string + 8;
3247 if (result != expected || state != expectedState) {
3249 "(expected %p), state = %p (expected %p)\n", string, delim,
3250 &state, result, expected, state, expectedState);
3255 "(expected %ls)\n", string, delim, &state, result, L"some");
3260 expected = string + 15;
3262 if (result != expected || state != expectedState) {
3264 "(expected %p), state = %p (expected %p)\n", string, delim,
3265 &state, result, expected, state, expectedState);
3270 "(expected %ls)\n", string, delim, &state, result, L"text");
3275 expected = string + 22;
3277 if (result != expected || state != expectedState) {
3279 "(expected %p), state = %p (expected %p)\n", string, delim,
3280 &state, result, expected, state, expectedState);
3285 "(expected %ls)\n", string, delim, &state, result, L"here!");
3290 expected = NULL;
3292 if (result != expected || state != expectedState) {
3294 "(expected %p), state = %p (expected %p)\n", string, delim,
3295 &state, result, expected, state, expectedState);
3322 const wchar_t* expected = NULL;
3323 if (result != expected || errno != 0) {
3325 "(expected %p), errno = %x (expected 0)\n", string, ch,
3326 result, expected, errno);
3335 const wchar_t* expected = NULL;
3336 if (result != expected || errno != 0) {
3338 "(expected %p), errno = %x (expected 0)\n", string, ch,
3339 result, expected, errno);
3348 const wchar_t* expected = string;
3349 if (result != expected || errno != 0) {
3351 "(expected %p), errno = %x (expected 0)\n", string, ch,
3352 result, expected, errno);
3361 const wchar_t* expected = NULL;
3362 if (result != expected || errno != 0) {
3364 "(expected %p), errno = %x (expected 0)\n", string, ch,
3365 result, expected, errno);
3374 const wchar_t* expected = string + 4;
3375 if (result != expected || errno != 0) {
3377 "(expected %p), errno = %x (expected 0)\n", string, ch,
3378 result, expected, errno);
3387 const wchar_t* expected = NULL;
3388 if (result != expected || errno != 0) {
3390 "(expected %p), errno = %x (expected 0)\n", string, ch,
3391 result, expected, errno);
3400 const wchar_t* expected = NULL;
3401 if (result != expected || errno != 0) {
3403 "(expected %p), errno = %x (expected 0)\n", string, ch,
3404 result, expected, errno);
3413 const wchar_t* expected = string + 5;
3414 if (result != expected || errno != 0) {
3416 "(expected %p), errno = %x (expected 0)\n", string, ch,
3417 result, expected, errno);
3444 int expected = 0;
3445 if (result != expected || errno != 0) {
3447 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3448 expected, errno);
3457 int expected = 0;
3458 if (result != expected || errno != 0) {
3460 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3461 expected, errno);
3470 int expected = 0;
3471 if (result != expected || errno != 0) {
3473 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3474 expected, errno);
3483 int expected = -1;
3484 if (result != expected || errno != 0) {
3486 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3487 expected, errno);
3496 int expected = 1;
3497 if (result != expected || errno != 0) {
3499 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3500 expected, errno);
3509 int expected = 1;
3510 if (result != expected || errno != 0) {
3512 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3513 expected, errno);
3522 int expected = 0;
3523 if (result != expected || errno != 0) {
3525 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3526 expected, errno);
3535 int expected = -1;
3536 if (result != expected || errno != 0) {
3538 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3539 expected, errno);
3548 int expected = 0;
3549 if (result != expected || errno != 0) {
3551 "(expected %d), errno = %x (expected 0)\n", a, b, result,
3552 expected, errno);
3581 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3587 "destination[0]=%x, expected %x\n", source, destination[0],
3600 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3606 "destination[1]=%x, expected %x\n", source, destination[1],
3619 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3649 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3655 "destination[0]=%x, expected %x\n", source, destination[0],
3668 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3674 "destination[1]=%x, expected %x\n", source, destination[1],
3687 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3717 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3723 "destination[0]=%x, expected %x\n", source, destination[0],
3736 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3742 "destination[1]=%x, expected %x\n", source, destination[1],
3756 "\"%ls\" (expected %p), errno = %x (expected 0)\n",
3771 " = \"%ls\" (expected %p), errno = %x (expected 0)\n",
3801 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3807 "destination[0]=%x, expected %x\n", source, destination[0],
3819 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3825 "destination[0]=%x, expected %x\n", source, destination[0],
3831 "destination[1]=%x, expected %x\n", source, destination[1],
3843 "\"%ls\" (expected %p), errno = %x (expected 0)\n", source,
3850 "destination[%d]=%x, expected %x\n", source, i,
3888 printf("\tPROBLEM: sprintf(\"%s\") = \"%s\" (expected \"%s\")\n",
3955 printf("\tPROBLEM: swprintf(\"%ls\") = \"%ls\" (expected \"%ls\")\n",