/freebsd-11-stable/lib/libc/tests/locale/ |
H A D | wctomb_test.c | 28 * 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 D | wctomb.c | 48 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 D | xlocale_private.h | 134 /** Persistent state used by wctomb() calls. */ 135 __mbstate_t wctomb; member in struct:_xlocale
|
H A D | Makefile.inc | 22 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 D | t_wctomb.c | 141 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 D | t_mbtowc.c | 91 stateful = wctomb(NULL, L'\0');
|
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/ |
H A D | charable.c | 55 result = wctomb(temp, ch);
|
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | stdlib.h | 65 using std::wctomb;
|
/freebsd-11-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cstdlib.h | 102 #undef wctomb 139 using ::wctomb;
|
/freebsd-11-stable/contrib/vis/ |
H A D | vis.c | 235 * 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 D | wtc1.c | 80 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 D | chartype.h | 58 #define ct_wctomb wctomb 60 #define ct_wctomb_reset wctomb(0,0)
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_pax_filename_encoding.c | 210 /* 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 D | visbuf.c | 211 int j = wctomb(temp, c), k;
|
/freebsd-11-stable/include/ |
H A D | stdlib.h | 117 int wctomb(char *, wchar_t);
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tc.str.c | 87 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 D | key.c | 244 len = wctomb(sp->cname, ach);
|
/freebsd-11-stable/gnu/usr.bin/grep/ |
H A D | search.c | 781 k = wctomb (p, wc);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_string.c | 780 * 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 D | sys-protos.h | 1249 extern int wctomb(char *, wchar_t);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 3562 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 D | configure | 14340 wctomb \
|
/freebsd-11-stable/contrib/ncurses/ |
H A D | configure | 8758 for ac_func in putwc btowc wctob mbtowc wctomb mblen mbrlen mbrtowc wcsrtombs mbsrtowcs wcstombs mbstowcs
|