Searched refs:MB_CUR_MAX (Results 1 – 15 of 15) sorted by relevance
/bionic/libc/upstream-freebsd/lib/libc/locale/ |
D | wcsftime.c | 93 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/ |
D | locale_test.cpp | 134 ASSERT_EQ(1U, MB_CUR_MAX); in TEST() 136 ASSERT_EQ(4U, MB_CUR_MAX); in TEST()
|
D | wchar_test.cpp | 762 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/ |
D | utils.h | 69 #define NC ((MB_CUR_MAX) == 1 ? (NC_MAX) : (128))
|
D | regexec.c | 248 if (MB_CUR_MAX > 1) in regexec()
|
D | engine.c | 170 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()
|
D | regcomp.c | 1236 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/ |
D | vswscanf.c | 67 len = wcslen(str) * MB_CUR_MAX; in vswscanf()
|
/bionic/libc/bionic/ |
D | langinfo.cpp | 36 case CODESET: result = (MB_CUR_MAX == 1) ? "ASCII" : "UTF-8"; break; in nl_langinfo()
|
/bionic/tests/headers/posix/ |
D | stdlib_h.c | 39 MACRO(MB_CUR_MAX); in stdlib_h()
|
/bionic/libc/stdio/ |
D | vfwscanf.cpp | 350 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf() 394 if (width >= MB_CUR_MAX && !(flags & SUPPRESS)) { in __vfwscanf()
|
D | vfscanf.cpp | 321 if (bytes == MB_CUR_MAX) { in __svfscanf() 410 if (bytes == MB_CUR_MAX) { in __svfscanf()
|
D | printf_common.h | 803 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in mbsconv()
|
/bionic/libc/include/ |
D | stdlib.h | 190 #define MB_CUR_MAX __ctype_get_mb_cur_max() macro
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | glob.c | 883 len = MB_CUR_MAX * (size_t)(p - path); /* XXX overallocation */ in globextend() 1066 while (len >= MB_CUR_MAX) { in g_Ctoc()
|