/bionic/libc/include/ |
D | wchar.h | 47 int fwprintf(FILE* __fp, const wchar_t* __fmt, ...); 48 int fwscanf(FILE* __fp, const wchar_t* __fmt, ...); 50 wchar_t* fgetws(wchar_t* __buf, int __size, FILE* __fp); 51 wint_t fputwc(wchar_t __wc, FILE* __fp); 52 int fputws(const wchar_t* __s, FILE* __fp); 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* __… 61 wint_t putwc(wchar_t __wc, FILE* __fp); 62 wint_t putwchar(wchar_t __wc); [all …]
|
/bionic/tests/headers/posix/ |
D | wchar_h.c | 39 TYPE(wchar_t); in wchar_h() 50 FUNCTION(fgetws, wchar_t* (*f)(wchar_t*, int, FILE*)); in wchar_h() 51 FUNCTION(fputwc, wint_t (*f)(wchar_t, FILE*)); in wchar_h() 52 FUNCTION(fputws, int (*f)(const wchar_t*, FILE*)); in wchar_h() 54 FUNCTION(fwprintf, int (*f)(FILE*, const wchar_t*, ...)); in wchar_h() 55 FUNCTION(fwscanf, int (*f)(FILE*, const wchar_t*, ...)); in wchar_h() 59 FUNCTION(mbrtowc, size_t (*f)(wchar_t*, const char*, size_t, 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() 63 FUNCTION(open_wmemstream, FILE* (*f)(wchar_t**, size_t*)); in wchar_h() [all …]
|
D | inttypes_h.c | 37 typedef __WCHAR_TYPE__ wchar_t; in inttypes_h() typedef 39 TYPE(wchar_t); in inttypes_h() 48 FUNCTION(wcstoimax, intmax_t (*f)(const wchar_t*, wchar_t**, int)); in inttypes_h() 49 FUNCTION(wcstoumax, uintmax_t (*f)(const wchar_t*, wchar_t**, int)); in inttypes_h()
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 42 const wchar_t * mon[MONSPERYEAR]; 43 const wchar_t * month[MONSPERYEAR]; 44 const wchar_t * wday[DAYSPERWEEK]; 45 const wchar_t * weekday[DAYSPERWEEK]; 46 const wchar_t * X_fmt; 47 const wchar_t * x_fmt; 48 const wchar_t * c_fmt; 49 const wchar_t * am; 50 const wchar_t * pm; 51 const wchar_t * date_fmt; [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcstok.c | 42 wchar_t * 43 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim, in wcstok() 44 wchar_t ** __restrict last) in wcstok() 46 const wchar_t *spanp; in wcstok() 47 wchar_t *tok; in wcstok() 48 wchar_t c, sc; in wcstok()
|
D | wcspbrk.c | 41 wchar_t * 42 wcspbrk(const wchar_t *s, const wchar_t *set) in wcspbrk() 44 const wchar_t *p; in wcspbrk() 45 const wchar_t *q; in wcspbrk() 53 return (wchar_t *)p; in wcspbrk()
|
D | wcsncat.c | 41 wchar_t * 42 wcsncat(wchar_t * __restrict s1, const wchar_t * __restrict s2, size_t n) in wcsncat() 44 wchar_t *p; in wcsncat() 45 wchar_t *q; in wcsncat() 46 const wchar_t *r; in wcsncat()
|
D | wmemmove.c | 42 wchar_t * 43 wmemmove(wchar_t *d, const wchar_t *s, size_t n) in wmemmove() 45 return (wchar_t *)memmove(d, s, n * sizeof(wchar_t)); in wmemmove()
|
D | wmemcpy.c | 42 wchar_t * 43 wmemcpy(wchar_t * __restrict d, const wchar_t * __restrict s, size_t n) in wmemcpy() 45 return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t)); in wmemcpy()
|
D | wcsrchr.c | 34 wchar_t * 35 wcsrchr(const wchar_t *s, wchar_t c) in wcsrchr() 37 const wchar_t *last; in wcsrchr() 48 return ((wchar_t *)last); in wcsrchr()
|
D | wmemset.c | 41 wchar_t * 42 wmemset(wchar_t *s, wchar_t c, size_t n) in wmemset() 45 wchar_t *p; in wmemset() 47 p = (wchar_t *)s; in wmemset()
|
D | wcsncpy.c | 49 wchar_t * 50 wcsncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) in wcsncpy() 53 wchar_t *d = dst; in wcsncpy() 54 const wchar_t *s = src; in wcsncpy()
|
D | wcsstr.c | 48 wchar_t * 49 wcsstr(const wchar_t * __restrict s, const wchar_t * __restrict find) in wcsstr() 51 wchar_t c, sc; in wcsstr() 64 return ((wchar_t *)s); in wcsstr()
|
D | wcschr.c | 34 wchar_t * 35 wcschr(const wchar_t *s, wchar_t c) in wcschr() 41 return ((wchar_t *)s); in wcschr()
|
D | wcscpy.c | 41 wchar_t * 42 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy() 44 wchar_t *cp; in wcscpy()
|
D | wcsdup.c | 35 wchar_t * 36 wcsdup(const wchar_t *s) in wcsdup() 38 wchar_t *copy; in wcsdup() 42 if ((copy = malloc(len * sizeof(wchar_t))) == NULL) in wcsdup()
|
D | wcscat.c | 41 wchar_t * 42 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat() 44 wchar_t *cp; in wcscat()
|
D | wmemchr.c | 41 wchar_t * 42 wmemchr(const wchar_t *s, wchar_t c, size_t n) in wmemchr() 49 return (wchar_t *)s; in wmemchr()
|
D | wcpncpy.c | 34 wchar_t * 35 wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) in wcpncpy() 40 wchar_t *ret = dst; in wcpncpy()
|
D | wcscspn.c | 42 wcscspn(const wchar_t *s, const wchar_t *set) in wcscspn() 44 const wchar_t *p; in wcscspn() 45 const wchar_t *q; in wcscspn()
|
D | wcsspn.c | 42 wcsspn(const wchar_t *s, const wchar_t *set) in wcsspn() 44 const wchar_t *p; in wcsspn() 45 const wchar_t *q; in wcsspn()
|
D | wcslcat.c | 51 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) in wcslcat() 53 wchar_t *d = dst; in wcslcat() 54 const wchar_t *s = src; in wcslcat()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | open_wmemstream.c | 31 wchar_t *string; /* actual stream */ 32 wchar_t **pbuf; /* point to the stream */ 44 wchar_t *p; in wmemstream_write() 55 p = reallocarray(st->string, sz, sizeof(wchar_t)); in wmemstream_write() 58 bzero(p + st->size, (sz - st->size) * sizeof(wchar_t)); in wmemstream_write() 63 nmc = (st->size - st->pos) * sizeof(wchar_t); in wmemstream_write() 96 if (off > (SIZE_MAX / sizeof(wchar_t)) - base || off < -base) { in wmemstream_seek() 124 open_wmemstream(wchar_t **pbuf, size_t *psize) in open_wmemstream() 142 st->size = BUFSIZ * sizeof(wchar_t); in open_wmemstream()
|
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
D | _wcstoul.h | 48 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in FUNCNAME() 50 const wchar_t *s; in FUNCNAME() 68 wc = (wchar_t) *s++; in FUNCNAME() 92 for (acc = 0, any = 0;; wc = (wchar_t) *s++) { in FUNCNAME() 113 *endptr = (wchar_t *)(any ? s - 1 : nptr); in FUNCNAME()
|
D | _wcstol.h | 49 FUNCNAME(const wchar_t *nptr, wchar_t **endptr, int base) in FUNCNAME() 51 const wchar_t *s; in FUNCNAME() 70 wc = (wchar_t) *s++; in FUNCNAME() 102 for (acc = 0, any = 0;; wc = (wchar_t) *s++) { in FUNCNAME() 133 *endptr = (wchar_t *)(any ? s - 1 : nptr); in FUNCNAME()
|