Searched refs:wcstombs (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/lib/libc/tests/locale/
H A Dwcstombs_test.c28 * Test program for wcstombs(), as specified by IEEE Std. 1003.1-2001 and
60 ATF_REQUIRE(wcstombs(dstbuf, srcbuf, sizeof(dstbuf)) == 5);
68 ATF_REQUIRE(wcstombs(dstbuf, srcbuf, 4) == 4);
75 ATF_REQUIRE(wcstombs(NULL, srcbuf, sizeof(dstbuf)) == 5);
81 ATF_REQUIRE(wcstombs(dstbuf, srcbuf, sizeof(dstbuf)) == 5);
88 ATF_REQUIRE(wcstombs(NULL, srcbuf, 0) == 5);
94 ATF_REQUIRE(wcstombs(dstbuf, srcbuf, sizeof(dstbuf)) == 0);
101 ATF_REQUIRE(wcstombs(dstbuf, srcbuf, 0) == 0);
119 ATF_REQUIRE(wcstombs(dstbuf, srcbuf, sizeof(dstbuf)) == 7);
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_key_name.c55 len = wcstombs(result, my_wchars, sizeof(result) - 1);
/freebsd-11-stable/lib/libc/locale/
H A Dwcstombs.c54 wcstombs(char * __restrict s, const wchar_t * __restrict pwcs, size_t n) function
H A DMakefile.inc21 wcstombs.c \
48 wcsrtombs.3 wcstod.3 wcstol.3 wcstombs.3 wctomb.3 \
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_instr.c81 n3 = wcstombs(0, wch, (size_t) 0);
93 wcstombs(tmp, wch, n3);
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dntgroups.c116 retlen = wcstombs(GroupList[*totalGroups],
169 retlen = wcstombs(GroupList[*totalGroups],
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dstdlib.h64 using std::wcstombs;
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstdlib.h101 #undef wcstombs
138 using ::wcstombs;
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dmkdirp.c207 if (wcstombs(mbPath, wcPath, mbPathlen) == (size_t)-1) {
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/
H A Dt_wcstod.c411 n = wcstombs(NULL, t->wcs, 0);
413 (void)wcstombs(buf, t->wcs, n + 1);
H A Dt_mbstowcs.c171 REQUIRE_ERRNO((ssize_t)wcstombs(buf, wbuf, SIZE-1), -1);
/freebsd-11-stable/lib/libedit/TEST/
H A Dwtc1.c50 int needed = wcstombs(0, wstr, 0) + 1;
55 wcstombs(buf.str, wstr, needed);
/freebsd-11-stable/sys/contrib/zlib/
H A Dgzlib.c64 wcstombs(buf, msgbuf, chars + 1);
196 len = wcstombs(NULL, path, 0);
211 wcstombs(state->path, path, len + 1);
/freebsd-11-stable/usr.bin/grep/regex/
H A Dtre-fastmatch.c92 siz = wcstombs(NULL, fg->wpattern, 0); \
99 wcstombs(fg->pattern, fg->wpattern, siz); \
105 destsz = wcstombs(NULL, src, 0); \
111 wcstombs(dest, src, destsz); \
/freebsd-11-stable/lib/libedit/
H A Dchartype.h61 #define ct_wcstombs wcstombs
/freebsd-11-stable/include/
H A Dstdlib.h118 size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dwince-stub.c554 wcstombs (host, whost, 80); /* Convert from UNICODE to ascii */
/freebsd-11-stable/sys/contrib/zlib/test/
H A Dminigzip.c108 wcstombs(buf, msgbuf, chars + 1);
/freebsd-11-stable/contrib/tcsh/
H A Dtc.str.c87 wctomb. Convert value to UTF-16 surrogate and call wcstombs to
95 /* The return value of wcstombs excludes the trailing 0, so len is
97 len = wcstombs (s, ws, MB_CUR_MAX + 1);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dwin32_crashrpt.c70 len = wcstombs(utf8_str, str, len);
/freebsd-11-stable/contrib/gcc/
H A Dsys-protos.h1248 extern size_t wcstombs(char *, const wchar_t *, size_t);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc3472 INTERCEPTOR(SIZE_T, wcstombs, char *dest, const wchar_t *src, SIZE_T len) {
3474 COMMON_INTERCEPTOR_ENTER(ctx, wcstombs, dest, src, len);
3478 SIZE_T res = REAL(wcstombs)(dest, src, len);
3504 COMMON_INTERCEPT_FUNCTION(wcstombs); \
/freebsd-11-stable/usr.bin/xlint/lint1/
H A Dtree.c3482 (void)wcstombs(s, tn->tn_strg->st_wcp, n);
/freebsd-11-stable/contrib/dialog/
H A Dconfigure14338 wcstombs \
/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 362 milliseconds