Home
last modified time | relevance | path

Searched refs:lex (Results 1 – 25 of 75) sorted by relevance

123

/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrtoip6.c56 if (!lex[0]) in strtoip6()
60 lex['0'] = 0; in strtoip6()
61 lex['1'] = 1; in strtoip6()
62 lex['2'] = 2; in strtoip6()
63 lex['3'] = 3; in strtoip6()
70 lex['A'] = lex['a'] = 10; in strtoip6()
71 lex['B'] = lex['b'] = 11; in strtoip6()
72 lex['C'] = lex['c'] = 12; in strtoip6()
73 lex['D'] = lex['d'] = 13; in strtoip6()
74 lex['E'] = lex['e'] = 14; in strtoip6()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dlex.c248 lp->lex = savelex.lex; in lexfill()
276 lp->lex.intest = lp->lex.incase = lp->lex.skipword = lp->lexd.warn = 0; in sh_lexopen()
460 lp->lex.reservok = !lp->lex.intest; in sh_lex()
501 lp->lex.reservok = !lp->lex.intest; in sh_lex()
544 lp->lex.reservok = !lp->lex.intest; in sh_lex()
551 lp->lex.testop1 = lp->lex.intest; in sh_lex()
1198 if(lp->lex.reservok && !lp->lex.incase) in sh_lex()
1276 && !lp->lex.incase && !lp->lex.intest in sh_lex()
1453 lp->lex.testop2 = lp->lex.intest = 0; in sh_lex()
1524 lp->lex.intest = lp->lex.testop1 = 1; in sh_lex()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpptrace.c116 pplexstr(register int lex) in pplexstr() argument
122 if (lex < 0) lex &= ~lex; in pplexstr()
123 splice = (lex & SPLICE); in pplexstr()
124 lex &= 0x7f; in pplexstr()
125 …for (i = 0; i < (elementsof(pplexmap) - 1) && (lex > pplexmap[i].val || lex == pplexmap[i+1].val);… in pplexstr()
126 if (lex != pplexmap[i].val) in pplexstr()
128 …if (pplexmap[i].val < 0) sfsprintf(buf, sizeof(buf), "%s|0x%04x%s", pplexmap[i].nam, lex, splice ?… in pplexstr()
129 …else sfsprintf(buf, sizeof(buf), "%s+%d", pplexmap[i-1].nam, lex - pplexmap[i-1].val, splice ? "|S… in pplexstr()
H A Dppexpr.c32 #define lex(c) ((((c)=peektoken)>=0?(peektoken=(-1)):((c)=pplex())),(c)) macro
283 switch (lex(c)) in subexpr()
311 switch (lex(c)) in subexpr()
325 if (lex(c) != ')') in subexpr()
343 if (lex(c) == ':') in subexpr()
358 if (lex(c) != ':') in subexpr()
/illumos-gate/usr/src/cmd/filesync/
H A Dbase.c357 s = lex(file); in read_baseline()
367 s = lex(0); in read_baseline()
388 s = lex(0); in read_baseline()
398 s = lex(0); in read_baseline()
429 s = lex(0); /* type */ in read_baseline()
470 s = lex(0); /* uid */ in read_baseline()
477 s = lex(0); /* gid */ in read_baseline()
603 s = lex(0); in read_baseline()
614 s = lex(0); in read_baseline()
622 s = lex(0); in read_baseline()
[all …]
H A Drules.c122 s = lex(file); in read_rules()
133 s1 = lex(0); in read_rules()
138 s2 = lex(0); in read_rules()
161 s = lex(0); in read_rules()
174 s = lex(0); in read_rules()
183 s = lex(0); in read_rules()
199 s = lex(0); in read_rules()
206 s = lex(0); in read_rules()
265 } while ((s = lex(0)) != 0); in read_cmd()
/illumos-gate/usr/src/cmd/make/bin/
H A Dsvr4.make.rules.file42 LEX=lex
119 mv lex.yy.c $@
123 -rm lex.yy.c; mv lex.yy.o $@
127 mv lex.yy.c $@
135 -rm -f lex.yy.c $*.l
136 mv lex.yy.o $@
195 mv lex.yy.c $@
199 -rm lex.yy.c; mv lex.yy.o $@
203 mv lex.yy.c $@
211 -rm -f lex.yy.c $*.L
[all …]
H A Dmake.rules.file116 # C language section. lex.
117 LEX=lex
128 $(CC) $(CFLAGS) -c lex.yy.c
129 rm -f lex.yy.c
130 mv lex.yy.c $@
138 mv lex.yy.c $@
158 $(CC) $(CFLAGS) -c lex.yy.c
159 rm -f lex.yy.c
160 mv lex.yy.c $@
/illumos-gate/usr/src/grub/grub-0.97/
H A Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/illumos-gate/usr/src/cmd/sgs/demo_rdb/
H A DMakefile.targ55 lex.c: ../common/lex.l
56 $(LEX) ../common/lex.l
57 $(MV) lex.yy.c lex.c
H A DMakefile.com35 COMSRC= bpt.c dis.c main.c ps.c gram.c lex.c globals.c help.c \
39 BLTSRC= gram.c lex.c
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A DMakefile77 lex.yy.c : fsdb_lex.l
80 fsdb_lex.o : lex.yy.c
81 $(COMPILE.c) -o $@ lex.yy.c
86 $(RM) fsdb_yacc.c fsdb_lex.c y.tab.c y.tab.h lex.yy.c
96 CATSRCS= $(SRCS) lex.yy.c y.tab.c
H A Dmapfile-intf42 # fsdb uses the -e option of lex, which generates additional lex interfaces
43 # that are not defined in the generic $(MAPFILE.LEX). These additional lex
/illumos-gate/usr/src/common/mapfiles/common/
H A Dmap.lex.yy28 # lex generates a lex.yy.c for use in building applications. A number of
30 # should remain exported from any application using lex.yy.c.
48 # Some applications use the -e option of lex, which generates additional lex
/illumos-gate/usr/src/cmd/geniconvtbl/
H A DMakefile.com34 OBJS = itmcomp.o assemble.o disassemble.o itm_util.o y.tab.o lex.yy.o
35 MSGFILES = itmcomp.i assemble.i disassemble.i itm_util.i y.tab.i lex.yy.i geniconvtbl.i
47 CLEANFILES = $(OBJS) y.tab.c y.tab.h lex.yy.c \
88 lex.yy.c: $(SRCDIR)/itm_comp.l y.tab.h
89 $(LEX) -t $(SRCDIR)/itm_comp.l | $(SED) -f $(SRCDIR)/lex.sed > $(@)
/illumos-gate/usr/src/cmd/genmsg/
H A DMakefile34 LEXINTSRCS= lex.yy.c
35 LEXOBJS= lex.yy.o
74 $(OBJS): y.tab.h lex.yy.c
/illumos-gate/usr/src/cmd/bart/
H A Drules.c40 static char *lex(FILE *);
438 s = lex(file); in read_rules()
463 s = lex(0); in read_rules()
466 s = lex(0); in read_rules()
491 s = lex(0); in read_rules()
527 s = lex(0); in read_rules()
531 s = lex(0); in read_rules()
534 s = lex(0); in read_rules()
819 lex(FILE *file) in lex() function
/illumos-gate/usr/src/lib/libfru/
H A DMakefile.targ56 $(SED) -f ../libfru/yy-lsed > pics/lex.fru.cc
57 $(COMPILE.cc) -I../libfru -Ipics -o $@ pics/lex.fru.cc
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmdata.c104 static unsigned char lex[] = variable
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
/illumos-gate/usr/src/pkg/manifests/
H A Ddeveloper-object-file.p5m31 …value="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs…
54 file path=usr/bin/lex mode=0555
83 link path=usr/ccs/bin/lex target=../../bin/lex
136 file path=usr/share/man/man1/lex.1
149 …desc="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs,…
/illumos-gate/usr/src/cmd/sgs/
H A DMakefile70 lex \
144 @ cd lex; pwd; $(MAKE) $@
/illumos-gate/usr/src/cmd/csh/sparc/
H A DMakefile43 sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
48 sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \
/illumos-gate/usr/src/cmd/csh/i386/
H A DMakefile45 sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
50 sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \
/illumos-gate/usr/src/tools/cscope-fast/
H A Dscanner.l81 static BOOL lex; /* lex file */ variable
129 if (lex == YES) {
770 lex = NO; /* lex file */
796 lex = YES;
872 if (lex == NO) {
/illumos-gate/usr/src/cmd/csh/
H A Dsh.parse.c41 alias(struct wordent *lex) in alias() argument
57 asyntax(lex->next, lex); in alias()
148 redid = lex(&alout); in asyn3()

123