/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | name.c | 375 if(nv_isattr(np,NV_NOFREE) && nv_isnull(np)) 385 if((flags&NV_STATIC) && !nv_isattr(np,NV_EXPORT) && !nv_isnull(np)) 421 if(tp->tre.tretyp!=TLST && tp->com.comarg && !tp->com.comset && ((array&NV_IARRAY) || !((mp=tp->com.comnamp) && nv_isattr(mp,BLT_DCL)))) 1513 if(!(flags&NV_RDONLY) && nv_isattr (np, NV_RDONLY)) 1528 if(sp && ((flags&NV_EXPORT) || nv_isattr(np,NV_EXPORT))) 1538 if(np->nvalue.cp && np->nvalue.cp!=sp && !nv_isattr(np,NV_NOFREE)) 1545 if(nv_isattr(np,NV_INT16P) == NV_INT16) 1561 if(nv_isattr(np,NV_EXPORT)) 1563 if(nv_isattr (np, NV_INTEGER)) 1565 if(nv_isattr(n [all...] |
H A D | nvtree.c | 294 if(nv_isnull(np) && !nv_isarray(np) && !nv_isattr(np,NV_INTEGER)) 298 if(dp->table && dp->otable && !nv_isattr(dp->table,NV_MINIMAL)) 307 if(dp->table && dp->otable && !nv_isattr(dp->table,NV_MINIMAL)) 429 if(!fp && !nv_isattr(np,~(NV_MINIMAL|NV_NOFREE))) 435 else if((!np->nvalue.cp||np->nvalue.cp==Empty) && nv_isattr(np,~NV_NOFREE)==NV_MINIMAL && strcmp(np->nvname,"_")) 441 if ((attr=nv_isattr(np,~NV_NOFREE)) || fp) 451 if(nv_isattr(np,NV_REF|NV_TAGGED)==(NV_REF|NV_TAGGED)) 496 if((ap && (ap->nelem&ARRAY_TREE)) || (!ap && nv_isattr(np,NV_NOFREE))) 534 if(val==NV_INTEGER && nv_isattr(np,NV_INTEGER)) 538 if(nv_isattr(n [all...] |
H A D | nvdisc.c | 58 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) 92 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER)) 94 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) 99 else if(nv_isattr(np,NV_INTEGER)) 112 if(nv_isattr(np,NV_LJUST|NV_RJUST) || (*str=='0' && !(str[1]=='x'||str[1]=='X'))) 149 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) 349 if((nq=vp->disc[n]) && !nv_isattr(nq,NV_NOFREE)) 591 if(tp && (np = (Namval_t*)vp->bltins[type]) && nv_isattr(np,NV_STATICF)) 613 if((mp=vp->bltins[i]) && !nv_isattr(mp,NV_NOFREE)) 617 if(mp->nvfun && !nv_isattr(m [all...] |
H A D | nvtype.c | 157 if(nv_isattr(np,NV_INTEGER)) 159 if(nv_isattr(np,NV_DOUBLE)==NV_DOUBLE) 161 if(nv_isattr(np, NV_LONG)) 166 else if(nv_isattr(np, NV_SHORT)) 179 if(nv_isattr(np, NV_LONG)) 184 else if(nv_isattr(np, NV_SHORT)) 196 else if(nv_isattr(np, NV_BINARY) || nv_isattr(np,NV_LJUST|NV_RJUST|NV_ZFILL)) 215 if(nv_isattr(np,NV_REF|NV_TAGGED)==(NV_REF|NV_TAGGED)) 232 if(!val && nv_isattr(n [all...] |
H A D | arith.c | 97 else if(assign==NV_ASSIGN && nv_isnull(np) && !nv_isattr(np, ~(NV_MINIMAL|NV_NOFREE))) 340 if(nv_isattr(np,NV_DOUBLE)==NV_DOUBLE) 428 else if((Namfun_t*)lvalue->ptr && !nv_hasdisc(np,&ENUM_disc) && !nv_isattr(np,NV_INTEGER)) 436 if(nv_isattr(&node,NV_NOFREE)) 440 if(((lvalue->emode&2) || lvalue->level>1 || sh_isoption(SH_NOUNSET)) && nv_isnull(np) && !nv_isattr(np,NV_INTEGER)) 449 if(nv_isattr(np,NV_INTEGER|NV_BINARY)==(NV_INTEGER|NV_BINARY)) 451 else if(nv_isattr(np,NV_DOUBLE)==NV_DOUBLE)
|
H A D | subshell.c | 293 if(nv_isattr(np,NV_NOFREE)) 319 if(nv_isattr(mp,NV_MINIMAL) && !nv_isattr(np,NV_EXPORT)) 333 if(nv_isattr(np,NV_IDENT)) 342 if(!nv_isattr(np,NV_NOFREE)) 348 if(nv_isattr(mp,NV_EXPORT)) 355 else if(nv_isattr(np,NV_EXPORT)) 698 if(nv_isattr(pwdnod,NV_NOFREE))
|
H A D | array.c | 210 nofree = nv_isattr(mp,NV_NOFREE); 396 int rdonly = nv_isattr(np,NV_RDONLY); 408 if(!nv_isattr(tp,NV_BINARY)) 418 if(!nv_isattr(tp,NV_BINARY)) 522 else if(nv_isattr(np,NV_INTEGER)) 570 if(ap->fixed && nv_isattr(np,NV_INT16P) == NV_INT16) 599 int scan,nofree = nv_isattr(np,NV_NOFREE); 611 if(!nv_isattr(np,NV_NOFREE)) 615 if(!nv_isattr(mp,NV_NOFREE)) 712 if(!string && !nv_isattr(n [all...] |
H A D | xec.c | 511 if(!SH_LEVELNOD->nvfun || !SH_LEVELNOD->nvfun->disc || nv_isattr(SH_LEVELNOD,NV_INT16|NV_NOFREE)!=(NV_INT16|NV_NOFREE)) 643 if(!nv_isattr(nq,NV_MINIMAL|NV_EXPORT|NV_ARRAY) && (np=(Namval_t*)nq->nvenv) && nv_isarray(np)) 705 if(nv_isattr(np,NV_FPOSIX)) 995 if(sh_isoption(SH_PFSH) && nv_isattr(np,NV_BLTINOPT) && !nv_isattr(np,NV_BLTPFSH)) 1024 if(argn==0 || (np && nv_isattr(np,BLT_SPC))) 1099 if(np && nv_isattr(np,BLT_DCL)) 1159 if((np=nv_search(com0,shp->track_tree,0)) && !nv_isattr(np,NV_NOALIAS) && np->nvalue.cp) 1204 if(!(nv_isattr(np,BLT_ENV))) 1220 if(!(nv_isattr(n [all...] |
H A D | parse.c | 233 nv_onattr(bp,nv_isattr(mp,NV_PUBLIC)); 1017 else if(type!=NV_ARRAY && n!=FUNCTSYM && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr(np,BLT_DCL)|| np==SYSDOT))) 1037 if(path_search(lexp->sh,lexp->arg->argval,NIL(Pathcomp_t**),1) && (np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && nv_isattr(np,BLT_DCL)) 1072 if((n!=FUNCTSYM) && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr(np,BLT_DCL)||np==SYSDOT))) 1462 if(nv_isattr(np,BLT_DCL)) 1577 else if(np && nv_isattr(np,BLT_DCL)) 2027 if(!nv_isattr(np,NV_TAGGED) && first>=0)
|
H A D | init.c | 734 if(shp->lastarg && !nv_isattr(np,NV_NOFREE)) 1531 if(is_abuiltin(np) && nv_isattr(np,NV_EXPORT)) 1891 if(nv_isattr(np,NV_TABLE)) 1893 if(nv_isattr(np,NV_INTEGER)) 1951 if(mp->nvfun || nv_isattr(mp,NV_INTEGER)) 1977 if(np!=SHLVL && nv_isattr(np,NV_IMPORT|NV_EXPORT)) 2017 if(nv_isnull(PWDNOD) || nv_isattr(PWDNOD,NV_TAGGED))
|
H A D | path.c | 710 if(!(flag&1) && (np=nv_search(name,shp->track_tree,0)) && !nv_isattr(np,NV_NOALIAS) && (pp=(Pathcomp_t*)np->nvalue.cp)) 804 if((np = sh_addbuiltin(stakptr(PATH_OFFSET),addr,NiL)) && nv_isattr(np,NV_BLTINOPT))
|
/osnet-11/usr/src/lib/libshell/common/include/ |
H A D | name.h | 145 #define nv_isref(n) (nv_isattr((n),NV_REF|NV_TAGGED|NV_FUNCT)==NV_REF) 146 #define is_abuiltin(n) (nv_isattr(n,NV_BLTIN|NV_INTEGER)==NV_BLTIN) 147 #define is_afunction(n) (nv_isattr(n,NV_FUNCTION|NV_REF)==NV_FUNCTION) 174 #define nv_isnull(np) (!(np)->nvalue.cp && (nv_isattr(np,NV_SHORT|NV_INTEGER)!=(NV_SHORT|NV_INTEGER)) && !_nv_hasget(np))
|
H A D | nval.h | 200 #define nv_isattr(np,f) ((np)->nvflag & (f)) macro 203 #define nv_isarray(np) (nv_isattr((np),NV_ARRAY)) 302 # define nv_istype(np) nv_isattr(np)
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | typeset.c | 527 if((np=nv_search(name,shp->bltin_tree,0)) && nv_isattr(np,BLT_SPC)) 552 if(np && ((flag&NV_LTOU) || !nv_isnull(np) || nv_isattr(np,NV_LTOU))) 591 if(nv_isnull(np) && !nv_isarray(np) && nv_isattr(np,NV_NOFREE)) 611 if(comvar || (shp->last_root==shp->var_tree && (tp->tp || (!shp->st.real_fun && (nvflags&NV_STATIC)) || (!(flag&(NV_EXPORT|NV_RDONLY)) && nv_isattr(np,(NV_EXPORT|NV_IMPORT))==(NV_EXPORT|NV_IMPORT))))) 730 if(tp->argnum==1 && newflag==NV_INTEGER && nv_isattr(np,NV_INTEGER)) 745 if(tp->help && !nv_isattr(np,NV_MINIMAL|NV_EXPORT)) 758 if(nv_isattr(np,NV_PARAM) && shp->st.prevst) 1003 if(dlete || nv_isattr(np,BLT_SPC)) 1014 if(np && nv_isattr(np,BLT_SPC)) 1147 if(is_abuiltin(np) || nv_isattr(n [all...] |
H A D | whence.c | 168 && !nv_isnull(np) && !(notrack=nv_isattr(np,NV_TAGGED)) 173 if(nv_isattr(np,NV_EXPORT)) 199 if(nv_isattr(np,BLT_SPC))
|
H A D | read.c | 255 if(!nv_isattr(np,NV_MINIMAL)) 281 binary = nv_isattr(np,NV_BINARY); 442 if(!nv_isattr(np,NV_IMPORT|NV_EXPORT) && (mp=(Namval_t*)np->nvenv)) 494 if(nv_isattr(np, NV_RDONLY)) 671 if(nv_isattr(np, NV_RDONLY)) 694 if(sh_isoption(SH_ALLEXPORT)&&!strchr(nv_name(np),'.') && !nv_isattr(np,NV_EXPORT)) 711 if(nv_isattr(np, NV_RDONLY))
|
H A D | enum.c | 162 if(nv_isattr(np,NV_NOFREE)) 282 nv_onattr(bp,nv_isattr(mp,NV_PUBLIC));
|
H A D | poll_solaris.c | 290 if(!nv_isattr(array_np, NV_ARRAY))
|
H A D | misc.c | 239 if(np && is_afunction(np) && !nv_isattr(np,NV_FPOSIX)) 246 if(nv_isattr(np,NV_FPOSIX))
|
H A D | shiocmd_solaris.c | 280 if(nv_isattr(np,NV_ARRAY)) 358 if(np->nvalue && !nv_isattr(np,NV_NOFREE))
|
H A D | test.c | 448 return(!nv_isnull(np) || nv_isattr(np,NV_INTEGER));
|
/osnet-11/usr/src/lib/libshell/amd64/include/ast/ |
H A D | nval.h | 209 #define nv_isattr(np,f) ((np)->nvflag & (f)) macro 212 #define nv_isarray(np) (nv_isattr((np),NV_ARRAY)) 314 # define nv_istype(np) nv_isattr(np)
|
/osnet-11/usr/src/lib/libshell/i386/include/ast/ |
H A D | nval.h | 209 #define nv_isattr(np,f) ((np)->nvflag & (f)) macro 212 #define nv_isarray(np) (nv_isattr((np),NV_ARRAY)) 314 # define nv_istype(np) nv_isattr(np)
|
/osnet-11/usr/src/lib/libshell/sparc/include/ast/ |
H A D | nval.h | 209 #define nv_isattr(np,f) ((np)->nvflag & (f)) macro 212 #define nv_isarray(np) (nv_isattr((np),NV_ARRAY)) 314 # define nv_istype(np) nv_isattr(np)
|
/osnet-11/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | nval.h | 209 #define nv_isattr(np,f) ((np)->nvflag & (f)) macro 212 #define nv_isarray(np) (nv_isattr((np),NV_ARRAY)) 314 # define nv_istype(np) nv_isattr(np)
|