Searched defs:token (Results 1 - 17 of 17) sorted by relevance

/ast/src/lib/libpp/
H A Dppbuiltin.c46 char* token; local
57 token = pp.token;
58 p = pp.token = pp.tmpbuf;
69 p = pp.token = pp.valbuf;
86 if (op) pp.token = pp.toknxt;
89 *pp.token = 0;
90 pp.token = token;
113 pp.token
[all...]
H A Dppop.c117 int token; local
169 switch (token = pplex())
184 if (!token)
186 pathcanon(pp.token, 0, 0);
187 fp = ppsetfile(pp.token);
199 index = token == T_HEADER ? INC_STANDARD : INC_LOCAL;
209 if (streq(pp.token, "all"))
214 else if (streq(pp.token, "hosted"))
219 else if (streq(pp.token, "nohosted"))
226 error(3, "%s unexpected in %s map list", pptokstr(pp.token,
[all...]
H A Dpp.h69 #define PPTOKSIZ ((PPBUFSIZ/2)-1) /* max token size */
225 * (N_PP+30) is the largest valid pp token
236 * NOTE: preserve the token ranges and encodings for is*(x)
282 * identifier and invalid token
362 int value; /* keyword token value */
403 char* token; /* pplex() token name */ member in struct:ppglobals
H A Dpplib.h211 int token; /* emitted tokens */ member in struct:counter
218 char token[1]; /* matching token */ member in struct:pptuple
324 char* toknxt; /* '\0' of pp.token */ \
480 #define MAXTOKEN PPTOKSIZ /* maximum token size */
537 #define TOK_BUILTIN (1<<0) /* last token was #( */
538 #define TOK_FORMAL (1<<1) /* last token was arg formal id */
539 #define TOK_ID (1<<2) /* last token was identifier */
540 #define TOK_TOKCAT (1<<3) /* last token was ## */
/ast/src/cmd/pax/
H A Dnocomment.c75 * get next token on ip
79 token(register Sfio_t* ip) function
261 if (s = token(ip))
284 if ((s = token(ip)) && streq(s, "prototyped"))
/ast/src/cmd/html/
H A Dbb2tok.c85 token(State_t* state, Sfio_t* op, const char* text, const Header_t* head, int push) function
148 #define TOKEN(sp,op,tok,t) do { if (t > tok) { *t = 0; token(sp, op, t = tok, 0, 0); } } while (0)
149 #define PUSH(sp,op,h) token(sp,op,0,h,1)
150 #define POP(sp,op,h) token(sp,op,0,h,0)
/ast/src/cmd/tksh/
H A DtkMain.c630 Tcl_TimerToken token;
641 token = Tcl_CreateTimerHandler((int)tmout,TmoutProc,&(tFlag));
658 Tcl_DeleteTimerHandler(token);
627 Tcl_TimerToken token; local
/ast/src/cmd/cs/vcs_src/
H A Difs_ftp.c251 char token[4], *ptr; local
264 strncpy( token, buf, 3 );
265 token[3] = ' ';
266 while( strncmp( buf, token, 4 ) != 0 ) {
/ast/src/cmd/mailx/
H A Dlist.c274 * Unscan the named token by pushing it onto the regret stack.
277 regret(int token) argument
281 state.regretstack[state.regretp] = token;
771 * scan out a single lexical item and return its token number,
/ast/src/lib/libjcl/
H A Dparse.c59 syntax(Jcl_t* jcl, int level, char* token, char* expected, char* type) argument
64 (*jcl->disc->errorf)(NiL, jcl->disc, level, "%s: %s expected", token ? token : "EOF", expected);
65 else if (token)
66 (*jcl->disc->errorf)(NiL, jcl->disc, level, "%s: unknown %s", token, type ? type : "keyword"); local
73 * push a string on the input token stream
92 * push back one token or entire card if tok==0
222 * set *r to point to the next token in s
268 * set *p to point to the next number token value in s
498 * return the next token
[all...]
/ast/src/cmd/ksh93/include/
H A Dshlex.h40 int token; /* current token number */ member in struct:_shlex_
42 int lasttok; /* previous token number */
43 int digits; /* numerical value with word token */
/ast/src/lib/libtksh/tcl/
H A DtclEvent.c76 Tcl_TimerToken token; /* Identifies event so it can be member in struct:TimerHandler
150 Tcl_TimerToken token; /* Used to cancel the "after" command. NULL member in struct:AfterInfo
620 * The return value is a token for the timer event, which
668 timerHandlerPtr->token = (Tcl_TimerToken) id;
689 return timerHandlerPtr->token;
707 * token doesn't exist, then nothing happens.
713 Tcl_DeleteTimerHandler(token)
714 Tcl_TimerToken token; /* Result previously returned by
722 if (timerHandlerPtr->token != token) {
[all...]
H A DtclExpr.c85 int token; /* Type of the last token to be parsed from member in struct:__anon436
92 * The token types are defined below. In addition, there is a table
139 * Precedence table. The values for non-operator token types are ignored.
429 * an error message. In the event of a successful return, the token
432 * token; if the token is a value, then the value is stored at
460 infoPtr->token = END;
466 * First try to parse the token as an integer or floating-point number.
482 infoPtr->token
[all...]
/ast/src/lib/libast/regex/
H A Dregcomp.c67 #define eat(p) do{if ((p)->token.push)(p)->token.push=0;else (p)->cursor+=(p)->token.len;}while (0)
125 Token_t token; /* token lookahead */ member in struct:Cenv_s
639 static int token(Cenv_t*);
648 int l = env->token.len;
657 sp = (char*)env->cursor + env->token.len;
685 env->token.min = n;
701 else if (n < env->token
918 token(register Cenv_t* env) function
[all...]
/ast/src/cmd/ksh93/sh/
H A Dparse.c156 eline = lexp->sh->inlineno-(lexp->token==NL);
498 if(lexp->token==NL)
501 lexp->token=';';
505 switch(lexp->token)
529 if(sym && sym!=lexp->token)
531 if(sym!=ELSESYM || (lexp->token!=ELIFSYM && lexp->token!=FISYM))
548 register int token; local
549 while(t && ((token=lexp->token)
562 register int token; local
1653 register int token; local
1667 register int iof = lexp->digits, token=lexp->token; local
1922 register int num,token; local
[all...]
/ast/src/cmd/nmake/
H A Dexpand.c217 * $(s:T=<op>[r]) select components matching rule token <op> (see below)
224 * token op components:
242 * token op forms:
260 * P=l probe info file for language l processor (in token)
2322 * apply token op p on (possibly bound) s with result in xp
2331 token(Sfio_t* xp, char* s, register char* p, int sep) function
4165 * the operator is applied to each token if tokenize!=0
4334 token(xp, s, val, sep);
4341 error(PANIC, "edit operator `%c' not applied to each token", op);
/ast/src/cmd/INIT/
H A Dproto.c292 int token; member in struct:counter
299 char token[1]; member in struct:pptuple
369 char* token; member in struct:ppglobals

Completed in 69 milliseconds