Home
last modified time | relevance | path

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

12345678910>>...18

/illumos-gate/usr/src/head/iso/
H A Dwchar_iso.h89 typedef int wchar_t; typedef
91 typedef long wchar_t;
188 extern wchar_t *__fgetws_xpg5(wchar_t *_RESTRICT_KYWD, int,
190 extern int __fputws_xpg5(const wchar_t *_RESTRICT_KYWD, __FILE *_RESTRICT_KYWD);
206 extern wchar_t *fgetws(wchar_t *_RESTRICT_KYWD, int, __FILE *_RESTRICT_KYWD);
208 extern int fputws(const wchar_t *_RESTRICT_KYWD, __FILE *_RESTRICT_KYWD);
214 extern double wcstod(const wchar_t *_RESTRICT_KYWD, wchar_t **_RESTRICT_KYWD);
215 extern long wcstol(const wchar_t *_RESTRICT_KYWD, wchar_t **_RESTRICT_KYWD,
217 extern unsigned long wcstoul(const wchar_t *_RESTRICT_KYWD,
218 wchar_t **_RESTRICT_KYWD, int);
[all …]
H A Dwchar_c99.h64 extern int vfwscanf(__FILE *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
66 extern int vswscanf(const wchar_t *_RESTRICT_KYWD,
67 const wchar_t *_RESTRICT_KYWD, __va_list);
68 extern int vwscanf(const wchar_t *_RESTRICT_KYWD, __va_list);
69 extern float wcstof(const wchar_t *_RESTRICT_KYWD,
70 wchar_t **_RESTRICT_KYWD);
72 extern long double wcstold(const wchar_t *_RESTRICT_KYWD,
73 wchar_t **_RESTRICT_KYWD);
74 extern long long wcstoll(const wchar_t *_RESTRICT_KYWD,
75 wchar_t **_RESTRICT_KYWD, int);
[all …]
/illumos-gate/usr/src/head/
H A Dwidec.h49 extern wchar_t *getws(wchar_t *);
50 extern int putws(const wchar_t *);
60 extern wchar_t *strtows(wchar_t *, char *);
61 extern wchar_t *wscpy(wchar_t *, const wchar_t *);
62 extern wchar_t *wsncpy(wchar_t *, const wchar_t *, size_t);
63 extern wchar_t *wscat(wchar_t *, const wchar_t *);
64 extern wchar_t *wsncat(wchar_t *, const wchar_t *, size_t);
65 extern wchar_t *wschr(const wchar_t *, wchar_t);
66 extern wchar_t *wsrchr(const wchar_t *, wchar_t);
67 extern wchar_t *wspbrk(const wchar_t *, const wchar_t *);
[all …]
H A Dwchar.h141 extern wchar_t *wcswcs(const wchar_t *, const wchar_t *);
142 extern int wcswidth(const wchar_t *, size_t);
143 extern int wcwidth(wchar_t);
176 extern size_t wcsnlen(const wchar_t *, size_t);
177 extern wchar_t *wcpcpy(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD);
178 extern wchar_t *wcpncpy(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
180 extern size_t wcsxfrm_l(wchar_t *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
182 extern int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
183 extern wchar_t *wcsdup(const wchar_t *);
184 extern int wcscasecmp(const wchar_t *, const wchar_t *);
[all …]
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.h47 #define EOS ((wchar_t)0)
63 #define builtin_idx(x) ((x) & (wchar_t)~BUILTIN)
81 void (*bfunc)(wchar_t **, int);
82 wchar_t *bname;
86 wchar_t **argp;
91 wchar_t *name;
92 wchar_t *def;
98 wchar_t *wrapstr;
111 extern wchar_t **Ap;
112 extern wchar_t **argstk;
[all …]
H A Dm4macs.c41 static void def(wchar_t **, int, int);
42 static void dump(wchar_t *, wchar_t *);
43 static void incl(wchar_t **, int, int);
44 static int leftmatch(wchar_t *, wchar_t *);
47 dochcom(wchar_t **ap, int c) in dochcom()
49 wchar_t *l = arg(1); in dochcom()
50 wchar_t *r = arg(2); in dochcom()
60 docq(wchar_t **ap, int c) in docq()
62 wchar_t *l = arg(1); in docq()
63 wchar_t *r = arg(2); in docq()
[all …]
H A Dm4ext.c40 wchar_t *ibuf; /* buffer */
41 wchar_t *ibuflm; /* highest buffer addr */
42 wchar_t *ip; /* current position */
43 wchar_t *ipflr; /* buffer floor */
44 wchar_t *ipstk[10]; /* stack for "ipflr"s */
48 wchar_t *obuf; /* buffer */
49 wchar_t *obuflm; /* high address */
50 wchar_t *op; /* current position */
59 wchar_t *token; /* buffer */
60 wchar_t *toklm; /* high addr */
[all …]
H A Dm4.c49 static wchar_t prev_char;
54 static void expand(wchar_t **, int);
57 static void puttok(wchar_t *);
59 static wchar_t itochr(int);
61 static wchar_t *chkbltin(wchar_t *);
62 static wchar_t *inpmatch(wchar_t *);
67 static void sputchr(wchar_t, FILE *);
68 static void putchr(wchar_t);
71 static wint_t myfputwc(wchar_t, FILE *);
77 wchar_t t; in main()
[all …]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwdresolve.c46 static int wdchkind_C(wchar_t);
47 static int (*wdchknd)(wchar_t) = wdchkind_C;
48 static int wdbindf_C(wchar_t, wchar_t, int);
49 static int (*wdbdg)(wchar_t, wchar_t, int) = wdbindf_C;
50 static wchar_t *wddelim_C(wchar_t, wchar_t, int);
51 static wchar_t *(*wddlm)(wchar_t, wchar_t, int) = wddelim_C;
52 static wchar_t (*mcfllr)(void) = NULL;
86 wdchknd = (int(*)(wchar_t))dlsym(modhandle, "_wdchkind_"); in _wdinitialize()
89 wdbdg = (int(*)(wchar_t, wchar_t, int))dlsym(modhandle, in _wdinitialize()
93 wddlm = (wchar_t *(*)(wchar_t, wchar_t, int)) in _wdinitialize()
[all …]
H A Dwstok.c49 #define WNULL (wchar_t *)0
52 wchar_t *
53 __wcstok_xpg5(wchar_t *string, const wchar_t *sepset, wchar_t **ptr) in __wcstok_xpg5()
55 wchar_t *q, *r; in __wcstok_xpg5()
73 wchar_t *
74 wcstok(wchar_t *string, const wchar_t *sepset) in wcstok()
76 wchar_t **lasts = tsdalloc(_T_WCSTOK, sizeof (wchar_t *), NULL); in wcstok()
83 wchar_t *
84 wstok(wchar_t *string, const wchar_t *sepset) in wstok()
H A Dwsncpy.c40 wchar_t *
41 wcsncpy(wchar_t *s1, const wchar_t *s2, size_t n) in wcsncpy()
43 wchar_t *os1 = s1; in wcsncpy()
54 wchar_t *
55 wsncpy(wchar_t *s1, const wchar_t *s2, size_t n) in wsncpy()
64 wchar_t *
65 wcpncpy(wchar_t *s1, const wchar_t *s2, size_t n) in wcpncpy()
67 wchar_t *os1 = s1; in wcpncpy()
H A Dwscpy.c44 wchar_t *
45 wcscpy(wchar_t *s1, const wchar_t *s2) in wcscpy()
47 wchar_t *os1 = s1; in wcscpy()
54 wchar_t *
55 wscpy(wchar_t *s1, const wchar_t *s2) in wscpy()
60 wchar_t *
61 wcpcpy(wchar_t *s1, const wchar_t *s2) in wcpcpy()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk0.c113 wchar_t _null[] = M_MB_L(""); /* Empty string */
116 wchar_t s_OFMT[] = M_MB_L("OFMT"); /* Name of "OFMT" variable */
117 wchar_t s_CONVFMT[] = M_MB_L("CONVFMT"); /* Name of "CONVFMT" variable */
118 wchar_t s_NR[] = M_MB_L("NR"); /* Name of "NR" variable */
119 wchar_t s_NF[] = M_MB_L("NF"); /* Name of "NF" variable */
120 wchar_t s_OFS[] = M_MB_L("OFS"); /* Name of "OFS" variable */
121 wchar_t s_ORS[] = M_MB_L("ORS"); /* Name of "ORS" variable */
122 wchar_t s_RS[] = M_MB_L("RS"); /* Name of "RS" variable */
123 wchar_t s_FS[] = M_MB_L("FS"); /* Name of "FS" variable */
124 wchar_t s_FNR[] = M_MB_L("FNR"); /* Name of "FNR" variable */
[all …]
H A Dawk.h92 typedef wchar_t *STRING;
121 wchar_t N_name[1];
234 typedef wchar_t near *LOCCHARP; /* pointer to local strings */
280 NODE *renode(wchar_t *restr);
281 wchar_t *emalloc(unsigned);
282 wchar_t *erealloc(wchar_t *, unsigned);
288 int nextrecord(wchar_t *buf, FILE *fp);
289 wchar_t *defrecord(wchar_t *bp, int lim, FILE *fp);
290 wchar_t *charrecord(wchar_t *bp, int lim, FILE *fp);
291 wchar_t *multirecord(wchar_t *bp, int lim, FILE *fp);
[all …]
H A Dawk2.c46 static void adjust_buf(wchar_t **, int *, wchar_t **, char *, size_t);
47 static void awk_putwc(wchar_t, FILE *);
68 nextrecord(wchar_t *cp, FILE *fp) in nextrecord()
70 wchar_t *ep = cp; in nextrecord()
125 isclvar(wchar_t *arg) in isclvar()
127 wchar_t *tmpptr = arg; in isclvar()
160 wchar_t *ap; in newfile()
162 wchar_t *arg; in newfile()
163 extern void strescape(wchar_t *); in newfile()
176 arg = (wchar_t *)exprstring(ARGVsubi); in newfile()
[all …]
/illumos-gate/usr/src/cmd/localedef/
H A Dwide.c30 static int towide_none(wchar_t *, const char *, unsigned);
31 static int towide_utf8(wchar_t *, const char *, unsigned);
32 static int towide_big5(wchar_t *, const char *, unsigned);
33 static int towide_gbk(wchar_t *, const char *, unsigned);
34 static int towide_gb2312(wchar_t *, const char *, unsigned);
35 static int towide_gb18030(wchar_t *, const char *, unsigned);
36 static int towide_mskanji(wchar_t *, const char *, unsigned);
37 static int towide_euccn(wchar_t *, const char *, unsigned);
38 static int towide_eucjp(wchar_t *, const char *, unsigned);
39 static int towide_euckr(wchar_t *, const char *, unsigned);
[all …]
H A Dlocaledef.h54 void add_wcs(wchar_t);
55 wchar_t *get_wcs(void);
64 int lookup_charmap(const char *, wchar_t *);
66 int check_charmap(wchar_t);
73 void define_collelem(char *, wchar_t *);
82 void start_order_char(wchar_t);
89 void add_order_char(wchar_t);
94 void add_subst_char(wchar_t);
102 void add_ctype_range(wchar_t);
110 void add_message(wchar_t *);
[all …]
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c48 #define NOSTR ((wchar_t *)0) /* Null string pointer for lint */
51 wchar_t outbuf[BUFSIZ]; /* Sandbagged output line image */
52 wchar_t *outp; /* Pointer in above */
66 wchar_t *headnames[] = {
84 wchar_t *hdrbuf[MAXLINES]; /* buffer to hold potential mail header lines */
87 void (*(split))(wchar_t []);
88 extern int scrwidth(wchar_t);
92 static void fill_hdrbuf(wchar_t []);
96 static void tabulate(wchar_t []);
98 static void pack(wchar_t []);
[all …]
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dwchar_h.cfg36 wchar_t **; size_t * |\
40 wchar_t * |\
41 wchar_t *; const wchar_t * |\
45 wchar_t * |\
46 wchar_t *; const wchar_t *; size_t |\
50 wchar_t * |\
51 const wchar_t * |\
56 const wchar_t *; const wchar_t * |\
61 const wchar_t *; const wchar_t *; locale_t |\
67 const wchar_t * |\
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dwchar107 extern size_t mbstowcs(wchar_t*, const char*, size_t);
110 extern int wctomb(char*, wchar_t);
113 extern size_t wcrtomb(char*, wchar_t, mbstate_t*);
116 extern size_t wcslen(const wchar_t*);
119 extern size_t wcstombs(char*, const wchar_t*, size_t);
122 extern int fwprintf(FILE*, const wchar_t*, ...);
123 extern int fwscanf(FILE*, const wchar_t*, ...);
125 extern wchar_t* fgetws(wchar_t*, int, FILE*);
126 extern wint_t fputwc(wchar_t, FILE*);
127 extern int fputws(const wchar_t*, FILE*);
[all …]
/illumos-gate/usr/src/cmd/oawk/
H A Dtran.c39 wchar_t **FS; /* initial field sep */
40 wchar_t **RS; /* initial record sep */
41 wchar_t **OFS; /* output field sep */
42 wchar_t **ORS; /* output record sep */
43 wchar_t **OFMT; /* output format for numbers */
46 wchar_t **FILENAME; /* current filename argument */
58 static wchar_t L_0[] = L"0"; in syminit()
59 static wchar_t L_zeronull[] = L"$zero&null"; in syminit()
60 static wchar_t L_record[] = L"$record"; in syminit()
61 static wchar_t L_FS[] = L"FS"; in syminit()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Deuc.c47 static size_t _EUC_mbrtowc_impl(wchar_t *_RESTRICT_KYWD,
51 static size_t _EUC_wcrtomb_impl(char *_RESTRICT_KYWD, wchar_t,
54 static size_t _EUC_CN_mbrtowc(wchar_t *_RESTRICT_KYWD,
57 static size_t _EUC_JP_mbrtowc(wchar_t *_RESTRICT_KYWD,
60 static size_t _EUC_KR_mbrtowc(wchar_t *_RESTRICT_KYWD,
63 static size_t _EUC_TW_mbrtowc(wchar_t *_RESTRICT_KYWD,
67 static size_t _EUC_CN_wcrtomb(char *_RESTRICT_KYWD, wchar_t,
69 static size_t _EUC_JP_wcrtomb(char *_RESTRICT_KYWD, wchar_t,
71 static size_t _EUC_KR_wcrtomb(char *_RESTRICT_KYWD, wchar_t,
73 static size_t _EUC_TW_wcrtomb(char *_RESTRICT_KYWD, wchar_t,
[all …]
/illumos-gate/usr/src/lib/libc/inc/
H A Dlibc.h100 extern int _scrwidth(wchar_t);
264 extern int __wdoscan_u(FILE *, const wchar_t *, va_list, int);
273 extern int _wprintf_c89(const wchar_t *, ...);
274 extern int _fwprintf_c89(FILE *, const wchar_t *, ...);
275 extern int _swprintf_c89(wchar_t *, size_t, const wchar_t *, ...);
280 extern int _vwprintf_c89(const wchar_t *, va_list);
281 extern int _vfwprintf_c89(FILE *, const wchar_t *, va_list);
282 extern int _vswprintf_c89(wchar_t *, size_t, const wchar_t *, va_list);
289 extern int _vwscanf_c89(const wchar_t *, va_list);
290 extern int _vfwscanf_c89(FILE *, const wchar_t *, va_list);
[all …]
H A Dmse_int.h36 extern size_t wcsftime(wchar_t *, size_t, const char *, const struct tm *);
37 extern size_t __wcsftime_xpg5(wchar_t *, size_t, const wchar_t *,
40 extern wchar_t *wcstok(wchar_t *, const wchar_t *);
41 extern wchar_t *__wcstok_xpg5(wchar_t *, const wchar_t *, wchar_t **);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dfgetws.c26 wchar_t*
27 fgetws(wchar_t* s, int n, Sfio_t* f) in fgetws()
29 register wchar_t* p = s; in fgetws()
30 register wchar_t* e = s + n - 1; in fgetws()
33 STDIO_PTR(f, "fgets", wchar_t*, (wchar_t*, int, Sfio_t*), (s, n, f)) in fgetws()
41 wchar_t*
42 getws(wchar_t* s) in getws()
44 register wchar_t* p = s; in getws()
45 register wchar_t* e = s + BUFSIZ - 1; in getws()

12345678910>>...18