Lines Matching defs:sh
61 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp));
62 cp = sfstruse(sh.strbuf);
257 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))
339 if(sh.subshell)
621 dtdelete(sh.bltin_tree,mp);
693 fp->subshell = sh.subshell;
1012 if(!sh.subshell)
1041 dtinsert(nv_dict(sh.namespace),np);
1059 if(*name=='.' && root==sh.var_tree && !dp)
1060 root = sh.var_base;
1064 if(sh.inpool)
1069 if(sh.namespace && !(mode&HASH_NOSCOPE) && root==sh.var_tree)
1070 root = nv_dict(sh.namespace);
1191 else if((name = path_basename(path))==path && bltin!=(Shbltin_f)SYSTYPESET->nvalue.bfp && (nq=nv_bfsearch(name,sh.bltin_tree,(Namval_t**)0,&cp)))
1193 else if(sh.bltin_dir && extra!=(void*)1)
1195 stakputs(sh.bltin_dir);
1200 if(np = nv_search(name,sh.bltin_tree,0))
1208 dtdelete(sh.bltin_tree,np);
1214 else for(np=(Namval_t*)dtfirst(sh.bltin_tree);np;np=(Namval_t*)dtnext(sh.bltin_tree,np))
1226 dtdelete(sh.bltin_tree,np);
1233 if(!np && !(np = nv_search(path,sh.bltin_tree,bltin?NV_ADD:0)))
1312 Shell_t *sh;
1322 Shell_t *shp = ((struct adata*)data)->sh;
1341 data.sh = ((struct table*)fp)->shp;
1342 nv_scan(data.sh->fun_tree,delete_fun,(void*)&data,NV_FUNCTION,NV_FUNCTION|NV_NOSCOPE);