Home
last modified time | relevance | path

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

/illumos-gate/usr/src/ucbcmd/expr/
H A Dexpr.y72 | expr ADD expr { $$ = arith(ADD, $1, $3); }
73 | expr SUBT expr { $$ = arith(SUBT, $1, $3); }
74 | expr MULT expr { $$ = arith(MULT, $1, $3); }
75 | expr DIV expr { $$ = arith(DIV, $1, $3); }
76 | expr REM expr { $$ = arith(REM, $1, $3); }
168 char *arith(int oper, char *r1, char *r2) in arith() function
/illumos-gate/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 || (((mp->assign&1) || endch==RBRACT) && in copyto()
[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()
/illumos-gate/usr/src/cmd/ast/libshell/
H A DMakefile.defs70 sh/arith.o \
H A DMakefile.tests35 tests/arith.sh \
/illumos-gate/usr/src/cmd/expr/
H A Dexpr.c241 arith(int oper, char *r1, char *r2) in arith() function
566 r1 = arith(op1, r1, expres(pri[op1-OR], 0)); in expres()
/illumos-gate/usr/src/grub/grub-0.97/
H A DMakefile.solaris.defs85 # -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-…
H A DChangeLog4136 * configure.in (CPPFLAGS): Added -Wshadow, -Wpointer-arith and
/illumos-gate/usr/src/cmd/awk/
H A Dawk.h410 extern Cell *arith(Node **, int);
H A Drun.c1153 arith(Node **a, int n) /* a[0] + a[1], etc. also -a[0] */ in arith() function
/illumos-gate/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 …PACE -DSHOPT_COSHELL -DSHOPT_HISTEXPAND -DERROR_CONTEXT_T=Error_context_t -DSHOPT_ESH -c sh/arith.c
692 done arith.o generated
1331 …rap.o test.o typeset.o ulimit.o umask.o whence.o main.o nvdisc.o nvtype.o arith.o args.o array.o c…
H A DDESIGN110 2. arith.c contains callback functions for the streval.c
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-ksh93.p5m27 file path=opt/ksh93-tests/tests/arith.sh
H A Dsystem-test-utiltest.p5m161 file path=opt/util-tests/tests/awk/examples/awk/t.arith mode=0444
386 file path=opt/util-tests/tests/awk/examples/out/t.arith mode=0444
/illumos-gate/usr/src/cmd/vgrind/
H A Dvgrindefs.src105 :kw=DRETURN DRIVER arith break case character default define do\
/illumos-gate/usr/src/cmd/oawk/
H A Drun.c593 arith(NODE **a, int n) in arith() function
/illumos-gate/usr/src/cmd/sendmail/cf/m4/
H A Dproto.m4197 Karith arith')
2819 R<$*><REQ:$-> <$*> $- $: <$1> <$2:$4> <$3> $(arith l $@ $4 $@ $2 $)
2886 R$-:$- $: $(arith l $@ $1 $@ $2 $) : $1 : $2
2975 R<$+> $: <$1> $| $(arith l $@ $1 $@ $&{client_rate} $)
2997 R<$+> $: <$1> $| $(arith l $@ $1 $@ $&{client_connections} $)
/illumos-gate/usr/src/contrib/zlib/
H A DChangeLog1411 - make zlib warning-free with "gcc -O3 -Wall -Wwrite-strings -Wpointer-arith