Searched refs:var_tree (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dbash.c357 if(np=nv_open("HOSTTYPE",shp->var_tree,0))
359 if(np=nv_open("MACHTYPE",shp->var_tree,0))
361 if(np=nv_open("BASH_VERSION",shp->var_tree,0))
363 if(np=nv_open("BASH_VERSINFO",shp->var_tree,0))
382 if(np=nv_open("BASH_ENV",shp->var_tree,0))
391 if(np=nv_open("GLOBIGNORE",shp->var_tree,0))
416 if(np = nv_open("SHELLOPTS", shp->var_tree, NV_NOADD))
H A Dname.c350 np = nv_open(prefix,shp->var_tree,flag);
363 np = nv_open(cp,shp->var_tree,flag|NV_ASSIGN);
467 np = nv_open(cp,shp->var_tree,flag);
555 np = nv_open(cp,shp->var_tree,flags);
602 nv_open(shtp.nodes[0]->nvname,shp->var_tree,NV_ASSIGN|NV_VARNAME|NV_NOADD|NV_NOFAIL);
694 if(root==shp->var_tree)
722 if(root==shp->var_tree)
752 Dt_t *dp = dtview(shp->var_tree,(Dt_t*)0);
755 dtview(shp->var_tree,rp->sdict);
757 if(np = nv_search(name,shp->var_tree,
[all...]
H A Darith.c67 Dt_t *root = shp->var_tree;
76 if((!(np = nv_open(cp,shp->var_tree,assign|NV_VARNAME|NV_NOADD|NV_NOFAIL)) || nv_isnull(np)) && sh_macfun(shp,cp, offset = staktell()))
84 np = nv_open(cp,shp->var_tree,assign|NV_VARNAME);
195 Dt_t *root = (lvalue->emode&ARITH_COMP)?shp->var_base:shp->var_tree;
H A Dxec.c617 nr->root = sh.var_tree;
623 if(sh.var_tree!=sh.var_base && !nv_open(cp,nr->root,NV_VARNAME|NV_NOREF|NV_NOSCOPE|NV_NOADD|NV_NOFAIL))
787 shp->st.var_local = shp->var_tree;
1619 np = nv_open(t->for_.fornam, shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME|NV_NOREF);
1936 Namval_t *np = nv_open("TIMEFORMAT",shp->var_tree,NV_NOADD);
1982 if(oldnspace && dtvnext(dtvnext(shp->var_tree)))
1983 top = dtview(shp->var_tree,0);
1984 else if(dtvnext(shp->var_tree))
1985 top = dtview(shp->var_tree,0);
1986 oldroot = shp->var_tree;
[all...]
H A Dinit.c315 Namval_t *mp = dtsearch(shp->var_tree,np);
1364 shp->last_root = shp->var_tree;
1376 nv_scan(shp->var_tree,sh_envnolocal,(void*)0,NV_EXPORT,0);
1377 nv_scan(shp->var_tree,sh_envnolocal,(void*)0,NV_ARRAY,NV_ARRAY);
1547 shp->var_base = shp->var_tree = inittree(shp,shtab_variables);
1638 if(np = nv_mount(DOTSHNOD, "global", shp->var_tree))
1735 else if(np=nv_open(cp,shp->var_tree,(NV_EXPORT|NV_IDENT|NV_ASSIGN|NV_NOFAIL)))
1751 np = nv_search(cp+2,shp->var_tree,NV_ADD);
H A Dfault.c611 nv_scan(shp->var_tree,array_notify,(void*)0,NV_ARRAY,NV_ARRAY);
625 if(nv_search("VMTRACE", shp->var_tree,0))
H A Dexpand.c150 GLOBIGNORENOD = nv_open("GLOBIGNORE",shp->var_tree,0);
H A Dnvdisc.c248 if(val && (tp=nv_type(np)) && (nr=nv_open(val,sh.var_tree,NV_VARNAME|NV_ARRAY|NV_NOADD|NV_NOFAIL)) && tp==nv_type(nr))
1025 if(*name=='.' && root==sh.var_tree && !dp)
1031 if(sh.namespace && !(mode&HASH_NOSCOPE) && root==sh.var_tree)
1337 return(sh.var_tree);
H A Dargs.c167 np = nv_open(opt_info.arg,ap->sh->var_tree,NV_NOASSIGN|NV_ARRAY|NV_VARNAME);
225 np = nv_open("BASH_VERSION",ap->sh->var_tree,0);
227 np = nv_open("MACHTYPE",ap->sh->var_tree,0);
H A Dnvtype.c538 if(val && (nq=nv_open(val,sh.var_tree,NV_VARNAME|NV_ARRAY|NV_NOADD|NV_NOFAIL)))
615 np = nv_open(stakptr(offset), sh.var_tree, NV_NOADD|NV_VARNAME);
1199 mp = nv_open(stakptr(offset), sh.var_tree, NV_VARNAME);
1411 mp = nv_open(stakptr(offset), sh.var_tree, NV_VARNAME);
1423 tp = nv_open(stakptr(offset), sh.var_tree, NV_VARNAME|NV_NOADD|NV_NOFAIL);
1463 tp = nv_open(stakptr(offset), sh.var_tree, NV_VARNAME);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dpoll_solaris.c287 array_np = nv_open(varname, shp->var_tree, NV_NOFAIL|NV_NOADD);
324 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].fd", varname, subname);
333 np = nv_open_fmt(shp->var_tree, NV_NOFAIL|NV_NOADD, "%s[%s].events", varname, subname);
355 np = nv_open_fmt(shp->var_tree, NV_VARNAME|NV_ARRAY|NV_NOFAIL, "%s", eventarrayname);
369 np = nv_open_fmt(shp->var_tree, NV_NOFAIL, "%s[%s].revents", varname, subname);
H A Dtypeset.c129 return(b_common(argv,flag,tdata.sh->var_tree, &tdata));
221 troot = tdata.sh->var_tree;
389 tdata.tp = nv_open(stkptr(stkp,offset),tdata.sh->var_tree,NV_VARNAME|NV_NOARRAY|NV_NOASSIGN);
525 if(troot!=shp->var_tree && (nv_isnull(np) || !print_namval(sfstdout,np,0,tp)))
533 if(troot==shp->var_tree && ((tp->tp && !nv_isarray(np)) || !shp->st.real_fun && (nvflags&NV_STATIC)) && !strchr(name,'=') && !(shp->envlist && nv_onlist(shp->envlist,name)))
535 if(troot==shp->var_tree)
624 if(troot!=shp->var_tree)
661 hp = dtvnext(shp->var_tree);
685 else if(troot==shp->var_tree)
919 print_scan(sfstdout,0,tdata.sh->var_tree,
[all...]
H A Dshiocmd_solaris.c115 dp->format = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD);
232 nq = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD);
579 np = nv_open(argv[0], shp->var_tree, NV_ARRAY|NV_VARNAME|NV_NOASSIGN);
702 np = nv_open(argv[0], shp->var_tree, NV_ARRAY|NV_VARNAME|NV_NOASSIGN);
777 np = nv_open(argv[0],shp->var_tree,NV_ARRAY|NV_VARNAME|NV_NOASSIGN);
849 np = nv_open(argv[0],shp->var_tree,NV_ARRAY|NV_VARNAME|NV_NOASSIGN);
H A Dgetopts.c91 np = nv_open(argv[1],shp->var_tree,NV_NOASSIGN|NV_VARNAME);
171 np = nv_open(nv_name(OPTARGNOD),shp->var_tree,NV_NOSCOPE);
H A Dread.c235 np = nv_open(name,shp->var_tree,NV_NOASSIGN|NV_VARNAME);
261 if(dtvnext(shp->var_tree) || shp->namespace)
262 np = nv_open(nv_name(REPLYNOD),shp->var_tree,0);
695 np = nv_open(name,shp->var_tree,NV_NOASSIGN|NV_VARNAME);
H A Dmisc.c128 nv_scan(shp->var_tree,noexport,0,NV_EXPORT,NV_EXPORT);
134 (*cp=0,np=nv_search(arg->argval,shp->var_tree,0)))
265 shp->st.var_local = shp->st.save_tree = shp->var_tree;
276 prevscope->save_tree = shp->var_tree;
H A Dalarm.c262 np = nv_open(argv[0],shp->var_tree,NV_NOARRAY|NV_VARNAME|NV_NOASSIGN);
H A Denum.c229 tp = nv_open(stakptr(n), shp->var_tree, NV_VARNAME);
H A Dmkservice.c453 np = nv_open(var,sh.var_tree,NV_ARRAY|NV_VARNAME|NV_NOASSIGN);
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshell.h121 Dt_t *var_tree; member in struct:sh_scope
132 Dt_t *var_tree; /* for shell variables */ member in struct:Shell_s
/illumos-gate/usr/src/cmd/ksh/builtins/
H A Dalias.c220 np = nv_open("exitval", shp->var_tree, 0);
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h130 Dt_t *var_tree; member in struct:sh_scope
141 Dt_t *var_tree; /* for shell variables */ member in struct:Shell_s
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h130 Dt_t *var_tree; member in struct:sh_scope
141 Dt_t *var_tree; /* for shell variables */ member in struct:Shell_s
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h130 Dt_t *var_tree; member in struct:sh_scope
141 Dt_t *var_tree; /* for shell variables */ member in struct:Shell_s
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h130 Dt_t *var_tree; member in struct:sh_scope
141 Dt_t *var_tree; /* for shell variables */ member in struct:Shell_s

Completed in 114 milliseconds

12