| /NextBSD/include/ |
| HD | wchar.h | 81 typedef ___wchar_t wchar_t; typedef 107 wchar_t * 108 fgetws(wchar_t * __restrict, int, FILE * __restrict); 109 wint_t fputwc(wchar_t, FILE *); 110 int fputws(const wchar_t * __restrict, FILE * __restrict); 112 int fwprintf(FILE * __restrict, const wchar_t * __restrict, ...); 113 int fwscanf(FILE * __restrict, const wchar_t * __restrict, ...); 117 size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, 120 size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, 122 wint_t putwc(wchar_t, FILE *); [all …]
|
| /NextBSD/contrib/libc++/include/ |
| D | cwchar | 34 int fwprintf(FILE* restrict stream, const wchar_t* restrict format, ...); 35 int fwscanf(FILE* restrict stream, const wchar_t* restrict format, ...); 36 int swprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, ...); 37 int swscanf(const wchar_t* restrict s, const wchar_t* restrict format, ...); 38 int vfwprintf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); 39 int vfwscanf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); // C99 40 int vswprintf(wchar_t* restrict s, size_t n, const wchar_t* restrict format, va_list arg); 41 int vswscanf(const wchar_t* restrict s, const wchar_t* restrict format, va_list arg); // C99 42 int vwprintf(const wchar_t* restrict format, va_list arg); 43 int vwscanf(const wchar_t* restrict format, va_list arg); // C99 [all …]
|
| D | iosfwd | 49 typedef basic_ios<wchar_t> wios; 66 typedef basic_streambuf<wchar_t> wstreambuf; 67 typedef basic_istream<wchar_t> wistream; 68 typedef basic_ostream<wchar_t> wostream; 69 typedef basic_iostream<wchar_t> wiostream; 71 typedef basic_stringbuf<wchar_t> wstringbuf; 72 typedef basic_istringstream<wchar_t> wistringstream; 73 typedef basic_ostringstream<wchar_t> wostringstream; 74 typedef basic_stringstream<wchar_t> wstringstream; 76 typedef basic_filebuf<wchar_t> wfilebuf; [all …]
|
| /NextBSD/include/xlocale/ |
| HD | _wchar.h | 39 int wcscasecmp_l(const wchar_t *, const wchar_t *, 41 int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t, 43 int wcscoll_l(const wchar_t *, const wchar_t *, locale_t); 44 size_t wcsxfrm_l(wchar_t * __restrict, 45 const wchar_t * __restrict, size_t, locale_t); 59 wchar_t *fgetws_l(wchar_t * __restrict, int, FILE * __restrict, 61 wint_t fputwc_l(wchar_t, FILE *, locale_t); 62 int fputws_l(const wchar_t * __restrict, FILE * __restrict, 65 const wchar_t * __restrict, ...); 67 const wchar_t * __restrict, ...); [all …]
|
| /NextBSD/usr.bin/localedef/ |
| HD | wide.c | 47 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 …]
|
| HD | localedef.h | 73 void add_wcs(wchar_t); 75 wchar_t *get_wcs(void); 84 int lookup_charmap(const char *, wchar_t *); 86 int check_charmap(wchar_t); 93 void define_collelem(char *, wchar_t *); 102 void start_order_char(wchar_t); 111 void add_order_char(wchar_t); 116 void add_subst_char(wchar_t); 121 wchar_t * wsncpy(wchar_t *, const wchar_t *, size_t); 127 void add_ctype_range(wchar_t); [all …]
|
| /NextBSD/contrib/libstdc++/include/c_std/ |
| D | std_cwchar.h | 210 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 …]
|
| /NextBSD/lib/libc/locale/ |
| HD | euc.c | 57 static size_t _EUC_mbrtowc_impl(wchar_t * __restrict, const char * __restrict, 59 static size_t _EUC_wcrtomb_impl(char * __restrict, wchar_t, 62 static size_t _EUC_CN_mbrtowc(wchar_t * __restrict, const char * __restrict, 64 static size_t _EUC_JP_mbrtowc(wchar_t * __restrict, const char * __restrict, 66 static size_t _EUC_KR_mbrtowc(wchar_t * __restrict, const char * __restrict, 68 static size_t _EUC_TW_mbrtowc(wchar_t * __restrict, const char * __restrict, 71 static size_t _EUC_CN_wcrtomb(char * __restrict, wchar_t, 73 static size_t _EUC_JP_wcrtomb(char * __restrict, wchar_t, 75 static size_t _EUC_KR_wcrtomb(char * __restrict, wchar_t, 77 static size_t _EUC_TW_wcrtomb(char * __restrict, wchar_t, [all …]
|
| HD | collate.h | 99 wchar_t str[COLLATE_STR_LEN]; 128 int __collate_equiv_value(locale_t, const wchar_t *, size_t); 129 void _collate_lookup(struct xlocale_collate *,const wchar_t *, int *, int *, 131 int __collate_range_cmp(struct xlocale_collate *, wchar_t, wchar_t); 132 size_t _collate_wxfrm(struct xlocale_collate *, const wchar_t *, wchar_t *, 134 size_t _collate_sxfrm(struct xlocale_collate *, const wchar_t *, char *,
|
| HD | mskanji.c | 59 static size_t _MSKanji_mbrtowc(wchar_t * __restrict, const char * __restrict, 62 static size_t _MSKanji_wcrtomb(char * __restrict, wchar_t, 64 static size_t _MSKanji_mbsnrtowcs(wchar_t * __restrict, 68 const wchar_t ** __restrict, size_t, size_t, 72 wchar_t ch; 98 _MSKanji_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n, in _MSKanji_mbrtowc() 102 wchar_t wc; in _MSKanji_mbrtowc() 156 _MSKanji_wcrtomb(char * __restrict s, wchar_t wc, mbstate_t * __restrict ps) in _MSKanji_wcrtomb() 178 _MSKanji_mbsnrtowcs(wchar_t * __restrict dst, in _MSKanji_mbsnrtowcs() 187 const wchar_t ** __restrict src, size_t nwc, in _MSKanji_wcsnrtombs()
|
| /NextBSD/usr.bin/look/ |
| HD | look.c | 83 static char *binary_search(wchar_t *, unsigned char *, unsigned char *); 84 static int compare(wchar_t *, unsigned char *, unsigned char *); 85 static char *linear_search(wchar_t *, unsigned char *, unsigned char *); 86 static int look(wchar_t *, unsigned char *, unsigned char *); 87 static wchar_t *prepkey(const char *, wchar_t); 88 static void print_from(wchar_t *, unsigned char *, unsigned char *); 105 wchar_t termchar; in main() 108 wchar_t *key; in main() 166 static wchar_t * 167 prepkey(const char *string, wchar_t termchar) in prepkey() [all …]
|
| /NextBSD/cddl/contrib/opensolaris/head/ |
| HD | libintl.h | 55 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);
|
| /NextBSD/lib/libedit/ |
| HD | histedit.h | 272 const wchar_t *buffer; 273 const wchar_t *cursor; 274 const wchar_t *lastchar; 277 const wchar_t *el_wgets(EditLine *, int *); 278 int el_wgetc(EditLine *, wchar_t *); 279 void el_wpush(EditLine *, const wchar_t *); 281 int el_wparse(EditLine *, int, const wchar_t **); 288 int el_winsertstr(EditLine *, const wchar_t *); 296 const wchar_t *str; 312 TokenizerW *tok_winit(const wchar_t *); [all …]
|
| /NextBSD/contrib/libstdc++/include/std/ |
| D | std_iosfwd.h | 150 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 …]
|
| /NextBSD/lib/libiconv_modules/UES/ |
| HD | citrus_ues.c | 124 to_str(char *s, wchar_t wc, int bit) in to_str() 147 is_hi_surrogate(wchar_t wc) in is_hi_surrogate() 154 is_lo_surrogate(wchar_t wc) in is_lo_surrogate() 160 static __inline wchar_t 161 surrogate_to_ucs(wchar_t hi, wchar_t lo) in surrogate_to_ucs() 170 ucs_to_surrogate(wchar_t wc, wchar_t * __restrict hi, wchar_t * __restrict lo) in ucs_to_surrogate() 179 is_basic(wchar_t wc) in is_basic() 188 wchar_t * __restrict pwc, char ** __restrict s, size_t n, in _citrus_UES_mbrtowc_priv() 193 wchar_t hi, wc; in _citrus_UES_mbrtowc_priv() 202 hi = (wchar_t)0; in _citrus_UES_mbrtowc_priv() [all …]
|
| /NextBSD/lib/libc/tests/locale/ |
| HD | wcsnrtombs_test.c | 50 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 …]
|
| HD | wcsrtombs_test.c | 51 wchar_t srcbuf[128]; in ATF_TC_BODY() 53 wchar_t *src; in ATF_TC_BODY() 64 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf), in ATF_TC_BODY() 76 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, 4, in ATF_TC_BODY() 87 ATF_REQUIRE(wcsrtombs(NULL, (const wchar_t **)&src, sizeof(dstbuf), in ATF_TC_BODY() 95 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf), in ATF_TC_BODY() 105 ATF_REQUIRE(wcsrtombs(NULL, (const wchar_t **)&src, 0, NULL) == 5); in ATF_TC_BODY() 113 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf), in ATF_TC_BODY() 123 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, 0, &s) == 0); in ATF_TC_BODY() 143 ATF_REQUIRE(wcsrtombs(dstbuf, (const wchar_t **)&src, sizeof(dstbuf), in ATF_TC_BODY()
|
| /NextBSD/contrib/libstdc++/config/os/bsd/darwin/ |
| D | ctype_inline.h | 117 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>::
|
| /NextBSD/contrib/libstdc++/config/os/bsd/freebsd/ |
| D | ctype_inline.h | 117 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>::
|
| /NextBSD/contrib/libarchive/libarchive/ |
| HD | archive_acl.c | 48 #define wmemcmp(a,b,i) memcmp((a), (b), (i) * sizeof(wchar_t)) 58 static int isint_w(const wchar_t *start, const wchar_t *end, int *result); 59 static int ismode_w(const wchar_t *start, const wchar_t *end, int *result); 60 static void next_field_w(const wchar_t **wp, const wchar_t **start, 61 const wchar_t **end, wchar_t *sep); 62 static int prefix_w(const wchar_t *start, const wchar_t *end, 63 const wchar_t *test); 64 static void append_entry_w(wchar_t **wp, const wchar_t *prefix, int tag, 65 const wchar_t *wname, int perm, int id); 66 static void append_id_w(wchar_t **wp, int id); [all …]
|
| HD | archive_entry.h | 211 __LA_DECL const wchar_t *archive_entry_gname_w(struct archive_entry *); 213 __LA_DECL const wchar_t *archive_entry_hardlink_w(struct archive_entry *); 223 __LA_DECL const wchar_t *archive_entry_pathname_w(struct archive_entry *); 229 __LA_DECL const wchar_t *archive_entry_sourcepath_w(struct archive_entry *); 234 __LA_DECL const wchar_t *archive_entry_symlink_w(struct archive_entry *); 237 __LA_DECL const wchar_t *archive_entry_uname_w(struct archive_entry *); 267 __LA_DECL const wchar_t *archive_entry_copy_fflags_text_w(struct archive_entry *, 268 const wchar_t *); 272 __LA_DECL void archive_entry_copy_gname_w(struct archive_entry *, const wchar_t *); 276 __LA_DECL void archive_entry_copy_hardlink_w(struct archive_entry *, const wchar_t *); [all …]
|
| /NextBSD/usr.bin/fmt/ |
| HD | fmt.c | 227 static const wchar_t *sentence_enders=L".?!"; /* Double-space after these */ 232 static wchar_t *output_buffer=0; /* Output line will be built here */ 243 static size_t indent_length (const wchar_t *, size_t); 244 static int might_be_header (const wchar_t *); 246 static void output_word (size_t, size_t, const wchar_t *, size_t, 250 static wchar_t * get_line (FILE *, size_t *); 261 wchar_t *tmp; in main() 280 tmp = XMALLOC((len + 1) * sizeof(wchar_t)); in main() 355 if (max_length >= SIZE_T_MAX / sizeof (wchar_t)) errx(EX_USAGE, "max length too large"); in main() 357 output_buffer = XMALLOC((max_length+1) * sizeof(wchar_t)); in main() [all …]
|
| /NextBSD/lib/libiconv_modules/DECHanyu/ |
| HD | citrus_dechanyu.c | 168 wchar_t * __restrict pwc, char ** __restrict s, size_t n, in _citrus_DECHanyu_mbrtowc_priv() 172 wchar_t wc; in _citrus_DECHanyu_mbrtowc_priv() 182 wc = (wchar_t)0; in _citrus_DECHanyu_mbrtowc_priv() 190 *pwc = (wchar_t)ch; in _citrus_DECHanyu_mbrtowc_priv() 209 wc |= (wchar_t)HANYUBIT; in _citrus_DECHanyu_mbrtowc_priv() 227 wc |= (wchar_t)HANYUBIT; in _citrus_DECHanyu_mbrtowc_priv() 251 wc |= (wchar_t)(ch << 8); in _citrus_DECHanyu_mbrtowc_priv() 255 wc |= (wchar_t)ch; in _citrus_DECHanyu_mbrtowc_priv() 277 char * __restrict s, size_t n, wchar_t wc, in _citrus_DECHanyu_wcrtomb_priv() 290 if ((wc & ~0xFFFF) != (wchar_t)HANYUBIT) in _citrus_DECHanyu_wcrtomb_priv() [all …]
|
| /NextBSD/lib/libc/string/ |
| HD | wcstok.c | 40 wchar_t * 41 wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim, in wcstok() 42 wchar_t ** __restrict last) in wcstok() 44 const wchar_t *spanp; in wcstok() 45 wchar_t *tok; in wcstok() 46 wchar_t c, sc; in wcstok()
|
| /NextBSD/lib/libc/stdio/ |
| HD | vfwscanf.c | 101 static int parsefloat(FILE *, wchar_t *, wchar_t *, locale_t); 105 const wchar_t *start; /* character class start */ 106 const wchar_t *end; /* character class end */ 165 convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale) in convert_wchar() 173 *wcp++ = (wchar_t)wi; in convert_wchar() 210 convert_wccl(FILE *fp, wchar_t *wcp, int width, const struct ccl *ccl, in convert_wccl() 213 wchar_t *wcp0; in convert_wccl() 228 *wcp++ = (wchar_t)wi; in convert_wccl() 267 convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale) in convert_wstring() 269 wchar_t *wcp0; in convert_wstring() [all …]
|