/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/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);
|
/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/stdio/ |
fgetwc.c | 70 size = mbrtowc(&wc, &c, 1, st);
|
/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,
|
/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);
|
/external/libcxx/src/support/solaris/ |
xlocale.c | 59 return mbrtowc(__pwc, __pmb, __max, __ps);
|
/external/toybox/toys/posix/ |
wc.c | 75 clen = mbrtowc(&wchar, toybuf+i, len-i, 0);
|
expand.c | 52 width = mbrtowc(&blah, toybuf+i, len-i, 0);
|
/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);
|
/external/bison/darwin-lib/ |
wchar.h | 440 implementing mbrtowc for encodings like UTF-8. */ 531 # undef mbrtowc 532 # define mbrtowc rpl_mbrtowc 534 _GL_FUNCDECL_RPL (mbrtowc, size_t, 536 _GL_CXXALIAS_RPL (mbrtowc, size_t, 540 _GL_FUNCDECL_SYS (mbrtowc, size_t, 543 _GL_CXXALIAS_SYS (mbrtowc, size_t, 546 _GL_CXXALIASWARN (mbrtowc); variable 548 # undef mbrtowc macro 550 _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - [all...] |
/external/bison/linux-lib/ |
wchar.h | 440 implementing mbrtowc for encodings like UTF-8. */ 531 # undef mbrtowc 532 # define mbrtowc rpl_mbrtowc 534 _GL_FUNCDECL_RPL (mbrtowc, size_t, 536 _GL_CXXALIAS_RPL (mbrtowc, size_t, 540 _GL_FUNCDECL_SYS (mbrtowc, size_t, 543 _GL_CXXALIAS_SYS (mbrtowc, size_t, 546 _GL_CXXALIASWARN (mbrtowc); variable 548 # undef mbrtowc macro 550 _GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - [all...] |
/external/libcxx/src/support/win32/ |
support.cpp | 83 size_t char_size = mbrtowc( dst ? dst + dest_converted : NULL, *src + source_converted, source_remaining, ps );
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/ |
support.cpp | 83 size_t char_size = mbrtowc( dst ? dst + dest_converted : NULL, *src + source_converted, source_remaining, ps );
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_cwchar.h | 78 extern size_t mbrtowc(); 201 using _STLP_VENDOR_MB_NAMESPACE::mbrtowc;
|
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
_cwchar.h | 78 extern size_t mbrtowc(); 201 using _STLP_VENDOR_MB_NAMESPACE::mbrtowc;
|
/development/ndk/platforms/android-3/include/ |
wchar.h | 108 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *);
|
/development/ndk/platforms/android-8/include/ |
wchar.h | 113 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *);
|
/development/ndk/platforms/android-9/include/ |
wchar.h | 94 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *);
|