Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvswscanf.c67 len = wcslen(str) * MB_CUR_MAX; in vswscanf()
Dvfwscanf.c377 if (width >= MB_CUR_MAX && in __vfwscanf()
442 if (width >= MB_CUR_MAX && in __vfwscanf()
504 if (width >= MB_CUR_MAX && in __vfwscanf()
724 MB_CUR_MAX, &mbs); in __vfwscanf()
Dvfscanf.c349 if (n == MB_CUR_MAX) { in __svfscanf()
431 if (n == MB_CUR_MAX) { in __svfscanf()
535 if (n == MB_CUR_MAX) { in __svfscanf()
Dvfprintf.c489 while ((n = mbrtowc(&wc, fmt, MB_CUR_MAX, &ps)) > 0) { in __vfprintf()
1210 while ((n = mbrtowc(&wc, fmt, MB_CUR_MAX, &ps)) > 0) { in __find_arguments()
Dvfwprintf.c189 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in __mbsconv()
/bionic/tests/
Dlocale_test.cpp128 ASSERT_EQ(1U, MB_CUR_MAX); in TEST()
130 ASSERT_EQ(4U, MB_CUR_MAX); in TEST()
Dwchar_test.cpp544 ASSERT_GE(static_cast<size_t>(MB_LEN_MAX), MB_CUR_MAX); in TEST()
545 ASSERT_GE(MB_CUR_MAX, 4U); in TEST()
551 n = mbrtowc(&wc, "x", MB_CUR_MAX, NULL); in TEST()
555 n = mbrtowc(&wc, "\xc2\xa2", MB_CUR_MAX, NULL); in TEST()
559 n = mbrtowc(&wc, "\xe2\x82\xac", MB_CUR_MAX, NULL); in TEST()
563 n = mbrtowc(&wc, "\xf0\xa4\xad\xa2", MB_CUR_MAX, NULL); in TEST()
/bionic/libc/include/
Dstdlib.h173 #define MB_CUR_MAX __ctype_get_mb_cur_max() macro