Home
last modified time | relevance | path

Searched refs:arith (Results 1 – 25 of 30) sorted by relevance

12

/titanic_51/usr/src/ucbcmd/expr/
H A Dexpr.y76 | expr ADD expr = { $$ = arith(ADD, $1, $3); }
77 | expr SUBT expr = { $$ = arith(SUBT, $1, $3); }
78 | expr MULT expr = { $$ = arith(MULT, $1, $3); }
79 | expr DIV expr = { $$ = arith(DIV, $1, $3); }
80 | expr REM expr = { $$ = arith(REM, $1, $3); }
172 char *arith(oper, r1, r2) char *r1, *r2; in arith() function
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dmacro.c72 char arith; /* set for ((...)) */ member
157 mp->arith = (mode==3); in sh_mactrim()
173 copyto(mp,0,mp->arith); in sh_mactrim()
212 mp->arith = ((flag&ARG_ARITH)!=0); in sh_macexpand()
217 mp->arrayok = mp->arith || (flag&ARG_ARRAYOK); in sh_macexpand()
235 copyto(mp,0,mp->arith); in sh_macexpand()
272 mp->split = mp->assign = mp->pattern = mp->patfound = mp->lit = mp->arith = mp->let = 0; in sh_machere()
617 if(mp->lit || mp->arith) in copyto()
620 if(mp->arith) in copyto()
650 if(mp->arith || (((mp->assign&1) || endch==RBRACT) && in copyto()
[all …]
H A Darith.c113 static Sfdouble_t arith(const char **ptr, struct lval *lvalue, int type, Sfdouble_t n) in arith() function
372 d = strval(str,&last,arith,mode); in sh_strnum()
392 ep = arith_compile(str,(char**)&ptr,arith,ARITH_COMP|1); in sh_arithcomp()
H A Dlex.c96 char arith; member
335 lp->lexd.arith = (lp->lexd.nest==1); in sh_lex()
778 if(oldmode(lp)==ST_NONE && lp->lexd.arith) /* in ((...)) */ in sh_lex()
845 if(lp->lexd.warn && c==LBRACT && !lp->lex.intest && !lp->lexd.arith && oldmode(lp)!= ST_NESTED) in sh_lex()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmacro.c82 char arith; /* set for ((...)) */ member
167 mp->arith = (mode==3); in sh_mactrim()
183 copyto(mp,0,mp->arith); in sh_mactrim()
222 mp->arith = ((flag&ARG_ARITH)!=0); in sh_macexpand()
227 mp->arrayok = mp->arith || (flag&ARG_ARRAYOK); in sh_macexpand()
246 copyto(mp,0,mp->arith); in sh_macexpand()
283 mp->split = mp->assign = mp->pattern = mp->patfound = mp->lit = mp->arith = mp->let = 0; in sh_machere()
678 if(mp->lit || mp->arith) in copyto()
682 if(mp->arith) in copyto()
712 if(mp->arith || (((m in copyto()
1588 int arith = mp->arith; varsub() local
[all...]
H A Darith.c220 static Sfdouble_t arith(const char **ptr, struct lval *lvalue, int type, Sfdouble_t n) in arith() function
533 d = strval(shp,str,&last,arith,mode); in sh_strnum()
554 ep = arith_compile(shp,str,(char**)&ptr,arith,ARITH_COMP|1); in sh_arithcomp()
H A Dlex.c101 char arith; member
355 lp->lexd.arith = (lp->lexd.nest==1); in sh_lex()
828 if(oldmode(lp)==ST_NONE && lp->lexd.arith) /* in ((...)) */ in sh_lex()
897 if(lp->lexd.warn && c==LBRACT && !lp->lex.intest && !lp->lexd.arith && oldmode(lp)!= ST_NESTED) in sh_lex()
/titanic_51/usr/src/boot/sys/boot/arm/ixp425/
H A DMakefile.inc18 -Wpointer-arith -Wshadow -Wwrite-strings \
/titanic_51/usr/src/boot/sys/boot/arm/at91/
H A DMakefile.inc18 -Wpointer-arith -Wshadow -Wwrite-strings \
/titanic_51/usr/src/cmd/ast/libshell/
H A DMakefile.defs70 sh/arith.o \
H A DMakefile.demo67 tests/arith.sh \
/titanic_51/usr/src/boot/sys/boot/i386/boot2/
H A DMakefile38 -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
/titanic_51/usr/src/lib/libshell/
H A DMakefile.com69 sh/arith.o \
H A DMakefile.demo85 tests/arith.sh \
/titanic_51/usr/src/cmd/expr/
H A Dexpr.c246 *arith(oper, r1, r2) char *r1, *r2; in arith() function
572 r1 = arith(op1, r1, expres(pri[op1-OR], 0)); in expres()
/titanic_51/usr/src/grub/grub-0.97/
H A DMakefile.solaris.defs79 # -Wpointer-arith -Wundef
H A Dconfigure.ac124 CPPFLAGS="$CPPFLAGS -Wpointer-arith"
H A Dconfig.status.solaris533 s,@CPPFLAGS@, -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef,;t t
/titanic_51/usr/src/cmd/awk/
H A Dawk.h340 extern Cell *arith(Node **, int);
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/
H A DMamfile680 make arith.o
681 make sh/arith.c
688 done sh/arith.c
689 meta arith.o %.c>%.o sh/arith.c arith
690 prev sh/arith.c
691 exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -Iinclude -I${PACKAGE_ast_INCLUDE} -DSHOPT_FIXEDARRAY -D_BLD_shell -DSHOPT_DYNAMIC -DSHOPT_MULTIBYTE -D_PACKAGE_ast -DSHOPT_PFSH -D_API_ast=20100309 -DSHOPT_STATS -DSHOPT_NAMESPACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c sh/arith.c
692 done arith.o generated
1331 exec - ${AR} rc libshell.a alarm.o cd_pwd.o cflow.o deparse.o enum.o getopts.o hist.o misc.o print.o read.o sleep.o trap.o test.o typeset.o ulimit.o umask.o whence.o main.o nvdisc.o nvtype.o arith
[all...]
H A DDESIGN110 2. arith.c contains callback functions for the streval.c
/titanic_51/usr/src/cmd/vgrind/
H A Dvgrindefs.src105 :kw=DRETURN DRIVER arith break case character default define do\
/titanic_51/usr/src/lib/libshell/common/
H A DDESIGN109 2. arith.c contains callback functions for the streval.c
/titanic_51/usr/src/cmd/oawk/
H A Drun.c593 arith(NODE **a, int n) in arith() function
/titanic_51/usr/src/pkg/manifests/
H A Dsource-demo-system.mf113 file path=usr/demo/ksh/tests/arith.sh

12