HomeSort by: relevance | last modified time | path
    Searched refs:wcs (Results 1 - 6 of 6) sorted by relevancy

  /src/lib/libc/locale/
wcsftime.c 58 wcsftime(wchar_t *wcs, size_t maxsize,
61 return wcsftime_l(wcs, maxsize, format, timeptr, _current_locale());
65 wcsftime_l(wchar_t *wcs, size_t maxsize,
102 n = mbstowcs_l(wcs, dstp, maxsize, loc);
multibyte_c90.c 109 wcstombs_l(char *s, const wchar_t *wcs, size_t n, locale_t loc)
114 err0 = _citrus_ctype_wcstombs(_CITRUS_CTYPE(loc), s, wcs, n, &ret);
122 wcstombs(char *s, const wchar_t *wcs, size_t n)
124 return wcstombs_l(s, wcs, n, _current_locale());
  /src/tests/lib/libc/locale/
t_wcstod.c 75 const wchar_t *wcs; member in struct:test
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)
    [all...]
t_wctomb.c 105 wchar_t wcs[16 + 2]; local in function:h_wctomb
133 wcs[t->wclen] = L'X'; /* poison */
135 sz = mbsrtowcs(wcs, &pcs, t->wclen + 2, NULL);
138 ATF_REQUIRE_EQ(wcs[t->wclen], 0);
142 ret = wctomb(cs, wcs[i]);
144 ret = wcrtomb(cs, wcs[i], stp);
  /src/lib/libc/citrus/
citrus_ctype.h 156 _citrus_ctype_wcstombs(_citrus_ctype_t cc, char *s, const wchar_t *wcs,
161 return (*cc->cc_ops->co_wcstombs)(cc->cc_closure, s, wcs, n, nresult);
citrus_none.c 229 _citrus_NONE_ctype_mbstowcs(void * __restrict cl, wchar_t * __restrict wcs,
235 return (_citrus_NONE_ctype_mbsrtowcs(cl, wcs, &rs, n, NULL, nresult));

Completed in 14 milliseconds