/bionic/libc/private/ |
D | bionic_mbstate.h | 47 static inline __wur size_t mbstate_bytes_so_far(const mbstate_t* ps) { in mbstate_bytes_so_far() 54 static inline void mbstate_set_byte(mbstate_t* ps, int i, char byte) { in mbstate_set_byte() 58 static inline __wur uint8_t mbstate_get_byte(const mbstate_t* ps, int n) { in mbstate_get_byte() 62 static inline __wur size_t mbstate_reset_and_return_illegal(int _errno, mbstate_t* ps) { in mbstate_reset_and_return_illegal() 68 static inline __wur size_t mbstate_reset_and_return(int _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() 139 size_t wcrtomb(char* s, wchar_t wc, mbstate_t* ps) { in wcrtomb() 140 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() 54 static size_t finish_surrogate(char16_t* pc16, mbstate_t* state) { in finish_surrogate() 61 size_t mbrtoc16(char16_t* pc16, const char* s, size_t n, mbstate_t* ps) { in mbrtoc16() 62 static mbstate_t __private_state; in mbrtoc16() 63 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) __INTRODUCED_IN(… 75 size_t c32rtomb(char* _Nullable __buf, char32_t __ch32, mbstate_t* _Nullable __ps) __INTRODUCED_IN(… 83 size_t mbrtoc16(char16_t* _Nullable __ch16, const char* _Nullable __s, size_t __n, mbstate_t* _Null… 91 size_t mbrtoc32(char32_t* _Nullable __ch32, const char* _Nullable __s, size_t __n, mbstate_t* _Null…
|
D | wchar.h | 56 int mbsinit(const mbstate_t* __ps); 57 size_t mbrlen(const char* __s, size_t __n, mbstate_t* __ps); 58 size_t mbrtowc(wchar_t* __buf, const char* __s, size_t __n, mbstate_t* __ps); 59 size_t mbsrtowcs(wchar_t* __dst, const char** __src, size_t __dst_n, mbstate_t* __ps); 60 size_t mbsnrtowcs(wchar_t* __dst, const char** __src, size_t __src_n, size_t __dst_n, mbstate_t* __… 74 size_t wcrtomb(char* __buf, wchar_t __wc, mbstate_t* __ps); 91 size_t wcsnrtombs(char* __dst, const wchar_t** __src, size_t __src_n, size_t __dst_n, mbstate_t* __… 94 size_t wcsrtombs(char* __dst, const wchar_t** __src, size_t __dst_n, mbstate_t* __ps);
|
/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 | wctob.c | 36 mbstate_t mbs; in wctob()
|
D | wctomb.c | 36 static mbstate_t mbs; in wctomb()
|
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/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/include/bits/ |
D | mbstate_t.h | 47 } mbstate_t; typedef
|
/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()
|
D | vswprintf.c | 43 mbstate_t mbs; in vswprintf()
|
D | open_wmemstream.c | 37 mbstate_t mbs; /* conversion state of the stream */
|
/bionic/tests/ |
D | uchar_test.cpp | 34 mbstate_t ps; in TEST() 170 void test_mbrtoc16_incomplete(mbstate_t* ps) { in test_mbrtoc16_incomplete() 202 mbstate_t ps; in TEST() 318 void test_mbrtoc32_incomplete(mbstate_t* ps) { in test_mbrtoc32_incomplete() 348 mbstate_t ps; in TEST()
|
/bionic/libc/stdio/ |
D | local.h | 115 mbstate_t wcio_mbstate_in; 116 mbstate_t wcio_mbstate_out;
|