Home
last modified time | relevance | path

Searched refs:MB_CUR_MAX (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/upstream-freebsd/lib/libc/locale/
Dwcsftime.c93 if (SIZE_T_MAX / MB_CUR_MAX <= maxsize) { in wcsftime_l()
98 if ((dst = malloc(maxsize * MB_CUR_MAX)) == NULL) in wcsftime_l()
/bionic/tests/
Dlocale_test.cpp134 ASSERT_EQ(1U, MB_CUR_MAX); in TEST()
136 ASSERT_EQ(4U, MB_CUR_MAX); in TEST()
Dwchar_test.cpp762 ASSERT_GE(static_cast<size_t>(MB_LEN_MAX), MB_CUR_MAX); in TEST()
763 ASSERT_GE(MB_CUR_MAX, 4U); in TEST()
769 n = mbrtowc(&wc, "x", MB_CUR_MAX, nullptr); in TEST()
773 n = mbrtowc(&wc, "\xc2\xa2", MB_CUR_MAX, nullptr); in TEST()
777 n = mbrtowc(&wc, "\xe2\x82\xac", MB_CUR_MAX, nullptr); in TEST()
781 n = mbrtowc(&wc, "\xf0\xa4\xad\xa2", MB_CUR_MAX, nullptr); in TEST()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dutils.h69 #define NC ((MB_CUR_MAX) == 1 ? (NC_MAX) : (128))
Dregexec.c248 if (MB_CUR_MAX > 1) in regexec()
Dengine.c170 if (MB_CUR_MAX == 1) in stepback()
175 for (mbc = 1; mbc <= MB_CUR_MAX; mbc++) { in stepback()
183 if (mbc > MB_CUR_MAX) in stepback()
Dregcomp.c1236 if (table->__collate_load_error || MB_CUR_MAX > 1) {
1238 if (MB_CUR_MAX > 1) {
2028 if (MB_CUR_MAX > 1 &&
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvswscanf.c67 len = wcslen(str) * MB_CUR_MAX; in vswscanf()
/bionic/libc/bionic/
Dlanginfo.cpp36 case CODESET: result = (MB_CUR_MAX == 1) ? "ASCII" : "UTF-8"; break; in nl_langinfo()
/bionic/tests/headers/posix/
Dstdlib_h.c39 MACRO(MB_CUR_MAX); in stdlib_h()
/bionic/libc/stdio/
Dvfwscanf.cpp350 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf()
394 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf()
Dvfscanf.cpp321 if (bytes == MB_CUR_MAX) { in __svfscanf()
410 if (bytes == MB_CUR_MAX) { in __svfscanf()
Dprintf_common.h803 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in mbsconv()
/bionic/libc/include/
Dstdlib.h190 #define MB_CUR_MAX __ctype_get_mb_cur_max() macro
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c883 len = MB_CUR_MAX * (size_t)(p - path); /* XXX overallocation */ in globextend()
1066 while (len >= MB_CUR_MAX) { in g_Ctoc()