/ast/src/lib/libpp/ |
H A D | ppcall.c | 36 * 0 returned if tok==0 and sym->mac->value to be copied to output by caller 41 ppcall(register struct ppsymbol* sym, int tok) argument 429 if (!tok && (sym->flags & SYM_NOEXPAND))
|
H A D | ppcontrol.c | 160 macsym(int tok) argument 164 if (tok != T_ID)
|
/ast/src/cmd/nmake/ |
H A D | main.c | 300 char* tok; local 464 tok = tokopen(s, 1); 465 while (s = tokread(tok)) 470 tokclose(tok); 510 tok = tokopen(s, 1); 511 while (s = tokread(tok)) 523 tokclose(tok); 629 tok = tokopen(sfstrbase(tmp), 0); 630 while (s = tokread(tok)) 651 if (!(s = tokread(tok))) [all...] |
H A D | rule.c | 1705 char* tok; local 1719 tok = tokopen(s, 0); 1720 if (s = n ? tokread(tok) : ".") 1721 while (t = tokread(tok)) 1727 tokclose(tok); 1759 tok = tokopen(s, 1); 1760 while (s = tokread(tok)) 1819 while (s = tokread(tok)) 1835 tokclose(tok); 1840 tok [all...] |
H A D | expand.c | 334 char* tok; local 339 tok = tokopen(w, 1); 343 while (s = tokread(tok)) 350 tokclose(tok); 352 tok = tokopen(v, 1); 353 while (s = tokread(tok)) 372 while (s = tokread(tok)) 374 tokclose(tok); 376 tok = tokopen(v, 1); 377 while (s = tokread(tok)) 444 char* tok; local 560 char* tok; local 654 char* tok; local 689 char* tok; local 784 char* tok; local 952 char* tok; local 1299 char* tok; local 1393 char* tok; local 3399 char* tok; local [all...] |
H A D | parse.c | 915 char* tok; local 1092 tok = sfstruse(tp); 1093 if (!(s = getarg(&tok, NiL))) 1096 do putptr(tp, t = getarg(&tok, NiL)); while (t); 1255 i = strtol(sfstrseek(sp, n, SEEK_SET), &tok, 0); 1256 for (t = tok; isspace(*t); t++); 1271 i = strtol(sfstrseek(sp, n, SEEK_SET), &tok, 0);
|
/ast/src/cmd/html/ |
H A D | bb2tok.c | 148 #define TOKEN(sp,op,tok,t) do { if (t > tok) { *t = 0; token(sp, op, t = tok, 0, 0); } } while (0) 168 char tok[4 * 1024]; local 177 t = tok; 184 TOKEN(&state, op, tok, t); 187 TOKEN(&state, op, tok, t); 195 TOKEN(&state, op, tok, t); 295 TOKEN(&state, op, tok, t); 297 TOKEN(&state, op, tok, [all...] |
/ast/src/lib/libcmd/ |
H A D | expr.c | 192 register int tok; local 268 tok = expr_or(state, np); 269 if (tok != ')') 296 register int tok = getnode(state, np); local 298 while (tok==':') 305 tok = getnode(state, &rp); 342 return tok; 347 register int tok = expr_cond(state, np); local 349 while ((tok&~T_OP)==T_MULT) 352 int op = (tok 376 register int tok = expr_mult(state, np); local 396 register int tok = expr_add(state, np); local 464 register int tok = expr_cmp(state, np); local 480 register int tok = expr_and(state, np); local [all...] |
/ast/src/cmd/mailx/ |
H A D | list.c | 362 int tok; local 374 tok = scan(&bufp); 379 while (tok != TEOL) { 380 switch (tok) { 402 tok = scan(&bufp); 403 regret(tok); 404 if (tok != TDASH) { 478 i = tok; 479 tok = scan(&bufp); 480 if (!lone && tok [all...] |
/ast/src/cmd/sortlib/sum/ |
H A D | sortsum.c | 433 int tok; local 487 tok = 0; 601 switch (tok) 639 tok++; 647 tok++;
|
/ast/src/lib/libjcl/ |
H A D | parse.c | 92 * push back one token or entire card if tok==0 96 xel(register Jcl_t* jcl, register char* tok) argument 98 if (tok) 101 jcl->peek = tok; 922 register char* tok; local 925 while ((tok = lex(jcl)) && tok != END); 1069 char* tok; local 1072 if (!(tok = lex(jcl))) 1074 else if (tok 1157 register char* tok; local 1388 (*jcl->disc->errorf)(NiL, jcl->disc, 1, "%s: unknown DISP", tok); local 1402 (*jcl->disc->errorf)(NiL, jcl->disc, 1, "%s: unknown DISP", tok); local 1565 char* tok; local 1943 register char* tok; local [all...] |
/ast/src/lib/libast/regex/ |
H A D | regcomp.c | 2586 Token_t tok; local 2718 tok = env->token; 2754 if (tok.lex) 2756 tok.push = 1; 2757 env->token = tok;
|
/ast/src/cmd/ksh93/sh/ |
H A D | lex.c | 298 register int tok = lextoken(lp); local 300 if(tok==0 && (flag=lp->arg->argflag)) 309 sfprintf(sfstderr,"%d: line %d: %o:%s%s%s%s %s\n",getpid(),shp->inlineno,tok,quoted, 310 macro, split, expand, fmttoken(lp,tok,tokstr)); 311 return(tok); 2049 static char *fmttoken(Lex_t *lp, register int sym, char *tok) argument 2069 tok[0] = sym; 2071 tok[n++] = sym; 2092 if(tok[0]=='<') 2093 tok[ 2114 register int tok = lp->token; local [all...] |
H A D | parse.c | 616 register int tok = skipnl(lexp,0); local 618 if(tok==esym) 623 if(tok==LPAREN) 631 if((tok=sh_lex(lexp))==RPAREN) 633 else if(tok=='|') 639 if((tok=lexp->token)==BREAKCASESYM) 641 else if(tok==FALLTHRUSYM) 648 if(tok!=esym && tok!=EOFSYM) 1120 register int tok local 1376 process_sub(Lex_t *lexp,int tok) argument 1397 register int tok; local [all...] |