Searched refs:wctomb (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/lib/libc/tests/locale/
H A Dwctomb_test.c28 * Test program for wctomb(), as specified by IEEE Std. 1003.1-2001 and
58 ATF_REQUIRE(wctomb(NULL, L'\0') == 0);
62 len = wctomb(buf, L'\0');
68 len = wctomb(buf, L'A');
73 ATF_REQUIRE(wctomb(buf, UCHAR_MAX + 1) == -1);
74 ATF_REQUIRE(wctomb(NULL, 0) == 0);
84 ATF_REQUIRE(wctomb(NULL, L'\0') == 0);
88 len = wctomb(buf, L'\0');
94 len = wctomb(buf, L'A');
100 len = wctomb(bu
[all...]
/freebsd-11-stable/lib/libc/locale/
H A Dwctomb.c48 locale->wctomb = initial;
51 if ((rval = XLOCALE_CTYPE(locale)->__wcrtomb(s, wchar, &locale->wctomb)) == (size_t)-1)
56 wctomb(char *s, wchar_t wchar) function
H A Dxlocale_private.h134 /** Persistent state used by wctomb() calls. */
135 __mbstate_t wctomb; member in struct:_xlocale
H A DMakefile.inc22 wcstoul.c wcstoull.c wcstoumax.c wctob.c wctomb.c wctrans.c wctype.c \
48 wcsrtombs.3 wcstod.3 wcstol.3 wcstombs.3 wctomb.3 \
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/
H A Dt_wctomb.c141 ret = wctomb(cs, wcs[i]);
158 ATF_TC(wctomb); variable
159 ATF_TC_HEAD(wctomb, tc)
161 atf_tc_set_md_var(tc, "descr", "Checks wctomb(3)");
163 ATF_TC_BODY(wctomb, tc)
167 (void)printf("Checking wctomb()\n");
207 ATF_TP_ADD_TC(tp, wctomb);
H A Dt_mbtowc.c91 stateful = wctomb(NULL, L'\0');
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/
H A Dcharable.c55 result = wctomb(temp, ch);
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dstdlib.h65 using std::wctomb;
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstdlib.h102 #undef wctomb
139 using ::wctomb;
/freebsd-11-stable/contrib/vis/
H A Dvis.c235 * wctomb() will fail. Else convert wchar_t to
236 * multibyte using wctomb().
242 mbilen = wctomb(mbibuff, c);
247 wctomb(mbibuff + mbilen, c1);
/freebsd-11-stable/lib/libedit/TEST/
H A Dwtc1.c80 wctomb(NULL, 0); /* Reset shift state */
86 /* Note: really should test for -1 return from wctomb */
87 bptr += wctomb(bptr, ptr[i]);
/freebsd-11-stable/lib/libedit/
H A Dchartype.h58 #define ct_wctomb wctomb
60 #define ct_wctomb_reset wctomb(0,0)
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_pax_filename_encoding.c210 /* If wctomb is broken, warn and return. */
211 if (wctomb(buff, 0x1234) > 0) {
217 /* If wctomb is broken, warn and return. */
218 if (wctomb(buff, 0x1234) > 0) {
/freebsd-11-stable/contrib/ncurses/ncurses/trace/
H A Dvisbuf.c211 int j = wctomb(temp, c), k;
/freebsd-11-stable/include/
H A Dstdlib.h117 int wctomb(char *, wchar_t);
/freebsd-11-stable/contrib/tcsh/
H A Dtc.str.c87 wctomb. Convert value to UTF-16 surrogate and call wcstombs to
100 len = wctomb(s, (wchar_t) wchar);
151 if (wctomb(back, *pwc) != ret || memcmp(s, back, ret) != 0)
/freebsd-11-stable/contrib/nvi/common/
H A Dkey.c244 len = wctomb(sp->cname, ach);
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dsearch.c781 k = wctomb (p, wc);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_string.c780 * I've built a loop around wcrtomb() or wctomb() that
793 wctomb(NULL, L'\0');
820 n = wctomb(p, *w++);
844 * Non-Windows uses ISO C wcrtomb() or wctomb() to perform the conversion
3433 wctomb(NULL, L'\0');
3479 n = (int)wctomb(p, wc);
/freebsd-11-stable/contrib/gcc/
H A Dsys-protos.h1249 extern int wctomb(char *, wchar_t);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc3562 INTERCEPTOR(int, wctomb, char *dest, wchar_t src) {
3564 COMMON_INTERCEPTOR_ENTER(ctx, wctomb, dest, src);
3566 return REAL(wctomb)(dest, src);
3569 int res = REAL(wctomb)(local_dest, src);
3578 #define INIT_WCTOMB COMMON_INTERCEPT_FUNCTION(wctomb);
/freebsd-11-stable/contrib/dialog/
H A Dconfigure14340 wctomb \
/freebsd-11-stable/contrib/ncurses/
H A Dconfigure8758 for ac_func in putwc btowc wctob mbtowc wctomb mblen mbrlen mbrtowc wcsrtombs mbsrtowcs wcstombs mbstowcs

Completed in 447 milliseconds