Searched refs:uchar (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/cmd/awk/
H A Dmain.c45 uchar *cmdname; /* gets argv[0] for error messages */
46 uchar *lexprog; /* points to program argument if it exists */
51 static uchar **pfile = NULL; /* program filenames from -f's */
58 uchar *fs = NULL;
71 cmdname = (uchar *)argv[0];
94 pfile = realloc(pfile, sizeof (uchar *) * (npfile + 1));
97 pfile[npfile++] = (uchar *)argv[1];
103 fs = (uchar *) "\t";
105 fs = (uchar *)&argv[1][2];
112 fs = (uchar *) "\
[all...]
H A Dawk.h41 typedef unsigned char uchar; typedef
74 extern uchar **FS;
75 extern uchar **RS;
76 extern uchar **ORS;
77 extern uchar **OFS;
78 extern uchar **OFMT;
82 extern uchar **FILENAME;
83 extern uchar **SUBSEP;
87 extern uchar *record;
93 extern uchar *patbe
[all...]
H A Dtran.c45 uchar **FS; /* initial field sep */
46 uchar **RS; /* initial record sep */
47 uchar **OFS; /* output field sep */
48 uchar **ORS; /* output record sep */
49 uchar **OFMT; /* output format for numbers */
53 uchar **FILENAME; /* current filename argument */
55 uchar **SUBSEP; /* subscript separator for a[i,j,k]; default \034 */
81 recloc->nval = (uchar *)"$0";
86 (void) setsymtab((uchar *)"0", (uchar *)"
[all...]
H A Dlib.c36 uchar *record;
50 static uchar *file = (uchar*) "";
51 static uchar *fields;
57 static uchar *getargv(int);
59 static int refldbld(uchar *, uchar *);
68 uchar *p;
77 /* *FILENAME = file = (uchar*) "-"; */
81 getrec(uchar **buf
[all...]
H A Dawk.lx.l79 static uchar cbuf[CBUFLEN];
80 static uchar *s;
144 yylval.cp = setsymtab((uchar *)yytext+1,
145 (uchar *)"",0.0,STR|NUM,symtab);
150 <A>NF { yylval.cp = setsymtab((uchar *)yytext, (uchar *)"", 0.0, NUM, symtab); RET(VARNF); }
153 yylval.cp = setsymtab((uchar *)yytext, tostring((uchar *)yytext), atof(yytext), CON|NUM, symtab);
198 yylval.cp = setsymtab((uchar *)yytext,
199 (uchar *)"",0.
[all...]
H A Db.c65 uchar *rlxstr;
66 uchar *prestr; /* current position in current re */
67 uchar *lastre; /* origin of last re */
72 uchar *patbeg;
79 static fa *mkdfa(uchar *, int);
86 static Node *reparse(uchar *);
92 makedfa(uchar *s, int anchor) /* returns dfa for reg expr s */
127 mkdfa(uchar *s, int anchor) /* does the real work of making a dfa */
241 uchar *
242 cclenter(uchar *
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A D_sfputl.c38 reg uchar *s, *ps;
40 uchar c[N_ARRAY];
52 *s = (uchar)(SFSVALUE(v) | SF_SIGN);
54 else *s = (uchar)(SFSVALUE(v));
58 { *--s = (uchar)(SFUVALUE(v) | SF_MORE);
H A D_sfputm.c39 reg uchar *s, *ps;
41 uchar c[N_ARRAY];
52 *s = (uchar)SFBVALUE(v);
55 *--s = (uchar)SFBVALUE(v);
H A D_sfputu.c38 reg uchar *s, *ps;
40 uchar c[N_ARRAY];
51 *s = (uchar)SFUVALUE(v);
53 *--s = (uchar)(SFUVALUE(v) | SF_MORE);
H A Dsfungetc.c69 if(f->next > f->data && f->next[-1] == (uchar)c)
88 { reg uchar* data;
91 if(!(data = (uchar*)malloc(f->size+16)))
104 *--f->next = (uchar)c;
H A Dsfgetr.c40 uchar *s, *ends, *us;
53 us = NIL(uchar*);
82 { us = NIL(uchar*);
95 if(!(s = (uchar*)memchr((char*)s,rc,n)))
122 { us = NIL(uchar*);
133 { us = NIL(uchar*);
H A Dsfflsbuf.c39 uchar* data;
40 uchar outc;
85 outc = (uchar)c;
H A D_sfputd.c39 reg uchar *s, *ends;
41 uchar c[N_ARRAY];
H A Dsfnputc.c38 reg uchar* ps;
40 uchar buf[128];
H A Dsfread.c38 reg uchar *s, *begs;
57 { if(((uchar*)buf + f->val) != f->next &&
58 (!f->rsrv || f->rsrv->data != (uchar*)buf) )
64 { if((uchar*)buf != f->next)
81 s = begs = (uchar*)buf;
H A Dsfexcept.c40 reg uchar* data;
87 data = (uchar*)realloc((char*)f->data,size);
88 else data = (uchar*)malloc(size);
H A Dsfnew.c76 f->data = NIL(uchar*);
118 f->data = size <= 0 ? NIL(uchar*) : (uchar*)buf;
H A Dsfputr.c38 reg uchar* ps;
96 if((ps = (uchar*)memccpy(ps,s,'\0',p)) != NIL(uchar*))
H A Dsfgetm.c38 reg uchar *s, *ends, c;
H A Dsfgetu.c37 uchar *s, *ends, c;
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dgetdelim.c33 uchar* s;
34 uchar* ps;
49 if(!(s = (uchar*)(*sp)) || (n = *np) < 0)
50 { s = NIL(uchar*); n = 0; }
71 if(!(s = (uchar*)realloc(s, n)) )
H A Dfgets.c39 is = (uchar*)us;
54 if((ps = (uchar*)memccpy((char*)is,(char*)ps,'\n',p)) != NIL(uchar*))
86 if((_Sfi = is - ((uchar*)us)) <= 0)
H A Dvsnprintf.c44 f.data = f.next = f.endr = (uchar*)s;
H A Dvswscanf.c43 f.data = f.next = f.endw = (uchar*)s;
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_lex.c122 { "uchar", BASIC_TYPE, 1 },

Completed in 95 milliseconds

123