Searched refs:mblen (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/lib/libc/tests/locale/
H A Dmblen_test.c28 * Test program for mblen(), as specified by IEEE Std. 1003.1-2001 and
58 ATF_REQUIRE(mblen(NULL, 0) == 0);
63 ATF_REQUIRE(mblen(buf, 1) == 0);
67 ATF_REQUIRE(mblen(buf, 1) == 1);
71 ATF_REQUIRE(mblen(buf, 0) == -1);
72 ATF_REQUIRE(mblen(NULL, 0) == 0);
82 ATF_REQUIRE(mblen(NULL, 0) == 0);
87 ATF_REQUIRE(mblen(buf, 1) == 0);
91 ATF_REQUIRE(mblen(buf, 1) == 1);
95 ATF_REQUIRE(mblen(bu
[all...]
/freebsd-11-stable/lib/libc/locale/
H A Dmblen.c48 locale->mblen = initial;
51 rval = XLOCALE_CTYPE(locale)->__mbrtowc(NULL, s, n, &locale->mblen);
58 mblen(const char *s, size_t n) function
H A Dxlocale_private.h108 /** Persistent state used by mblen() calls. */
109 __mbstate_t mblen; member in struct:_xlocale
H A DMakefile.inc9 ldpart.c lmessages.c lmonetary.c lnumeric.c localeconv.c mblen.c \
40 localeconv.3 mblen.3 mbrlen.3 \
/freebsd-11-stable/lib/libedit/TEST/
H A Dwtc1.c70 int len, mblen, i; local
81 mblen = MB_LEN_MAX * len + 1;
82 buf = bptr = malloc(mblen);
90 mblen = bptr - buf;
94 if (mblen > strlen(dp->d_name))
96 if (strncmp(dp->d_name, buf, mblen) == 0) {
97 mbstowcs(dir, &dp->d_name[mblen],
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/locale/
H A Dt_wctomb.c78 size_t mblen[16]; member in struct:test
145 if (ret == t->mblen[i])
149 (void)printf(" expected: %zd\n", t->mblen[i]);
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dstdlib.h53 using std::mblen;
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstdlib.h90 #undef mblen
125 using ::mblen;
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dopenbsd-compat.h230 # define mblen(x, y) (1) macro
/freebsd-11-stable/contrib/tcsh/
H A Dglob.c63 #undef mblen macro
64 #define mblen(_s,_n) mbrlen((_s),(_n),NULL) macro
338 len = mblen((const char *)(patnext - 1), MB_LEN_MAX);
340 TCSH_IGNORE(mblen(NULL, 0));
/freebsd-11-stable/include/
H A Dstdlib.h101 int mblen(const char *, size_t);
/freebsd-11-stable/sys/kgssapi/krb5/
H A Dkrb5_mech.c1408 size_t mlen, blen, mblen, cklen, ctlen; local
1416 mblen = ec->ec_msgblocklen;
1425 * We pad to mblen (which may be different from
1426 * blen). If the encryption class is using CTS, mblen
1429 if (mblen > 1)
1430 EC = mlen % mblen;
/freebsd-11-stable/contrib/diff/lib/
H A Dstrftime.c65 /* Simulate mbrlen with mblen as best we can. */
67 # define mbrlen(s, n, ps) mblen (s, n)
/freebsd-11-stable/contrib/gcc/
H A Dsys-protos.h688 extern int mblen(const char *, size_t);
/freebsd-11-stable/crypto/openssh/
H A Dsftp.c1922 if ((clen = mblen(tmp2 + i, len - i)) < 0 ||
/freebsd-11-stable/contrib/dialog/
H A Dconfigure14329 mblen \
/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 372 milliseconds