Searched refs:emode (Results 1 - 3 of 3) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dstreval.c79 int emode; member in struct:vars
169 node.emode = ep->emode;
178 arith_error(e_recursive,ep->expr,ep->emode);
192 arith_error(e_incompatible,ep->expr,ep->emode);
236 node.emode |= ARITH_ASSIGNOP;
250 if(node.emode&ARITH_ASSIGNOP)
254 node.emode &= ~ARITH_ASSIGNOP;
257 arith_error(node.value,ptr,ep->emode);
349 arith_error(e_divzero,ep->expr,ep->emode);
900 arith_compile(Shell_t *shp,const char *string,char **last,Sfdouble_t(*fun)(const char**,struct lval*,int,Sfdouble_t),int emode) argument
954 strval(Shell_t *shp,const char *s,char **end,Sfdouble_t(*conv)(const char**,struct lval*,int,Sfdouble_t),int emode) argument
[all...]
H A Darith.c104 if((lvalue->emode&ARITH_COMP) && dtvnext(root) && ((sdict && (mp=nv_search(cp,sdict,flags&~NV_ADD))) || (mp=nv_search(cp,root,flags&~(NV_ADD))) || (nsdict && (mp=nv_search(cp,nsdict,flags&~(NV_ADD|HASH_NOSCOPE)))) ))
290 if(lvalue->emode&ARITH_COMP)
296 if((lvalue->emode&ARITH_COMP) && dot)
309 Dt_t *root = (lvalue->emode&ARITH_COMP)?shp->var_base:shp->var_tree;
469 if(((lvalue->emode&2) || lvalue->level>1 || sh_isoption(SH_NOUNSET)) && nv_isnull(np) && !nv_isattr(np,NV_INTEGER))
474 lvalue->emode |= 010;
482 if((lvalue->emode&ARITH_ASSIGNOP) && nv_isarray(np))
494 if(lvalue->emode&ARITH_COMP)
497 errormsg(SH_DICT,ERROR_exit((lvalue->emode&3)!=0),lvalue->value,*ptr);
/ast/src/cmd/ksh93/include/
H A Dstreval.h82 short emode; member in struct:lval
103 short emode; member in struct:_arith_

Completed in 116 milliseconds