Home
last modified time | relevance | path

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

/bionic/tests/
Dlocale_test.cpp129 ASSERT_EQ(1U, MB_CUR_MAX); in TEST()
131 ASSERT_EQ(4U, MB_CUR_MAX); in TEST()
Dwchar_test.cpp675 ASSERT_GE(static_cast<size_t>(MB_LEN_MAX), MB_CUR_MAX); in TEST()
676 ASSERT_GE(MB_CUR_MAX, 4U); in TEST()
682 n = mbrtowc(&wc, "x", MB_CUR_MAX, nullptr); in TEST()
686 n = mbrtowc(&wc, "\xc2\xa2", MB_CUR_MAX, nullptr); in TEST()
690 n = mbrtowc(&wc, "\xe2\x82\xac", MB_CUR_MAX, nullptr); in TEST()
694 n = mbrtowc(&wc, "\xf0\xa4\xad\xa2", MB_CUR_MAX, nullptr); in TEST()
/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/libc/include/
Dstdlib.h172 #define MB_CUR_MAX __ctype_get_mb_cur_max() macro
179 #define MB_CUR_MAX 1 macro
/bionic/tests/headers/posix/
Dstdlib_h.c39 MACRO(MB_CUR_MAX); in stdlib_h()
/bionic/libc/stdio/
Dvfwscanf.c381 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf()
425 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf()
Dvfscanf.cpp346 if (bytes == MB_CUR_MAX) { in __svfscanf()
435 if (bytes == MB_CUR_MAX) { in __svfscanf()
Dprintf_common.h778 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in mbsconv()
/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()