Lines Matching refs:np
92 static void noexport(register Namval_t* np, void *data)
95 nv_offattr(np,NV_EXPORT);
117 register Namval_t* np;
133 (*cp=0,np=nv_search(arg->argval,shp->var_tree,0)))
135 nv_onattr(np,NV_EXPORT);
136 sh_envput(shp->env,np);
210 register Namval_t *np;
235 if(!(np=shp->posix_fun))
238 np = nv_search(script,shp->fun_tree,0);
239 if(np && is_afunction(np) && !nv_isattr(np,NV_FPOSIX))
241 if(!np->nvalue.ip)
244 if(np->nvalue.ip)
246 if(nv_isattr(np,NV_FPOSIX))
247 np = 0;
254 np = 0;
255 if(!np)
263 shp->st.lineno = np?((struct functnod*)nv_funtree(np))->functline:1;
277 if(np)
278 shp->st.filename = np->nvalue.rp->fname;
281 if(np || argv[1])
288 if(np)
289 sh_exec((Shnode_t*)(nv_funtree(np)),sh_isstate(SH_ERREXIT));
299 if(!np)
302 if((np || argv[1]) && jmpval!=SH_JMPSCRIPT)