Searched refs:wcrtomb (Results 1 - 14 of 14) sorted by relevance

/barrelfish-master/lib/libc/tests/locale/
H A Dwcrtomb_test.c28 * Test program for wcrtomb(), as specified by IEEE Std. 1003.1-2001 and
61 * wcrtomb() resets its internal state.
63 ATF_REQUIRE(wcrtomb(NULL, L'\0', NULL) == 1);
64 ATF_REQUIRE(wcrtomb(NULL, UCHAR_MAX + 1, NULL) == 1);
69 len = wcrtomb(buf, L'\0', &s);
74 ATF_REQUIRE(wcrtomb(NULL, L'\0', NULL) == 1);
75 ATF_REQUIRE(wcrtomb(NULL, L'A', NULL) == 1);
80 len = wcrtomb(buf, L'A', &s);
85 ATF_REQUIRE(wcrtomb(buf, UCHAR_MAX + 1, NULL) == (size_t)-1);
97 * wcrtomb() reset
[all...]
/barrelfish-master/lib/libc/locale/
H A Dwcrtomb.c44 ps = &locale->wcrtomb;
49 wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps) function
H A DMakefile.inc17 tolower.c toupper.c utf8.c wcrtomb.c wcsnrtombs.c \
47 wcrtomb.3 \
84 MLINKS+=wcrtomb.3 c16rtomb.3 wcrtomb.3 c32rtomb.3
H A Dxlocale_private.h128 /** Persistent state used by wcrtomb() calls. */
129 __mbstate_t wcrtomb; member in struct:_xlocale
/barrelfish-master/lib/libc/stdio/
H A Dxprintf_str.c82 clen = wcrtomb(buf, *p++, &mbs);
177 mbseqlen = wcrtomb(buf, (wchar_t)ii, &mbs);
H A Dvfwscanf.c152 nconv = wcrtomb(mbp, wi, &mbs);
195 nconv = wcrtomb(mbp, wi, &mbs);
252 nconv = wcrtomb(mbp, wi, &mbs);
H A Dvfprintf.c244 clen = wcrtomb(buf, *p++, &mbs);
624 mbseqlen = wcrtomb(cp = buf,
H A Dvfwprintf.c264 if ((len = wcrtomb(buf, wc, &mbs)) == (size_t)-1) {
/barrelfish-master/include/cxx/
H A D__bsd_locale_fallbacks.h59 return wcrtomb(__s, __wc, __ps);
/barrelfish-master/lib/cxx/cxx/support/win32/
H A Dlocale_win32.cpp57 return wcrtomb( s, wc, ps );
/barrelfish-master/lib/cxx/cxx/support/solaris/
H A Dwcsnrtombs.inc44 /* Invalid character - wcrtomb() sets errno. */
/barrelfish-master/include/
H A Dwchar.h140 size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
/barrelfish-master/lib/libc/regex/
H A Dregcomp.c967 n = wcrtomb(bracket, ch, &mbs);
1460 clen = wcrtomb(buf, OPND(s), &mbs);
1579 clen = wcrtomb(cp, OPND(s), &mbs);
/barrelfish-master/lib/libc/gen/
H A Dglob.c1047 clen = wcrtomb(buf, CHAR(*str), &mbs);

Completed in 123 milliseconds