Home
last modified time | relevance | path

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

1234

/titanic_51/usr/src/lib/libast/common/string/
H A Dstrtoip6.c54 static unsigned char lex[256]; in strtoip6() local
56 if (!lex[0]) in strtoip6()
58 for (c = 0; c < sizeof(lex); ++c) in strtoip6()
59 lex[c] = END; 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()
64 lex['4'] = 4; in strtoip6()
65 lex['5'] = 5; in strtoip6()
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrtoip6.c54 static unsigned char lex[256]; in strtoip6() local
56 if (!lex[0]) in strtoip6()
58 for (c = 0; c < sizeof(lex); ++c) in strtoip6()
59 lex[c] = END; 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()
64 lex['4'] = 4; in strtoip6()
65 lex[' in strtoip6()
[all...]
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dlex.c111 struct lexstate lex;
239 lp->lex = savelex.lex; in lexfill()
267 lp->lex.intest = lp->lex.incase = lp->lex.skipword = lp->lexd.warn = 0; in sh_lexopen()
269 lp->lex.reservok = 1; in sh_lexopen()
329 if(lp->lex.incase) in sh_lex()
332 lp->assignok |= lp->lex.reservok; in sh_lex()
334 lp->comp_assign = lp->lex.reservok = 0; in sh_lex()
440 lp->lex.reservok = !lp->lex.intest; in sh_lex()
478 lp->lex.reservok = !lp->lex.intest; in sh_lex()
479 lp->lex.skipword = 0; in sh_lex()
[all …]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dlex.c116 struct lexstate lex;
248 lp->lex = savelex.lex; in lexfill()
276 lp->lex.intest = lp->lex.incase = lp->lex.skipword = lp->lexd.warn = 0; in sh_lexopen()
278 lp->lex.reservok = 1; in sh_lexopen()
343 lp->lex.reservok = 0; in sh_lex()
349 if(lp->lex.incase) in sh_lex()
352 lp->assignok |= lp->lex in sh_lex()
[all...]
/titanic_51/usr/src/lib/libpp/common/
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()
/titanic_51/usr/src/contrib/ast/src/lib/libpp/
H A Dpptrace.c112 * return string given fsm lex state
116 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); i++); in pplexstr()
126 if (lex ! in pplexstr()
[all...]
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()
/titanic_51/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()
422 s = lex(0); /* level */ in read_baseline()
429 s = lex(0); /* type */ in read_baseline()
437 s = lex(0); /* name */ in read_baseline()
463 s = lex(0); /* modes */ in read_baseline()
470 s = lex(0); /* uid */ in read_baseline()
477 s = lex( in read_baseline()
[all...]
H A Drules.c123 s = lex(file); in read_rules()
134 s1 = lex(0); in read_rules()
139 s2 = lex(0); in read_rules()
162 s = lex(0); in read_rules()
175 s = lex(0); in read_rules()
184 s = lex(0); in read_rules()
200 s = lex(0); in read_rules()
207 s = lex(0); in read_rules()
242 * to lex a runnable command (! lines) into a buffer
252 * this is necessary because lex ha
[all...]
/titanic_51/usr/src/cmd/make/bin/
H A Dsvr4.make.rules.file42 LEX=lex
119 mv lex.yy.c $@
122 $(CC) $(CFLAGS) -c lex.yy.c
123 -rm lex.yy.c; mv lex.yy.o $@
127 mv lex.yy.c $@
134 $(CC) $(CFLAGS) -c lex.yy.c
135 -rm -f lex.yy.c $*.l
136 mv lex.yy.o $@
195 mv lex
[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 $@
/titanic_51/usr/src/grub/grub-0.97/
H A Dmissing82 flex create \`lex.yy.c', if possible, from existing .c
84 lex create \`lex.yy.c', if possible, from existing .c
110 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
/titanic_51/usr/src/cmd/sgs/librtld_db/demo/
H A DMakefile.targ46 lex.c: ../common/lex.l
47 $(LEX) ../common/lex.l
48 $(MV) lex.yy.c lex.c
H A DMakefile.com33 COMSRC= bpt.c dis.c main.c ps.c gram.c lex.c globals.c help.c \
37 BLTSRC= gram.c lex.c
59 # The following lint error suppression definitions are to remove lex errors
/titanic_51/usr/src/cmd/fs.d/udfs/fsdb/
H A DMakefile82 lex.yy.c : fsdb_lex.l
85 fsdb_lex.o : lex.yy.c
86 $(COMPILE.c) -o $@ lex.yy.c
91 $(RM) fsdb_yacc.c fsdb_lex.c y.tab.c y.tab.h lex.yy.c
101 CATSRCS= $(SRCS) lex.yy.c y.tab.c
110 lint: y.tab.c lex.yy.c ud_lib.c ud_lib.h
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
/titanic_51/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
/titanic_51/usr/src/cmd/genmsg/
H A DMakefile34 LEXINTSRCS= lex.yy.c
35 LEXOBJS= lex.yy.o
45 # lex and yacc generates lint-unclean C code.
82 $(OBJS): y.tab.h lex.yy.c
/titanic_51/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
/titanic_51/usr/src/lib/libfru/
H A DMakefile.targ46 # some special rules for the yacc and lex parser. (with sub directories)
58 $(SED) -f ../libfru/yy-lsed > pics/lex.fru.cc
59 $(COMPILE.cc) -I../libfru -Ipics -o $@ pics/lex.fru.cc
/titanic_51/usr/src/lib/libast/common/tm/
H A Dtmdata.c104 static unsigned char lex[] = variable
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
/titanic_51/usr/src/contrib/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 };
/titanic_51/usr/src/pkg/manifests/
H A Ddeveloper-object-file.mf28 …value="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs…
62 file path=usr/bin/lex mode=0555
109 file path=usr/share/man/man1/lex.1
125 …desc="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs,…
145 link path=usr/ccs/bin/lex target=../../bin/lex
/titanic_51/usr/src/cmd/csh/i386/
H A DMakefile41 sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
46 sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \

1234