Home
last modified time | relevance | path

Searched refs:mbs (Results 1 – 17 of 17) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
Dchar32_t_length.pass.cpp25 std::mbstate_t mbs = {0}; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 8) == 8); in main()
29 assert(f.length(mbs, from, from+10, 9) == 9); in main()
30 assert(f.length(mbs, from, from+10, 10) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dwchar_t_length.pass.cpp25 std::mbstate_t mbs = {0}; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 9) == 9); in main()
29 assert(f.length(mbs, from, from+10, 10) == 10); in main()
30 assert(f.length(mbs, from, from+10, 11) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dchar_length.pass.cpp25 std::mbstate_t mbs = {0}; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 9) == 9); in main()
29 assert(f.length(mbs, from, from+10, 10) == 10); in main()
30 assert(f.length(mbs, from, from+10, 11) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dchar16_t_length.pass.cpp25 std::mbstate_t mbs = {0}; in main() local
27 assert(f.length(mbs, from, from+10, 0) == 0); in main()
28 assert(f.length(mbs, from, from+10, 8) == 8); in main()
29 assert(f.length(mbs, from, from+10, 9) == 9); in main()
30 assert(f.length(mbs, from, from+10, 10) == 10); in main()
31 assert(f.length(mbs, from, from+10, 100) == 10); in main()
Dutf_sanity_check.pass.cpp33 std::mbstate_t mbs = {0}; in main() local
49 assert(f32_16.out(mbs, &c32x, &c32x+1, c_c32p, c16c+0, c16c+4, c16cp) == F32_8::error); in main()
50 assert(f32_8.out(mbs, &c32x, &c32x+1, c_c32p, c8, c8+4, c8p) == F32_8::error); in main()
54 assert(f32_16.out(mbs, &c32x, &c32x+1, c_c32p, c16c, c16c+4, c16cp) == F32_8::ok); in main()
63 assert(f16_8.out(mbs, c16, c_c16p, c_c16p, c8, c8+4, c8p) == F32_8::ok); in main()
77 assert(f32_8.in(mbs, c8, c_c8p, c_c8p, &c32, &c32+1, c32p) == F32_8::ok); in main()
88 assert(f32_8.out(mbs, &c32x, &c32x+1, c_c32p, c8, c8+4, c8p) == F32_8::ok); in main()
99 assert(f16_8.in(mbs, c8, c_c8p, c_c8p, c16, c16+2, c16p) == F32_8::ok); in main()
118 assert(f32_16.in(mbs, c16c, c_c16cp, c_c16cp, &c32, &c32+1, c32p) == F32_8::ok); in main()
Dwchar_t_out.pass.cpp32 std::mbstate_t mbs = {0}; in main() local
35 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
46 std::mbstate_t mbs = {0}; in main() local
49 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
59 std::mbstate_t mbs = {0}; in main() local
62 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
Dchar_unshift.pass.cpp29 std::mbstate_t mbs = {0}; in main() local
31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
Dchar16_t_unshift.pass.cpp29 std::mbstate_t mbs = {0}; in main() local
31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
Dchar32_t_unshift.pass.cpp29 std::mbstate_t mbs = {0}; in main() local
31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
Dwchar_t_unshift.pass.cpp31 std::mbstate_t mbs = {0}; in main() local
33 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::ok); in main()
Dchar16_t_in.pass.cpp31 std::mbstate_t mbs = {0}; in main() local
34 assert(f.in(mbs, from, from + 9, from_next, in main()
Dchar32_t_in.pass.cpp31 std::mbstate_t mbs = {0}; in main() local
34 assert(f.in(mbs, from, from + 9, from_next, in main()
Dchar_out.pass.cpp31 std::mbstate_t mbs = {0}; in main() local
34 assert(f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
Dchar32_t_out.pass.cpp34 std::mbstate_t mbs = {0}; in main() local
37 F::result r = f.out(mbs, from, from + 9, from_next, in main()
Dchar16_t_out.pass.cpp34 std::mbstate_t mbs = {0}; in main() local
37 F::result r = f.out(mbs, from, from + 9, from_next, in main()
Dchar_in.pass.cpp31 std::mbstate_t mbs = {0}; in main() local
34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next, in main()
Dwchar_t_in.pass.cpp32 std::mbstate_t mbs = {0}; in main() local
35 F::result r = f.in(mbs, from.data(), from.data() + from.size(), from_next, in main()