Searched defs:lex (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/tm/
H A Dtmdata.c101 * format[] lex type classes
104 static unsigned char lex[] = variable
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
/ast/src/lib/libast/string/
H A Dstrtoip6.c54 static unsigned char lex[256]; local
56 if (!lex[0])
58 for (c = 0; c < sizeof(lex); ++c)
59 lex[c] = END;
60 lex['0'] = 0;
61 lex['1'] = 1;
62 lex['2'] = 2;
63 lex['3'] = 3;
64 lex['4'] = 4;
65 lex['
[all...]
/ast/src/lib/libexpr/
H A Dextoken.c225 lex(register Expr_t* ex) function
273 trace(ex, -3, "ex--lex", c);
296 switch (c = lex(ex))
301 switch (q = lex(ex))
304 for (;;) switch (lex(ex))
312 switch (lex(ex))
331 while ((c = lex(ex)) != '\n')
359 if ((q = lex(ex)) == c)
365 q = lex(ex);
381 if ((q = lex(e
[all...]
H A Dexpr.h128 long lex; /* lex class */ member in struct:Exid_s
/ast/src/lib/libpp/
H A Dpptrace.c112 * return string given fsm lex state
116 pplexstr(register int lex) argument
122 if (lex < 0) lex &= ~lex;
123 splice = (lex & SPLICE);
124 lex &= 0x7f;
125 for (i = 0; i < (elementsof(pplexmap) - 1) && (lex > pplexmap[i].val || lex == pplexmap[i+1].val); i++);
126 if (lex !
[all...]
H A Dppexpr.c32 #define lex(c) ((((c)=peektoken)>=0?(peektoken=(-1)):((c)=pplex())),(c)) macro
283 switch (lex(c))
311 switch (lex(c))
325 if (lex(c) != ')')
343 if (lex(c) == ':')
358 if (lex(c) != ':')
H A Dppproto.c575 lex(register Proto_t* proto, register long flags) function
749 /* NOTE: RECURSIVE lex() should really SLIDE too */
833 lex(proto, (flags & GLOBAL) | RECURSIVE);
1053 if (lex(proto, (flags & GLOBAL) | RECURSIVE) == '*')
1568 switch (lex(proto, (flags & GLOBAL) | RECURSIVE))
1630 lex(proto, (flags & GLOBAL) | DECLARE);
1878 switch (lex(proto, (flags & GLOBAL) | RECURSIVE))
1916 switch (lex(proto, (flags & GLOBAL) | RECURSIVE))
2586 lex(proto, proto->flags);
H A Dpplib.h728 struct ppsymkey /* pun for SYM_KEYWORD lex val */
731 int lex; /* lex value for SYM_KEYWORD */ member in struct:ppsymkey
/ast/src/cmd/html/
H A Dbb2tok.c59 int lex; member in struct:Header_s
81 unsigned char* lex; member in struct:State_s
91 if (*state->lex == LABEL && (streq(text, ":") || streq(text, "Code") || streq(text, "wrote")))
95 sfprintf(op, "%s<%s%s>\n", (!state->push && (state->prev->lex == HEADER || state->prev->lex == CODE && state->last != '\n')) ? "\n" : "", state->push ? "" : "/", state->prev->out);
98 sfputr(op, text, *state->lex == HEADER ? ' ' : '\n');
105 if (head->lex == LINK && state->prev->lex == NAME && state->push)
107 if (head->lex == LINE && state->prev->lex
169 unsigned char lex[4 * 1024]; local
[all...]
/ast/src/cmd/mailx/
H A Dlist.c777 struct lex { struct
798 register struct lex* lp;
/ast/src/lib/libast/include/
H A Dtm.h118 unsigned char* lex; /* format lex type classes */ member in struct:__anon276
/ast/src/lib/libjcl/
H A Dparse.c502 lex(register Jcl_t* jcl) function
911 message((-8, "lex %4d %s", error_info.line, s));
925 while ((tok = lex(jcl)) && tok != END);
1072 if (!(tok = lex(jcl)))
1076 else if ((val = lex(jcl)) == EQ)
1077 val = lex(jcl);
1910 while (s = lex(jcl))
1953 while (tok = lex(jcl))
1960 if (!(name = lex(jcl)))
1965 if (!(op = lex(jc
[all...]
/ast/src/lib/libast/regex/
H A Dregcomp.c102 short lex; member in struct:Token_s
749 env->token.lex = 0;
760 env->token.lex = c;
822 env->token.lex = c;
825 env->token.lex = 0;
828 env->token.lex = c;
924 return env->token.lex;
927 return env->token.lex = C_MB;
928 env->token.lex = 0;
2057 if (!(c = env->token.lex)
[all...]
/ast/src/cmd/sortlib/sync/
H A Dss.c202 lex(register Ss_t* ss) function
242 sfprintf(sfstderr, "lex: null\n");
259 sfprintf(sfstderr, "lex: line=`%s'\n", ss->data);
355 sfprintf(sfstderr, "lex: %s part=%d item=%d\n", s, ss->part, ss->item);
370 if (!(s = lex(ss)) || (flags & LEX_COND) && streq(s, "COND") && !(s = lex(ss)))
377 else if (s != EQ || !(s = lex(ss)) ||
521 while (s = lex(ss))
568 if (!(s = lex(ss)))
736 if (!(s = lex(s
[all...]
/ast/src/cmd/INIT/
H A Dproto.c463 int lex; member in struct:ppsymkey
2842 lex __PARAM__((register Proto_t* proto, register long flags), (proto, flags)) __OTORP__(register Proto_t* proto; register long flags;){
3099 lex(proto, (flags & ((1L<<16))) | (1L<<21));
3319 if (lex(proto, (flags & ((1L<<16))) | (1L<<21)) == '*')
3834 switch (lex(proto, (flags & ((1L<<16))) | (1L<<21)))
3896 lex(proto, (flags & ((1L<<16))) | (1L<<1));
4144 switch (lex(proto, (flags & ((1L<<16))) | (1L<<21)))
4182 switch (lex(proto, (flags & ((1L<<16))) | (1L<<21)))
4829 lex(proto, proto->flags);

Completed in 52 milliseconds