Home
last modified time | relevance | path

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

12345678910>>...22

/freebsd-12-stable/include/
Dwchar.h90 typedef ___wchar_t wchar_t; typedef
116 wchar_t *
117 fgetws(wchar_t * __restrict, int, FILE * __restrict);
118 wint_t fputwc(wchar_t, FILE *);
119 int fputws(const wchar_t * __restrict, FILE * __restrict);
121 int fwprintf(FILE * __restrict, const wchar_t * __restrict, ...);
122 int fwscanf(FILE * __restrict, const wchar_t * __restrict, ...);
126 size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
129 size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
131 wint_t putwc(wchar_t, FILE *);
[all …]
/freebsd-12-stable/contrib/llvm-project/libcxx/include/
Dcwchar33 int fwprintf(FILE* restrict stream, const wchar_t* restrict format, ...);
34 int fwscanf(FILE* restrict stream, const wchar_t* restrict format, ...);
35 int swprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, ...);
36 int swscanf(const wchar_t* restrict s, const wchar_t* restrict format, ...);
37 int vfwprintf(FILE* restrict stream, const wchar_t* restrict format, va_list arg);
38 int vfwscanf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); // C99
39 int vswprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, va_list arg);
40 int vswscanf(const wchar_t* restrict s, const wchar_t* restrict format, va_list arg); // C99
41 int vwprintf(const wchar_t* restrict format, va_list arg);
42 int vwscanf(const wchar_t* restrict format, va_list arg); // C99
[all …]
Dwchar.h137 wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);} in __libcpp_wcschr()
139 const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr()
141 wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);} in wcschr()
144 wchar_t* __libcpp_wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcspbrk(__s1,… in __libcpp_wcspbrk()
146 const wchar_t* wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return __libcpp_wcspbrk(__s1, __s… in wcspbrk()
148wchar_t* wcspbrk( wchar_t* __s1, const wchar_t* __s2) {return __libcpp_wcspbrk(__s1, __s2);} in wcspbrk()
151 wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);} in __libcpp_wcsrchr()
153 const wchar_t* wcsrchr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr()
155 wchar_t* wcsrchr( wchar_t* __s, wchar_t __c) {return __libcpp_wcsrchr(__s, __c);} in wcsrchr()
158 wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, _… in __libcpp_wcsstr()
[all …]
Diosfwd24 template<> struct char_traits<wchar_t>;
54 typedef basic_ios<wchar_t> wios;
71 typedef basic_streambuf<wchar_t> wstreambuf;
72 typedef basic_istream<wchar_t> wistream;
73 typedef basic_ostream<wchar_t> wostream;
74 typedef basic_iostream<wchar_t> wiostream;
76 typedef basic_stringbuf<wchar_t> wstringbuf;
77 typedef basic_istringstream<wchar_t> wistringstream;
78 typedef basic_ostringstream<wchar_t> wostringstream;
79 typedef basic_stringstream<wchar_t> wstringstream;
[all …]
/freebsd-12-stable/include/xlocale/
D_wchar.h41 int wcscasecmp_l(const wchar_t *, const wchar_t *,
43 int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t,
45 int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
46 size_t wcsxfrm_l(wchar_t * __restrict,
47 const wchar_t * __restrict, size_t, locale_t);
61 wchar_t *fgetws_l(wchar_t * __restrict, int, FILE * __restrict,
63 wint_t fputwc_l(wchar_t, FILE *, locale_t);
64 int fputws_l(const wchar_t * __restrict, FILE * __restrict,
67 const wchar_t * __restrict, ...);
69 const wchar_t * __restrict, ...);
[all …]
/freebsd-12-stable/contrib/libedit/
Dchared.h61 wchar_t *buf; /* full saved text */
66 wchar_t *buf; /* redo insert key sequence */
67 wchar_t *pos;
68 wchar_t *lim;
70 wchar_t ch; /* char that invoked it */
80 wchar_t *pos;
87 wchar_t *buf;
88 wchar_t *last;
89 wchar_t *mark;
131 libedit_private wchar_t *cv__endword(wchar_t *, wchar_t *, int, int (*)(wint_t));
[all …]
Dchartype.h46 #error wchar_t must store ISO 10646 characters
63 wchar_t *wbuff;
68 char *ct_encode_string(const wchar_t *, ct_buffer_t *);
71 wchar_t *ct_decode_string(const char *, ct_buffer_t *);
75 libedit_private wchar_t **ct_decode_argv(int, const char *[], ct_buffer_t *);
80 libedit_private ssize_t ct_encode_char(char *, size_t, wchar_t);
81 libedit_private size_t ct_enc_width(wchar_t);
94 libedit_private int ct_visual_width(wchar_t);
99 libedit_private ssize_t ct_visual_char(wchar_t *, size_t, wchar_t);
103 libedit_private const wchar_t *ct_visual_string(const wchar_t *, ct_buffer_t *);
[all …]
Dparse.c64 const wchar_t *name;
65 int (*func)(EditLine *, int, const wchar_t **);
82 parse_line(EditLine *el, const wchar_t *line) in parse_line()
84 const wchar_t **argv; in parse_line()
100 el_wparse(EditLine *el, int argc, const wchar_t *argv[]) in el_wparse()
102 const wchar_t *ptr; in el_wparse()
109 wchar_t *tprog; in el_wparse()
142 parse__escape(const wchar_t **ptr) in parse__escape()
144 const wchar_t *p; in parse__escape()
182 const wchar_t hex[] = L"0123456789ABCDEF"; in parse__escape()
[all …]
Dhistedit.h261 const wchar_t *buffer;
262 const wchar_t *cursor;
263 const wchar_t *lastchar;
266 typedef int (*el_rfunc_t)(EditLine *, wchar_t *);
268 const wchar_t *el_wgets(EditLine *, int *);
269 int el_wgetc(EditLine *, wchar_t *);
270 void el_wpush(EditLine *, const wchar_t *);
272 int el_wparse(EditLine *, int, const wchar_t **);
279 int el_winsertstr(EditLine *, const wchar_t *);
287 const wchar_t *str;
[all …]
Dkeymacro.h45 wchar_t *str; /* If it is a string... */
51 wchar_t *buf; /* Key print buffer */
63 libedit_private keymacro_value_t *keymacro_map_str(EditLine *, wchar_t *);
65 libedit_private int keymacro_get(EditLine *, wchar_t *, keymacro_value_t *);
66 libedit_private void keymacro_add(EditLine *, const wchar_t *,
68 libedit_private void keymacro_clear(EditLine *, el_action_t *, const wchar_t *);
69 libedit_private int keymacro_delete(EditLine *, const wchar_t *);
70 libedit_private void keymacro_print(EditLine *, const wchar_t *);
71 libedit_private void keymacro_kprint(EditLine *, const wchar_t *,
73 libedit_private size_t keymacro__decode_str(const wchar_t *, char *, size_t,
/freebsd-12-stable/usr.bin/localedef/
Dwide.c47 static int towide_none(wchar_t *, const char *, unsigned);
48 static int towide_utf8(wchar_t *, const char *, unsigned);
49 static int towide_big5(wchar_t *, const char *, unsigned);
50 static int towide_gbk(wchar_t *, const char *, unsigned);
51 static int towide_gb2312(wchar_t *, const char *, unsigned);
52 static int towide_gb18030(wchar_t *, const char *, unsigned);
53 static int towide_mskanji(wchar_t *, const char *, unsigned);
54 static int towide_euccn(wchar_t *, const char *, unsigned);
55 static int towide_eucjp(wchar_t *, const char *, unsigned);
56 static int towide_euckr(wchar_t *, const char *, unsigned);
[all …]
Dlocaledef.h76 void add_wcs(wchar_t);
78 wchar_t *get_wcs(void);
89 int lookup_charmap(const char *, wchar_t *);
91 int check_charmap(wchar_t);
98 void define_collelem(char *, wchar_t *);
107 void start_order_char(wchar_t);
116 void add_order_char(wchar_t);
121 void add_subst_char(wchar_t);
126 wchar_t * wsncpy(wchar_t *, const wchar_t *, size_t);
132 void add_ctype_range(wchar_t);
[all …]
/freebsd-12-stable/contrib/libstdc++/include/c_std/
Dstd_cwchar.h210 inline wchar_t*
211 wcschr(wchar_t* __p, wchar_t __c) in wcschr()
212 { return wcschr(const_cast<const wchar_t*>(__p), __c); } in wcschr()
216 inline wchar_t*
217 wcspbrk(wchar_t* __s1, const wchar_t* __s2) in wcspbrk()
218 { return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); } in wcspbrk()
222 inline wchar_t*
223 wcsrchr(wchar_t* __p, wchar_t __c) in wcsrchr()
224 { return wcsrchr(const_cast<const wchar_t*>(__p), __c); } in wcsrchr()
228 inline wchar_t*
[all …]
/freebsd-12-stable/lib/libc/locale/
Deuc.c59 static size_t _EUC_mbrtowc_impl(wchar_t * __restrict, const char * __restrict,
61 static size_t _EUC_wcrtomb_impl(char * __restrict, wchar_t,
64 static size_t _EUC_CN_mbrtowc(wchar_t * __restrict, const char * __restrict,
66 static size_t _EUC_JP_mbrtowc(wchar_t * __restrict, const char * __restrict,
68 static size_t _EUC_KR_mbrtowc(wchar_t * __restrict, const char * __restrict,
70 static size_t _EUC_TW_mbrtowc(wchar_t * __restrict, const char * __restrict,
73 static size_t _EUC_CN_wcrtomb(char * __restrict, wchar_t,
75 static size_t _EUC_JP_wcrtomb(char * __restrict, wchar_t,
77 static size_t _EUC_KR_wcrtomb(char * __restrict, wchar_t,
79 static size_t _EUC_TW_wcrtomb(char * __restrict, wchar_t,
[all …]
Dwcstof.c46 wcstof_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstof_l()
53 const wchar_t *wcp; in wcstof_l()
68 *endptr = (wchar_t *)nptr; in wcstof_l()
73 *endptr = (wchar_t *)nptr; in wcstof_l()
82 *endptr = (wchar_t *)nptr + (end - buf); in wcstof_l()
92 wcstof(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstof()
Dwcstod.c52 wcstod_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstod_l()
59 const wchar_t *wcp; in wcstod_l()
84 *endptr = (wchar_t *)nptr; in wcstod_l()
89 *endptr = (wchar_t *)nptr; in wcstod_l()
105 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l()
115 wcstod(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstod()
Dwcstold.c46 wcstold_l(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr, in wcstold_l()
53 const wchar_t *wcp; in wcstold_l()
68 *endptr = (wchar_t *)nptr; in wcstold_l()
73 *endptr = (wchar_t *)nptr; in wcstold_l()
82 *endptr = (wchar_t *)nptr + (end - buf); in wcstold_l()
92 wcstold(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) in wcstold()
/freebsd-12-stable/contrib/llvm-project/libcxx/src/filesystem/
Dposix_compat.h57 wchar_t PathBuffer[1];
64 wchar_t PathBuffer[1];
156 WinHandle(const wchar_t *p, DWORD access, DWORD flags) { in WinHandle()
210 int stat_file(const wchar_t *path, StatT *buf, DWORD flags) { in stat_file()
218 int stat(const wchar_t *path, StatT *buf) { return stat_file(path, buf, 0); } in stat()
220 int lstat(const wchar_t *path, StatT *buf) { in lstat()
229 int mkdir(const wchar_t *path, int permissions) { in mkdir()
234 int symlink_file_dir(const wchar_t *oldname, const wchar_t *newname, in symlink_file_dir()
251 int symlink_file(const wchar_t *oldname, const wchar_t *newname) { in symlink_file()
255 int symlink_dir(const wchar_t *oldname, const wchar_t *newname) { in symlink_dir()
[all …]
/freebsd-12-stable/usr.bin/look/
Dlook.c85 static char *binary_search(wchar_t *, unsigned char *, unsigned char *);
86 static int compare(wchar_t *, unsigned char *, unsigned char *);
87 static char *linear_search(wchar_t *, unsigned char *, unsigned char *);
88 static int look(wchar_t *, unsigned char *, unsigned char *);
89 static wchar_t *prepkey(const char *, wchar_t);
90 static void print_from(wchar_t *, unsigned char *, unsigned char *);
107 wchar_t termchar; in main()
110 wchar_t *key; in main()
168 static wchar_t *
169 prepkey(const char *string, wchar_t termchar) in prepkey()
[all …]
/freebsd-12-stable/cddl/contrib/opensolaris/head/
Dlibintl.h55 typedef int wchar_t; typedef
57 typedef long wchar_t;
87 extern int wdchkind(wchar_t);
88 extern int wdbindf(wchar_t, wchar_t, int);
89 extern wchar_t *wddelim(wchar_t, wchar_t, int);
90 extern wchar_t mcfiller(void);
/freebsd-12-stable/contrib/libstdc++/include/std/
Dstd_iosfwd.h150 typedef basic_ios<wchar_t> wios; ///< @isiosfwd
151 typedef basic_streambuf<wchar_t> wstreambuf; ///< @isiosfwd
152 typedef basic_istream<wchar_t> wistream; ///< @isiosfwd
153 typedef basic_ostream<wchar_t> wostream; ///< @isiosfwd
154 typedef basic_iostream<wchar_t> wiostream; ///< @isiosfwd
155 typedef basic_stringbuf<wchar_t> wstringbuf; ///< @isiosfwd
156 typedef basic_istringstream<wchar_t> wistringstream; ///< @isiosfwd
157 typedef basic_ostringstream<wchar_t> wostringstream; ///< @isiosfwd
158 typedef basic_stringstream<wchar_t> wstringstream; ///< @isiosfwd
159 typedef basic_filebuf<wchar_t> wfilebuf; ///< @isiosfwd
[all …]
/freebsd-12-stable/lib/libiconv_modules/UES/
Dcitrus_ues.c126 to_str(char *s, wchar_t wc, int bit) in to_str()
149 is_hi_surrogate(wchar_t wc) in is_hi_surrogate()
156 is_lo_surrogate(wchar_t wc) in is_lo_surrogate()
162 static __inline wchar_t
163 surrogate_to_ucs(wchar_t hi, wchar_t lo) in surrogate_to_ucs()
172 ucs_to_surrogate(wchar_t wc, wchar_t * __restrict hi, wchar_t * __restrict lo) in ucs_to_surrogate()
181 is_basic(wchar_t wc) in is_basic()
190 wchar_t * __restrict pwc, char ** __restrict s, size_t n, in _citrus_UES_mbrtowc_priv()
195 wchar_t hi, wc; in _citrus_UES_mbrtowc_priv()
204 hi = (wchar_t)0; in _citrus_UES_mbrtowc_priv()
[all …]
/freebsd-12-stable/lib/libc/tests/locale/
Dwcsnrtombs_test.c50 wchar_t srcbuf[128]; in ATF_TC_BODY()
52 wchar_t *src; in ATF_TC_BODY()
63 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf), in ATF_TC_BODY()
75 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 4, sizeof(dstbuf), in ATF_TC_BODY()
87 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, 4, in ATF_TC_BODY()
98 ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 6, sizeof(dstbuf), in ATF_TC_BODY()
106 ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 4, sizeof(dstbuf), in ATF_TC_BODY()
114 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 6, sizeof(dstbuf), in ATF_TC_BODY()
124 ATF_REQUIRE(wcsnrtombs(NULL, (const wchar_t **)&src, 6, 0, NULL) == 5); in ATF_TC_BODY()
132 ATF_REQUIRE(wcsnrtombs(dstbuf, (const wchar_t **)&src, 1, sizeof(dstbuf), in ATF_TC_BODY()
[all …]
/freebsd-12-stable/contrib/libstdc++/config/os/bsd/freebsd/
Dctype_inline.h117 ctype<wchar_t>::
118 do_is(mask __m, wchar_t __c) const in do_is()
123 inline const wchar_t*
124 ctype<wchar_t>::
125 do_is(const wchar_t* __lo, const wchar_t* __hi, mask* __vec) const in do_is()
133 inline const wchar_t*
134 ctype<wchar_t>::
135 do_scan_is(mask __m, const wchar_t* __lo, const wchar_t* __hi) const in do_scan_is()
142 inline const wchar_t*
143 ctype<wchar_t>::
/freebsd-12-stable/contrib/libstdc++/config/os/bsd/darwin/
Dctype_inline.h117 ctype<wchar_t>::
118 do_is(mask __m, wchar_t __c) const in do_is()
123 inline const wchar_t*
124 ctype<wchar_t>::
125 do_is(const wchar_t* __lo, const wchar_t* __hi, mask* __vec) const in do_is()
133 inline const wchar_t*
134 ctype<wchar_t>::
135 do_scan_is(mask __m, const wchar_t* __lo, const wchar_t* __hi) const in do_scan_is()
142 inline const wchar_t*
143 ctype<wchar_t>::

12345678910>>...22