Searched refs:tchar (Results 1 - 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/cmd/csh/
H A Dsh.tconst.c22 * These tchar constants used to be defined as
28 tchar S_[] = {0};
29 tchar S_0[]={'0', 0};
30 tchar S_1[]={'1', 0};
31 tchar S_AND[] = {'&', 0}; /* & */
32 tchar S_ANDAND[] = {'&', '&', 0}; /* && */
33 tchar S_AST[]={'*', 0};
34 tchar S_AT[] = { '@', 0 };
35 tchar S_BAR[] = {'|', 0}; /* | */
36 tchar S_BARBA
[all...]
H A Dsh.h81 * tchar (Tagged CHARacter) is a place holder to keep a QUOTE bit and
83 * For European language handling, lower 8 bits of tchar is used
93 typedef long int tchar; typedef
97 typedef unsigned short int tchar; typedef
133 tchar *arginp; /* Argument input for sh -c and internal `xx` */
135 tchar *file; /* Name of shell file for $0 */
144 tchar *doldol; /* Character pid for $$ */
159 tchar *bname;
166 tchar *s_name;
200 tchar *goint
[all...]
H A Dsh.misc.c25 tchar **blkcat(tchar **, tchar **);
26 tchar **blkend(tchar **);
29 any(int c, tchar *s)
39 onlyread(tchar *cp)
46 tchar *
47 savestr(tchar *s)
49 tchar *
[all...]
H A Dsh.dir.h24 tchar *di_name; /* actual name */
H A Dsh.tchar.c18 * This module provides with system/library function substitutes for tchar
19 * datatype. This also includes two conversion functions between tchar and
56 * strtots(to, from): convert a char string 'from' into a tchar buffer 'to'.
58 * When 'to' is NOSTR(=(tchar *)0), strtots() attempts to allocate a space
66 tchar *
67 strtots(tchar *to, char *from)
79 /* Allocate space for the resulting tchar array. */
80 to = (tchar *)xalloc(i * sizeof (tchar));
90 tstostr(char *to, tchar *fro
[all...]
H A Dsh.glob.c32 tchar *gpath, *gpathp, *lastgpathp;
36 tchar *entp;
37 tchar **sortbas;
38 int sortscmp(tchar **, tchar **);
39 void ginit(tchar **);
40 void collect(tchar *);
41 void acollect(tchar *);
42 void expand(tchar *);
43 void matchdir_(tchar *);
[all...]
H A Dsh.set.c25 void asx(tchar *, int, tchar *);
27 void set(tchar *, tchar *);
28 void set1(tchar *, tchar **, struct varent *);
29 void setq(tchar *, tchar **, struct varent *);
30 void unset1(tchar *[], struct varent *);
32 void exportpath(tchar **);
[all...]
H A Dsh.dir.c25 struct directory *dfind(tchar *);
26 tchar *dfollow(tchar *);
27 tchar *dcanon(tchar *, tchar *);
28 void dtildepr(tchar *, tchar *);
34 static tchar *fakev[] = { S_dirs, NOSTR };
40 dinit(tchar *h
[all...]
H A Dsh.exec.c41 void texec(struct command *, tchar *, tchar **);
42 void xechoit(tchar **);
45 static void tconvert(struct command *, tchar *, tchar **);
48 extern DIR *opendir_(tchar *);
53 tchar *sav;
54 tchar *dp, **pv, **av;
58 tchar *blk[2];
192 texec(struct command *cmd, tchar *
[all...]
H A Dsh.file.c38 extern DIR *opendir_(tchar *);
49 static int is_prefix(tchar *, tchar *);
50 static int is_suffix(tchar *, tchar *);
51 static int ignored(tchar *);
155 pushback(tchar *string, int echoflag)
157 tchar *p;
201 catn(tchar *des, tchar *sr
[all...]
H A Dsh.exp.c41 int exp0(tchar ***, bool);
42 int exp1(tchar ***, bool);
43 int exp2(tchar ***, bool);
44 int exp2a(tchar ***, bool);
45 int exp2b(tchar ***, bool);
46 int exp2c(tchar ***, bool);
47 tchar *exp3(tchar ***, bool);
48 tchar *exp3a(tchar ***, boo
[all...]
H A Dsh.proc.h34 tchar p_reason; /* reason for entering this state */
35 tchar p_index; /* shorthand job index */
42 tchar *p_command; /* first PMAXLEN chars of command */
H A Dsh.lex.c33 tchar *word(void);
34 tchar getC1(int);
35 tchar *subword(tchar *, int, bool *);
37 void addla(tchar *);
38 void getexcl(tchar);
39 void noev(tchar *);
40 void setexclp(tchar *);
41 void unreadc(tchar);
44 struct Hist *findev(tchar *, boo
[all...]
H A Dsh.dol.c35 tchar *Dcp, **Dvp; /* Input vector for Dreadc */
49 tchar *dolp; /* Remaining chars from this word */
50 tchar **dolnxt; /* Further words */
52 tchar dolmod; /* : modifier character */
55 void Dfix2(tchar **);
57 void setDolp(tchar *);
67 tchar **pp;
68 tchar *p;
90 tchar *
91 Dfix1(tchar *c
[all...]
H A Dsh.func.c32 tchar *limname;
34 tchar *limscale;
54 static int getval(struct limits *lp, tchar **v, rlim_t *);
62 void echo(tchar sep, tchar **v);
63 void local_setenv(tchar *name, tchar *val);
64 void local_unsetenv(tchar *name);
65 void limtail(tchar *cp, tchar *str
[all...]
H A Dsh.err.c32 tchar one[2] = { '1', 0 };
33 tchar *onev[2] = { one, NOSTR };
56 tchar **v;
120 Perror(tchar *s)
164 seterr2(tchar *cp, char *dp)
184 seterrc(char *cp, tchar d)
H A Dsh.c35 tchar *pathlist[] = { S_usrbin /* "/usr/bin" */, S_DOT /* "." */, 0 };
36 tchar *dumphist[] = { S_history /* "history" */, S_h /* "-h" */, 0, 0 };
37 tchar *loadhist[] = { S_source /* "source" */, S_h /* "-h" */,
39 tchar HIST = '!';
40 tchar HISTSUB = '^';
53 extern tchar **strblktotsblk(/* char **, int */);
59 void importpath(tchar *);
60 void srccat(tchar *, tchar *);
61 void srccat_inlogin(tchar *, tcha
[all...]
H A Dsh.hist.c34 tchar *cp;
44 tchar *p = cp;
93 xfree( (tchar *)hp);
97 dohist(tchar **vp)
108 tchar *vp2 = *vp;
/illumos-gate/usr/src/cmd/troff/
H A Dnii.c77 tchar pbbuf[NC]; /* pushback buffer for arguments, \n, etc. */
78 tchar *pbp = pbbuf; /* next free slot in pbbuf */
79 tchar *lastpbp = pbbuf; /* pbp in previous stack frame */
82 tchar ch = 0;
118 tchar nrbits;
144 tchar **hyp;
145 tchar *olinep;
H A Dext.h175 extern tchar **hyp;
176 extern tchar *olinep;
177 extern tchar pbbuf[NC];
178 extern tchar *pbp;
179 extern tchar *lastpbp;
180 extern tchar ch;
181 extern tchar nrbits;
182 extern tchar oline[];
H A Dtdef.h187 a 32 bit cookie, called a "tchar" (typedef long).
207 /* in the following, "L" should really be a tchar, but ... */
225 #define SFMASK (SMASK|FMASK) /* size and font in a tchar */
232 #define setsbits(n,s) n = (n & ~SMASK) | (tchar)(s) << 24
233 #define setfbits(n,f) n = (n & ~FMASK) | (tchar)(f) << 16
234 #define setsfbits(n,sf) n = (n & ~SFMASK) | (tchar)(sf) << 16
327 #define ENV_BLK ((NEV * sizeof(env) / sizeof(tchar) + BLK-1) / BLK)
330 typedef long tchar; typedef
332 extern tchar getch(), getch0();
333 extern tchar rb
[all...]
H A Dn3.c59 tchar *argtop;
64 tchar *wbuf;
65 tchar corebuf[(ENV_BLK + NBLIST + 1) * BLK];
67 tchar wbuf[BLK];
68 tchar rbuf[BLK];
242 wbt((tchar) IMP);
338 tchar i;
351 tchar ii;
408 wbt((tchar)0);
418 tchar
[all...]
H A Dn8.c55 tchar *hyend;
61 tchar *wp;
64 tchar *i;
143 tchar t;
184 tchar *w;
225 tchar *w;
227 tchar i;
229 extern tchar *chkvow();
303 tchar *chkvow(w)
304 tchar *
[all...]
H A Dn9.c74 tchar
77 tchar i;
87 tchar *i;
88 tchar c;
91 tchar linebuf[NC];
158 tchar i, o[NOV];
207 tchar i, *j, dwn;
209 tchar brabuf[NC];
252 tchar c, rem, ver, neg;
254 tchar vlbu
[all...]
/illumos-gate/usr/src/cmd/troff/nroff.d/
H A Dn6.c57 tchar j;
111 tchar setch()
127 tchar setabs() /* set absolute char from \C'...' */
202 tchar setht() /* set character height from \H'...' */
205 tchar c;
214 tchar setslant() /* set slant from \S'...' */
217 tchar c;
268 tchar i;
304 setn1(wid, 0, (tchar) 0);
319 tchar vmo
[all...]

Completed in 101 milliseconds

123