/bionic/libc/upstream-openbsd/lib/libc/locale/ |
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));
|
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)
|
mbtowc.c | 38 static mbstate_t mbs; local 43 memset(&mbs, 0, sizeof(mbs)); 46 rval = mbrtowc(pwc, s, n, &mbs);
|
mbrlen.c | 34 static mbstate_t mbs; local 37 ps = &mbs;
|
/external/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
char16_t_length.pass.cpp | 25 std::mbstate_t mbs = {0}; 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_length.pass.cpp | 25 std::mbstate_t mbs = {0}; 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);
|
char_length.pass.cpp | 25 std::mbstate_t mbs = {0}; 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_length.pass.cpp | 25 std::mbstate_t mbs = {0}; 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);
|
char16_t_unshift.pass.cpp | 29 std::mbstate_t mbs = {0}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
char32_t_unshift.pass.cpp | 29 std::mbstate_t mbs = {0}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
char_unshift.pass.cpp | 29 std::mbstate_t mbs = {0}; local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv);
|
wchar_t_unshift.pass.cpp | 31 std::mbstate_t mbs = {0}; local 33 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::ok);
|
wchar_t_out.pass.cpp | 32 std::mbstate_t mbs = {0}; local 35 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, 46 std::mbstate_t mbs = {0}; local 49 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, 59 std::mbstate_t mbs = {0}; local 62 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next,
|
char16_t_in.pass.cpp | 31 std::mbstate_t mbs = {0}; local 34 assert(f.in(mbs, from, from + 9, from_next,
|
char16_t_out.pass.cpp | 34 std::mbstate_t mbs = {0}; local 37 F::result r = f.out(mbs, from, from + 9, from_next,
|
char32_t_in.pass.cpp | 31 std::mbstate_t mbs = {0}; local 34 assert(f.in(mbs, from, from + 9, from_next,
|
char32_t_out.pass.cpp | 34 std::mbstate_t mbs = {0}; local 37 F::result r = f.out(mbs, from, from + 9, from_next,
|
char_in.pass.cpp | 31 std::mbstate_t mbs = {0}; local 34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next,
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
set_roi.cc | 55 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); local 59 cpi.segmentation_map = reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); 63 reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); 64 vpx_memset(&roi_map[mbs >> 2], 1, (mbs >> 2)); 65 vpx_memset(&roi_map[mbs >> 1], 2, (mbs >> 2)); 66 vpx_memset(&roi_map[mbs -(mbs >> 2)], 3, (mbs >> 2)) [all...] |
/external/libvpx/libvpx/test/ |
set_roi.cc | 55 const int mbs = (cpi.common.mb_rows * cpi.common.mb_cols); local 59 cpi.segmentation_map = reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); 63 reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); 64 vpx_memset(&roi_map[mbs >> 2], 1, (mbs >> 2)); 65 vpx_memset(&roi_map[mbs >> 1], 2, (mbs >> 2)); 66 vpx_memset(&roi_map[mbs -(mbs >> 2)], 3, (mbs >> 2)) [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
vswprintf.c | 43 mbstate_t mbs; local 82 bzero(&mbs, sizeof(mbs)); 83 nwc = mbsrtowcs(s, (const char **)&mbp, n, &mbs);
|
vswscanf.c | 55 mbstate_t mbs; local 70 bzero(&mbs, sizeof(mbs)); 72 if ((mlen = wcsrtombs(mbstr, &strp, len, &mbs)) == (size_t)-1) {
|