Lines Matching defs:shp
80 Shell_t *shp = sh_getinterp();
83 pp = path_get(shp,"");
93 int path_expand(Shell_t *shp,const char *pattern, struct argnod **arghead)
123 extra += scantree(shp->alias_tree,pattern,arghead);
124 extra += scantree(shp->fun_tree,pattern,arghead);
145 cp=nv_getval(sh_scoped(shp,FIGNORENOD));
150 GLOBIGNORENOD = nv_open("GLOBIGNORE",shp->var_tree,0);
151 cp=nv_getval(sh_scoped(shp,GLOBIGNORENOD));
188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD));
191 gp->gl_intr = &shp->trapnote;
202 sh_sigcheck(shp);
249 int path_complete(Shell_t *shp,const char *name,register const char *suffix, struct argnod **arghead)
253 return(path_expand(shp,name,arghead));
265 int path_generate(Shell_t *shp,struct argnod *todo, struct argnod **arghead)
391 brace=path_expand(shp,ap->argval,arghead);
452 sh_sigcheck(shp);