/bionic/libc/private/ |
D | bionic_mbstate.h | 41 static inline __wur bool mbstate_is_initial(const mbstate_t* ps) { in mbstate_is_initial() 45 static inline __wur size_t mbstate_bytes_so_far(const mbstate_t* ps) { in mbstate_bytes_so_far() 52 static inline void mbstate_set_byte(mbstate_t* ps, int i, char byte) { in mbstate_set_byte() 56 static inline __wur uint8_t mbstate_get_byte(const mbstate_t* ps, int n) { in mbstate_get_byte() 60 static inline void mbstate_reset(mbstate_t* ps) { in mbstate_reset() 64 static inline __wur size_t mbstate_reset_and_return_illegal(int _errno, mbstate_t* ps) { in mbstate_reset_and_return_illegal() 70 static inline __wur size_t mbstate_reset_and_return(size_t _return, mbstate_t* ps) { in mbstate_reset_and_return()
|
/bionic/libc/bionic/ |
D | wchar.cpp | 56 int mbsinit(const mbstate_t* ps) { in mbsinit() 60 size_t mbrtowc(wchar_t* pwc, const char* s, size_t n, mbstate_t* ps) { in mbrtowc() 61 static mbstate_t __private_state; in mbrtowc() 62 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in mbrtowc() 68 size_t mbsnrtowcs(wchar_t* dst, const char** src, size_t nmc, size_t len, mbstate_t* ps) { in mbsnrtowcs() 69 static mbstate_t __private_state; in mbsnrtowcs() 70 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in mbsnrtowcs() 135 size_t mbsrtowcs(wchar_t* dst, const char** src, size_t len, mbstate_t* ps) { in mbsrtowcs() 140 size_t wcrtomb(char* s, wchar_t wc, mbstate_t* ps) { in wcrtomb() 141 static mbstate_t __private_state; in wcrtomb() [all …]
|
D | mbrtoc16.cpp | 36 static inline bool mbspartialc16(const mbstate_t* state) { in mbspartialc16() 41 size_t nconv, mbstate_t* state) { in begin_surrogate() 74 static size_t finish_surrogate(char16_t* pc16, mbstate_t* state) { in finish_surrogate() 82 size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps) { in mbrtoc16() 83 static mbstate_t __private_state; in mbrtoc16() 84 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in mbrtoc16()
|
D | c32rtomb.cpp | 35 size_t c32rtomb(char* s, char32_t c32, mbstate_t* ps) { in c32rtomb() 36 static mbstate_t __private_state; in c32rtomb() 37 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in c32rtomb()
|
D | c16rtomb.cpp | 43 size_t c16rtomb(char* s, char16_t c16, mbstate_t* ps) { in c16rtomb() 44 static mbstate_t __private_state; in c16rtomb() 45 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in c16rtomb()
|
D | mbrtoc32.cpp | 36 size_t mbrtoc32(char32_t* pc32, const char* s, size_t n, mbstate_t* ps) { in mbrtoc32() 37 static mbstate_t __private_state; in mbrtoc32() 38 mbstate_t* state = (ps == nullptr) ? &__private_state : ps; in mbrtoc32()
|
D | mblen.cpp | 33 mbstate_t state = {}; in mblen()
|
/bionic/libc/include/ |
D | uchar.h | 64 size_t c16rtomb(char* _Nullable __buf, char16_t __ch16, mbstate_t* _Nullable __ps); 73 size_t c32rtomb(char* _Nullable __buf, char32_t __ch32, mbstate_t* _Nullable __ps); 79 size_t mbrtoc16(char16_t* _Nullable __ch16, const char* _Nullable __s, size_t __n, mbstate_t* _Null… 85 size_t mbrtoc32(char32_t* _Nullable __ch32, const char* _Nullable __s, size_t __n, mbstate_t* _Null…
|
D | wchar.h | 57 int mbsinit(const mbstate_t* _Nullable __ps); 58 size_t mbrlen(const char* _Nullable __s, size_t __n, mbstate_t* _Nullable __ps); 59 size_t mbrtowc(wchar_t* _Nullable __buf, const char* _Nullable __s, size_t __n, mbstate_t* _Nullabl… 60 …Nullable __dst, const char* _Nullable * _Nonnull __src, size_t __dst_n, mbstate_t* _Nullable __ps); 61 …Nullable __dst, const char* _Nullable * _Nonnull __src, size_t __dst_n, mbstate_t* _Nullable __ps,… 62 …nst char* _Nullable * _Nullable __src, size_t __src_n, size_t __dst_n, mbstate_t* _Nullable __ps); 76 size_t wcrtomb(char* _Nullable __buf, wchar_t __wc, mbstate_t* _Nullable __ps); 93 …COMPLICATED_NULLNESS * _Nullable __src, size_t __src_n, size_t __dst_n, mbstate_t* _Nullable __ps); 96 …har_t* __BIONIC_COMPLICATED_NULLNESS * _Nullable __src, size_t __dst_n, mbstate_t* _Nullable __ps); 97 …har_t* __BIONIC_COMPLICATED_NULLNESS * _Nullable __src, size_t __dst_n, mbstate_t* _Nullable __ps,…
|
/bionic/tests/headers/posix/ |
D | wchar_h.c | 36 TYPE(mbstate_t); in wchar_h() 58 FUNCTION(mbrlen, size_t (*f)(const char*, size_t, mbstate_t*)); in wchar_h() 59 FUNCTION(mbrtowc, size_t (*f)(wchar_t*, const char*, size_t, mbstate_t*)); in wchar_h() 60 FUNCTION(mbsinit, int (*f)(const mbstate_t*)); in wchar_h() 61 FUNCTION(mbsnrtowcs, size_t (*f)(wchar_t*, const char**, size_t, size_t, mbstate_t*)); in wchar_h() 62 FUNCTION(mbsrtowcs, size_t (*f)(wchar_t*, const char**, size_t, mbstate_t*)); in wchar_h() 77 FUNCTION(wcrtomb, size_t (*f)(char*, wchar_t, mbstate_t*)); in wchar_h() 96 FUNCTION(wcsnrtombs, size_t (*f)(char*, const wchar_t**, size_t, size_t, mbstate_t*)); in wchar_h() 99 FUNCTION(wcsrtombs, size_t (*f)(char*, const wchar_t**, size_t, mbstate_t*)); in wchar_h()
|
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
D | mbrlen.c | 32 mbrlen(const char * __restrict s, size_t n, mbstate_t * __restrict ps) in mbrlen() 34 static mbstate_t mbs; in mbrlen()
|
D | wctomb.c | 36 static mbstate_t mbs; in wctomb()
|
D | wctob.c | 36 mbstate_t mbs; in wctob()
|
D | mbstowcs.c | 38 mbstate_t mbs; in mbstowcs()
|
D | wcstombs.c | 37 mbstate_t mbs; in wcstombs()
|
D | btowc.c | 36 mbstate_t mbs; in btowc()
|
D | mbtowc.c | 38 static mbstate_t mbs; in mbtowc()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | utils.h | 47 #define mbstate_t regex_mbstate_t macro 50 typedef char mbstate_t; typedef
|
/bionic/libc/upstream-freebsd/lib/libc/locale/ |
D | wcsftime.c | 62 static const mbstate_t initial; in wcsftime_l() 63 mbstate_t mbs; in wcsftime_l()
|
/bionic/libc/include/bits/ |
D | mbstate_t.h | 47 } mbstate_t; typedef
|
/bionic/tests/ |
D | uchar_test.cpp | 76 mbstate_t ps; in TEST() 260 void test_mbrtoc16_incomplete(mbstate_t* ps) { in test_mbrtoc16_incomplete() 302 mbstate_t ps; in TEST() 444 void test_mbrtoc32_incomplete(mbstate_t* ps) { in test_mbrtoc32_incomplete() 478 mbstate_t ps; in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgetwc.c | 41 mbstate_t *st; in __fgetwc_unlock()
|
D | fputwc.c | 43 mbstate_t *st; in __fputwc_unlock()
|
D | vswscanf.c | 55 mbstate_t mbs; in vswscanf()
|
/bionic/libc/stdio/ |
D | local.h | 115 mbstate_t wcio_mbstate_in; 116 mbstate_t wcio_mbstate_out;
|