Home
last modified time | relevance | path

Searched refs:NV_NOSCOPE (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dname.c324 flags |= NV_NOSCOPE; in nv_setlist()
354 flag |= (flags&(NV_NOSCOPE|NV_STATIC|NV_FARRAY)); in nv_setlist()
764 int copy=0,isref,top=0,noscope=(flags&NV_NOSCOPE); in nv_create()
774 flags &= ~NV_NOSCOPE; in nv_create()
819 if(level++ || ((flags&NV_NOSCOPE) && c!='.')) in nv_create()
845 if((flags&NV_NOSCOPE) && *cp!='.') in nv_create()
860 flags |= NV_NOSCOPE; in nv_create()
889 flags &= ~NV_NOSCOPE; in nv_create()
908 flags |= NV_NOSCOPE; in nv_create()
916 flags |= NV_NOSCOPE; in nv_create()
[all …]
H A Dnvtree.c978 int n=0, noscope=(flags&NV_NOSCOPE); in walk_tree()
1136 walk_tree(np,(Namval_t*)0,(flags&NV_NOSCOPE)|1); in put_tree()
1140 walk_tree(np,(Namval_t*)0,(flags&NV_NOSCOPE)|1); in put_tree()
H A Dpath.c875 if(nv_open(name,sh_subfuntree(1),NV_NOARRAY|NV_IDENT|NV_NOSCOPE)) in path_absolute()
881 nv_onattr(nv_open(name,sh_subfuntree(1),NV_NOARRAY|NV_IDENT|NV_NOSCOPE),NV_LTOU|NV_FUNCTION); in path_absolute()
H A Dxec.c1207 flgs |= NV_NOSCOPE; in sh_exec()
2744 np = nv_open(fname,sh_subfuntree(1),NV_NOASSIGN|NV_NOARRAY|NV_VARNAME|NV_NOSCOPE); in sh_exec()
3384 nv_scan(prevscope->save_tree, local_exports,&tdata, NV_EXPORT, NV_EXPORT|NV_NOSCOPE); in sh_funscope()
H A Dnvdisc.c1342 nv_scan(data.sh->fun_tree,delete_fun,(void*)&data,NV_FUNCTION,NV_FUNCTION|NV_NOSCOPE); in put_table()
H A Dnvtype.c828 if((bp=nv_search(name,shp->fun_tree,NV_NOSCOPE)) && !bp->nvalue.ip) in nv_addtype()
H A Dinit.c367 if(!val && (flags&NV_NOSCOPE)) in put_restricted()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c138 register unsigned flag = NV_NOARRAY|NV_NOSCOPE|NV_ASSIGN; in b_alias()
410 flag |= NV_NOSCOPE; in b_typeset()
496 print_scan(iop,NV_NOSCOPE,nv_dict(np),aflag=='+',tp); in print_value()
500 print_scan(iop,NV_FUNCTION|NV_NOSCOPE,tp->sh->fun_tree,aflag=='+',tp); in print_value()
538 nvflags |= NV_NOSCOPE; in setall()
544 flag &= ~(NV_NOARRAY|NV_NOSCOPE|NV_VARNAME|NV_IDENT|NV_STATIC|NV_COMVAR|NV_IARRAY); in setall()
580 np = nv_open(name,sh_subfuntree(1),NV_NOARRAY|NV_IDENT|NV_NOSCOPE); in setall()
1202 nflag = NV_NOSCOPE; in unall()
1434 tp->scanmask = flag&~NV_NOSCOPE; in print_scan()
1478 tp->scanmask = flag&~NV_NOSCOPE; in print_scan()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dnval.h189 #define NV_NOSCOPE 0x80000 /* look only in current scope */ macro
196 #define NV_PUBLIC (~(NV_NOSCOPE|NV_ASSIGN|NV_IDENT|NV_VARNAME|NV_NOADD))
H A Dname.h123 #define NV_ATTRIBUTES (~(NV_NOSCOPE|NV_ARRAY|NV_NOARRAY|NV_IDENT|NV_ASSIGN|NV_REF|NV_VARNAME|NV_STA…