Searched refs:mbtowc (Results 1 - 7 of 7) sorted by relevance

/barrelfish-master/lib/libc/tests/locale/
H A Dmbtowc_test.c28 * Test program for mbtowc(), as specified by IEEE Std. 1003.1-2001 and
57 ATF_REQUIRE(mbtowc(NULL, NULL, 0) == 0);
62 ATF_REQUIRE(mbtowc(&wc, buf, 1) == 0);
67 ATF_REQUIRE(mbtowc(&wc, buf, 1) == 1);
73 ATF_REQUIRE(mbtowc(&wc, buf, 0) == -1);
75 ATF_REQUIRE(mbtowc(NULL, NULL, 0) == 0);
86 ATF_REQUIRE(mbtowc(&wc, buf, 1) == 0);
91 ATF_REQUIRE(mbtowc(&wc, buf, 1) == 1);
97 ATF_REQUIRE(mbtowc(&wc, buf, 0) == -1);
99 ATF_REQUIRE(mbtowc(NUL
[all...]
/barrelfish-master/lib/libc/locale/
H A Dmbtowc.c49 locale->mbtowc = initial;
52 rval = XLOCALE_CTYPE(locale)->__mbrtowc(pwc, s, n, &locale->mbtowc);
64 mbtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n) function
H A Dxlocale_private.h122 /** Persistent state used by mbtowc() calls. */
123 __mbstate_t mbtowc; member in struct:_xlocale
H A DMakefile.inc12 mbsrtowcs.c mbtowc.c mbstowcs.c \
43 mbsrtowcs.3 mbstowcs.3 mbtowc.3 multibyte.3 \
/barrelfish-master/include/
H A Dstdlib.h101 int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
/barrelfish-master/include/cxx/
H A D__bsd_locale_fallbacks.h82 return mbtowc(__pwc, __pmb, __max);
/barrelfish-master/lib/vis/
H A Dvis.c462 clen = mbtowc(src, mbsrc, MB_LEN_MAX);

Completed in 83 milliseconds