Home
last modified time | relevance | path

Searched refs:wctomb (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/lib/libc/tests/locale/
H A Dwctomb_test.c55 ATF_REQUIRE(wctomb(NULL, L'\0') == 0); in ATF_TC_BODY()
59 len = wctomb(buf, L'\0'); in ATF_TC_BODY()
65 len = wctomb(buf, L'A'); in ATF_TC_BODY()
70 ATF_REQUIRE(wctomb(buf, UCHAR_MAX + 1) == -1); in ATF_TC_BODY()
71 ATF_REQUIRE(wctomb(NULL, 0) == 0); in ATF_TC_BODY()
81 ATF_REQUIRE(wctomb(NULL, L'\0') == 0); in ATF_TC_BODY()
85 len = wctomb(buf, L'\0'); in ATF_TC_BODY()
91 len = wctomb(buf, L'A'); in ATF_TC_BODY()
97 len = wctomb(buf, 0xa3c1); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/libc/locale/
H A Dt_wctomb.c141 ret = wctomb(cs, wcs[i]); in h_wctomb()
158 ATF_TC(wctomb);
159 ATF_TC_HEAD(wctomb, tc) in ATF_TC_HEAD() argument
163 ATF_TC_BODY(wctomb, tc) in ATF_TC_BODY() argument
207 ATF_TP_ADD_TC(tp, wctomb); in ATF_TP_ADD_TCS()
H A Dt_mbtowc.c91 stateful = wctomb(NULL, L'\0'); in h_mbtowc()
/freebsd/lib/libc/locale/
H A Dwctomb.c47 XLOCALE_CTYPE(locale)->wctomb = initial; in wctomb_l()
51 &(XLOCALE_CTYPE(locale)->wctomb))) == (size_t)-1) in wctomb_l()
56 wctomb(char *s, wchar_t wchar) in wctomb() function
H A Dsetrunelocale.c172 memset(&l->wctomb, 0, sizeof(l->wctomb)); in __setrunelocale()
H A DMakefile.inc19 wcstoul.c wcstoull.c wcstoumax.c wctob.c wctomb.c wctrans.c wctype.c \
45 wcsrtombs.3 wcstod.3 wcstol.3 wcstombs.3 wctomb.3 \
H A Dmblocal.h88 __mbstate_t wctomb; member
H A DSymbol.map92 wctomb;
/freebsd/contrib/ncurses/ncurses/widechar/
H A Dcharable.c56 result = wctomb(temp, ch); in _nc_to_char()
62 #error expected either wctob/wctomb in _nc_to_char()
/freebsd/contrib/vis/
H A Dvis.c251 mbilen = wctomb(mbibuff, c); in process()
256 wctomb(mbibuff + mbilen, c1); in process()
/freebsd/contrib/libedit/
H A Dchartype.c205 l = wctomb(dst, c); in ct_encode_char()
208 wctomb(NULL, L'\0'); in ct_encode_char()
/freebsd/contrib/libedit/TEST/
H A Dwtc1.c74 wctomb(NULL, 0); /* Reset shift state */ in complete()
81 bptr += wctomb(bptr, ptr[i]); in complete()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcstdlib73 int wctomb(char* s, wchar_t wchar);
152 using ::wctomb _LIBCPP_USING_IF_EXISTS;
/freebsd/tools/tools/locale/tools/
H A Dutf8-rollup.pl124 sub wctomb { subroutine
/freebsd/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdlib.inc52 using ::wctomb _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcstdlib.cppm
H A Dcstdlib.inc52 using std::wctomb _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/tcsh/
H A Dtc.str.c100 len = wctomb(s, (wchar_t) wchar);
151 if (wctomb(back, *pwc) != ret || memcmp(s, back, ret) != 0)
/freebsd/include/
H A Dstdlib.h117 int wctomb(char *, wchar_t);
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_pax_filename_encoding.c210 if (wctomb(buff, 0x1234) > 0) {
217 if (wctomb(buff, 0x1234) > 0) {
/freebsd/contrib/ncurses/ncurses/trace/
H A Dvisbuf.c221 int j = wctomb(temp, c), k; in _nc_viswbuf2n()
/freebsd/contrib/dialog/
H A Dconfigure.in227 wctomb \
/freebsd/contrib/nvi/common/
H A Dkey.c234 len = wctomb(sp->cname, ach); in v_key_name()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.c794 wctomb(NULL, L'\0'); in archive_string_append_from_wcs()
821 n = wctomb(p, *w++); in archive_string_append_from_wcs()
3426 wctomb(NULL, L'\0'); in strncat_from_utf8_libarchive2()
3472 n = (int)wctomb(p, wc); in strncat_from_utf8_libarchive2()
/freebsd/contrib/bsddialog/lib/
H A Dformbox.c346 wctomb(mbch, wstr[i]); in alloc_wstomb()

12