/external/bison/m4/ |
mbrtowc.m4 | 0 # mbrtowc.m4 serial 25 15 AC_CHECK_FUNCS_ONCE([mbrtowc]) 18 AC_CHECK_DECLS([mbrtowc],,, [[ 29 dnl On Minix 3.1.8, the system's <wchar.h> declares mbrtowc() although 45 [Define if the mbrtowc function has the NULL pwc argument bug.]) 52 [Define if the mbrtowc function has the NULL string argument bug.]) 59 [Define if the mbrtowc function returns a wrong return value.]) 66 [Define if the mbrtowc function does not return 0 for a NUL character.]) 74 dnl Test whether mbsinit() and mbrtowc() need to be overridden in a way that 77 dnl When this is set to 1, we replace both mbsinit() and mbrtowc(), in order t [all...] |
mbsinit.m4 | 39 dnl states produced by mbrtowc() for an incomplete multibyte character
|
/ndk/sources/android/support/src/musl-multibyte/ |
mbrlen.c | 12 return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal);
|
mbrtowc.c | 11 size_t mbrtowc(wchar_t *restrict wc, const char *restrict src, size_t n, mbstate_t *restrict st) function
|
mbsnrtowcs.c | 38 l = mbrtowc(ws, s, n, st);
|
/bionic/tests/ |
wchar_test.cpp | 98 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); 105 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); 110 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xf0\xa4", 1, &ps)); 217 ASSERT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); 261 TEST(wchar, mbrtowc) { 265 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, NULL)); 268 ASSERT_EQ(0U, mbrtowc(out, "hello", 0, NULL)); 269 ASSERT_EQ(0U, mbrtowc(out, "", 0, NULL)); 270 ASSERT_EQ(1U, mbrtowc(out, "hello", 1, NULL)); 273 ASSERT_EQ(0U, mbrtowc(NULL, "hello", 0, NULL)) [all...] |
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
btowc.c | 43 * We expect mbrtowc() to return 0 or 1, hence the check for n > 1 49 if (mbrtowc(&wc, &cc, 1, &mbs) > 1)
|
mbrlen.c | 38 return (mbrtowc(NULL, s, n, ps));
|
mbtowc.c | 46 rval = mbrtowc(pwc, s, n, &mbs);
|
/external/bison/lib/ |
mbrtowc.c | 24 /* Implement mbrtowc() on top of mbtowc(). */ 39 mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) function 114 sequences. But mbrtowc needs to make this distinction. 119 lack mbrtowc(), we use the second approach. 324 /* Override the system's mbrtowc() function. */ 326 # undef mbrtowc macro 344 /* Override mbrtowc's internal state. We cannot call mbsinit() on the 356 size_t ret = mbrtowc (&wc, s, 1, ps); 377 size_t ret = mbrtowc (&wc, s, n, ps); 397 return mbrtowc (pwc, s, n, ps) [all...] |
wchar.in.h | 128 implementing mbrtowc for encodings like UTF-8. */ 219 # undef mbrtowc 220 # define mbrtowc rpl_mbrtowc 222 _GL_FUNCDECL_RPL (mbrtowc, size_t, 224 _GL_CXXALIAS_RPL (mbrtowc, size_t, 228 _GL_FUNCDECL_SYS (mbrtowc, size_t, 231 _GL_CXXALIAS_SYS (mbrtowc, size_t, 234 _GL_CXXALIASWARN (mbrtowc); 236 # undef mbrtowc 238 _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - [all...] |
mbuiter.h | 38 The benefit of these macros over plain use of mbrtowc is: 135 /* Handle most ASCII characters quickly, without calling mbrtowc(). */ 150 iter->cur.bytes = mbrtowc (&iter->cur.wc, iter->cur.ptr,
|
mbsinit.c | 37 /* Platforms that lack mbsinit() also lack mbrlen(), mbrtowc(), mbsrtowcs()
|
mbswidth.c | 32 /* Get mbstate_t, mbrtowc(), mbsinit(), wcwidth(). */ 104 bytes = mbrtowc (&wc, p, plimit - p, &mbstate);
|
/bionic/libc/bionic/ |
wchar.cpp | 60 size_t mbrtowc(wchar_t* pwc, const char* s, size_t n, mbstate_t* ps) { function 92 r = mbrtowc(NULL, *src + i, nmc - i, state); 127 r = mbrtowc(dst + o, *src + i, nmc - i, state);
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fgetwc.c | 70 size = mbrtowc(&wc, &c, 1, st);
|
/external/libcxx/src/support/solaris/ |
mbsnrtowcs.inc | 47 /* Invalid sequence - mbrtowc() sets errno. */
|
xlocale.c | 59 return mbrtowc(__pwc, __pmb, __max, __ps);
|
/external/toybox/toys/posix/ |
wc.c | 75 clen = mbrtowc(&wchar, toybuf+i, len-i, 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/solaris/ |
mbsnrtowcs.inc | 47 /* Invalid sequence - mbrtowc() sets errno. */
|
/external/libchrome/base/strings/ |
sys_string_conversions_posix.cc | 112 size_t res = mbrtowc(NULL, src, native_mb.size() - i, &ps); 141 size_t res = mbrtowc(dst, src, native_mb.size() - i, &ps);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ |
cwchar | 79 #undef mbrtowc 152 using ::mbrtowc;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ |
cwchar | 79 #undef mbrtowc 152 using ::mbrtowc;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ |
cwchar | 79 #undef mbrtowc 152 using ::mbrtowc;
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ |
cwchar | 79 #undef mbrtowc 152 using ::mbrtowc;
|