Home
last modified time | relevance | path

Searched refs:mbstowcs (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/lib/libc/tests/locale/
H A Dmbstowcs_test.c57 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, sizeof(dstbuf) / sizeof(*dstbuf)) == 5); in ATF_TC_BODY()
65 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, 4) == 4); in ATF_TC_BODY()
72 ATF_REQUIRE(mbstowcs(NULL, srcbuf, 0) == 5); in ATF_TC_BODY()
78 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, 1) == 0); in ATF_TC_BODY()
86 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, 0) == 0); in ATF_TC_BODY()
97 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, sizeof(dstbuf) / sizeof(*dstbuf)) == 5); in ATF_TC_BODY()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c197 if ((len = mbstowcs(NULL, s, 0)) == (size_t) -1) in _match_pattern()
200 mbstowcs(ws, s, len + 1); in _match_pattern()
201 if ((len = mbstowcs(NULL, pattern, 0)) == (size_t) -1) in _match_pattern()
204 mbstowcs(wpattern, pattern, len + 1); in _match_pattern()
/freebsd/lib/libc/tests/stdio/
H A Dprintbasic_test.c83 mbstowcs(ws, s, BUF - 1); in _testfmt()
84 mbstowcs(wfmt, fmt, BUF - 1); in _testfmt()
85 mbstowcs(wresult, result, BUF - 1); in _testfmt()
H A Dprintfloat_test.c75 mbstowcs(ws, s, BUF - 1); in _testfmt()
76 mbstowcs(wfmt, fmt, BUF - 1); in _testfmt()
77 mbstowcs(wresult, result, BUF - 1); in _testfmt()
/freebsd/contrib/libedit/
H A Dchartype.c130 len = mbstowcs(NULL, s, (size_t)0); in ct_decode_string()
138 mbstowcs(conv->wbuff, s, conv->wsize); in ct_decode_string()
170 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace); in ct_decode_argv()
H A Dvi.c1055 len = mbstowcs(el->el_line.buffer, cp, len); in vi_histedit()
/freebsd/contrib/ncurses/menu/
H A Dm_item_new.c66 int count = (int)mbstowcs(0, s, 0); in Is_Printable_String()
76 mbstowcs(temp, s, (unsigned)count); in Is_Printable_String()
H A Dm_global.c261 int count = (int)mbstowcs(0, item->str, 0); in _nc_Calculate_Text_Width()
270 mbstowcs(temp, item->str, (unsigned)count); in _nc_Calculate_Text_Width()
/freebsd/usr.bin/comm/
H A Dcomm.c186 if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1) in convert()
192 if (mbstowcs(buf, str, n + 1) != n) in convert()
/freebsd/lib/libc/locale/
H A Dmbstowcs.c52 mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n) in mbstowcs() function
H A DMakefile.inc9 mbsrtowcs.c mbtowc.c mbstowcs.c \
40 mbsrtowcs.3 mbstowcs.3 mbtowc.3 multibyte.3 \
H A DSymbol.map54 mbstowcs;
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_insnstr.c71 n3 = mbstowcs(buffer, s, nn); in NCURSES_EXPORT()
/freebsd/usr.bin/uniq/
H A Duniq.c256 if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1) in convert()
262 if (mbstowcs(buf, str, n + 1) != n) in convert()
263 errx(1, "internal mbstowcs() error"); in convert()
/freebsd/sys/contrib/openzfs/lib/libspl/
H A Dmkdirp.c174 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) { in simplify()
/freebsd/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbstowcs.c170 REQUIRE_ERRNO((ssize_t)mbstowcs(wbuf, t->data, SIZE-1), -1); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcstdlib74 size_t mbstowcs(wchar_t* restrict pwcs, const char* restrict s, size_t n);
153 using ::mbstowcs _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdlib.inc49 using ::mbstowcs _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcstdlib.cppm
H A Dcstdlib.inc49 using std::mbstowcs _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/nvi/vi/
H A Dv_match.c166 if (mbstowcs(*mp, str, len) == (size_t)-1) in v_buildmcs()
/freebsd/include/
H A Dstdlib.h102 size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
/freebsd/contrib/libedit/TEST/
H A Dwtc1.c91 mbstowcs(dir, &dp->d_name[mblen], in complete()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_acl_text.c242 assert(mbstowcs(ws, s, len) != (size_t)-1); in convert_s_to_ws()
/freebsd/usr.bin/sort/
H A Dbwstring.c95 if (mbstowcs(m, tmp, len) == ((size_t) - 1)) { in populate_wmonth()

12