Home | History | Annotate | Download | only in locale

Lines Matching defs:wcs

75 	const wchar_t *wcs;
403 for (t = &tests[0]; t->wcs != NULL; ++t) {
404 printf("wcslen(\"%S\") = %zu\n", t->wcs, wcslen(t->wcs));
405 n = wcstombs(NULL, t->wcs, 0);
406 printf("wcstombs(NULL, \"%S\", 0) = %d\n", t->wcs, (int)n);
408 (void)wcstombs(buf, t->wcs, n + 1);
409 printf("wcstombs(buf, \"%S\", %d) = \"%s\"\n", t->wcs,
411 ATF_REQUIRE_EQ(strlen(buf), wcslen(t->wcs));
431 for (t = &tests[0]; t->wcs != NULL; ++t) {
436 (void)printf("Checking wcstod(\"%S\", &tail):\n", t->wcs);
439 d = wcstod(t->wcs, &tail);
445 n = (size_t)(tail - t->wcs);