Searched refs:tok (Results 1 - 25 of 35) sorted by relevance

12

/ast/src/lib/libcmd/
H A Dexpr.c192 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/lib/libast/misc/
H A Dmimelib.h34 #include <tok.h>
/ast/src/cmd/mailx/port/
H A Dmimelib.h80 #include <tok.h>
/ast/src/cmd/html/
H A Dbb2tok.c148 #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/cmd/nmake/
H A Dexpand.c334 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 Dmain.c300 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 Drule.c1705 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 Dparse.c915 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/lib/libpp/
H A Dppfsm.h38 #define CODE(tok,act) ((((tok)-N_PP)<<(BITTERM+1))|(act))
44 #define BACK(tok) CODE(tok,S_TOKB)
45 #define KEEP(tok) CODE(tok,S_TOK)
H A Dppcall.c36 * 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))
/ast/src/cmd/mailx/
H A Dlist.c362 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/lib/libast/string/
H A Dtokline.c43 #include <tok.h>
H A Dtokscan.c65 #include <tok.h>
H A Dtok.c31 #include <tok.h>
/ast/src/lib/libcs/
H A Dcsslib.h36 #include <tok.h>
H A Dcslib.h62 #include <tok.h>
/ast/src/cmd/cs/vcs_src/
H A Difs_func.c318 SplitFields( arg, asize, str, tok )
322 char tok;
332 ptr = strchr( str, tok );
/ast/src/lib/libjcl/
H A Dparse.c92 * 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/cmd/cs/
H A Dnam.c41 #include <tok.h>
H A Dfs_env.c45 #include <tok.h>
H A Ddbm.c52 #include <tok.h>
/ast/src/cmd/ksh93/sh/
H A Dlex.c298 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...]
/ast/src/cmd/sortlib/sum/
H A Dsortsum.c433 int tok; local
487 tok = 0;
601 switch (tok)
639 tok++;
647 tok++;
/ast/src/cmd/coshell/
H A Dservice.h85 #include <tok.h>
/ast/src/lib/libast/
H A DMakefile37 stack.h stak.h stk.h swap.h tar.h times.h tm.h tok.h \
63 swap.3 tab.3 tm.3 tmx.3 tok.3 touch.3 tv.3 vecargs.3 vmalloc.3 \
77 tok.c tokline.c tokscan.c \

Completed in 56 milliseconds

12