Lines Matching refs:np
153 static void put_globignore(register Namval_t* np, const char *val, int flags, Namfun_t *fp)
160 nv_putv(np,val,flags,fp);
172 static void put_funcname(register Namval_t* np,const char *val,int flags,Namfun_t *fp)
179 nv_putv(np,val,flags,fp);
314 Namval_t *np;
356 if(np=nv_open("HOSTTYPE",shp->var_tree,0))
357 nv_putval(np, BASH_HOSTTYPE, NV_NOFREE);
358 if(np=nv_open("MACHTYPE",shp->var_tree,0))
359 nv_putval(np, BASH_MACHTYPE, NV_NOFREE);
360 if(np=nv_open("BASH_VERSION",shp->var_tree,0))
361 nv_putval(np, BASH_VERSION, NV_NOFREE);
362 if(np=nv_open("BASH_VERSINFO",shp->var_tree,0))
372 nv_setvec(np, 0, 6, argv);
373 nv_onattr(np,NV_RDONLY);
381 if(np=nv_open("BASH_ENV",shp->var_tree,0))
386 nv_disc(np, fp, 0);
390 if(np=nv_open("GLOBIGNORE",shp->var_tree,0))
395 nv_disc(np, fp, 0);
415 if(np = nv_open("SHELLOPTS", shp->var_tree, NV_NOADD))
416 nv_offattr(np,NV_RDONLY);