Home
last modified time | relevance | path

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

123456

/external/bison/lib/
Dwchar.in.h132 # undef mbstate_t
133 # define mbstate_t rpl_mbstate_t
197 _GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps));
198 _GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps));
201 _GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps));
203 _GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps));
223 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
225 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
229 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
232 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
[all …]
Dmbsinit.c30 mbsinit (const mbstate_t *ps) in mbsinit()
51 verify (sizeof (mbstate_t) >= 4);
54 mbsinit (const mbstate_t *ps) in mbsinit()
Dmbuiter.h117 mbstate_t state; /* if in_shift: current shift state */
199 memcpy (&new_iter->state, &old_iter->state, sizeof (mbstate_t)); in mbuiter_multi_copy()
201 memset (&new_iter->state, 0, sizeof (mbstate_t)); in mbuiter_multi_copy()
210 (iter).in_shift = false, memset (&(iter).state, '\0', sizeof (mbstate_t)), \
/external/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 …]
/external/bison/darwin-lib/
Dwchar.h444 # undef mbstate_t
445 # define mbstate_t rpl_mbstate_t macro
509 _GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps));
510 _GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps));
513 _GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps));
515 _GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps));
535 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
537 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
541 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
544 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
[all …]
/external/bison/linux-lib/
Dwchar.h444 # undef mbstate_t
445 # define mbstate_t rpl_mbstate_t macro
509 _GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps));
510 _GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps));
513 _GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps));
515 _GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps));
535 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
537 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
541 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
544 (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps));
[all …]
/external/libcxx/test/std/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()
/external/bison/m4/
Dmbstate_t.m41 # mbstate_t.m4 serial 13
9 # BeOS 5 has <wchar.h> but does not define mbstate_t,
19 AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t],
31 [[mbstate_t x; return sizeof x;]])],
36 [Define to 1 if <wchar.h> declares mbstate_t.])
38 AC_DEFINE([mbstate_t], [int], definition
Dmbrtowc.m475 dnl redefines the semantics of the given mbstate_t type.
144 mbstate_t state;
147 memset (&state, '\0', sizeof (mbstate_t));
204 mbstate_t state;
207 memset (&state, '\0', sizeof (mbstate_t));
263 mbstate_t state;
267 memset (&state, '\0', sizeof (mbstate_t));
275 memset (&state, '\0', sizeof (mbstate_t));
329 mbstate_t state;
333 memset (&state, '\0', sizeof (mbstate_t));
[all …]
/external/libcxx/src/
Diostream.cpp19 static mbstate_t mb_cin;
22 static mbstate_t mb_wcin;
28 static mbstate_t mb_cout;
31 static mbstate_t mb_wcout;
36 static mbstate_t mb_cerr;
39 static mbstate_t mb_wcerr;
/external/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()
/external/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);
/external/libcxx/test/std/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()
/external/libcxx/test/std/localization/locales/locale/locale.statics/
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()
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()
/external/libcxx/test/std/localization/locales/locale/locale.cons/
Dassign.pass.cpp44 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
45 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
46 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
47 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()
Dlocale_char_pointer_cat.pass.cpp45 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
46 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
47 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
48 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()
Dcopy.pass.cpp44 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
45 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
46 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
47 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()
Dlocale_locale_cat.pass.cpp45 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
46 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
47 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
48 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()
Dlocale_string_cat.pass.cpp44 assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc))); in check()
45 assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc))); in check()
46 assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc))); in check()
47 assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc))); in check()

123456