bin/ed/io.c
301
wchar_t wc;
bin/ls/print.c
162
wchar_t wc;
bin/ls/util.c
136
wchar_t wc;
bin/ls/util.c
168
wchar_t wc;
bin/ls/util.c
185
wc <= (wchar_t)UCHAR_MAX &&
bin/ls/util.c
55
wchar_t wc;
bin/ls/util.c
86
wchar_t wc;
bin/sh/expand.c
108
static int collate_range_cmp(wchar_t, wchar_t);
bin/sh/expand.c
1204
static wchar_t
bin/sh/expand.c
1207
wchar_t c;
bin/sh/expand.c
1229
match_charclass(const char *p, wchar_t chr, const char **end)
bin/sh/expand.c
1262
wchar_t wc, wc2;
bin/sh/expand.c
1314
wchar_t chr;
bin/sh/expand.c
140
collate_range_cmp(wchar_t c1, wchar_t c2)
bin/sh/expand.c
142
wchar_t s1[2], s2[2];
bin/sh/output.c
128
wchar_t wc;
crypto/heimdal/lib/krb5/test_addr.c
172
inv_param_handler(const wchar_t* expression,
crypto/heimdal/lib/krb5/test_addr.c
173
const wchar_t* function,
crypto/heimdal/lib/krb5/test_addr.c
174
const wchar_t* file,
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
132
__match_pattern (const wchar_t *s, const wchar_t *pattern)
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
192
wchar_t *ws;
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
193
wchar_t *wpattern;
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
199
ws = (wchar_t *) xcalloc(len + 1, sizeof (wchar_t));
crypto/openssh/openbsd-compat/bsd-cygwin_util.c
203
wpattern = (wchar_t *) xcalloc(len + 1, sizeof (wchar_t));
crypto/openssh/openbsd-compat/bsd-misc.c
368
mbtowc(wchar_t *pwc, const char *s, size_t n)
crypto/openssh/openbsd-compat/openbsd-compat.h
291
int mbtowc(wchar_t *, const char*, size_t);
crypto/openssh/utf8.c
112
wchar_t wc; /* Wide character at sp. */
include/iconv.h
111
void (*write_replacement) (const wchar_t *, size_t, void*),
include/iconv.h
113
typedef void (*iconv_wchar_wc_to_mb_fallback) (wchar_t,
include/iconv.h
92
typedef void (*iconv_wide_char_hook) (wchar_t wc, void *data);
include/inttypes.h
56
intmax_t wcstoimax(const wchar_t * __restrict,
include/inttypes.h
57
wchar_t ** __restrict, int);
include/inttypes.h
58
uintmax_t wcstoumax(const wchar_t * __restrict,
include/inttypes.h
59
wchar_t ** __restrict, int);
include/printf.h
50
wchar_t spec;
include/printf.h
62
wchar_t pad;
include/ssp/wchar.h
106
__ssp_redirect_raw_impl(wchar_t *, wcpcpy, wcpcpy,
include/ssp/wchar.h
107
(wchar_t *__restrict buf, const wchar_t *__restrict src))
include/ssp/wchar.h
121
__ssp_redirect_raw_impl(wchar_t *, wcpncpy, wcpncpy,
include/ssp/wchar.h
122
(wchar_t *__restrict buf, const wchar_t *__restrict src, size_t len))
include/ssp/wchar.h
134
__ssp_redirect_raw_impl(wchar_t *, wcscat, wcscat,
include/ssp/wchar.h
135
(wchar_t *__restrict buf, const wchar_t *__restrict src))
include/ssp/wchar.h
138
wchar_t *cp;
include/ssp/wchar.h
159
__ssp_redirect_raw_impl(wchar_t *, wcscpy, wcscpy,
include/ssp/wchar.h
160
(wchar_t *__restrict buf, const wchar_t *__restrict src))
include/ssp/wchar.h
173
__ssp_redirect_raw_impl(wchar_t *, wcsncat, wcsncat,
include/ssp/wchar.h
174
(wchar_t *__restrict buf, const wchar_t *__restrict src, size_t len))
include/ssp/wchar.h
189
(wchar_t *__restrict buf, const wchar_t *__restrict src, size_t len))
include/ssp/wchar.h
201
__ssp_redirect_raw_impl(wchar_t *, wcsncpy, wcsncpy,
include/ssp/wchar.h
202
(wchar_t *__restrict buf, const wchar_t *__restrict src, size_t len))
include/ssp/wchar.h
215
(wchar_t *__restrict buf, const wchar_t *__restrict src, size_t len))
include/ssp/wchar.h
38
if (len > __SIZE_T_MAX / sizeof(wchar_t))
include/ssp/wchar.h
40
return (__ssp_overlap(leftp, rightp, len * sizeof(wchar_t)));
include/ssp/wchar.h
55
return (ptrsize / sizeof(wchar_t));
include/ssp/wchar.h
59
__ssp_redirect_raw_impl(wchar_t *, wmemcpy, wmemcpy,
include/ssp/wchar.h
60
(wchar_t *__restrict buf, const wchar_t *__restrict src, size_t len))
include/ssp/wchar.h
72
__ssp_redirect_raw_impl(wchar_t *, wmempcpy, wmempcpy,
include/ssp/wchar.h
73
(wchar_t *__restrict buf, const wchar_t *__restrict src, size_t len))
include/ssp/wchar.h
85
__ssp_redirect_raw_impl(wchar_t *, wmemmove, wmemmove,
include/ssp/wchar.h
86
(wchar_t *buf, const wchar_t *src, size_t len))
include/ssp/wchar.h
96
__ssp_redirect_raw_impl(wchar_t *, wmemset, wmemset,
include/ssp/wchar.h
97
(wchar_t *buf, wchar_t c, size_t len))
include/stdlib.h
105
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
include/stdlib.h
106
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
include/stdlib.h
120
int wctomb(char *, wchar_t);
include/stdlib.h
121
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
112
size_t wcslen(const wchar_t *) __pure;
include/wchar.h
122
wchar_t *
include/wchar.h
123
fgetws(wchar_t * __restrict, int, FILE * __restrict);
include/wchar.h
124
wint_t fputwc(wchar_t, FILE *);
include/wchar.h
125
int fputws(const wchar_t * __restrict, FILE * __restrict);
include/wchar.h
127
int fwprintf(FILE * __restrict, const wchar_t * __restrict, ...);
include/wchar.h
128
int fwscanf(FILE * __restrict, const wchar_t * __restrict, ...);
include/wchar.h
132
size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
include/wchar.h
135
size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
include/wchar.h
137
wint_t putwc(wchar_t, FILE *);
include/wchar.h
138
wint_t putwchar(wchar_t);
include/wchar.h
139
int swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
include/wchar.h
141
int swscanf(const wchar_t * __restrict, const wchar_t * __restrict, ...);
include/wchar.h
143
int vfwprintf(FILE * __restrict, const wchar_t * __restrict,
include/wchar.h
145
int vswprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
include/wchar.h
147
int vwprintf(const wchar_t * __restrict, __va_list);
include/wchar.h
148
size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
include/wchar.h
149
wchar_t *wcscat(wchar_t * __restrict, const wchar_t * __restrict);
include/wchar.h
150
wchar_t *wcschr(const wchar_t *, wchar_t) __pure;
include/wchar.h
151
int wcscmp(const wchar_t *, const wchar_t *) __pure;
include/wchar.h
152
int wcscoll(const wchar_t *, const wchar_t *);
include/wchar.h
153
wchar_t *wcscpy(wchar_t * __restrict, const wchar_t * __restrict);
include/wchar.h
154
size_t wcscspn(const wchar_t *, const wchar_t *) __pure;
include/wchar.h
155
size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t * __restrict,
include/wchar.h
157
wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
include/wchar.h
159
int wcsncmp(const wchar_t *, const wchar_t *, size_t) __pure;
include/wchar.h
160
wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
include/wchar.h
161
wchar_t *wcspbrk(const wchar_t *, const wchar_t *) __pure;
include/wchar.h
162
wchar_t *wcsrchr(const wchar_t *, wchar_t) __pure;
include/wchar.h
163
size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
include/wchar.h
165
size_t wcsspn(const wchar_t *, const wchar_t *) __pure;
include/wchar.h
166
wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict)
include/wchar.h
168
size_t wcsxfrm(wchar_t * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
170
double wcstod(const wchar_t * __restrict, wchar_t ** __restrict);
include/wchar.h
171
wchar_t *wcstok(wchar_t * __restrict, const wchar_t * __restrict,
include/wchar.h
172
wchar_t ** __restrict);
include/wchar.h
173
long wcstol(const wchar_t * __restrict, wchar_t ** __restrict, int);
include/wchar.h
175
wcstoul(const wchar_t * __restrict, wchar_t ** __restrict, int);
include/wchar.h
176
wchar_t *wmemchr(const wchar_t *, wchar_t, size_t) __pure;
include/wchar.h
177
int wmemcmp(const wchar_t *, const wchar_t *, size_t) __pure;
include/wchar.h
178
wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
179
wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
include/wchar.h
181
wchar_t *wmempcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
183
wchar_t *wmemset(wchar_t *, wchar_t, size_t);
include/wchar.h
184
int wprintf(const wchar_t * __restrict, ...);
include/wchar.h
185
int wscanf(const wchar_t * __restrict, ...);
include/wchar.h
200
int vfwscanf(FILE * __restrict, const wchar_t * __restrict,
include/wchar.h
202
int vswscanf(const wchar_t * __restrict, const wchar_t * __restrict,
include/wchar.h
204
int vwscanf(const wchar_t * __restrict, __va_list);
include/wchar.h
205
float wcstof(const wchar_t * __restrict, wchar_t ** __restrict);
include/wchar.h
207
wcstold(const wchar_t * __restrict, wchar_t ** __restrict);
include/wchar.h
211
wcstoll(const wchar_t * __restrict, wchar_t ** __restrict, int);
include/wchar.h
214
wcstoull(const wchar_t * __restrict, wchar_t ** __restrict, int);
include/wchar.h
219
int wcswidth(const wchar_t *, size_t);
include/wchar.h
220
int wcwidth(wchar_t);
include/wchar.h
225
size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
include/wchar.h
227
FILE *open_wmemstream(wchar_t **, size_t *);
include/wchar.h
228
wchar_t *wcpcpy(wchar_t * __restrict, const wchar_t * __restrict);
include/wchar.h
229
wchar_t *wcpncpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
include/wchar.h
230
wchar_t *wcsdup(const wchar_t *) __malloc_like;
include/wchar.h
231
int wcscasecmp(const wchar_t *, const wchar_t *);
include/wchar.h
232
int wcsncasecmp(const wchar_t *, const wchar_t *, size_t n);
include/wchar.h
233
size_t wcsnlen(const wchar_t *, size_t) __pure;
include/wchar.h
234
size_t wcsnrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
include/wchar.h
239
wchar_t *fgetwln(FILE * __restrict, size_t * __restrict);
include/wchar.h
240
size_t wcslcat(wchar_t *, const wchar_t *, size_t);
include/wchar.h
241
size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
include/xlocale/_inttypes.h
40
intmax_t wcstoimax_l(const wchar_t * __restrict, wchar_t ** __restrict,
include/xlocale/_inttypes.h
42
uintmax_t wcstoumax_l(const wchar_t * __restrict, wchar_t ** __restrict,
include/xlocale/_stdlib.h
41
size_t mbstowcs_l(wchar_t * __restrict,
include/xlocale/_stdlib.h
43
int mbtowc_l(wchar_t * __restrict,
include/xlocale/_stdlib.h
53
const wchar_t * __restrict, size_t, locale_t);
include/xlocale/_stdlib.h
54
int wctomb_l(char *, wchar_t, locale_t);
include/xlocale/_wchar.h
100
wchar_t ** __restrict, locale_t);
include/xlocale/_wchar.h
101
long wcstol_l(const wchar_t * __restrict,
include/xlocale/_wchar.h
102
wchar_t ** __restrict, int, locale_t);
include/xlocale/_wchar.h
103
unsigned long wcstoul_l(const wchar_t * __restrict,
include/xlocale/_wchar.h
104
wchar_t ** __restrict, int, locale_t);
include/xlocale/_wchar.h
105
int wcswidth_l(const wchar_t *, size_t, locale_t);
include/xlocale/_wchar.h
107
int wcwidth_l(wchar_t, locale_t);
include/xlocale/_wchar.h
108
int wprintf_l(locale_t, const wchar_t * __restrict, ...);
include/xlocale/_wchar.h
109
int wscanf_l(locale_t, const wchar_t * __restrict, ...);
include/xlocale/_wchar.h
111
const wchar_t * __restrict, __va_list);
include/xlocale/_wchar.h
112
int vswscanf_l(const wchar_t * __restrict, locale_t,
include/xlocale/_wchar.h
113
const wchar_t *__restrict, __va_list);
include/xlocale/_wchar.h
114
int vwscanf_l(locale_t, const wchar_t * __restrict,
include/xlocale/_wchar.h
116
float wcstof_l(const wchar_t * __restrict,
include/xlocale/_wchar.h
117
wchar_t ** __restrict, locale_t);
include/xlocale/_wchar.h
118
long double wcstold_l(const wchar_t * __restrict,
include/xlocale/_wchar.h
119
wchar_t ** __restrict, locale_t);
include/xlocale/_wchar.h
120
long long wcstoll_l(const wchar_t * __restrict,
include/xlocale/_wchar.h
121
wchar_t ** __restrict, int, locale_t);
include/xlocale/_wchar.h
122
unsigned long long wcstoull_l(const wchar_t * __restrict,
include/xlocale/_wchar.h
123
wchar_t ** __restrict, int, locale_t);
include/xlocale/_wchar.h
124
size_t mbsnrtowcs_l(wchar_t * __restrict,
include/xlocale/_wchar.h
128
const wchar_t ** __restrict, size_t, size_t,
include/xlocale/_wchar.h
38
int wcscasecmp_l(const wchar_t *, const wchar_t *,
include/xlocale/_wchar.h
40
int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t,
include/xlocale/_wchar.h
42
int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
include/xlocale/_wchar.h
43
size_t wcsxfrm_l(wchar_t * __restrict,
include/xlocale/_wchar.h
44
const wchar_t * __restrict, size_t, locale_t);
include/xlocale/_wchar.h
58
wchar_t *fgetws_l(wchar_t * __restrict, int, FILE * __restrict,
include/xlocale/_wchar.h
60
wint_t fputwc_l(wchar_t, FILE *, locale_t);
include/xlocale/_wchar.h
61
int fputws_l(const wchar_t * __restrict, FILE * __restrict,
include/xlocale/_wchar.h
64
const wchar_t * __restrict, ...);
include/xlocale/_wchar.h
66
const wchar_t * __restrict, ...);
include/xlocale/_wchar.h
71
size_t mbrtowc_l(wchar_t * __restrict,
include/xlocale/_wchar.h
75
size_t mbsrtowcs_l(wchar_t * __restrict,
include/xlocale/_wchar.h
78
wint_t putwc_l(wchar_t, FILE *, locale_t);
include/xlocale/_wchar.h
79
wint_t putwchar_l(wchar_t, locale_t);
include/xlocale/_wchar.h
80
int swprintf_l(wchar_t * __restrict, size_t n, locale_t,
include/xlocale/_wchar.h
81
const wchar_t * __restrict, ...);
include/xlocale/_wchar.h
82
int swscanf_l(const wchar_t * __restrict, locale_t,
include/xlocale/_wchar.h
83
const wchar_t * __restrict, ...);
include/xlocale/_wchar.h
86
const wchar_t * __restrict, __va_list);
include/xlocale/_wchar.h
87
int vswprintf_l(wchar_t * __restrict, size_t n, locale_t,
include/xlocale/_wchar.h
88
const wchar_t * __restrict, __va_list);
include/xlocale/_wchar.h
89
int vwprintf_l(locale_t, const wchar_t * __restrict,
include/xlocale/_wchar.h
91
size_t wcrtomb_l(char * __restrict, wchar_t,
include/xlocale/_wchar.h
93
size_t wcsftime_l(wchar_t * __restrict, size_t,
include/xlocale/_wchar.h
94
const wchar_t * __restrict,
include/xlocale/_wchar.h
97
const wchar_t ** __restrict, size_t,
include/xlocale/_wchar.h
99
double wcstod_l(const wchar_t * __restrict,
lib/libc/gen/fnmatch.c
236
rangematch(const char *pattern, wchar_t test, const char *string, int flags,
lib/libc/gen/fnmatch.c
240
wchar_t c, c2;
lib/libc/gen/fnmatch.c
245
wchar_t buf[COLLATE_STR_LEN]; /* STR_LEN defined in collate.h */
lib/libc/gen/fnmatch.c
301
wchar_t *wp, sc;
lib/libc/gen/fnmatch.c
70
static int rangematch(const char *, wchar_t, const char *, int, char **,
lib/libc/gen/fnmatch.c
91
wchar_t pc, sc;
lib/libc/gen/glob-compat11.c
1006
g_strchr(const Char *str, wchar_t ch)
lib/libc/gen/glob-compat11.c
120
static const Char *g_strchr(const Char *, wchar_t);
lib/libc/gen/glob-compat11.c
158
wchar_t wc;
lib/libc/gen/glob-compat11.c
390
wchar_t wc;
lib/libc/gen/glob-compat11.c
391
wchar_t wbuf[MAXPATHLEN];
lib/libc/gen/glob-compat11.c
392
wchar_t *wbufend, *dc;
lib/libc/gen/glob-compat11.c
725
wchar_t wc;
lib/libc/gen/glob.c
1068
g_strchr(const Char *str, wchar_t ch)
lib/libc/gen/glob.c
155
static const Char *g_strchr(const Char *, wchar_t);
lib/libc/gen/glob.c
192
wchar_t wc;
lib/libc/gen/glob.c
452
wchar_t wc;
lib/libc/gen/glob.c
453
wchar_t wbuf[MAXPATHLEN];
lib/libc/gen/glob.c
454
wchar_t *wbufend, *dc;
lib/libc/gen/glob.c
787
wchar_t wc;
lib/libc/iconv/citrus_stdenc_template.h
125
wchar_t wc;
lib/libc/iconv/citrus_stdenc_template.h
145
wchar_t wc;
lib/libc/locale/ascii.c
109
_ascii_wcrtomb(char * __restrict s, wchar_t wc,
lib/libc/locale/ascii.c
125
_ascii_mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/ascii.c
160
_ascii_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/ascii.c
163
const wchar_t *s;
lib/libc/locale/ascii.c
51
static size_t _ascii_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/ascii.c
54
static size_t _ascii_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/ascii.c
57
static size_t _ascii_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/ascii.c
59
static size_t _ascii_wcsnrtombs(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/ascii.c
89
_ascii_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/big5.c
102
wchar_t wc;
lib/libc/locale/big5.c
159
_BIG5_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
lib/libc/locale/big5.c
183
_BIG5_mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/big5.c
190
_BIG5_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/big5.c
51
static size_t _BIG5_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/big5.c
54
static size_t _BIG5_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/big5.c
56
static size_t _BIG5_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/big5.c
60
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/big5.c
64
wchar_t ch;
lib/libc/locale/big5.c
98
_BIG5_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/btowc.c
44
wchar_t wc;
lib/libc/locale/collate.c
236
substsearch(struct xlocale_collate *table, const wchar_t key, int pass)
lib/libc/locale/collate.c
257
chainsearch(struct xlocale_collate *table, const wchar_t *key, int *len)
lib/libc/locale/collate.c
289
largesearch(struct xlocale_collate *table, const wchar_t key)
lib/libc/locale/collate.c
315
_collate_lookup(struct xlocale_collate *table, const wchar_t *t, int *len,
lib/libc/locale/collate.c
418
_collate_wxfrm(struct xlocale_collate *table, const wchar_t *src, wchar_t *xf,
lib/libc/locale/collate.c
423
const wchar_t *t;
lib/libc/locale/collate.c
424
wchar_t *tr = NULL;
lib/libc/locale/collate.c
457
wchar_t *bp, *fp, c;
lib/libc/locale/collate.c
470
t = (const wchar_t *)tr;
lib/libc/locale/collate.c
563
_collate_sxfrm(struct xlocale_collate *table, const wchar_t *src, char *xf,
lib/libc/locale/collate.c
568
const wchar_t *t;
lib/libc/locale/collate.c
569
wchar_t *tr = NULL;
lib/libc/locale/collate.c
604
wchar_t *bp, *fp, c;
lib/libc/locale/collate.c
617
t = (const wchar_t *)tr;
lib/libc/locale/collate.c
691
__collate_equiv_value(locale_t locale, const wchar_t *str, size_t len)
lib/libc/locale/collate.c
720
wchar_t name[COLLATE_STR_LEN];
lib/libc/locale/collate.c
750
__collate_collating_symbol(wchar_t *dst, size_t dlen, const char *src,
lib/libc/locale/collate.c
753
wchar_t wname[COLLATE_STR_LEN];
lib/libc/locale/collate.c
754
wchar_t w, *wp;
lib/libc/locale/collate.c
829
wchar_t wname[COLLATE_STR_LEN];
lib/libc/locale/collate.c
830
wchar_t w, *wp;
lib/libc/locale/collate.c
900
__collate_equiv_match(int equiv_class, wchar_t *dst, size_t dlen, wchar_t start,
lib/libc/locale/collate.c
903
wchar_t w;
lib/libc/locale/collate.c
906
wchar_t buf[COLLATE_STR_LEN], *wp;
lib/libc/locale/collate.h
105
wchar_t str[COLLATE_STR_LEN];
lib/libc/locale/collate.h
133
size_t __collate_collating_symbol(wchar_t *, size_t, const char *, size_t,
lib/libc/locale/collate.h
136
int __collate_equiv_value(locale_t, const wchar_t *, size_t);
lib/libc/locale/collate.h
137
size_t __collate_equiv_match(int, wchar_t *, size_t, wchar_t, const char *,
lib/libc/locale/collate.h
140
void _collate_lookup(struct xlocale_collate *,const wchar_t *, int *, int *,
lib/libc/locale/collate.h
143
int __wcollate_range_cmp(wchar_t, wchar_t);
lib/libc/locale/collate.h
144
size_t _collate_wxfrm(struct xlocale_collate *, const wchar_t *, wchar_t *,
lib/libc/locale/collate.h
146
size_t _collate_sxfrm(struct xlocale_collate *, const wchar_t *, char *,
lib/libc/locale/collcmp.c
53
int __wcollate_range_cmp(wchar_t c1, wchar_t c2)
lib/libc/locale/collcmp.c
55
wchar_t s1[2], s2[2];
lib/libc/locale/euc.c
100
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
106
wchar_t ch;
lib/libc/locale/euc.c
137
_EUC_CN_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/euc.c
144
_EUC_CN_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/euc.c
152
_EUC_CN_wcrtomb(char * __restrict s, wchar_t wc,
lib/libc/locale/euc.c
159
_EUC_CN_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/euc.c
184
_EUC_KR_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/euc.c
191
_EUC_KR_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/euc.c
199
_EUC_KR_wcrtomb(char * __restrict s, wchar_t wc,
lib/libc/locale/euc.c
206
_EUC_KR_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/euc.c
231
_EUC_JP_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/euc.c
238
_EUC_JP_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/euc.c
246
_EUC_JP_wcrtomb(char * __restrict s, wchar_t wc,
lib/libc/locale/euc.c
253
_EUC_JP_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/euc.c
278
_EUC_TW_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/euc.c
285
_EUC_TW_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/euc.c
293
_EUC_TW_wcrtomb(char * __restrict s, wchar_t wc,
lib/libc/locale/euc.c
300
_EUC_TW_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/euc.c
311
_EUC_mbrtowc_impl(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/euc.c
317
wchar_t wc = 0;
lib/libc/locale/euc.c
385
_EUC_wcrtomb_impl(char * __restrict s, wchar_t wc,
lib/libc/locale/euc.c
391
wchar_t nm;
lib/libc/locale/euc.c
54
static size_t _EUC_mbrtowc_impl(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
56
static size_t _EUC_wcrtomb_impl(char * __restrict, wchar_t,
lib/libc/locale/euc.c
59
static size_t _EUC_CN_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
61
static size_t _EUC_JP_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
63
static size_t _EUC_KR_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
65
static size_t _EUC_TW_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/euc.c
68
static size_t _EUC_CN_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
70
static size_t _EUC_JP_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
72
static size_t _EUC_KR_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
74
static size_t _EUC_TW_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/euc.c
77
static size_t _EUC_CN_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
80
static size_t _EUC_JP_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
83
static size_t _EUC_KR_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
86
static size_t _EUC_TW_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/euc.c
91
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
94
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/euc.c
97
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gb18030.c
176
_GB18030_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
lib/libc/locale/gb18030.c
239
_GB18030_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/gb18030.c
248
const wchar_t ** __restrict src, size_t nwc, size_t len,
lib/libc/locale/gb18030.c
50
static size_t _GB18030_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/gb18030.c
53
static size_t _GB18030_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/gb18030.c
55
static size_t _GB18030_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/gb18030.c
59
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gb18030.c
92
_GB18030_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/gb18030.c
96
wchar_t wch;
lib/libc/locale/gb2312.c
109
_GB2312_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/gb2312.c
113
wchar_t wc;
lib/libc/locale/gb2312.c
150
_GB2312_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
lib/libc/locale/gb2312.c
174
_GB2312_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/gb2312.c
183
const wchar_t ** __restrict src, size_t nwc, size_t len,
lib/libc/locale/gb2312.c
45
static size_t _GB2312_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/gb2312.c
48
static size_t _GB2312_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/gb2312.c
50
static size_t _GB2312_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/gb2312.c
54
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gbk.c
100
_GBK_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/gbk.c
104
wchar_t wc;
lib/libc/locale/gbk.c
161
_GBK_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
lib/libc/locale/gbk.c
185
_GBK_mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/gbk.c
192
_GBK_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/gbk.c
53
static size_t _GBK_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/gbk.c
56
static size_t _GBK_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/gbk.c
58
static size_t _GBK_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/gbk.c
62
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/gbk.c
66
wchar_t ch;
lib/libc/locale/mblocal.h
109
typedef size_t (*mbrtowc_pfn_t)(wchar_t * __restrict,
lib/libc/locale/mblocal.h
111
typedef size_t (*wcrtomb_pfn_t)(char * __restrict, wchar_t,
lib/libc/locale/mblocal.h
113
size_t __mbsnrtowcs_std(wchar_t * __restrict, const char ** __restrict,
lib/libc/locale/mblocal.h
115
size_t __wcsnrtombs_std(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/mblocal.h
51
size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/mblocal.h
54
size_t (*__mbsnrtowcs)(wchar_t * __restrict, const char ** __restrict,
lib/libc/locale/mblocal.h
56
size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict);
lib/libc/locale/mblocal.h
57
size_t (*__wcsnrtombs)(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/mbrtowc.c
38
mbrtowc_l(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/mbrtowc.c
48
mbrtowc(wchar_t * __restrict pwc, const char * __restrict s,
lib/libc/locale/mbsnrtowcs.c
42
mbsnrtowcs_l(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/mbsnrtowcs.c
51
mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/mbsnrtowcs.c
58
__mbsnrtowcs_std(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/mbsnrtowcs.c
64
wchar_t wc;
lib/libc/locale/mbsrtowcs.c
41
mbsrtowcs_l(wchar_t * __restrict dst, const char ** __restrict src, size_t len,
lib/libc/locale/mbsrtowcs.c
50
mbsrtowcs(wchar_t * __restrict dst, const char ** __restrict src, size_t len,
lib/libc/locale/mbstowcs.c
40
mbstowcs_l(wchar_t * __restrict pwcs, const char * __restrict s, size_t n, locale_t locale)
lib/libc/locale/mbstowcs.c
52
mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n)
lib/libc/locale/mbtowc.c
40
mbtowc_l(wchar_t * __restrict pwc, const char * __restrict s, size_t n, locale_t locale)
lib/libc/locale/mbtowc.c
64
mbtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n)
lib/libc/locale/mskanji.c
152
_MSKanji_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
lib/libc/locale/mskanji.c
174
_MSKanji_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/mskanji.c
183
const wchar_t ** __restrict src, size_t nwc,
lib/libc/locale/mskanji.c
55
static size_t _MSKanji_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/mskanji.c
58
static size_t _MSKanji_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/mskanji.c
60
static size_t _MSKanji_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/mskanji.c
64
const wchar_t ** __restrict, size_t, size_t,
lib/libc/locale/mskanji.c
68
wchar_t ch;
lib/libc/locale/mskanji.c
94
_MSKanji_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/mskanji.c
98
wchar_t wc;
lib/libc/locale/none.c
112
_none_wcrtomb(char * __restrict s, wchar_t wc,
lib/libc/locale/none.c
128
_none_mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/none.c
153
_none_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/none.c
156
const wchar_t *s;
lib/libc/locale/none.c
53
static size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/none.c
56
static size_t _none_mbsnrtowcs(wchar_t * __restrict dst,
lib/libc/locale/none.c
59
static size_t _none_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/none.c
61
static size_t _none_wcsnrtombs(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/none.c
96
_none_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/utf8.c
210
_UTF8_mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src,
lib/libc/locale/utf8.c
216
wchar_t wc;
lib/libc/locale/utf8.c
269
*dst = (wchar_t)*s;
lib/libc/locale/utf8.c
292
_UTF8_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
lib/libc/locale/utf8.c
353
_UTF8_wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/utf8.c
358
const wchar_t *s;
lib/libc/locale/utf8.c
47
static size_t _UTF8_mbrtowc(wchar_t * __restrict, const char * __restrict,
lib/libc/locale/utf8.c
50
static size_t _UTF8_mbsnrtowcs(wchar_t * __restrict,
lib/libc/locale/utf8.c
53
static size_t _UTF8_wcrtomb(char * __restrict, wchar_t,
lib/libc/locale/utf8.c
55
static size_t _UTF8_wcsnrtombs(char * __restrict, const wchar_t ** __restrict,
lib/libc/locale/utf8.c
59
wchar_t ch;
lib/libc/locale/utf8.c
61
wchar_t lbound;
lib/libc/locale/utf8.c
93
_UTF8_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
lib/libc/locale/utf8.c
98
wchar_t lbound, wch;
lib/libc/locale/wcrtomb.c
38
wcrtomb_l(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps,
lib/libc/locale/wcrtomb.c
48
wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps)
lib/libc/locale/wcsftime.c
117
wcsftime(wchar_t * __restrict wcs, size_t maxsize,
lib/libc/locale/wcsftime.c
118
const wchar_t * __restrict format, const struct tm * __restrict timeptr)
lib/libc/locale/wcsftime.c
55
wcsftime_l(wchar_t * __restrict wcs, size_t maxsize,
lib/libc/locale/wcsftime.c
56
const wchar_t * __restrict format, const struct tm * __restrict timeptr,
lib/libc/locale/wcsftime.c
63
const wchar_t *formatp;
lib/libc/locale/wcsnrtombs.c
43
wcsnrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc,
lib/libc/locale/wcsnrtombs.c
52
wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc,
lib/libc/locale/wcsnrtombs.c
60
__wcsnrtombs_std(char * __restrict dst, const wchar_t ** __restrict src,
lib/libc/locale/wcsnrtombs.c
66
const wchar_t *s;
lib/libc/locale/wcsrtombs.c
41
wcsrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t len,
lib/libc/locale/wcsrtombs.c
51
wcsrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t len,
lib/libc/locale/wcstod.c
102
*endptr = (wchar_t *)nptr + (end - buf);
lib/libc/locale/wcstod.c
112
wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr)
lib/libc/locale/wcstod.c
49
wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstod.c
56
const wchar_t *wcp;
lib/libc/locale/wcstod.c
81
*endptr = (wchar_t *)nptr;
lib/libc/locale/wcstod.c
86
*endptr = (wchar_t *)nptr;
lib/libc/locale/wcstof.c
43
wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstof.c
50
const wchar_t *wcp;
lib/libc/locale/wcstof.c
65
*endptr = (wchar_t *)nptr;
lib/libc/locale/wcstof.c
70
*endptr = (wchar_t *)nptr;
lib/libc/locale/wcstof.c
79
*endptr = (wchar_t *)nptr + (end - buf);
lib/libc/locale/wcstof.c
89
wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr)
lib/libc/locale/wcstoimax.c
132
*endptr = (wchar_t *)(any ? s - 1 : nptr);
lib/libc/locale/wcstoimax.c
136
wcstoimax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoimax.c
48
wcstoimax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoimax.c
51
const wchar_t *s;
lib/libc/locale/wcstoimax.c
53
wchar_t c;
lib/libc/locale/wcstol.c
132
*endptr = (wchar_t *)(any ? s - 1 : nptr);
lib/libc/locale/wcstol.c
136
wcstol(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base)
lib/libc/locale/wcstol.c
48
wcstol_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int
lib/libc/locale/wcstol.c
51
const wchar_t *s;
lib/libc/locale/wcstol.c
53
wchar_t c;
lib/libc/locale/wcstold.c
43
wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstold.c
50
const wchar_t *wcp;
lib/libc/locale/wcstold.c
65
*endptr = (wchar_t *)nptr;
lib/libc/locale/wcstold.c
70
*endptr = (wchar_t *)nptr;
lib/libc/locale/wcstold.c
79
*endptr = (wchar_t *)nptr + (end - buf);
lib/libc/locale/wcstold.c
89
wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr)
lib/libc/locale/wcstoll.c
132
*endptr = (wchar_t *)(any ? s - 1 : nptr);
lib/libc/locale/wcstoll.c
136
wcstoll(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base)
lib/libc/locale/wcstoll.c
48
wcstoll_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoll.c
51
const wchar_t *s;
lib/libc/locale/wcstoll.c
53
wchar_t c;
lib/libc/locale/wcstombs.c
40
wcstombs_l(char * __restrict s, const wchar_t * __restrict pwcs, size_t n,
lib/libc/locale/wcstombs.c
45
const wchar_t *pwcsp;
lib/libc/locale/wcstombs.c
53
wcstombs(char * __restrict s, const wchar_t * __restrict pwcs, size_t n)
lib/libc/locale/wcstoul.c
130
*endptr = (wchar_t *)(any ? s - 1 : nptr);
lib/libc/locale/wcstoul.c
134
wcstoul(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, int base)
lib/libc/locale/wcstoul.c
48
wcstoul_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoul.c
51
const wchar_t *s;
lib/libc/locale/wcstoul.c
53
wchar_t c;
lib/libc/locale/wcstoull.c
130
*endptr = (wchar_t *)(any ? s - 1 : nptr);
lib/libc/locale/wcstoull.c
134
wcstoull(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoull.c
48
wcstoull_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoull.c
51
const wchar_t *s;
lib/libc/locale/wcstoull.c
53
wchar_t c;
lib/libc/locale/wcstoumax.c
130
*endptr = (wchar_t *)(any ? s - 1 : nptr);
lib/libc/locale/wcstoumax.c
134
wcstoumax(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoumax.c
48
wcstoumax_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr,
lib/libc/locale/wcstoumax.c
51
const wchar_t *s;
lib/libc/locale/wcstoumax.c
53
wchar_t c;
lib/libc/locale/wctomb.c
39
wctomb_l(char *s, wchar_t wchar, locale_t locale)
lib/libc/locale/wctomb.c
56
wctomb(char *s, wchar_t wchar)
lib/libc/locale/wcwidth.c
52
wcwidth(wchar_t wc)
lib/libc/locale/wcwidth.c
57
wcwidth_l(wchar_t wc, locale_t locale)
lib/libc/regex/regcomp.c
1070
p_range_cmp(wchar_t c1, wchar_t c2)
lib/libc/regex/regcomp.c
1076
wchar_t s1[2], s2[2];
lib/libc/regex/regcomp.c
125
static int p_range_cmp(wchar_t c1, wchar_t c2);
lib/libc/regex/regcomp.c
1285
wchar_t wc;
lib/libc/regex/regcomp.c
1532
wchar_t wc;
lib/libc/regex/regexec.c
62
wchar_t wc;
lib/libc/stdio/fgetwc.c
77
wchar_t wc;
lib/libc/stdio/fgetwln.c
42
wchar_t *fgetwln_l(FILE * __restrict, size_t *, locale_t);
lib/libc/stdio/fgetwln.c
44
wchar_t *
lib/libc/stdio/fgetwln.c
47
wchar_t *ret;
lib/libc/stdio/fgetwln.c
63
if (len * sizeof(wchar_t) >= fp->_lb._size &&
lib/libc/stdio/fgetwln.c
64
__slbexpand(fp, (len + GROW) * sizeof(wchar_t))) {
lib/libc/stdio/fgetwln.c
68
*((wchar_t *)fp->_lb._base + len++) = wc;
lib/libc/stdio/fgetwln.c
81
ret = (wchar_t *)fp->_lb._base;
lib/libc/stdio/fgetwln.c
92
wchar_t *
lib/libc/stdio/fgetws.c
125
wchar_t *
lib/libc/stdio/fgetws.c
126
fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp)
lib/libc/stdio/fgetws.c
44
wchar_t *
lib/libc/stdio/fgetws.c
45
fgetws_l(wchar_t * __restrict ws, int n, FILE * __restrict fp, locale_t locale)
lib/libc/stdio/fgetws.c
48
wchar_t *wsp, *ret;
lib/libc/stdio/fputwc.c
49
__fputwc(wchar_t wc, FILE *fp, locale_t locale)
lib/libc/stdio/fputwc.c
71
fputwc_l(wchar_t wc, FILE *fp, locale_t locale)
lib/libc/stdio/fputwc.c
84
fputwc(wchar_t wc, FILE *fp)
lib/libc/stdio/fputws.c
46
fputws_l(const wchar_t * __restrict ws, FILE * __restrict fp, locale_t locale)
lib/libc/stdio/fputws.c
52
const wchar_t *wsp;
lib/libc/stdio/fputws.c
82
fputws(const wchar_t * __restrict ws, FILE * __restrict fp)
lib/libc/stdio/fwprintf.c
40
fwprintf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/fwprintf.c
52
fwprintf_l(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/fwscanf.c
40
fwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/fwscanf.c
52
fwscanf_l(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/local.h
62
extern wint_t __fputwc(wchar_t, FILE *, locale_t);
lib/libc/stdio/local.h
83
extern int __vfwprintf(FILE *, locale_t, const wchar_t *, __va_list);
lib/libc/stdio/local.h
84
extern int __vfwscanf(FILE * __restrict, locale_t, const wchar_t * __restrict,
lib/libc/stdio/open_wmemstream.c
234
open_wmemstream(wchar_t **bufp, size_t *sizep)
lib/libc/stdio/open_wmemstream.c
244
*bufp = calloc(1, sizeof(wchar_t));
lib/libc/stdio/open_wmemstream.c
47
wchar_t **bufp;
lib/libc/stdio/open_wmemstream.c
57
wchar_t *buf;
lib/libc/stdio/open_wmemstream.c
60
if (newoff < 0 || newoff >= SSIZE_MAX / sizeof(wchar_t))
lib/libc/stdio/open_wmemstream.c
61
newsize = SSIZE_MAX / sizeof(wchar_t) - 1;
lib/libc/stdio/open_wmemstream.c
65
buf = reallocarray(*ms->bufp, newsize + 1, sizeof(wchar_t));
lib/libc/stdio/printf-pos.c
214
addwaster(struct typetable *types, wchar_t **fmtp)
lib/libc/stdio/printf-pos.c
216
wchar_t *cp;
lib/libc/stdio/printf-pos.c
436
__find_warguments (const wchar_t *fmt0, va_list ap, union arg **argtable)
lib/libc/stdio/printf-pos.c
438
wchar_t *fmt; /* format string */
lib/libc/stdio/printf-pos.c
439
wchar_t ch; /* character from fmt */
lib/libc/stdio/printf-pos.c
445
fmt = (wchar_t *)fmt0;
lib/libc/stdio/printf-pos.c
754
(*argtable) [n].pwchararg = va_arg (ap, wchar_t *);
lib/libc/stdio/printflocal.h
88
wchar_t *pwchararg;
lib/libc/stdio/printflocal.h
93
int __find_warguments(const wchar_t *, va_list, union arg **);
lib/libc/stdio/putwc.c
49
putwc_l(wchar_t wc, FILE *fp, locale_t locale)
lib/libc/stdio/putwc.c
55
putwc(wchar_t wc, FILE *fp)
lib/libc/stdio/putwchar.c
48
putwchar_l(wchar_t wc, locale_t locale)
lib/libc/stdio/putwchar.c
54
putwchar(wchar_t wc)
lib/libc/stdio/swprintf.c
40
swprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/swprintf.c
52
swprintf_l(wchar_t * __restrict s, size_t n, locale_t locale,
lib/libc/stdio/swprintf.c
53
const wchar_t * __restrict fmt, ...)
lib/libc/stdio/swscanf.c
40
swscanf(const wchar_t * __restrict str, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/swscanf.c
52
swscanf_l(const wchar_t * __restrict str, locale_t locale,
lib/libc/stdio/swscanf.c
53
const wchar_t * __restrict fmt, ...)
lib/libc/stdio/vfprintf.c
212
__wcsconv(wchar_t *wcsarg, int prec)
lib/libc/stdio/vfprintf.c
217
wchar_t *p;
lib/libc/stdio/vfprintf.c
225
nbytes = wcsrtombs(NULL, (const wchar_t **)&p, 0, &mbs);
lib/libc/stdio/vfprintf.c
255
if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p,
lib/libc/stdio/vfprintf.c
669
(wchar_t)GETARG(wint_t), &mbs);
lib/libc/stdio/vfprintf.c
74
static char *__wcsconv(wchar_t *, int);
lib/libc/stdio/vfprintf.c
878
wchar_t *wcp;
lib/libc/stdio/vfprintf.c
882
if ((wcp = GETARG(wchar_t *)) == NULL)
lib/libc/stdio/vfscanf.c
147
convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfscanf.c
158
*wcp++ = (wchar_t)wi;
lib/libc/stdio/vfscanf.c
206
convert_wccl(FILE *fp, wchar_t *wcp, int width, const char *ccltab,
lib/libc/stdio/vfscanf.c
224
*wcp++ = (wchar_t)wi;
lib/libc/stdio/vfscanf.c
268
convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfscanf.c
285
*wcp++ = (wchar_t)wi;
lib/libc/stdio/vfscanf.c
746
nr = convert_wchar(fp, GETARG(wchar_t *),
lib/libc/stdio/vfscanf.c
760
nr = convert_wccl(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfscanf.c
779
nr = convert_wstring(fp, GETARG(wchar_t *),
lib/libc/stdio/vfwprintf.c
102
static inline wchar_t
lib/libc/stdio/vfwprintf.c
106
wchar_t thousep;
lib/libc/stdio/vfwprintf.c
187
wchar_t *p;
lib/libc/stdio/vfwprintf.c
192
p = (wchar_t *)iov->iov_base;
lib/libc/stdio/vfwprintf.c
209
__sbprintf(FILE *fp, locale_t locale, const wchar_t *fmt, va_list ap)
lib/libc/stdio/vfwprintf.c
246
__xfputwc(wchar_t wc, FILE *fp, locale_t locale)
lib/libc/stdio/vfwprintf.c
276
static wchar_t *
lib/libc/stdio/vfwprintf.c
280
wchar_t *convbuf, *wcp;
lib/libc/stdio/vfwprintf.c
348
const wchar_t * __restrict fmt0, va_list ap)
lib/libc/stdio/vfwprintf.c
364
vfwprintf(FILE * __restrict fp, const wchar_t * __restrict fmt0, va_list ap)
lib/libc/stdio/vfwprintf.c
380
__vfwprintf(FILE *fp, locale_t locale, const wchar_t *fmt0, va_list ap)
lib/libc/stdio/vfwprintf.c
382
wchar_t *fmt; /* format string */
lib/libc/stdio/vfwprintf.c
383
wchar_t ch; /* character from fmt */
lib/libc/stdio/vfwprintf.c
385
wchar_t *cp; /* handy char pointer (short term usage) */
lib/libc/stdio/vfwprintf.c
390
wchar_t sign; /* sign prefix (' ', '+', '-', or \0) */
lib/libc/stdio/vfwprintf.c
406
wchar_t decimal_point; /* locale specific decimal point */
lib/libc/stdio/vfwprintf.c
417
wchar_t expstr[MAXEXPDIG+2]; /* buffer for exponent string: e+ZZZ */
lib/libc/stdio/vfwprintf.c
428
wchar_t buf[BUF]; /* buffer with space for digits of uintmax_t */
lib/libc/stdio/vfwprintf.c
429
wchar_t ox[2]; /* space for 0x hex-prefix */
lib/libc/stdio/vfwprintf.c
434
wchar_t *convbuf; /* multibyte to wide conversion result */
lib/libc/stdio/vfwprintf.c
532
fmt = (wchar_t *)fmt0;
lib/libc/stdio/vfwprintf.c
71
static int __sbprintf(FILE *, locale_t, const wchar_t *, va_list) __noinline;
lib/libc/stdio/vfwprintf.c
72
static wint_t __xfputwc(wchar_t, FILE *, locale_t);
lib/libc/stdio/vfwprintf.c
73
static wchar_t *__mbsconv(char *, int);
lib/libc/stdio/vfwprintf.c
732
*(cp = buf) = (wchar_t)GETARG(wint_t);
lib/libc/stdio/vfwprintf.c
734
*(cp = buf) = (wchar_t)btowc(GETARG(int));
lib/libc/stdio/vfwprintf.c
75
#define CHAR wchar_t
lib/libc/stdio/vfwprintf.c
79
wchar_t thousands_sep; /* locale-specific thousands separator */
lib/libc/stdio/vfwprintf.c
88
static inline wchar_t
lib/libc/stdio/vfwprintf.c
92
wchar_t decpt;
lib/libc/stdio/vfwprintf.c
933
if ((cp = GETARG(wchar_t *)) == NULL)
lib/libc/stdio/vfwscanf.c
150
convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
158
*wcp++ = (wchar_t)wi;
lib/libc/stdio/vfwscanf.c
195
convert_wccl(FILE *fp, wchar_t *wcp, int width, const struct ccl *ccl,
lib/libc/stdio/vfwscanf.c
198
wchar_t *wcp0;
lib/libc/stdio/vfwscanf.c
213
*wcp++ = (wchar_t)wi;
lib/libc/stdio/vfwscanf.c
252
convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
267
*wcp++ = (wchar_t)wi;
lib/libc/stdio/vfwscanf.c
286
parseint_fsm(wchar_t c, enum parseint_state *state, int *base)
lib/libc/stdio/vfwscanf.c
403
parseint(FILE *fp, wchar_t * __restrict buf, int width, int base,
lib/libc/stdio/vfwscanf.c
407
wchar_t *wcp;
lib/libc/stdio/vfwscanf.c
416
*wcp++ = (wchar_t)c;
lib/libc/stdio/vfwscanf.c
441
const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/vfwscanf.c
453
vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/vfwscanf.c
463
const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/vfwscanf.c
475
wchar_t buf[BUF]; /* buffer for numeric conversions */
lib/libc/stdio/vfwscanf.c
728
nr = convert_wchar(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfwscanf.c
744
nr = convert_wccl(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfwscanf.c
763
nr = convert_wstring(fp, GETARG(wchar_t *),
lib/libc/stdio/vfwscanf.c
846
parsefloat(FILE *fp, wchar_t *buf, wchar_t *end, locale_t locale)
lib/libc/stdio/vfwscanf.c
850
wchar_t *commit, *p;
lib/libc/stdio/vfwscanf.c
856
wchar_t c;
lib/libc/stdio/vfwscanf.c
857
wchar_t decpt;
lib/libc/stdio/vfwscanf.c
87
static int parsefloat(FILE *, wchar_t *, wchar_t *, locale_t);
lib/libc/stdio/vfwscanf.c
90
const wchar_t *start; /* character class start */
lib/libc/stdio/vfwscanf.c
91
const wchar_t *end; /* character class end */
lib/libc/stdio/vswprintf.c
106
vswprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt,
lib/libc/stdio/vswprintf.c
46
vswprintf_l(wchar_t * __restrict s, size_t n, locale_t locale,
lib/libc/stdio/vswprintf.c
47
const wchar_t * __restrict fmt, __va_list ap)
lib/libc/stdio/vswscanf.c
59
vswscanf_l(const wchar_t * __restrict str, locale_t locale,
lib/libc/stdio/vswscanf.c
60
const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/vswscanf.c
68
const wchar_t *strp;
lib/libc/stdio/vswscanf.c
93
vswscanf(const wchar_t * __restrict str, const wchar_t * __restrict fmt,
lib/libc/stdio/vwprintf.c
40
vwprintf(const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/vwprintf.c
45
vwprintf_l(locale_t locale, const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/vwscanf.c
40
vwscanf(const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/vwscanf.c
45
vwscanf_l(locale_t locale, const wchar_t * __restrict fmt, va_list ap)
lib/libc/stdio/wprintf.c
40
wprintf(const wchar_t * __restrict fmt, ...)
lib/libc/stdio/wprintf.c
52
wprintf_l(locale_t locale, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/wscanf.c
40
wscanf(const wchar_t * __restrict fmt, ...)
lib/libc/stdio/wscanf.c
52
wscanf_l(locale_t locale, const wchar_t * __restrict fmt, ...)
lib/libc/stdio/xprintf.c
495
args[ch].pwchararg = va_arg (ap, wchar_t *);
lib/libc/stdio/xprintf.c
67
wchar_t *pwchararg;
lib/libc/stdio/xprintf_str.c
124
wchar_t *wcp;
lib/libc/stdio/xprintf_str.c
177
mbseqlen = wcrtomb(buf, (wchar_t)ii, &mbs);
lib/libc/stdio/xprintf_str.c
53
__wcsconv(wchar_t *wcsarg, int prec)
lib/libc/stdio/xprintf_str.c
58
wchar_t *p;
lib/libc/stdio/xprintf_str.c
66
nbytes = wcsrtombs(NULL, (const wchar_t **)&p, 0, &mbs);
lib/libc/stdio/xprintf_str.c
96
if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p,
lib/libc/string/strcoll.c
53
wchar_t *t1 = NULL, *t2 = NULL;
lib/libc/string/strcoll.c
54
wchar_t *w1 = NULL, *w2 = NULL;
lib/libc/string/strcoll.c
87
if ((t1 = malloc(sz1 * sizeof (wchar_t))) == NULL)
lib/libc/string/strcoll.c
90
if ((t2 = malloc(sz2 * sizeof (wchar_t))) == NULL)
lib/libc/string/strxfrm.c
55
wchar_t *wcs = NULL;
lib/libc/string/strxfrm.c
77
if ((wcs = malloc((slen + 1) * sizeof (wchar_t))) == NULL)
lib/libc/string/wcpcpy.c
37
wchar_t *
lib/libc/string/wcpcpy.c
38
__ssp_real(wcpcpy)(wchar_t * __restrict to, const wchar_t * __restrict from)
lib/libc/string/wcpncpy.c
32
wchar_t *
lib/libc/string/wcpncpy.c
33
__ssp_real(wcpncpy)(wchar_t * __restrict dst, const wchar_t * __restrict src,
lib/libc/string/wcpncpy.c
39
wchar_t *ret = dst;
lib/libc/string/wcscasecmp.c
33
wcscasecmp(const wchar_t *s1, const wchar_t *s2)
lib/libc/string/wcscasecmp.c
35
wchar_t c1, c2;
lib/libc/string/wcscat.c
40
wchar_t *
lib/libc/string/wcscat.c
41
__ssp_real(wcscat)(wchar_t * __restrict s1, const wchar_t * __restrict s2)
lib/libc/string/wcscat.c
43
wchar_t *cp;
lib/libc/string/wcschr.c
31
wchar_t *
lib/libc/string/wcschr.c
32
wcschr(const wchar_t *s, wchar_t c)
lib/libc/string/wcschr.c
38
return ((wchar_t *)s);
lib/libc/string/wcscmp.c
44
wcscmp(const wchar_t *s1, const wchar_t *s2)
lib/libc/string/wcscoll.c
223
wcscoll(const wchar_t *ws1, const wchar_t *ws2)
lib/libc/string/wcscoll.c
42
wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t locale)
lib/libc/string/wcscoll.c
45
wchar_t *tr1 = NULL, *tr2 = NULL;
lib/libc/string/wcscoll.c
77
const wchar_t *w1 = ws1;
lib/libc/string/wcscoll.c
78
const wchar_t *w2 = ws2;
lib/libc/string/wcscoll.c
88
wchar_t *bp, *fp, c;
lib/libc/string/wcscpy.c
40
wchar_t *
lib/libc/string/wcscpy.c
41
__ssp_real(wcscpy)(wchar_t * __restrict s1, const wchar_t * __restrict s2)
lib/libc/string/wcscpy.c
43
wchar_t *cp;
lib/libc/string/wcscspn.c
40
wcscspn(const wchar_t *s, const wchar_t *set)
lib/libc/string/wcscspn.c
42
const wchar_t *p;
lib/libc/string/wcscspn.c
43
const wchar_t *q;
lib/libc/string/wcsdup.c
32
wchar_t *
lib/libc/string/wcsdup.c
33
wcsdup(const wchar_t *s)
lib/libc/string/wcsdup.c
35
wchar_t *copy;
lib/libc/string/wcsdup.c
39
if ((copy = malloc(len * sizeof(wchar_t))) == NULL)
lib/libc/string/wcslcat.c
50
__ssp_real(wcslcat)(wchar_t *dst, const wchar_t *src, size_t siz)
lib/libc/string/wcslcat.c
52
wchar_t *d = dst;
lib/libc/string/wcslcat.c
53
const wchar_t *s = src;
lib/libc/string/wcslcpy.c
48
__ssp_real(wcslcpy)(wchar_t *dst, const wchar_t *src, size_t siz)
lib/libc/string/wcslcpy.c
50
wchar_t *d = dst;
lib/libc/string/wcslcpy.c
51
const wchar_t *s = src;
lib/libc/string/wcslen.c
40
wcslen(const wchar_t *s)
lib/libc/string/wcslen.c
42
const wchar_t *p;
lib/libc/string/wcsncasecmp.c
33
wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncasecmp.c
35
wchar_t c1, c2;
lib/libc/string/wcsncat.c
40
wchar_t *
lib/libc/string/wcsncat.c
41
__ssp_real(wcsncat)(wchar_t * __restrict s1, const wchar_t * __restrict s2,
lib/libc/string/wcsncat.c
44
wchar_t *p;
lib/libc/string/wcsncat.c
45
wchar_t *q;
lib/libc/string/wcsncat.c
46
const wchar_t *r;
lib/libc/string/wcsncmp.c
37
wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wcsncpy.c
42
wchar_t *
lib/libc/string/wcsncpy.c
43
__ssp_real(wcsncpy)(wchar_t * __restrict dst, const wchar_t * __restrict src,
lib/libc/string/wcsncpy.c
47
wchar_t *d = dst;
lib/libc/string/wcsncpy.c
48
const wchar_t *s = src;
lib/libc/string/wcsnlen.c
32
wcsnlen(const wchar_t *s, size_t maxlen)
lib/libc/string/wcspbrk.c
39
wchar_t *
lib/libc/string/wcspbrk.c
40
wcspbrk(const wchar_t *s, const wchar_t *set)
lib/libc/string/wcspbrk.c
42
const wchar_t *p;
lib/libc/string/wcspbrk.c
43
const wchar_t *q;
lib/libc/string/wcspbrk.c
51
return (wchar_t *)p;
lib/libc/string/wcsrchr.c
31
wchar_t *
lib/libc/string/wcsrchr.c
32
wcsrchr(const wchar_t *s, wchar_t c)
lib/libc/string/wcsrchr.c
34
const wchar_t *last;
lib/libc/string/wcsrchr.c
45
return ((wchar_t *)last);
lib/libc/string/wcsspn.c
40
wcsspn(const wchar_t *s, const wchar_t *set)
lib/libc/string/wcsspn.c
42
const wchar_t *p;
lib/libc/string/wcsspn.c
43
const wchar_t *q;
lib/libc/string/wcsstr.c
40
wchar_t *
lib/libc/string/wcsstr.c
41
wcsstr(const wchar_t * __restrict s, const wchar_t * __restrict find)
lib/libc/string/wcsstr.c
43
wchar_t c, sc;
lib/libc/string/wcsstr.c
56
return ((wchar_t *)s);
lib/libc/string/wcstok.c
39
wchar_t *
lib/libc/string/wcstok.c
40
wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim,
lib/libc/string/wcstok.c
41
wchar_t ** __restrict last)
lib/libc/string/wcstok.c
43
const wchar_t *spanp;
lib/libc/string/wcstok.c
44
wchar_t *tok;
lib/libc/string/wcstok.c
45
wchar_t c, sc;
lib/libc/string/wcswidth.c
49
wcswidth_l(const wchar_t *pwcs, size_t n, locale_t locale)
lib/libc/string/wcswidth.c
51
wchar_t wc;
lib/libc/string/wcswidth.c
65
wcswidth(const wchar_t *pwcs, size_t n)
lib/libc/string/wcsxfrm.c
42
wcsxfrm_l(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len, locale_t locale)
lib/libc/string/wcsxfrm.c
81
wcsxfrm(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len)
lib/libc/string/wmemchr.c
39
wchar_t *
lib/libc/string/wmemchr.c
40
wmemchr(const wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemchr.c
47
return (wchar_t *)s;
lib/libc/string/wmemcmp.c
40
wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
lib/libc/string/wmemcpy.c
41
wchar_t *
lib/libc/string/wmemcpy.c
42
__ssp_real(wmemcpy)(wchar_t * __restrict d, const wchar_t * __restrict s,
lib/libc/string/wmemcpy.c
45
return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t));
lib/libc/string/wmemmove.c
41
wchar_t *
lib/libc/string/wmemmove.c
42
__ssp_real(wmemmove)(wchar_t *d, const wchar_t *s, size_t n)
lib/libc/string/wmemmove.c
44
return (wchar_t *)memmove(d, s, n * sizeof(wchar_t));
lib/libc/string/wmempcpy.c
35
wchar_t *
lib/libc/string/wmempcpy.c
36
__ssp_real(wmempcpy)(wchar_t *__restrict dst, const wchar_t *__restrict src,
lib/libc/string/wmemset.c
40
wchar_t *
lib/libc/string/wmemset.c
41
__ssp_real(wmemset)(wchar_t *s, wchar_t c, size_t n)
lib/libc/string/wmemset.c
44
wchar_t *p;
lib/libc/string/wmemset.c
46
p = (wchar_t *)s;
lib/libc/tests/gen/limits_test.c
81
CHECK_UTYPE(wchar_t, WCHAR);
lib/libc/tests/gen/limits_test.c
83
CHECK_STYPE(wchar_t, WCHAR);
lib/libc/tests/locale/btowc_test.c
52
ATF_REQUIRE(btowc(i) == (wchar_t)i && i == (int)wctob(i));
lib/libc/tests/locale/mbrtowc_test.c
49
wchar_t wc;
lib/libc/tests/locale/mbsnrtowcs_test.c
48
wchar_t dstbuf[128];
lib/libc/tests/locale/mbsrtowcs_test.c
49
wchar_t dstbuf[128];
lib/libc/tests/locale/mbstowcs_test.c
49
wchar_t dstbuf[128];
lib/libc/tests/locale/mbtowc_test.c
47
wchar_t wc;
lib/libc/tests/locale/wcsnrtombs_test.c
103
ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 4, sizeof(dstbuf),
lib/libc/tests/locale/wcsnrtombs_test.c
111
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf),
lib/libc/tests/locale/wcsnrtombs_test.c
121
ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 6, 0, NULL) == 5);
lib/libc/tests/locale/wcsnrtombs_test.c
129
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 1, sizeof(dstbuf),
lib/libc/tests/locale/wcsnrtombs_test.c
139
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, 0, &s) == 0);
lib/libc/tests/locale/wcsnrtombs_test.c
147
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 0, sizeof(dstbuf),
lib/libc/tests/locale/wcsnrtombs_test.c
169
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf),
lib/libc/tests/locale/wcsnrtombs_test.c
179
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, 6,
lib/libc/tests/locale/wcsnrtombs_test.c
47
wchar_t srcbuf[128];
lib/libc/tests/locale/wcsnrtombs_test.c
49
wchar_t *src;
lib/libc/tests/locale/wcsnrtombs_test.c
60
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf),
lib/libc/tests/locale/wcsnrtombs_test.c
72
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 4, sizeof(dstbuf),
lib/libc/tests/locale/wcsnrtombs_test.c
84
ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, 4,
lib/libc/tests/locale/wcsnrtombs_test.c
95
ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 6, sizeof(dstbuf),
lib/libc/tests/locale/wcsrtombs_test.c
102
ATF_REQUIRE(wcsrtombs(NULL, (const wchar_t **)&src, 0, NULL) == 5);
lib/libc/tests/locale/wcsrtombs_test.c
110
ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf),
lib/libc/tests/locale/wcsrtombs_test.c
120
ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, 0, &s) == 0);
lib/libc/tests/locale/wcsrtombs_test.c
140
ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf),
lib/libc/tests/locale/wcsrtombs_test.c
48
wchar_t srcbuf[128];
lib/libc/tests/locale/wcsrtombs_test.c
50
wchar_t *src;
lib/libc/tests/locale/wcsrtombs_test.c
61
ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf),
lib/libc/tests/locale/wcsrtombs_test.c
73
ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, 4,
lib/libc/tests/locale/wcsrtombs_test.c
84
ATF_REQUIRE(wcsrtombs(NULL, (const wchar_t **)&src, sizeof(dstbuf),
lib/libc/tests/locale/wcsrtombs_test.c
92
ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf),
lib/libc/tests/locale/wcstombs_test.c
48
wchar_t srcbuf[128];
lib/libc/tests/locale/wctomb_test.c
47
wchar_t wc = 0x8e000000;
lib/libc/tests/secure/fortify_wchar_test.c
1001
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1007
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1028
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1036
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1086
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1092
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1112
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1118
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1138
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1144
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1165
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1171
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1192
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1200
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1250
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1256
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1276
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1282
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1302
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1308
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1329
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1335
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1356
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1364
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1414
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1420
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1440
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1446
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1466
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1472
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1493
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1499
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1520
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1528
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1578
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1584
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1604
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1610
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1630
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1636
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1657
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1663
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1684
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1692
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1742
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1748
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
175
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1768
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1774
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1794
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1800
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
181
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
1821
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1827
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1848
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1856
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1906
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1912
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1932
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1938
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
1958
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1964
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
197
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
1985
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
1991
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
2012
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
2020
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
203
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
219
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
225
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
243
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
249
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
267
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
275
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
322
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
328
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
344
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
350
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
366
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
372
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
390
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
396
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
414
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
422
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
469
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
475
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
491
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
497
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
513
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
519
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
537
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
543
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
561
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
569
wchar_t src[__len + 10];
lib/libc/tests/secure/fortify_wchar_test.c
616
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
637
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
658
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
681
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
704
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
758
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
764
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
784
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
790
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
810
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
816
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
837
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
843
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
864
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
872
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
922
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
928
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
948
wchar_t __buf[42];
lib/libc/tests/secure/fortify_wchar_test.c
954
wchar_t src[__len];
lib/libc/tests/secure/fortify_wchar_test.c
974
wchar_t * __buf;
lib/libc/tests/secure/fortify_wchar_test.c
980
wchar_t src[__len];
lib/libc/tests/stdio/open_wmemstream_test.c
39
static wchar_t *buf;
lib/libc/tests/stdio/open_wmemstream_test.c
43
assert_stream(const wchar_t *contents)
lib/libc/tests/stdio/open_wmemstream_test.c
75
static const wchar_t zerobuf[] =
lib/libc/tests/stdio/open_wmemstream_test.c
77
wchar_t c;
lib/libc/tests/stdio/print_positional_test.c
57
static wchar_t wbuf1[1024], wbuf2[1024];
lib/libc/tests/stdio/printbasic_test.c
70
wchar_t ws[BUF], wfmt[BUF], wresult[BUF];
lib/libc/tests/stdio/printfloat_test.c
62
wchar_t ws[BUF], wfmt[BUF], wresult[BUF];
lib/libc/tests/stdio/swprintf_test.c
22
wchar_t buf[256]; \
lib/libc/tests/stdio/swscanf_test.c
18
wchar_t input[8];
lib/libc/tests/stdio/swscanf_test.c
193
wchar_t input[16];
lib/libc/tests/stdio/swscanf_test.c
209
wchar_t input[16];
lib/libc/tests/stdio/swscanf_test.c
225
wchar_t input[16];
lib/libc/tests/stdio/swscanf_test.c
241
wchar_t input[16];
lib/libc/tests/stdio/swscanf_test.c
257
wchar_t input[16];
lib/libc/tests/stdio/swscanf_test.c
272
const wchar_t x00[] = L"0x00";
lib/libc/tests/stdio/swscanf_test.c
273
const wchar_t x7f[] = L"0x7fffffffffffffff";
lib/libc/tests/stdio/swscanf_test.c
274
const wchar_t xff[] = L"0xffffffffffffffff";
lib/libc/tests/stdio/swscanf_test.c
303
const wchar_t x00[] = L"0x00";
lib/libc/tests/stdio/swscanf_test.c
304
const wchar_t x7f[] = L"0x7fffffffffffffff";
lib/libc/tests/stdio/swscanf_test.c
305
const wchar_t xff[] = L"0xffffffffffffffff";
lib/libc/tests/stdio/swscanf_test.c
338
wchar_t d = 0;
lib/libc/tests/string/wcscoll_test.c
40
const wchar_t wa[2] = { *(const wchar_t *)a, 0 };
lib/libc/tests/string/wcscoll_test.c
41
const wchar_t wb[2] = { *(const wchar_t *)b, 0 };
lib/libc/tests/string/wcscoll_test.c
49
wchar_t c[] = L"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzЁАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё";
lib/libc/tests/string/wcscoll_test.c
50
wchar_t res[] = L"aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяЯ";
lib/libc/tests/string/wcscoll_test.c
54
qsort(c, wcslen(c), sizeof(wchar_t), cmp);
lib/libc/tests/string/wcsnlen_test.c
58
test_wcsnlen(const wchar_t *s)
lib/libc/tests/string/wcsnlen_test.c
60
wchar_t *s1;
lib/libc/tests/string/wcsnlen_test.c
67
s1 = makebuf(bufsize * sizeof(wchar_t), i);
lib/libiconv_modules/BIG5/citrus_big5.c
272
wchar_t * __restrict pwc,
lib/libiconv_modules/BIG5/citrus_big5.c
277
wchar_t wchar;
lib/libiconv_modules/BIG5/citrus_big5.c
359
size_t n, wchar_t wc, _BIG5State * __restrict psenc __unused,
lib/libiconv_modules/BIG5/citrus_big5.c
412
_index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/BIG5/citrus_big5.c
424
wchar_t * __restrict wc,
lib/libiconv_modules/BIG5/citrus_big5.c
431
*wc = (wchar_t)idx;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
169
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
173
wchar_t wc;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
183
wc = (wchar_t)0;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
191
*pwc = (wchar_t)ch;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
210
wc |= (wchar_t)HANYUBIT;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
228
wc |= (wchar_t)HANYUBIT;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
252
wc |= (wchar_t)(ch << 8);
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
256
wc |= (wchar_t)ch;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
278
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
291
if ((wc & ~0xFFFF) != (wchar_t)HANYUBIT)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
324
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
326
wchar_t mask;
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
334
if ((wc & ~0xFFFF) != (wchar_t)HANYUBIT)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
353
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/DECHanyu/citrus_dechanyu.c
371
*wc = (wchar_t)idx;
lib/libiconv_modules/EUC/citrus_euc.c
193
_citrus_EUC_mbrtowc_priv(_EUCEncodingInfo *ei, wchar_t *pwc, char **s,
lib/libiconv_modules/EUC/citrus_euc.c
196
wchar_t wchar;
lib/libiconv_modules/EUC/citrus_euc.c
277
_citrus_EUC_wcrtomb_priv(_EUCEncodingInfo *ei, char *s, size_t n, wchar_t wc,
lib/libiconv_modules/EUC/citrus_euc.c
280
wchar_t m, nm;
lib/libiconv_modules/EUC/citrus_euc.c
326
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/EUC/citrus_euc.c
328
wchar_t m, nm;
lib/libiconv_modules/EUC/citrus_euc.c
342
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/EUC/citrus_euc.c
348
*wc = (wchar_t)csid | (wchar_t)idx;
lib/libiconv_modules/EUC/citrus_euc.c
92
wchar_t bits[4];
lib/libiconv_modules/EUC/citrus_euc.c
93
wchar_t mask;
lib/libiconv_modules/EUCTW/citrus_euctw.c
179
wchar_t * __restrict pwc, char ** __restrict s,
lib/libiconv_modules/EUCTW/citrus_euctw.c
183
wchar_t wchar;
lib/libiconv_modules/EUCTW/citrus_euctw.c
271
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/EUCTW/citrus_euctw.c
274
wchar_t cs, v;
lib/libiconv_modules/EUCTW/citrus_euctw.c
333
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/EUCTW/citrus_euctw.c
345
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/EUCTW/citrus_euctw.c
351
*wc = (wchar_t)idx;
lib/libiconv_modules/EUCTW/citrus_euctw.c
355
*wc = (wchar_t)idx | ((wchar_t)csid << 24);
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
135
_mb_count(wchar_t v)
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
152
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
156
wchar_t wc;
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
252
char * __restrict s, size_t n, wchar_t wc, _GBK2KState * __restrict psenc,
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
310
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
342
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
348
*wc = (wchar_t)idx;
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
352
*wc = (wchar_t)idx | 0x8080U;
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
356
*wc = (wchar_t)idx;
lib/libiconv_modules/GBK2K/citrus_gbk2k.c
362
*wc = (wchar_t)idx;
lib/libiconv_modules/HZ/citrus_hz.c
179
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/HZ/citrus_hz.c
186
wchar_t wc;
lib/libiconv_modules/HZ/citrus_hz.c
198
wc = (wchar_t)0;
lib/libiconv_modules/HZ/citrus_hz.c
216
wc = (wchar_t)ch;
lib/libiconv_modules/HZ/citrus_hz.c
301
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/HZ/citrus_hz.c
444
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/HZ/citrus_hz.c
470
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/HZ/citrus_hz.c
473
*wc = (wchar_t)idx;
lib/libiconv_modules/HZ/citrus_hz.c
477
*wc |= (wchar_t)0x80;
lib/libiconv_modules/HZ/citrus_hz.c
483
*wc |= (wchar_t)csid;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1009
_ISO2022_sputwchar(_ISO2022EncodingInfo * __restrict ei, wchar_t wc,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1205
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1235
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1237
wchar_t m, nm;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1261
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/ISO2022/citrus_iso2022.c
1264
*wc = (wchar_t)(csid & 0x7F808080) | (wchar_t)idx;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
138
#define _ISO2022INVALID (wchar_t)-1
lib/libiconv_modules/ISO2022/citrus_iso2022.c
575
static wchar_t
lib/libiconv_modules/ISO2022/citrus_iso2022.c
581
wchar_t wchar = 0;
lib/libiconv_modules/ISO2022/citrus_iso2022.c
846
wchar_t * __restrict pwc, char ** __restrict s,
lib/libiconv_modules/ISO2022/citrus_iso2022.c
850
wchar_t wchar;
lib/libiconv_modules/JOHAB/citrus_johab.c
149
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/JOHAB/citrus_johab.c
169
*pwc = (wchar_t)l;
lib/libiconv_modules/JOHAB/citrus_johab.c
194
*pwc = (wchar_t)(l << 8 | t);
lib/libiconv_modules/JOHAB/citrus_johab.c
205
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/JOHAB/citrus_johab.c
244
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/JOHAB/citrus_johab.c
287
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/JOHAB/citrus_johab.c
294
*wc = (wchar_t)idx;
lib/libiconv_modules/MSKanji/citrus_mskanji.c
155
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/MSKanji/citrus_mskanji.c
159
wchar_t wchar;
lib/libiconv_modules/MSKanji/citrus_mskanji.c
234
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/MSKanji/citrus_mskanji.c
285
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/MSKanji/citrus_mskanji.c
368
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/MSKanji/citrus_mskanji.c
378
*wc = (wchar_t)idx;
lib/libiconv_modules/MSKanji/citrus_mskanji.c
384
*wc = (wchar_t)idx + 0x80;
lib/libiconv_modules/MSKanji/citrus_mskanji.c
419
*wc = ((wchar_t)row << 8) | col;
lib/libiconv_modules/UES/citrus_ues.c
125
to_str(char *s, wchar_t wc, int bit)
lib/libiconv_modules/UES/citrus_ues.c
148
is_hi_surrogate(wchar_t wc)
lib/libiconv_modules/UES/citrus_ues.c
155
is_lo_surrogate(wchar_t wc)
lib/libiconv_modules/UES/citrus_ues.c
161
static __inline wchar_t
lib/libiconv_modules/UES/citrus_ues.c
162
surrogate_to_ucs(wchar_t hi, wchar_t lo)
lib/libiconv_modules/UES/citrus_ues.c
171
ucs_to_surrogate(wchar_t wc, wchar_t * __restrict hi, wchar_t * __restrict lo)
lib/libiconv_modules/UES/citrus_ues.c
180
is_basic(wchar_t wc)
lib/libiconv_modules/UES/citrus_ues.c
189
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/UES/citrus_ues.c
194
wchar_t hi, wc;
lib/libiconv_modules/UES/citrus_ues.c
203
hi = (wchar_t)0;
lib/libiconv_modules/UES/citrus_ues.c
207
wc = (wchar_t)0;
lib/libiconv_modules/UES/citrus_ues.c
258
if (hi != (wchar_t)0)
lib/libiconv_modules/UES/citrus_ues.c
287
wc = (wchar_t)ch;
lib/libiconv_modules/UES/citrus_ues.c
300
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/UES/citrus_ues.c
303
wchar_t hi, lo;
lib/libiconv_modules/UES/citrus_ues.c
344
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/UES/citrus_ues.c
356
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/UES/citrus_ues.c
361
*wc = (wchar_t)idx;
lib/libiconv_modules/UTF1632/citrus_utf1632.c
102
_citrus_UTF1632_mbrtowc_priv(_UTF1632EncodingInfo *ei, wchar_t *pwc,
lib/libiconv_modules/UTF1632/citrus_utf1632.c
107
wchar_t wc = L'\0';
lib/libiconv_modules/UTF1632/citrus_utf1632.c
169
((wchar_t)psenc->ch[1] << 8));
lib/libiconv_modules/UTF1632/citrus_utf1632.c
173
((wchar_t)psenc->ch[0] << 8));
lib/libiconv_modules/UTF1632/citrus_utf1632.c
192
wc |= (wchar_t)(psenc->ch[3] & 3) << 8;
lib/libiconv_modules/UTF1632/citrus_utf1632.c
198
wc |= (wchar_t)(psenc->ch[2] & 3) << 8;
lib/libiconv_modules/UTF1632/citrus_utf1632.c
210
((wchar_t)psenc->ch[1] << 8) |
lib/libiconv_modules/UTF1632/citrus_utf1632.c
211
((wchar_t)psenc->ch[2] << 16) |
lib/libiconv_modules/UTF1632/citrus_utf1632.c
212
((wchar_t)psenc->ch[3] << 24));
lib/libiconv_modules/UTF1632/citrus_utf1632.c
216
((wchar_t)psenc->ch[2] << 8) |
lib/libiconv_modules/UTF1632/citrus_utf1632.c
217
((wchar_t)psenc->ch[1] << 16) |
lib/libiconv_modules/UTF1632/citrus_utf1632.c
218
((wchar_t)psenc->ch[0] << 24));
lib/libiconv_modules/UTF1632/citrus_utf1632.c
249
wchar_t wc, _UTF1632State *psenc, size_t *nresult)
lib/libiconv_modules/UTF1632/citrus_utf1632.c
251
wchar_t wc2;
lib/libiconv_modules/UTF7/citrus_utf7.c
243
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/UTF7/citrus_utf7.c
287
*pwc = (wchar_t)u32;
lib/libiconv_modules/UTF7/citrus_utf7.c
348
char * __restrict s, size_t n, wchar_t wchar,
lib/libiconv_modules/UTF7/citrus_utf7.c
423
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/UTF7/citrus_utf7.c
435
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/UTF7/citrus_utf7.c
440
*wc = (wchar_t)idx;
lib/libiconv_modules/UTF8/citrus_utf8.c
131
_UTF8_findlen(wchar_t v)
lib/libiconv_modules/UTF8/citrus_utf8.c
145
_UTF8_surrogate(wchar_t wc)
lib/libiconv_modules/UTF8/citrus_utf8.c
180
_citrus_UTF8_mbrtowc_priv(_UTF8EncodingInfo *ei, wchar_t *pwc, char **s,
lib/libiconv_modules/UTF8/citrus_utf8.c
184
wchar_t wchar;
lib/libiconv_modules/UTF8/citrus_utf8.c
245
wchar_t wc, _UTF8State *psenc __unused, size_t *nresult)
lib/libiconv_modules/UTF8/citrus_utf8.c
247
wchar_t c;
lib/libiconv_modules/UTF8/citrus_utf8.c
294
wchar_t wc)
lib/libiconv_modules/UTF8/citrus_utf8.c
306
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/UTF8/citrus_utf8.c
312
*wc = (wchar_t)idx;
lib/libiconv_modules/VIQR/citrus_viqr.c
104
mnemonic_ext_find(wchar_t wc, const mnemonic_def_t *head, size_t n)
lib/libiconv_modules/VIQR/citrus_viqr.c
126
wchar_t value;
lib/libiconv_modules/VIQR/citrus_viqr.c
144
mnemonic_create(mnemonic_t *parent, int ascii, wchar_t value)
lib/libiconv_modules/VIQR/citrus_viqr.c
161
wchar_t value, wchar_t invalid)
lib/libiconv_modules/VIQR/citrus_viqr.c
171
m0 = mnemonic_create(m, ch, (wchar_t)ch);
lib/libiconv_modules/VIQR/citrus_viqr.c
206
wchar_t invalid;
lib/libiconv_modules/VIQR/citrus_viqr.c
256
wchar_t * __restrict pwc, char ** __restrict s, size_t n,
lib/libiconv_modules/VIQR/citrus_viqr.c
261
wchar_t wc;
lib/libiconv_modules/VIQR/citrus_viqr.c
307
wc = (m == ei->mroot) ? (wchar_t)ch : m->value;
lib/libiconv_modules/VIQR/citrus_viqr.c
318
char * __restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/VIQR/citrus_viqr.c
403
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/VIQR/citrus_viqr.c
415
wchar_t * __restrict pwc, _csid_t csid, _index_t idx)
lib/libiconv_modules/VIQR/citrus_viqr.c
420
*pwc = (wchar_t)idx;
lib/libiconv_modules/VIQR/citrus_viqr.c
442
ei->invalid = (wchar_t)-1;
lib/libiconv_modules/VIQR/citrus_viqr.c
454
s, (wchar_t)i, ei->invalid);
lib/libiconv_modules/VIQR/citrus_viqr.c
94
wchar_t value;
lib/libiconv_modules/ZW/citrus_zw.c
110
wchar_t * __restrict pwc, char **__restrict s, size_t n,
lib/libiconv_modules/ZW/citrus_zw.c
114
wchar_t wc;
lib/libiconv_modules/ZW/citrus_zw.c
157
wc = (wchar_t)ch;
lib/libiconv_modules/ZW/citrus_zw.c
168
wc = (wchar_t)ch;
lib/libiconv_modules/ZW/citrus_zw.c
194
wc = (wchar_t)ch;
lib/libiconv_modules/ZW/citrus_zw.c
207
wc = (wchar_t)ch;
lib/libiconv_modules/ZW/citrus_zw.c
214
wc = (wchar_t)ch;
lib/libiconv_modules/ZW/citrus_zw.c
218
wc = (wchar_t)ch;
lib/libiconv_modules/ZW/citrus_zw.c
226
wc = (wchar_t)(ch << 8);
lib/libiconv_modules/ZW/citrus_zw.c
233
wc |= (wchar_t)ch;
lib/libiconv_modules/ZW/citrus_zw.c
255
char *__restrict s, size_t n, wchar_t wc,
lib/libiconv_modules/ZW/citrus_zw.c
408
_csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
lib/libiconv_modules/ZW/citrus_zw.c
411
*csid = (_csid_t)(wc <= (wchar_t)0x7FU) ? 0 : 1;
lib/libiconv_modules/ZW/citrus_zw.c
420
wchar_t * __restrict wc, _csid_t csid, _index_t idx)
lib/libiconv_modules/ZW/citrus_zw.c
429
*wc = (wchar_t)idx;
tools/build/cross-build/fgetwln_fallback.c
37
wchar_t *wbuf;
tools/build/cross-build/fgetwln_fallback.c
47
wchar_t *
tools/build/cross-build/fgetwln_fallback.c
66
wchar_t *wp;
tools/build/cross-build/fgetwln_fallback.c
73
wp = reallocarray(fb->wbuf, fb->len, sizeof(wchar_t));
tools/test/iconv/tablegen/tablegen.c
170
void (*write_replacement)(const wchar_t *buf, size_t buflen,
tools/test/iconv/tablegen/tablegen.c
187
wc_to_mb_fb(wchar_t wc,
tools/test/iconv/tablegen/tablegen.c
68
void (*write_replacement) (const wchar_t *, size_t, void *),
tools/test/iconv/tablegen/tablegen.c
73
void wc_to_mb_fb(wchar_t,
usr.bin/col/col.c
72
wchar_t c_char; /* character in question */
usr.bin/column/column.c
104
newsep = calloc(seplen + 1, sizeof(wchar_t));
usr.bin/column/column.c
156
wchar_t **lp;
usr.bin/column/column.c
212
wchar_t **lp;
usr.bin/column/column.c
219
wchar_t **list;
usr.bin/column/column.c
229
wchar_t *p, **lp;
usr.bin/column/column.c
232
wchar_t **cols;
usr.bin/column/column.c
233
wchar_t *s;
usr.bin/column/column.c
249
DEFCOLS) * sizeof(wchar_t *))) ||
usr.bin/column/column.c
299
wchar_t *p, buf[MAXLINELEN];
usr.bin/column/column.c
324
list[entries] = malloc((wcslen(buf) + 1) * sizeof(wchar_t));
usr.bin/column/column.c
334
width(const wchar_t *wcs)
usr.bin/column/column.c
54
static int width(const wchar_t *);
usr.bin/column/column.c
62
static wchar_t **list; /* array of pointers to records */
usr.bin/column/column.c
63
static const wchar_t *separator = L"\t "; /* field separator for table option */
usr.bin/column/column.c
73
wchar_t *newsep;
usr.bin/comm/comm.c
180
static wchar_t *
usr.bin/comm/comm.c
184
wchar_t *buf, *p;
usr.bin/comm/comm.c
50
static wchar_t *convert(const char *);
usr.bin/comm/comm.c
64
wchar_t *tline1, *tline2;
usr.bin/cut/cut.c
368
is_delim(wchar_t ch)
usr.bin/cut/cut.c
383
wchar_t ch;
usr.bin/cut/cut.c
48
static wchar_t dchar;
usr.bin/cut/cut.c
64
static int is_delim(wchar_t);
usr.bin/fmt/fmt.c
243
static const wchar_t *sentence_enders = L".?!"; /* Double-space after these */
usr.bin/fmt/fmt.c
248
static wchar_t *output_buffer = NULL; /* Output line will be built here */
usr.bin/fmt/fmt.c
259
static size_t indent_length(const wchar_t *, size_t);
usr.bin/fmt/fmt.c
260
static int might_be_header(const wchar_t *);
usr.bin/fmt/fmt.c
262
static void output_word(size_t, size_t, const wchar_t *, size_t, size_t);
usr.bin/fmt/fmt.c
265
static wchar_t *get_line(FILE *, size_t *);
usr.bin/fmt/fmt.c
277
wchar_t *tmp;
usr.bin/fmt/fmt.c
296
tmp = XMALLOC((len + 1) * sizeof(wchar_t));
usr.bin/fmt/fmt.c
381
if (max_length >= SIZE_T_MAX / sizeof(wchar_t))
usr.bin/fmt/fmt.c
384
output_buffer = XMALLOC((max_length + 1) * sizeof(wchar_t));
usr.bin/fmt/fmt.c
442
wchar_t *line;
usr.bin/fmt/fmt.c
538
indent_length(const wchar_t *line, size_t length)
usr.bin/fmt/fmt.c
554
might_be_header(const wchar_t *line)
usr.bin/fmt/fmt.c
600
output_word(size_t indent0, size_t indent1, const wchar_t *word, size_t length, size_t spaces)
usr.bin/fmt/fmt.c
605
const wchar_t *p;
usr.bin/fmt/fmt.c
688
wchar_t *line, *p;
usr.bin/fmt/fmt.c
727
static wchar_t *
usr.bin/fmt/fmt.c
730
static wchar_t *buf = NULL;
usr.bin/fmt/fmt.c
741
buf = XMALLOC(length * sizeof(wchar_t));
usr.bin/fmt/fmt.c
751
buf = xrealloc(buf, length * sizeof(wchar_t));
usr.bin/fold/fold.c
144
static wchar_t *buf;
usr.bin/grep/util.c
503
wchar_t wbegin, wend;
usr.bin/hexdump/conv.c
49
wchar_t wc;
usr.bin/join/join.c
102
static wchar_t *towcs(const char *);
usr.bin/join/join.c
353
mbssep(char **stringp, const wchar_t *delim)
usr.bin/join/join.c
356
const wchar_t *spanp;
usr.bin/join/join.c
357
wchar_t c, sc;
usr.bin/join/join.c
394
wchar_t *w1, *w2;
usr.bin/join/join.c
407
static wchar_t *
usr.bin/join/join.c
410
wchar_t *wcs;
usr.bin/join/join.c
89
static wchar_t default_tabchar[] = L" \t";
usr.bin/join/join.c
90
static wchar_t *tabchar = default_tabchar; /* delimiter characters (-t) */
usr.bin/join/join.c
96
static char *mbssep(char **, const wchar_t *);
usr.bin/localedef/charmap.c
251
add_charmap_impl(const char *sym, wchar_t wc, int nodups)
usr.bin/localedef/charmap.c
263
if ((wc != (wchar_t)-1) && ((RB_FIND(cmap_wc, &cmap_wc, &srch)) == NULL)) {
usr.bin/localedef/charmap.c
305
if ((undefok == 0) && ((cm == NULL) || (cm->wc == (wchar_t)-1))) {
usr.bin/localedef/charmap.c
373
lookup_charmap(const char *sym, wchar_t *wc)
usr.bin/localedef/charmap.c
380
if (n && n->wc != (wchar_t)-1) {
usr.bin/localedef/charmap.c
389
check_charmap(wchar_t wc)
usr.bin/localedef/charmap.c
50
wchar_t wc;
usr.bin/localedef/collate.c
1081
wchar_t *
usr.bin/localedef/collate.c
1082
wsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
usr.bin/localedef/collate.c
1084
wchar_t *os1 = s1;
usr.bin/localedef/collate.c
182
wchar_t *expand;
usr.bin/localedef/collate.c
192
wchar_t wc;
usr.bin/localedef/collate.c
232
static wchar_t ellipsis_start = 0;
usr.bin/localedef/collate.c
422
wchar_t k1 = ((const collchar_t *)n1)->wc;
usr.bin/localedef/collate.c
423
wchar_t k2 = ((const collchar_t *)n2)->wc;
usr.bin/localedef/collate.c
444
const wchar_t *c1 = ((const subst_t *)n1)->ref;
usr.bin/localedef/collate.c
445
const wchar_t *c2 = ((const subst_t *)n2)->ref;
usr.bin/localedef/collate.c
558
get_collchar(wchar_t wc, int create)
usr.bin/localedef/collate.c
713
start_order_char(wchar_t wc)
usr.bin/localedef/collate.c
789
define_collelem(char *name, wchar_t *wcs)
usr.bin/localedef/collate.c
877
add_order_char(wchar_t wc)
usr.bin/localedef/collate.c
987
add_subst_char(wchar_t wc)
usr.bin/localedef/ctype.c
176
get_ctype(wchar_t wc)
usr.bin/localedef/ctype.c
208
add_ctype_range(wchar_t end)
usr.bin/localedef/ctype.c
211
wchar_t cur;
usr.bin/localedef/ctype.c
304
wchar_t wc;
usr.bin/localedef/ctype.c
76
static wchar_t last_ctype;
usr.bin/localedef/ctype.c
80
wchar_t wc;
usr.bin/localedef/localedef.h
108
void start_order_char(wchar_t);
usr.bin/localedef/localedef.h
117
void add_order_char(wchar_t);
usr.bin/localedef/localedef.h
122
void add_subst_char(wchar_t);
usr.bin/localedef/localedef.h
127
wchar_t * wsncpy(wchar_t *, const wchar_t *, size_t);
usr.bin/localedef/localedef.h
133
void add_ctype_range(wchar_t);
usr.bin/localedef/localedef.h
141
void add_message(wchar_t *);
usr.bin/localedef/localedef.h
146
void add_monetary_str(wchar_t *);
usr.bin/localedef/localedef.h
154
void add_numeric_str(wchar_t *);
usr.bin/localedef/localedef.h
161
void add_time_str(wchar_t *);
usr.bin/localedef/localedef.h
163
void add_time_list(wchar_t *);
usr.bin/localedef/localedef.h
168
int to_wide(wchar_t *, const char *);
usr.bin/localedef/localedef.h
169
int to_mbs(char *, wchar_t);
usr.bin/localedef/localedef.h
170
int to_mb(char *, wchar_t);
usr.bin/localedef/localedef.h
171
char *to_mb_string(const wchar_t *);
usr.bin/localedef/localedef.h
183
wchar_cmp(const wchar_t a, const wchar_t b)
usr.bin/localedef/localedef.h
188
_Static_assert(sizeof(wchar_t) == sizeof(uint32_t),
usr.bin/localedef/localedef.h
77
void add_wcs(wchar_t);
usr.bin/localedef/localedef.h
79
wchar_t *get_wcs(void);
usr.bin/localedef/localedef.h
90
int lookup_charmap(const char *, wchar_t *);
usr.bin/localedef/localedef.h
92
int check_charmap(wchar_t);
usr.bin/localedef/localedef.h
99
void define_collelem(char *, wchar_t *);
usr.bin/localedef/messages.c
54
add_message(wchar_t *wcs)
usr.bin/localedef/monetary.c
54
add_monetary_str(wchar_t *wcs)
usr.bin/localedef/numeric.c
54
add_numeric_str(wchar_t *wcs)
usr.bin/localedef/parser.y
198
wchar_t *w = get_wcs();
usr.bin/localedef/parser.y
214
wchar_t *w = get_wcs();
usr.bin/localedef/parser.y
44
wchar_t wc;
usr.bin/localedef/scanner.c
371
add_wcs(wchar_t c)
usr.bin/localedef/scanner.c
375
widestr = realloc(widestr, (widesz * sizeof (wchar_t)));
usr.bin/localedef/scanner.c
388
wchar_t *
usr.bin/localedef/scanner.c
391
wchar_t *ws = widestr;
usr.bin/localedef/scanner.c
468
wchar_t wc;
usr.bin/localedef/scanner.c
72
static wchar_t *widestr = NULL;
usr.bin/localedef/time.c
111
add_time_list(wchar_t *wcs)
usr.bin/localedef/time.c
54
add_time_str(wchar_t *wcs)
usr.bin/localedef/wide.c
181
towide_none(wchar_t *c, const char *mb, unsigned n __unused)
usr.bin/localedef/wide.c
192
tomb_none(char *mb, wchar_t wc)
usr.bin/localedef/wide.c
207
towide_utf8(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
209
wchar_t c;
usr.bin/localedef/wide.c
211
wchar_t lv; /* lowest legal value */
usr.bin/localedef/wide.c
264
tomb_utf8(char *mb, wchar_t wc)
usr.bin/localedef/wide.c
312
towide_dbcs(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
314
wchar_t c;
usr.bin/localedef/wide.c
341
tomb_mbs(char *mb, wchar_t wc)
usr.bin/localedef/wide.c
371
towide_big5(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
381
towide_gbk(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
391
towide_gb2312(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
402
towide_gb18030(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
404
wchar_t c;
usr.bin/localedef/wide.c
445
towide_mskanji(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
447
wchar_t c;
usr.bin/localedef/wide.c
45
static int towide_none(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
46
static int towide_utf8(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
47
static int towide_big5(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
478
towide_euc_impl(wchar_t *wc, const char *mb, unsigned n,
usr.bin/localedef/wide.c
48
static int towide_gbk(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
483
wchar_t c;
usr.bin/localedef/wide.c
49
static int towide_gb2312(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
50
static int towide_gb18030(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
51
static int towide_mskanji(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
52
static int towide_euccn(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
53
static int towide_eucjp(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
535
towide_euccn(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
54
static int towide_euckr(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
549
towide_eucjp(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
55
static int towide_euctw(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
563
towide_euckr(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
57
static int tomb_none(char *, wchar_t);
usr.bin/localedef/wide.c
577
towide_euctw(wchar_t *wc, const char *mb, unsigned n)
usr.bin/localedef/wide.c
58
static int tomb_utf8(char *, wchar_t);
usr.bin/localedef/wide.c
587
to_wide(wchar_t *wc, const char *mb)
usr.bin/localedef/wide.c
59
static int tomb_mbs(char *, wchar_t);
usr.bin/localedef/wide.c
594
to_mb(char *mb, wchar_t wc)
usr.bin/localedef/wide.c
607
to_mb_string(const wchar_t *wcs)
usr.bin/localedef/wide.c
61
static int (*_towide)(wchar_t *, const char *, unsigned) = towide_none;
usr.bin/localedef/wide.c
62
static int (*_tomb)(char *, wchar_t) = tomb_none;
usr.bin/localedef/wide.c
77
int (*towide)(wchar_t *, const char *, unsigned);
usr.bin/localedef/wide.c
78
int (*tomb)(char *, wchar_t);
usr.bin/look/look.c
154
static wchar_t *
usr.bin/look/look.c
155
prepkey(const char *string, wchar_t termchar)
usr.bin/look/look.c
158
wchar_t *key, *writep;
usr.bin/look/look.c
159
wchar_t ch;
usr.bin/look/look.c
166
if ((key = malloc(sizeof(wchar_t) * (strlen(string) + 1))) == NULL)
usr.bin/look/look.c
186
look(wchar_t *string, unsigned char *front, unsigned char *back)
usr.bin/look/look.c
240
binary_search(wchar_t *string, unsigned char *front, unsigned char *back)
usr.bin/look/look.c
274
linear_search(wchar_t *string, unsigned char *front, unsigned char *back)
usr.bin/look/look.c
294
print_from(wchar_t *string, unsigned char *front, unsigned char *back)
usr.bin/look/look.c
319
compare(wchar_t *s1, unsigned char *s2, unsigned char *back)
usr.bin/look/look.c
321
wchar_t ch1, ch2;
usr.bin/look/look.c
71
static char *binary_search(wchar_t *, unsigned char *, unsigned char *);
usr.bin/look/look.c
72
static int compare(wchar_t *, unsigned char *, unsigned char *);
usr.bin/look/look.c
73
static char *linear_search(wchar_t *, unsigned char *, unsigned char *);
usr.bin/look/look.c
74
static int look(wchar_t *, unsigned char *, unsigned char *);
usr.bin/look/look.c
75
static wchar_t *prepkey(const char *, wchar_t);
usr.bin/look/look.c
76
static void print_from(wchar_t *, unsigned char *, unsigned char *);
usr.bin/look/look.c
93
wchar_t termchar;
usr.bin/look/look.c
96
wchar_t *key;
usr.bin/ncal/ncal.c
1075
static wchar_t *
usr.bin/ncal/ncal.c
1076
wcenter(wchar_t *s, wchar_t *t, int w)
usr.bin/ncal/ncal.c
169
static wchar_t *wcenter(wchar_t *s, wchar_t *t, int w);
usr.bin/ncal/ncal.c
597
wchar_t ws[MAX_WIDTH], ws1[MAX_WIDTH];
usr.bin/ncal/ncal.c
60
wchar_t name[MAX_WIDTH + 1];
usr.bin/ncal/ncal.c
67
wchar_t names[7][4];
usr.bin/ncal/ncal.c
967
wchar_t buf[20];
usr.bin/paste/paste.c
140
wchar_t ch;
usr.bin/paste/paste.c
242
tr(wchar_t *arg)
usr.bin/paste/paste.c
245
wchar_t ch, *p;
usr.bin/paste/paste.c
54
static wchar_t *delim;
usr.bin/paste/paste.c
59
static int tr(wchar_t *);
usr.bin/paste/paste.c
62
static wchar_t tab[] = L"\t";
usr.bin/paste/paste.c
68
wchar_t *warg;
usr.bin/printf/printf.c
647
wchar_t wch;
usr.bin/rev/rev.c
49
wchar_t *p, *t;
usr.bin/sed/process.c
589
wchar_t wc;
usr.bin/sort/bwstring.c
1026
wchar_t *end, *s;
usr.bin/sort/bwstring.c
173
wide_str_coll(const wchar_t *s1, const wchar_t *s2)
usr.bin/sort/bwstring.c
184
wchar_t c1 = s1[i];
usr.bin/sort/bwstring.c
185
wchar_t c2 = s2[i];
usr.bin/sort/bwstring.c
296
bwssbdup(const wchar_t *str, size_t len)
usr.bin/sort/bwstring.c
444
wchar_t eols;
usr.bin/sort/bwstring.c
450
const wchar_t *s = bws->wdata.str + printed;
usr.bin/sort/bwstring.c
47
wchar_t *mon;
usr.bin/sort/bwstring.c
48
wchar_t *ab;
usr.bin/sort/bwstring.c
49
wchar_t *alt;
usr.bin/sort/bwstring.c
511
const wchar_t *s1, *s2;
usr.bin/sort/bwstring.c
563
wchar_t c1, c2;
usr.bin/sort/bwstring.c
677
const wchar_t *s1, *s2;
usr.bin/sort/bwstring.c
773
wchar_t *end, *ep, *s;
usr.bin/sort/bwstring.c
82
populate_wmonth(wchar_t **field, const nl_item item, int idx)
usr.bin/sort/bwstring.c
827
const wchar_t *end, *s;
usr.bin/sort/bwstring.c
84
wchar_t *m;
usr.bin/sort/bwstring.c
878
wchar_t *dst, *end, *src;
usr.bin/sort/bwstring.c
931
wchar_t *dst, *end, *src;
usr.bin/sort/bwstring.c
932
wchar_t c;
usr.bin/sort/bwstring.c
984
wchar_t *dst, *end, *src;
usr.bin/sort/bwstring.c
985
wchar_t c;
usr.bin/sort/bwstring.h
122
return ((wchar_t*) iter) + pos;
usr.bin/sort/bwstring.h
125
static inline wchar_t
usr.bin/sort/bwstring.h
132
return *((wchar_t*) iter);
usr.bin/sort/bwstring.h
46
#define SIZEOF_WCHAR_STRING(LEN) ((LEN)*sizeof(wchar_t))
usr.bin/sort/bwstring.h
50
wchar_t str[];
usr.bin/sort/bwstring.h
90
struct bwstring *bwssbdup(const wchar_t *str, size_t size);
usr.bin/sort/coll.c
292
if (BWS_GET(s,cpos) == (wchar_t)sort_opts_vals.field_sep) {
usr.bin/sort/coll.c
341
((wchar_t)sort_opts_vals.field_sep == BWS_GET(s,
usr.bin/sort/coll.c
674
static void setsuffix(wchar_t c, unsigned char *si)
usr.bin/sort/coll.c
715
read_number(struct bwstring *s0, int *sign, wchar_t *smain, size_t *main_len, wchar_t *sfrac, size_t *frac_len, unsigned char *si)
usr.bin/sort/coll.c
727
if (bws_get_iter_value(s) == (wchar_t)symbol_negative_sign) {
usr.bin/sort/coll.c
743
(bws_get_iter_value(s) == (wchar_t)symbol_thousands_sep))
usr.bin/sort/coll.c
751
if (bws_get_iter_value(s) == (wchar_t)symbol_decimal_point) {
usr.bin/sort/coll.c
812
wchar_t sfrac1[MAX_NUM_SIZE + 1], sfrac2[MAX_NUM_SIZE + 1];
usr.bin/sort/coll.c
813
wchar_t smain1[MAX_NUM_SIZE + 1], smain2[MAX_NUM_SIZE + 1];
usr.bin/sort/radixsort.c
258
const size_t wcfact = (mb_cur_max == 1) ? 1 : sizeof(wchar_t);
usr.bin/sort/radixsort.c
266
wchar_t res;
usr.bin/sort/radixsort.c
272
res = (wchar_t)BWS_GET(bws, level / wcfact);
usr.bin/sort/radixsort.c
331
const size_t wcfact = (mb_cur_max == 1) ? 1 : sizeof(wchar_t);
usr.bin/sort/sort.c
296
conv_mbtowc(wchar_t *wc, const char *c, const wchar_t def)
usr.bin/sort/vsort.c
115
cmp_chars(wchar_t c1, wchar_t c2)
usr.bin/sort/vsort.c
153
wchar_t c1, c2;
usr.bin/sort/vsort.c
203
wchar_t c1, c2;
usr.bin/sort/vsort.c
40
isdigit_clocale(wchar_t c)
usr.bin/sort/vsort.c
47
isalpha_clocale(wchar_t c)
usr.bin/sort/vsort.c
54
isalnum_clocale(wchar_t c)
usr.bin/sort/vsort.c
68
wchar_t c;
usr.bin/talk/display.c
46
void display(xwin_t *, wchar_t *);
usr.bin/talk/display.c
66
makecchar(wchar_t in)
usr.bin/talk/display.c
69
wchar_t wc[2];
usr.bin/talk/display.c
85
display(xwin_t *win, wchar_t *wc)
usr.bin/talk/io.c
56
extern void display(xwin_t *, wchar_t *);
usr.bin/talk/io.c
69
wchar_t buf[BUFSIZ];
usr.bin/tr/cset.c
151
cset_in_hard(struct cset *cs, wchar_t ch)
usr.bin/tr/cset.c
172
wchar_t i;
usr.bin/tr/cset.c
214
cset_rangecmp(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
225
cset_splay(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
275
cset_delete(struct csnode *t, wchar_t ch)
usr.bin/tr/cset.c
42
static struct csnode * cset_delete(struct csnode *, wchar_t);
usr.bin/tr/cset.c
43
static __inline int cset_rangecmp(struct csnode *, wchar_t);
usr.bin/tr/cset.c
44
static struct csnode * cset_splay(struct csnode *, wchar_t);
usr.bin/tr/cset.c
69
cset_add(struct cset *cs, wchar_t ch)
usr.bin/tr/cset.c
72
wchar_t oval;
usr.bin/tr/cset.h
37
wchar_t csn_min;
usr.bin/tr/cset.h
38
wchar_t csn_max;
usr.bin/tr/cset.h
60
bool cset_add(struct cset *, wchar_t);
usr.bin/tr/cset.h
62
bool cset_in_hard(struct cset *, wchar_t);
usr.bin/tr/cset.h
66
cset_in(struct cset *cs, wchar_t ch)
usr.bin/tr/str.c
191
wchar_t wc;
usr.bin/tr/str.c
242
wchar_t wc;
usr.bin/tr/str.c
293
wchar_t wc;
usr.bin/tr/str.c
60
wchar_t wch;
usr.bin/ul/ul.c
357
wchar_t lbuf[256];
usr.bin/ul/ul.c
358
wchar_t *cp = lbuf;
usr.bin/ul/ul.c
397
wchar_t lbuf[256];
usr.bin/ul/ul.c
398
wchar_t *cp = lbuf;
usr.bin/ul/ul.c
65
wchar_t c_char;
usr.bin/uniq/uniq.c
250
static wchar_t *
usr.bin/uniq/uniq.c
254
wchar_t *buf, *ret, *p;
usr.bin/uniq/uniq.c
316
static wchar_t *
usr.bin/uniq/uniq.c
317
skip(wchar_t *str)
usr.bin/uniq/uniq.c
72
static wchar_t *convert(const char *);
usr.bin/uniq/uniq.c
75
static wchar_t *skip(wchar_t *);
usr.bin/uniq/uniq.c
82
wchar_t *tprev, *tthis;
usr.bin/w/pr_time.c
51
static wchar_t buf[256];
usr.bin/w/pr_time.c
54
const wchar_t *fmt;
usr.bin/wall/wall.c
178
wchar_t ch;
usr.bin/wall/wall.c
186
wchar_t *p, *tmp, lbuf[256], codebuf[13];
usr.bin/wall/wall.c
215
(void)swprintf(lbuf, sizeof(lbuf)/sizeof(wchar_t),
usr.bin/wall/wall.c
219
(void)swprintf(lbuf, sizeof(lbuf)/sizeof(wchar_t),
usr.bin/wall/wall.c
235
while (fgetws(lbuf, sizeof(lbuf)/sizeof(wchar_t), stdin)) {
usr.bin/wall/wall.c
256
(void)swprintf(codebuf, sizeof(codebuf)/sizeof(wchar_t), L"<0x%X>", ch);
usr.bin/wc/wc.c
213
wchar_t wch;
usr.bin/write/write.c
285
wchar_t line[512];
usr.bin/write/write.c
308
while (fgetws(line, sizeof(line)/sizeof(wchar_t), stdin) != NULL)
usr.bin/write/write.c
327
wr_fputs(wchar_t *s)
usr.bin/write/write.c
61
void wr_fputs(wchar_t *s);