Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashlook.c70 if (!(tab = tab->scope) || (flags & HASH_NOSCOPE)) in hashlook()
127 if (!tab->scope || (flags & (HASH_CREATE|HASH_INSTALL|HASH_NOSCOPE)) == HASH_NOSCOPE) break; in hashlook()
H A Dhashscan.c58 if (tab->scope && !(flags & HASH_NOSCOPE)) in hashscan()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dhash.h50 #define HASH_NOSCOPE (1L<<13) /* top scope only */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darith.c66 int flags = HASH_NOSCOPE|HASH_SCOPE|HASH_BUCKET; in scope()
104 …(cp,root,flags&~(NV_ADD))) || (nsdict && (mp=nv_search(cp,nsdict,flags&~(NV_ADD|HASH_NOSCOPE)))) )) in scope()
H A Dnvdisc.c1049 if(mode&HASH_NOSCOPE) in nv_search()
1065 mode |= HASH_NOSCOPE; in nv_search()
1069 if(sh.namespace && !(mode&HASH_NOSCOPE) && root==sh.var_tree) in nv_search()
1071 else if(!dp && !(mode&HASH_NOSCOPE)) in nv_search()
H A Dxec.c697 if(shp->var_tree!=shp->var_base && !nv_search((char*)nq,nr->root,HASH_BUCKET|HASH_NOSCOPE)) in set_instance()
945 path = nv_search(PATHNOD->nvname,oroot,HASH_NOSCOPE); in enter_namespace()
946 fpath = nv_search(FPATHNOD->nvname,oroot,HASH_NOSCOPE); in enter_namespace()
965 if(path && (path = nv_search(PATHNOD->nvname,shp->var_tree,HASH_NOSCOPE)) && (val=nv_getval(path))) in enter_namespace()
967 …if(fpath && (fpath = nv_search(FPATHNOD->nvname,shp->var_tree,HASH_NOSCOPE)) && (val=nv_getval(fpa… in enter_namespace()
1512 np = nv_search(com0,shp->fun_tree,HASH_NOSCOPE); in sh_exec()
1560 namespace = nv_search(np->nvname,shp->var_base,HASH_NOSCOPE); in sh_exec()
2741 np = sh_fsearch(shp,fname,NV_ADD|HASH_NOSCOPE); in sh_exec()
3289 …if((cp = nv_getval(np)) && (mp = nv_search(nv_name(np), shp->var_tree, NV_ADD|HASH_NOSCOPE)) && nv… in local_exports()
3436 np = nv_search(arg[r],shp->var_tree,HASH_NOSCOPE|NV_ADD); in sh_funscope()
H A Darray.c1760 mode = NV_ADD|HASH_NOSCOPE; in nv_associative()
1762 mode = HASH_NOSCOPE; in nv_associative()
1792 mp = nv_search(sp,ap->header.table,NV_ADD|HASH_NOSCOPE); in nv_associative()
H A Dname.c820 mode |= HASH_NOSCOPE; in nv_create()
874 np = nv_search(name,root,HASH_NOSCOPE|NV_ADD); in nv_create()
1058 mode &= ~HASH_NOSCOPE; in nv_create()
1385 mode |= HASH_SCOPE|HASH_NOSCOPE; in nv_open()
1487 c = ((flags&NV_NOSCOPE)?HASH_NOSCOPE:0)|((flags&NV_NOADD)?0:NV_ADD); in nv_open()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dnval.h39 #define HASH_NOSCOPE 2 macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c577 np = sh_fsearch(shp,name,NV_ADD|HASH_NOSCOPE); in setall()
592 np = sh_fsearch(shp,name,HASH_NOSCOPE); in setall()
1217 np = sh_fsearch(shp,name,nflag?HASH_NOSCOPE:0); in unall()
1261 …oot && shp->var_tree!=shp->var_base && nv_search((char*)np,shp->var_tree,HASH_BUCKET|HASH_NOSCOPE)) in unall()