Searched refs:MAXTOKEN (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libpp/
H A Dppdata.c59 static char addbuf[MAXTOKEN+1]; /* ADD buffer */
60 static char argsbuf[MAXTOKEN+1]; /* predicate args */
61 static char catbuf[MAXTOKEN+1]; /* catenation buffer */
62 static char hidebuf[MAXTOKEN+1]; /* pp:hide buffer */
63 static char outbuf[2*(PPBUFSIZ+MAXTOKEN)];/* output buffer */
64 static char pathbuf[MAXTOKEN+1]; /* full path of last #include */
65 static char tmpbuf[MAXTOKEN+1]; /* very temporary buffer */
66 static char tokbuf[2*MAXTOKEN+1]; /* token buffer */
67 static char valbuf[MAXTOKEN+1]; /* builtin macro value buffer */
H A Dppcomment.c34 ppprintf("%s%-.*s%s", head, MAXTOKEN - 4, comment, tail);
H A Dppprintf.c36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING)))
H A Dppmacref.c38 p += sfsprintf(p, MAXTOKEN, "\n#%s %d", pp.lineid, error_info.line);
39 p += sfsprintf(p, MAXTOKEN, "\n#%s %s:%s %s %d", dirname(PRAGMA), pp.pass, keyname(X_MACREF), sym->name, type);
44 p += sfsprintf(p, MAXTOKEN, " %lu", sum);
H A Dppbuiltin.c186 sfsprintf(p = pp.valbuf, MAXTOKEN, "%d", c);
207 sfsprintf(p = pp.valbuf, MAXTOKEN, "%d", error_info.line);
249 sfsprintf(p = pp.valbuf, MAXTOKEN, "%ld", ppoption(a));
376 if (p < pp.valbuf + MAXTOKEN - 2)
399 if (strlen(p) > MAXTOKEN - 2)
401 sfsprintf(pp.valbuf, MAXTOKEN, "\"%-.*s", MAXTOKEN - 2, p);
H A Dppcall.c106 n = 2 * MAXTOKEN;
108 q = p + MAXTOKEN;
155 p = newof(p, char, n += MAXTOKEN, 0);
156 q = p + n - MAXTOKEN;
450 sfsprintf(pp.hidebuf, MAXTOKEN, "_%d_%s_hIDe", inp->index, sym->name);
H A Dppinput.c301 n = 2 * MAXTOKEN;
303 m = p + MAXTOKEN;
311 p = newof(p, char, n += MAXTOKEN, 0);
312 m = p + n - MAXTOKEN;
H A Dppcontrol.c478 if (!(p = pp.hdrbuf) && !(p = pp.hdrbuf = newof(0, char, MAXTOKEN, 0)))
509 p6 = getline(p, &pp.valbuf[MAXTOKEN], 0);
680 n = 2 * MAXTOKEN;
735 if (p > &mac->formals[n - MAXTOKEN] && (s = newof(mac->formals, char, n += MAXTOKEN, 0)) != mac->formals)
866 n = 2 * MAXTOKEN;
943 p += sfsprintf(p, MAXTOKEN, "_%d_%s_hIDe", var.inp->hide, pp.token);
1144 if (p > &mac->value[n - MAXTOKEN] && (s = newof(mac->value, char, n += MAXTOKEN, 0)) != mac->value)
1367 n = 2 * MAXTOKEN;
[all...]
H A Dppexpr.c49 char file[MAXTOKEN + 1];
75 if (pathaccess(pp.token, file, NiL, 0, pp.path, MAXTOKEN + 1))
115 char tmp[MAXTOKEN + 1];
H A Dppargs.c174 strncopy(pp.token, comment, MAXTOKEN);
H A Dppsearch.c197 variant = sfsprintf(pp.tmpbuf, MAXTOKEN, "%c%s%c%s:archive", VDB_DELIMITER, VDB_MAGIC, VDB_DELIMITER, pp.pass);
608 char name[MAXTOKEN + 1];
761 sfsprintf(pp.tmpbuf, MAXTOKEN, "%s.h", file);
H A Dpplex.c142 * NOTE: pp.token points to at least MAXTOKEN*2 chars and is
143 * truncated back to MAXTOKEN on EOB
155 #define xp &pp.token[MAXTOKEN]
393 m = (op - (c != '\n') - tp > MAXTOKEN - 6) ? (error_info.line - MAXHIDDEN) : 0;
1434 op = (pptoken = tp) + MAXTOKEN;
1709 op = (pptoken = tp) + MAXTOKEN;
H A Dpplib.h480 #define MAXTOKEN PPTOKSIZ /* maximum token size */ macro
H A Dppop.c877 if (!(pp.ppdefault = pathprobe("C", pp.pass, pp.probe ? pp.probe : PPPROBE, 0, pp.path, MAXTOKEN + 1, NiL, 0)))
/ast/src/lib/libexpr/
H A DOexparse.h97 #define MAXTOKEN 322 macro
H A Dexeval.c47 if (op > MINTOKEN && op < MAXTOKEN)
54 if (subop > MINTOKEN && subop < MAXTOKEN)
H A Dexparse.y145 %token MAXTOKEN
H A DOexparse.c138 #define MAXTOKEN 322 macro
629 "DEC","CAST","MAXTOKEN",

Completed in 62 milliseconds