Home
last modified time | relevance | path

Searched refs:NV_MINIMAL (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvdisc.c928 if(nv_isattr(mp,NV_EXPORT|NV_MINIMAL) == (NV_EXPORT|NV_MINIMAL)) in nv_clone()
931 nv_offattr(mp,NV_MINIMAL); in nv_clone()
933 if(!(flags&NV_COMVAR) && !nv_isattr(np,NV_MINIMAL) && np->nvenv && !(nv_isattr(mp,NV_MINIMAL))) in nv_clone()
935 mp->nvflag &= NV_MINIMAL; in nv_clone()
936 mp->nvflag |= np->nvflag&~(NV_ARRAY|NV_MINIMAL|NV_NOFREE); in nv_clone()
945 mp->nvflag = (np->nvflag&~(NV_MINIMAL))|(mp->nvflag&NV_MINIMAL); in nv_clone()
947 mp->nvflag |= (np->nvflag&NV_MINIMAL); in nv_clone()
967 if(!nv_isattr(np,NV_MINIMAL) || nv_isattr(mp,NV_EXPORT)) in nv_clone()
970 if(nv_isattr(np,NV_MINIMAL)) in nv_clone()
979 np->nvflag &= NV_MINIMAL; in nv_clone()
[all …]
H A Dnvtree.c295 if(dp->table && dp->otable && !nv_isattr(dp->table,NV_MINIMAL)) in nv_dirnext()
304 if(dp->table && dp->otable && !nv_isattr(dp->table,NV_MINIMAL)) in nv_dirnext()
432 if(!fp && !nv_isattr(np,~(NV_MINIMAL|NV_NOFREE))) in nv_attribute()
438 …else if((!np->nvalue.cp||np->nvalue.cp==Empty) && nv_isattr(np,~NV_NOFREE)==NV_MINIMAL && strcmp(n… in nv_attribute()
757 if(sh.subshell || (wp->flags!=NV_RDONLY) || nv_isattr(np,NV_MINIMAL|NV_NOFREE)) in outval()
759 nv_delete(np,wp->root,nv_isattr(np,NV_MINIMAL)?NV_NOFREE:0); in outval()
788 …if((np->nvalue.cp && np->nvalue.cp!=Empty) || nv_isattr(np,~(NV_MINIMAL|NV_NOFREE)) || nv_isvtree(… in outval()
H A Dsubshell.c333 if(nv_isattr(mp,NV_MINIMAL) && !nv_isattr(np,NV_EXPORT)) in nv_restore()
334 flags |= NV_MINIMAL; in nv_restore()
345 if(!(flags&NV_MINIMAL)) in nv_restore()
354 mp->nvflag = np->nvflag|(flags&NV_MINIMAL); in nv_restore()
H A Dnvtype.c313 nq ->nvflag = NV_REF|NV_NOFREE|NV_MINIMAL; in fixnode()
479 if(!nv_isattr(nr,NV_MINIMAL)) in clone_type()
610 if(!nv_isattr(mp,NV_MINIMAL)) in clone_inttype()
958 nv_onattr(nq,NV_MINIMAL); in nv_mktype()
1015 nq->nvflag = np->nvflag|NV_NOFREE|NV_MINIMAL; in nv_mktype()
1078 nq->nvflag = (np->nvflag&~(NV_IMPORT|NV_EXPORT))|NV_NOFREE|NV_MINIMAL; in nv_mktype()
1491 nv_onattr(nq,NV_MINIMAL|NV_NOFREE); in nv_mkstruct()
1502 nq->nvflag = tp->nvflag|NV_MINIMAL|NV_NOFREE; in nv_mkstruct()
H A Dname.c2587 else if(nv_isref(np) && !nv_isattr(np,NV_EXPORT|NV_MINIMAL) && np->nvalue.nrp) in _nv_unset()
2610 if(!nv_isattr(np,NV_MINIMAL) || nv_isattr(np,NV_EXPORT)) in _nv_unset()
2620 nv_setattr(np,NV_MINIMAL); in _nv_unset()
3272 if(!nv_isattr(np,NV_MINIMAL)) in nv_rename()
3282 if(lastdot(cp,0) && nv_isattr(np,NV_MINIMAL)) in nv_rename()
3347 if(arraynp && !nv_isattr(np,NV_MINIMAL) && (mp=(Namval_t*)np->nvenv) && (ap=nv_arrayptr(mp))) in nv_rename()
3367 if(arraynr && !nv_isattr(nr,NV_MINIMAL) && (mp=(Namval_t*)nr->nvenv) && (ap=nv_arrayptr(mp))) in nv_rename()
3380 if(!nv_isattr(nr,NV_MINIMAL) && (mp=(Namval_t*)(nr->nvenv)) && (ap=nv_arrayptr(mp))) in nv_rename()
3409 if((ep = lastdot(cp,0)) && nv_isattr(np,NV_MINIMAL)) in nv_setref()
3675 if(!nv_isattr(np,NV_MINIMAL|NV_EXPORT) && np->nvenv) in nv_name()
H A Darray.c495 mp->nvflag &= NV_MINIMAL; in array_clone()
496 mp->nvflag |= (np->nvflag&~(NV_MINIMAL|NV_NOFREE)); in array_clone()
911 nv_onattr(np,NV_MINIMAL); in nv_atypeindex()
1758 type = nv_isattr(np,NV_PUBLIC&~(NV_ARRAY|NV_CHILD|NV_MINIMAL)); in nv_associative()
H A Darith.c102 else if(assign==NV_ASSIGN && nv_isnull(np) && !nv_isattr(np, ~(NV_MINIMAL|NV_NOFREE))) in scope()
H A Dinit.c1012 nv_onattr(np,NV_MINIMAL|NV_NOFREE|NV_LDOUBLE|NV_RDONLY); in math_init()
1803 nv_onattr(np,NV_RDONLY|NV_MINIMAL|NV_NOFREE|NV_INTEGER); in stat_init()
H A Dxec.c682 if(!nv_isattr(nq,NV_MINIMAL|NV_EXPORT|NV_ARRAY) && (np=(Namval_t*)nq->nvenv) && nv_isarray(np)) in set_instance()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dnval.h149 #define NV_MINIMAL NV_IMPORT /* node does not contain all fields */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c646 …else if(tp->tp && !nv_isattr(np,NV_MINIMAL|NV_EXPORT) && (mp=(Namval_t*)np->nvenv) && (ap=nv_array… in setall()
804 if(tp->help && !nv_isattr(np,NV_MINIMAL|NV_EXPORT)) in setall()
1253 if(!nv_isnull(np) || nv_size(np) || nv_isattr(np,~(NV_MINIMAL|NV_NOFREE))) in unall()
H A Dread.c262 if(!nv_isattr(np,NV_MINIMAL)) in sh_readline()