/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/ |
D | char_length.pass.cpp | 25 std::mbstate_t mbs; 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()
|
D | char32_t_length.pass.cpp | 25 std::mbstate_t mbs; 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()
|
D | char16_t_length.pass.cpp | 25 std::mbstate_t mbs; 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()
|
D | wchar_t_length.pass.cpp | 25 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()
|
D | utf_sanity_check.pass.cpp | 33 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()
|
D | wchar_t_out.pass.cpp | 32 std::mbstate_t mbs; 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; 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; in main() local 62 F::result r = f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
|
D | char32_t_unshift.pass.cpp | 29 std::mbstate_t mbs; in main() local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
|
D | char16_t_unshift.pass.cpp | 29 std::mbstate_t mbs; in main() local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
|
D | char_unshift.pass.cpp | 29 std::mbstate_t mbs; in main() local 31 assert(f.unshift(mbs, to.data(), to.data() + to.size(), to_next) == F::noconv); in main()
|
D | wchar_t_unshift.pass.cpp | 31 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()
|
D | char16_t_in.pass.cpp | 31 std::mbstate_t mbs; in main() local 34 assert(f.in(mbs, from, from + 9, from_next, in main()
|
D | char32_t_in.pass.cpp | 31 std::mbstate_t mbs; in main() local 34 assert(f.in(mbs, from, from + 9, from_next, in main()
|
D | char16_t_out.pass.cpp | 34 std::mbstate_t mbs; in main() local 37 F::result r = f.out(mbs, from, from + 9, from_next, in main()
|
D | char_in.pass.cpp | 31 std::mbstate_t mbs; in main() local 34 assert(f.in(mbs, from.data(), from.data() + from.size(), from_next, in main()
|
D | char32_t_out.pass.cpp | 34 std::mbstate_t mbs; in main() local 37 F::result r = f.out(mbs, from, from + 9, from_next, in main()
|
D | char_out.pass.cpp | 31 std::mbstate_t mbs; in main() local 34 assert(f.out(mbs, from.data(), from.data() + from.size(), from_next, in main()
|
D | wchar_t_in.pass.cpp | 32 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()
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regex_internal.c | 60 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; in re_string_allocate() 83 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; in re_string_construct() 160 unsigned char *new_mbs = re_realloc (pstr->mbs, unsigned char, in re_string_realloc_buffers() 164 pstr->mbs = new_mbs; in re_string_realloc_buffers() 235 buf[i] = pstr->mbs[byte_idx + i] = pstr->trans[ch]; in build_wcs_buffer() 300 pstr->mbs[byte_idx] in build_wcs_upper_buffer() 304 pstr->wcs[byte_idx] = (wchar_t) pstr->mbs[byte_idx]; in build_wcs_upper_buffer() 324 memcpy (pstr->mbs + byte_idx, buf, mbclen); in build_wcs_upper_buffer() 332 memcpy (pstr->mbs + byte_idx, in build_wcs_upper_buffer() 343 pstr->mbs[byte_idx] = ch; in build_wcs_upper_buffer() [all …]
|
D | regex_internal.h | 370 unsigned char *mbs; member 445 ((pstr)->mbs[(pstr)->cur_idx + offset]) 447 ((pstr)->mbs[(pstr)->cur_idx++]) 455 #define re_string_get_buffer(pstr) ((pstr)->mbs) 457 #define re_string_byte_at(pstr,idx) ((pstr)->mbs[idx]) 825 return (wint_t) pstr->mbs[idx]; in internal_function() 847 p = pstr->mbs + idx; in internal_function() 849 return p - pstr->mbs - idx; in internal_function()
|
D | regcomp.c | 397 mbstate_t mbs; in re_compile_fastmap_iter() local 398 memset (&mbs, 0, sizeof (mbs)); in re_compile_fastmap_iter() 399 if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2) in re_compile_fastmap_iter()
|
D | regexec.c | 194 static unsigned int find_collation_sequence_value (const unsigned char *mbs, 4015 find_collation_sequence_value (const unsigned char *mbs, size_t mbs_len) in find_collation_sequence_value() argument 4025 return collseq[mbs[0]]; in find_collation_sequence_value() 4048 if (extra[idx + mbs_cnt] != mbs[mbs_cnt]) in find_collation_sequence_value()
|