Home
last modified time | relevance | path

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

1234567

/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/sources/host-tools/sed-4.2.1/m4/
Dmbstate_t.m41 # mbstate_t.m4 serial 12
9 # BeOS 5 has <wchar.h> but does not define mbstate_t,
19 AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t],
24 [[mbstate_t x; return sizeof x;]])],
29 [Define to 1 if <wchar.h> declares mbstate_t.])
31 AC_DEFINE([mbstate_t], [int], definition
Dmbrtowc.m454 dnl redefines the semantics of the given mbstate_t type.
118 mbstate_t state;
121 memset (&state, '\0', sizeof (mbstate_t));
170 mbstate_t state;
173 memset (&state, '\0', sizeof (mbstate_t));
217 mbstate_t state;
221 memset (&state, '\0', sizeof (mbstate_t));
269 mbstate_t state;
272 memset (&state, '\0', sizeof (mbstate_t));
284 mbstate_t state;
[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/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/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/host-tools/sed-4.2.1/lib/
Dwchar.in.h98 # undef mbstate_t
99 # define mbstate_t rpl_mbstate_t
148 extern int mbsinit (const mbstate_t *ps);
166 extern size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
184 extern size_t mbrlen (const char *s, size_t n, mbstate_t *ps);
202 extern size_t mbsrtowcs (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps);
220 extern size_t mbsnrtowcs (wchar_t *dest, const char **srcp, size_t srclen, size_t len, mbstate_t *p…
238 extern size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps);
256 extern size_t wcsrtombs (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps);
274 extern size_t wcsnrtombs (char *dest, const wchar_t **srcp, size_t srclen, size_t len, mbstate_t *p…
Dmbsinit.c39 verify (sizeof (mbstate_t) >= 4);
42 mbsinit (const mbstate_t *ps) in mbsinit()
Dmbrlen.c24 static mbstate_t internal_state;
27 mbrlen (const char *s, size_t n, mbstate_t *ps) in mbrlen()
/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_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_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()
/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/include/
Dwchar.h101 } mbstate_t;
138 int mbsinit (const mbstate_t *);
139 size_t mbrtowc (wchar_t *__restrict__, const char *__restrict__, size_t, mbstate_t *__restrict__);
140 size_t wcrtomb (char *__restrict__, wchar_t, mbstate_t *__restrict__);
142 size_t mbrlen (const char *__restrict__, size_t, mbstate_t *__restrict__);
144 size_t mbsrtowcs (wchar_t *__restrict__, const char **__restrict__, size_t, mbstate_t *__restrict__…
145 size_t wcsrtombs (char *__restrict__, const wchar_t **__restrict__, size_t, mbstate_t *__restrict__…
196 size_t mbsnrtowcs(wchar_t *__restrict__, const char **__restrict__, size_t, size_t, mbstate_t *__re…
197 size_t wcsnrtombs(char *__restrict__, const wchar_t **__restrict__, size_t, size_t, mbstate_t *__re…
/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/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/host-tools/sed-4.2.1/sed/
Dmbcs.c33 mbstate_t *cur_stat;
43 memset (cur_stat, 0, sizeof (mbstate_t));
/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()
/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()

1234567