Searched refs:NV_NOSCOPE (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | name.c | 324 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 D | nvtree.c | 978 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 D | path.c | 875 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 D | xec.c | 1207 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 D | nvdisc.c | 1342 nv_scan(data.sh->fun_tree,delete_fun,(void*)&data,NV_FUNCTION,NV_FUNCTION|NV_NOSCOPE); in put_table()
|
H A D | nvtype.c | 828 if((bp=nv_search(name,shp->fun_tree,NV_NOSCOPE)) && !bp->nvalue.ip) in nv_addtype()
|
H A D | init.c | 367 if(!val && (flags&NV_NOSCOPE)) in put_restricted()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | typeset.c | 138 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 D | nval.h | 189 #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 D | name.h | 123 #define NV_ATTRIBUTES (~(NV_NOSCOPE|NV_ARRAY|NV_NOARRAY|NV_IDENT|NV_ASSIGN|NV_REF|NV_VARNAME|NV_STA…
|