/bionic/libc/private/ |
D | bionic_mbstate.h | 46 size_t mbstate_bytes_so_far(const mbstate_t* ps); 47 void mbstate_set_byte(mbstate_t* ps, int i, char byte); 48 uint8_t mbstate_get_byte(const mbstate_t* ps, int n); 49 size_t reset_and_return_illegal(int _errno, mbstate_t* ps); 50 size_t reset_and_return(int _return, mbstate_t* ps);
|
/bionic/libc/bionic/ |
D | mbstate.cpp | 33 __LIBC_HIDDEN__ size_t mbstate_bytes_so_far(const mbstate_t* ps) { in mbstate_bytes_so_far() 40 __LIBC_HIDDEN__ void mbstate_set_byte(mbstate_t* ps, int i, char byte) { in mbstate_set_byte() 44 __LIBC_HIDDEN__ uint8_t mbstate_get_byte(const mbstate_t* ps, int n) { in mbstate_get_byte() 48 __LIBC_HIDDEN__ size_t reset_and_return_illegal(int _errno, mbstate_t* ps) { in reset_and_return_illegal() 54 __LIBC_HIDDEN__ size_t reset_and_return(int _return, mbstate_t* ps) { in reset_and_return()
|
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 == NULL) ? &__private_state : ps; in mbrtoc16()
|
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 == NULL) ? &__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 == NULL) ? &__private_state : ps; in mbsnrtowcs() 146 size_t mbsrtowcs(wchar_t* dst, const char** src, size_t len, mbstate_t* ps) { in mbsrtowcs() 150 size_t wcrtomb(char* s, wchar_t wc, mbstate_t* ps) { in wcrtomb() 151 static mbstate_t __private_state; in wcrtomb() [all …]
|
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 == NULL) ? &__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 == NULL) ? &__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 == NULL) ? &__private_state : ps; in mbrtoc32()
|
/bionic/libc/include/ |
D | uchar.h | 40 size_t c16rtomb(char* __restrict, char16_t, mbstate_t* __restrict); 41 size_t c32rtomb(char* __restrict, char32_t, mbstate_t* __restrict); 45 mbstate_t* __restrict); 49 mbstate_t* __restrict);
|
D | wchar.h | 49 } mbstate_t; typedef 95 extern int mbsinit(const mbstate_t *); 96 extern size_t mbrlen(const char *, size_t, mbstate_t *); 97 extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *); 98 extern size_t mbsrtowcs(wchar_t*, const char**, size_t, mbstate_t*); 99 extern size_t mbsnrtowcs(wchar_t*, const char**, size_t, size_t, mbstate_t*); 116 extern size_t wcrtomb(char *, wchar_t, mbstate_t *); 132 extern size_t wcsnrtombs(char*, const wchar_t**, size_t, size_t, mbstate_t*); 135 extern size_t wcsrtombs(char*, const wchar_t**, size_t, mbstate_t*);
|
/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 | btowc.c | 36 mbstate_t mbs; in btowc()
|
D | mbstowcs.c | 38 mbstate_t mbs; in mbstowcs()
|
D | wcstombs.c | 37 mbstate_t mbs; in wcstombs()
|
D | mbtowc.c | 38 static mbstate_t mbs; in mbtowc()
|
D | _wcstod.h | 102 mbstate_t st; in FUNCNAME()
|
/bionic/libc/stdio/ |
D | wcio.h | 43 mbstate_t wcio_mbstate_in; 44 mbstate_t wcio_mbstate_out;
|
/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 | 48 mbstate_t ps; in TEST() 232 void test_mbrtoc16_incomplete(mbstate_t* ps) { in test_mbrtoc16_incomplete() 266 mbstate_t ps; in TEST() 370 void test_mbrtoc32_incomplete(mbstate_t* ps) { in test_mbrtoc32_incomplete() 402 mbstate_t ps; in TEST()
|
D | wchar_test.cpp | 94 mbstate_t ps; in TEST() 214 mbstate_t ps; in TEST() 304 void test_mbrtowc_incomplete(mbstate_t* ps) { in test_mbrtowc_incomplete() 334 mbstate_t ps; in TEST() 341 void test_mbsrtowcs(mbstate_t* ps) { in test_mbsrtowcs() 378 mbstate_t ps; in TEST()
|