Home
last modified time | relevance | path

Searched refs:wchar_t (Results 1 – 25 of 60) sorted by relevance

123

/bionic/libc/include/
Dwchar.h47 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/
Dwchar_h.c39 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 …]
Dinttypes_h.c37 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/
Dwcsftime.c42 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/
Dwcstok.c42 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()
Dwcspbrk.c41 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()
Dwcsncat.c41 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()
Dwmemmove.c42 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()
Dwmemcpy.c42 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()
Dwcsrchr.c34 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()
Dwmemset.c41 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()
Dwcsncpy.c49 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()
Dwcsstr.c48 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()
Dwcschr.c34 wchar_t *
35 wcschr(const wchar_t *s, wchar_t c) in wcschr()
41 return ((wchar_t *)s); in wcschr()
Dwcscpy.c41 wchar_t *
42 wcscpy(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscpy()
44 wchar_t *cp; in wcscpy()
Dwcsdup.c35 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()
Dwcscat.c41 wchar_t *
42 wcscat(wchar_t * __restrict s1, const wchar_t * __restrict s2) in wcscat()
44 wchar_t *cp; in wcscat()
Dwmemchr.c41 wchar_t *
42 wmemchr(const wchar_t *s, wchar_t c, size_t n) in wmemchr()
49 return (wchar_t *)s; in wmemchr()
Dwcpncpy.c34 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()
Dwcscspn.c42 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()
Dwcsspn.c42 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()
Dwcslcat.c51 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/
Dopen_wmemstream.c31 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.h48 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.h49 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()

123