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

12

/freebsd-11-stable/lib/libc/tests/locale/
H A Dmbstowcs_test.c28 * Test program for mbstowcs(), as specified by IEEE Std. 1003.1-2001 and
60 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, sizeof(dstbuf) / sizeof(*dstbuf)) == 5);
68 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, 4) == 4);
75 ATF_REQUIRE(mbstowcs(NULL, srcbuf, 0) == 5);
81 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, 1) == 0);
89 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, 0) == 0);
100 ATF_REQUIRE(mbstowcs(dstbuf, srcbuf, sizeof(dstbuf) / sizeof(*dstbuf)) == 5);
/freebsd-11-stable/contrib/gcc/
H A Dintl.c94 size_t nwcs = mbstowcs (0, msgstr, 0);
97 mbstowcs (wmsgstr, msgstr, nwcs + 1);
H A Dsys-protos.h689 extern size_t mbstowcs(wchar_t *, const char *, size_t);
H A Dconfigure9292 gettimeofday mbstowcs wcswidth mmap mincore setlocale \
9396 echo "$as_me:$LINENO: checking whether mbstowcs works" >&5
9397 echo $ECHO_N "checking whether mbstowcs works... $ECHO_C" >&6
9413 mbstowcs(0, "", 0);
/freebsd-11-stable/lib/libc/locale/
H A Dmbstowcs.c53 mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n) function
H A DMakefile.inc12 mbsrtowcs.c mbtowc.c mbstowcs.c \
43 mbsrtowcs.3 mbstowcs.3 mbtowc.3 multibyte.3 \
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dprintbasic_test.c86 mbstowcs(ws, s, BUF - 1);
87 mbstowcs(wfmt, fmt, BUF - 1);
88 mbstowcs(wresult, result, BUF - 1);
H A Dprintfloat_test.c78 mbstowcs(ws, s, BUF - 1);
79 mbstowcs(wfmt, fmt, BUF - 1);
80 mbstowcs(wresult, result, BUF - 1);
/freebsd-11-stable/contrib/ncurses/menu/
H A Dm_item_new.c65 int count = (int)mbstowcs(0, s, 0);
75 mbstowcs(temp, s, (unsigned)count);
H A Dm_global.c259 int count = (int)mbstowcs(0, item->str, 0);
268 mbstowcs(temp, item->str, (unsigned)count);
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dstdlib.h54 using std::mbstowcs;
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstdlib.h91 #undef mbstowcs
126 using ::mbstowcs;
/freebsd-11-stable/usr.bin/comm/
H A Dcomm.c198 if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1)
204 if (mbstowcs(buf, str, n + 1) != n)
205 errx(1, "internal mbstowcs() error");
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dmkdirp.c177 if ((wcPathlen = mbstowcs(wcPath, mbPath, mbPathlen)) == (size_t)-1) {
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dntgroups.c69 retlen = mbstowcs(user, username, MAX_NAME_LENGTH);
/freebsd-11-stable/usr.bin/uniq/
H A Duniq.c234 if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1)
240 if (mbstowcs(buf, str, n + 1) != n)
241 errx(1, "internal mbstowcs() error");
/freebsd-11-stable/contrib/nvi/vi/
H A Dv_match.c171 if (mbstowcs(*mp, str, len) == (size_t)-1)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbstowcs.c170 REQUIRE_ERRNO((ssize_t)mbstowcs(wbuf, t->data, SIZE-1), -1);
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_acl_text.c243 assert(mbstowcs(ws, s, len) != (size_t)-1);
/freebsd-11-stable/lib/libedit/TEST/
H A Dwtc1.c97 mbstowcs(dir, &dp->d_name[mblen],
/freebsd-11-stable/lib/libedit/
H A Dchartype.h62 #define ct_mbstowcs mbstowcs
H A Dchartype.c163 if (!argv[i]) { /* don't pass null pointers to mbstowcs */
168 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace);
/freebsd-11-stable/include/
H A Dstdlib.h102 size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
/freebsd-11-stable/usr.bin/sort/
H A Dbwstring.c96 if (mbstowcs(m, (char*)tmp, len) ==
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc3405 INTERCEPTOR(SIZE_T, mbstowcs, wchar_t *dest, const char *src, SIZE_T len) {
3407 COMMON_INTERCEPTOR_ENTER(ctx, mbstowcs, dest, src, len);
3411 SIZE_T res = REAL(mbstowcs)(dest, src, len);
3439 COMMON_INTERCEPT_FUNCTION(mbstowcs); \

Completed in 424 milliseconds

12