Lines Matching refs:var_tree
681 nr->root = shp->var_tree;
691 if(shp->var_tree!=shp->var_base && !nv_search((char*)nq,nr->root,HASH_BUCKET|HASH_NOSCOPE))
759 nv_open(name,shp->var_tree,NV_IDENT|NV_NOADD);
845 Dt_t *top = shp->var_tree;
864 shp->var_tree = top;
941 if(shp->var_tree==oroot)
943 shp->var_tree = shp->var_tree->view;
949 if(shp->var_tree==shp->var_base)
950 shp->var_tree = nv_dict(nsp);
953 for(root=shp->var_tree; root->view!=oroot;root=root->view);
958 if(path && (path = nv_search(PATHNOD->nvname,shp->var_tree,HASH_NOSCOPE)) && (val=nv_getval(path)))
960 if(fpath && (fpath = nv_search(FPATHNOD->nvname,shp->var_tree,HASH_NOSCOPE)) && (val=nv_getval(fpath)))
1158 shp->st.var_local = shp->var_tree;
2269 np = nv_open(t->for_.fornam, shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME|NV_NOREF);
2640 Namval_t *np = nv_open("TIMEFORMAT",shp->var_tree,NV_NOADD);
2684 np = nv_open(stkptr(stkp,offset),shp->var_tree,flags);
2711 npv = nv_open(cp,shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME);
2719 npv = nv_open(stkptr(stkp,offset),shp->var_tree,NV_NOASSIGN|NV_NOARRAY|NV_VARNAME);
3272 if((cp = nv_getval(np)) && (mp = nv_search(nv_name(np), shp->var_tree, NV_ADD|HASH_NOSCOPE)) && nv_isnull(mp))
3358 prevscope->save_tree = shp->var_tree;
3369 shp->st.save_tree = shp->var_tree;
3389 shp->st.var_local = shp->var_tree;
3417 np = nv_search(arg[r],shp->var_tree,HASH_NOSCOPE|NV_ADD);
3437 shp->var_tree = (Dt_t*)prevscope->save_tree;