Home
last modified time | relevance | path

Searched refs:mbstate_t (Results 1 – 25 of 136) sorted by relevance

123456

/ndk/sources/cxx-stl/stlport/src/
Dcodecvt.cpp28 codecvt<char, char, mbstate_t>::~codecvt() {} in ~codecvt()
30 int codecvt<char, char, mbstate_t>::do_length(state_type&, in do_length()
36 int codecvt<char, char, mbstate_t>::do_max_length() const _STLP_NOTHROW in do_max_length()
40 codecvt<char, char, mbstate_t>::do_always_noconv() const _STLP_NOTHROW in do_always_noconv()
44 codecvt<char, char, mbstate_t>::do_encoding() const _STLP_NOTHROW in do_encoding()
48 codecvt<char, char, mbstate_t>::do_unshift(state_type& /* __state */, in do_unshift()
55 codecvt<char, char, mbstate_t>::do_in (state_type& /* __state */ , in do_in()
65 codecvt<char, char, mbstate_t>::do_out(state_type& /* __state */, in do_out()
79 codecvt<wchar_t, char, mbstate_t>::~codecvt() {} in ~codecvt()
82 codecvt<wchar_t, char, mbstate_t>::result
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dcodecvt_test.cpp55 struct eater_codecvt : public codecvt<char, char, mbstate_t> {
56 typedef codecvt<char,char,mbstate_t> base;
62 do_in(mbstate_t& mb, in do_in()
116 virtual int do_length(mbstate_t &state, in do_length()
121 mbstate_t tmp = state; in do_length()
148 struct generator_codecvt : public codecvt<char, char, mbstate_t> {
149 typedef codecvt<char,char,mbstate_t> base;
155 do_in(mbstate_t& mb, in do_in()
236 virtual int do_length(mbstate_t &mb, in do_length()
248 mbstate_t tmpState = mb; in do_length()
[all …]
/ndk/tests/device/test-stlport/unit/
Dcodecvt_test.cpp55 struct eater_codecvt : public codecvt<char, char, mbstate_t> {
56 typedef codecvt<char,char,mbstate_t> base;
62 do_in(mbstate_t& mb, in do_in()
116 virtual int do_length(mbstate_t &state, in do_length()
121 mbstate_t tmp = state; in do_length()
148 struct generator_codecvt : public codecvt<char, char, mbstate_t> {
149 typedef codecvt<char,char,mbstate_t> base;
155 do_in(mbstate_t& mb, in do_in()
236 virtual int do_length(mbstate_t &mb, in do_length()
248 mbstate_t tmpState = mb; in do_length()
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_codecvt.h173 class _STLP_CLASS_DECLSPEC codecvt<char, char, mbstate_t>
178 typedef mbstate_t state_type;
263 codecvt(const codecvt<char, char, mbstate_t>&);
264 codecvt<char, char, mbstate_t>& operator =(const codecvt<char, char, mbstate_t>&);
270 class _STLP_CLASS_DECLSPEC codecvt<wchar_t, char, mbstate_t>
275 typedef mbstate_t state_type;
364 codecvt(const codecvt<wchar_t, char, mbstate_t>&);
365 codecvt<wchar_t, char, mbstate_t>& operator = (const codecvt<wchar_t, char, mbstate_t>&);
371 class _STLP_CLASS_DECLSPEC codecvt_byname<char, char, mbstate_t>
372 : public codecvt<char, char, mbstate_t> {
[all …]
D_mbstate_t.h31 typedef int mbstate_t; typedef
37 using ::mbstate_t;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcodecvt30 : public codecvt<Elem, char, mbstate_t>
39 : public codecvt<Elem, char, mbstate_t>
48 : public codecvt<Elem, char, mbstate_t>
80 : public codecvt<wchar_t, char, mbstate_t>
87 typedef mbstate_t state_type;
92 : codecvt<wchar_t, char, mbstate_t>(__refs), _Maxcode_(_Maxcode),
115 : public codecvt<char16_t, char, mbstate_t>
122 typedef mbstate_t state_type;
127 : codecvt<char16_t, char, mbstate_t>(__refs), _Maxcode_(_Maxcode),
150 : public codecvt<char32_t, char, mbstate_t>
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/
Dcodecvt_utf16_length.pass.cpp32 std::mbstate_t m; in main()
55 std::mbstate_t m; in main()
78 std::mbstate_t m; in main()
101 std::mbstate_t m; in main()
124 std::mbstate_t m; in main()
149 std::mbstate_t m; in main()
172 std::mbstate_t m; in main()
195 std::mbstate_t m; in main()
218 std::mbstate_t m; in main()
241 std::mbstate_t m; in main()
[all …]
Dcodecvt_utf8_utf16_length.pass.cpp32 std::mbstate_t m; in main()
55 std::mbstate_t m; in main()
78 std::mbstate_t m; in main()
101 std::mbstate_t m; in main()
124 std::mbstate_t m; in main()
147 std::mbstate_t m; in main()
170 std::mbstate_t m; in main()
193 std::mbstate_t m; in main()
216 std::mbstate_t m; in main()
Dcodecvt_utf8_length.pass.cpp32 std::mbstate_t m; in main()
55 std::mbstate_t m; in main()
78 std::mbstate_t m; in main()
104 std::mbstate_t m; in main()
127 std::mbstate_t m; in main()
150 std::mbstate_t m; in main()
176 std::mbstate_t m; in main()
199 std::mbstate_t m; in main()
222 std::mbstate_t m; in main()
Dcodecvt_utf8_unshift.pass.cpp33 std::mbstate_t m; in main()
42 std::mbstate_t m; in main()
51 std::mbstate_t m; in main()
Dcodecvt_utf8_utf16_unshift.pass.cpp33 std::mbstate_t m; in main()
42 std::mbstate_t m; in main()
51 std::mbstate_t m; in main()
Dcodecvt_utf16_unshift.pass.cpp33 std::mbstate_t m; in main()
42 std::mbstate_t m; in main()
51 std::mbstate_t m; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/
Dlocale_win32.cpp37 mbstate_t *__restrict ps, locale_t loc ) in mbrlen_l()
43 size_t len, mbstate_t *__restrict ps, locale_t loc ) in mbsrtowcs_l()
48 size_t wcrtomb_l( char *__restrict s, wchar_t wc, mbstate_t *__restrict ps, in wcrtomb_l()
55 size_t n, mbstate_t *__restrict ps, locale_t loc ) in mbrtowc_l()
61 size_t nms, size_t len, mbstate_t *__restrict ps, locale_t loc ) in mbsnrtowcs_l()
67 size_t nwc, size_t len, mbstate_t *__restrict ps, locale_t loc ) in wcsnrtombs_l()
/ndk/sources/android/support/src/musl-multibyte/
Dmbrlen.c9 size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st) in mbrlen()
12 return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal); in mbrlen()
/ndk/sources/android/support/include/
Dwchar.h98 } mbstate_t; typedef
135 int mbsinit (const mbstate_t *);
136 size_t mbrtowc (wchar_t *__restrict__, const char *__restrict__, size_t, mbstate_t *__restrict__);
137 size_t wcrtomb (char *__restrict__, wchar_t, mbstate_t *__restrict__);
139 size_t mbrlen (const char *__restrict__, size_t, mbstate_t *__restrict__);
141 size_t mbsrtowcs (wchar_t *__restrict__, const char **__restrict__, size_t, mbstate_t *__restrict__…
142 size_t wcsrtombs (char *__restrict__, const wchar_t **__restrict__, size_t, mbstate_t *__restrict__…
193 size_t mbsnrtowcs(wchar_t *__restrict__, const char **__restrict__, size_t, size_t, mbstate_t *__re…
194 size_t wcsnrtombs(char *__restrict__, const wchar_t **__restrict__, size_t, size_t, mbstate_t *__re…
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/solaris/
Dxlocale.h45 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l);
48 mbstate_t *__ps, locale_t __l);
52 size_t mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l);
57 mbstate_t *__ps, locale_t __l);
115 size_t nms, size_t len, mbstate_t * __restrict ps, locale_t loc);
120 size_t nwc, size_t len, mbstate_t * __restrict ps, locale_t loc);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dlocale_win32.h40 mbstate_t *__restrict ps, locale_t loc);
42 size_t len, mbstate_t *__restrict ps, locale_t loc );
43 size_t wcrtomb_l( char *__restrict s, wchar_t wc, mbstate_t *__restrict ps,
46 size_t n, mbstate_t *__restrict ps, locale_t loc);
48 size_t nms, size_t len, mbstate_t *__restrict ps, locale_t loc);
50 size_t nwc, size_t len, mbstate_t *__restrict ps, locale_t loc);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.statics/
Dclassic.pass.cpp24 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
25 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
26 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
27 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()
Dglobal.pass.cpp26 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
27 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
28 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
29 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
Dwchar_t_out.pass.cpp23 typedef std::codecvt<wchar_t, char, std::mbstate_t> F;
32 std::mbstate_t mbs = {0}; in main()
46 std::mbstate_t mbs = {0}; in main()
59 std::mbstate_t mbs = {0}; in main()
Dchar32_t_unshift.pass.cpp22 typedef std::codecvt<char32_t, char, std::mbstate_t> F;
29 std::mbstate_t mbs = {0}; in main()
Dchar_unshift.pass.cpp22 typedef std::codecvt<char, char, std::mbstate_t> F;
29 std::mbstate_t mbs = {0}; in main()
Dchar16_t_unshift.pass.cpp22 typedef std::codecvt<char16_t, char, std::mbstate_t> F;
29 std::mbstate_t mbs = {0}; in main()
Dwchar_t_unshift.pass.cpp24 typedef std::codecvt<wchar_t, char, std::mbstate_t> F;
31 std::mbstate_t mbs = {0}; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/
Dlocale_char_pointer_cat.pass.cpp41 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
42 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
43 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
44 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()

123456