/bionic/libc/upstream-openbsd/lib/libc/locale/ |
mbrlen.c | 34 static mbstate_t mbs; local 37 ps = &mbs;
|
btowc.c | 36 mbstate_t mbs; local 47 memset(&mbs, 0, sizeof(mbs)); 49 if (mbrtowc(&wc, &cc, 1, &mbs) > 1)
|
mbstowcs.c | 38 mbstate_t mbs; local 41 memset(&mbs, 0, sizeof(mbs)); 43 return (mbsrtowcs(pwcs, &sp, n, &mbs));
|
mbtowc.c | 38 static mbstate_t mbs; local 43 memset(&mbs, 0, sizeof(mbs)); 46 rval = mbrtowc(pwc, s, n, &mbs);
|
wcstombs.c | 37 mbstate_t mbs; local 40 memset(&mbs, 0, sizeof(mbs)); 42 return (wcsrtombs(s, &pwcsp, n, &mbs));
|
wctob.c | 36 mbstate_t mbs; local 39 memset(&mbs, 0, sizeof(mbs)); 40 if (c == WEOF || wcrtomb(buf, c, &mbs) != 1)
|
wctomb.c | 36 static mbstate_t mbs; local 41 memset(&mbs, 0, sizeof(mbs)); 44 if ((rval = wcrtomb(s, wchar, &mbs)) == (size_t)-1)
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
char16_t_length.pass.cpp | 25 std::mbstate_t mbs = {}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from+10, 10) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char16_t_unshift.pass.cpp | 29 std::mbstate_t mbs = {}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
char32_t_length.pass.cpp | 25 std::mbstate_t mbs = {}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from+10, 10) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char32_t_unshift.pass.cpp | 29 std::mbstate_t mbs = {}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
char_in.pass.cpp | 31 std::mbstate_t mbs = {}; local 34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next,
|
char_length.pass.cpp | 25 std::mbstate_t mbs = {}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 9) == 9); 29 assert(f.length(mbs, from, from+10, 10) == 10); 30 assert(f.length(mbs, from, from+10, 11) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char_out.pass.cpp | 31 std::mbstate_t mbs = {}; local 34 assert(f.out(mbs, from.data(), from.data() + from.size(), from_next,
|
char_unshift.pass.cpp | 29 std::mbstate_t mbs = {}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
wchar_t_length.pass.cpp | 25 std::mbstate_t mbs = {}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 9) == 9); 29 assert(f.length(mbs, from, from+10, 10) == 10); 30 assert(f.length(mbs, from, from+10, 11) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
wchar_t_unshift.pass.cpp | 31 std::mbstate_t mbs = {}; local 33 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::ok);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
char16_t_length.pass.cpp | 25 std::mbstate_t mbs = {}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from+10, 10) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char16_t_unshift.pass.cpp | 29 std::mbstate_t mbs = {}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
char32_t_length.pass.cpp | 25 std::mbstate_t mbs = {}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 8) == 8); 29 assert(f.length(mbs, from, from+10, 9) == 9); 30 assert(f.length(mbs, from, from+10, 10) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char32_t_unshift.pass.cpp | 29 std::mbstate_t mbs = {}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
char_in.pass.cpp | 31 std::mbstate_t mbs = {}; local 34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next,
|
char_length.pass.cpp | 25 std::mbstate_t mbs = {}; local 27 assert(f.length(mbs, from, from+10, 0) == 0); 28 assert(f.length(mbs, from, from+10, 9) == 9); 29 assert(f.length(mbs, from, from+10, 10) == 10); 30 assert(f.length(mbs, from, from+10, 11) == 10); 31 assert(f.length(mbs, from, from+10, 100) == 10);
|
char_out.pass.cpp | 31 std::mbstate_t mbs = {}; local 34 assert(f.out(mbs, from.data(), from.data() + from.size(), from_next,
|
char_unshift.pass.cpp | 29 std::mbstate_t mbs = {}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|