/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | cd_pwd.c | 90 dir = nv_getval(HOME); in b_cd() 92 dir = nv_getval(opwdnod); in b_cd() 184 if(dir == nv_getval(opwdnod) || argc==2) in b_cd()
|
H A D | enum.c | 239 sz += strlen(nv_getval(np)); in enum_create() 254 sp = nv_getval(np); in enum_create()
|
H A D | hist.c | 218 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD)))) in b_hist()
|
H A D | print.c | 606 cp = nv_getval(np); in fmtbase64() 629 cp = nv_getval(np); in fmtbase64() 639 cp = nv_getval(np); in fmtbase64()
|
H A D | whence.c | 169 && (cp=nv_getval(np))) in whence()
|
H A D | poll_solaris.c | 337 s = nv_getval(np); in b_poll()
|
H A D | shiocmd_solaris.c | 52 char *format = nv_getval(dp->format); in get_time() 305 if(!(fmtq=nv_getval(np)) || !(fmtq=sh_fmtq(fmtq))) in genvalue()
|
H A D | typeset.c | 184 nv_putval(np,nv_getval(np),NV_RDONLY); in b_alias() 520 if(!(name = nv_getval(np))) in print_value() 648 else if((ap=nv_arrayptr(np)) && nv_aindex(np)>0 && ap->nelem==1 && nv_getval(np)==Empty) in setall() 1372 if(cp=nv_getval(np)) in print_namval()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | expand.c | 145 cp=nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand() 151 cp=nv_getval(sh_scoped(shp,GLOBIGNORENOD)); in path_expand() 188 gp->gl_fignore = nv_getval(sh_scoped(shp,FIGNORENOD)); in path_expand()
|
H A D | macro.c | 177 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_mactrim() 212 if(mp->ifsp=nv_getval(sh_scoped(shp,IFSNOD))) in sh_macexpand() 285 mp->ifsp = nv_getval(sh_scoped(shp,IFSNOD)); in sh_machere() 1447 v = nv_getval(np); in varsub() 1675 v = nv_getval(np); in varsub() 1680 v = nv_getval(np); in varsub() 1879 v = nv_getval(np); in varsub() 1929 v = nv_getval(np); in varsub() 1977 v = nv_getval(np); in varsub() 2164 mp->ifsp = nv_getval(np); in comsubst() [all …]
|
H A D | main.c | 229 if(name = sh_mactry(shp,nv_getval(ENVNOD))) in sh_main() 281 …if(((type = sh_type(cp = av[0])) & SH_TYPE_SH) && (name = nv_getval(L_ARGNOD)) && (!((type = sh_ty… in sh_main() 509 if((mail=nv_getval(MAILPNOD)) || (mail=nv_getval(MAILNOD))) in exfile()
|
H A D | init.c | 260 if(*name=='E' && nv_getval(sh_scoped(shp,VISINOD))) in put_ed() 262 if(!(cp=val) && (*name=='E' || !(cp=nv_getval(sh_scoped(shp,EDITNOD))))) in put_ed() 294 if(np==HISTFILE && (cp=nv_getval(np)) && strcmp(val,cp)==0) in put_history() 370 if(mp && (val=nv_getval(mp))) in put_restricted() 433 else if(name==(LANGNOD)->nvname && (!(name=nv_getval(LCALLNOD)) || !*name)) in put_lang() 954 if(cp = nv_getval(np)) in put_vpath() 1116 stakputs(nv_getval(PATHNOD)); in newconf() 1386 sfprintf(shp->strbuf,"%s/.kshrc",nv_getval(HOME)); in sh_init() 1397 char *cp=nv_getval(L_ARGNOD); in sh_init() 1415 else if(cp = nv_getval(PWDNOD)) in sh_init() [all …]
|
H A D | nvtype.c | 464 cp = nv_getval(nr); in clone_type() 471 nv_putval(nq,nv_getval(nr),NV_RDONLY); in clone_type() 663 sfprintf(out," with default value \b%s\b.]",nv_getval(np)); in typeinfo() 699 cp = sh_fmtq(nv_getval(nq)); in typeinfo() 1001 sp = nv_getval(np); in nv_mktype() 1011 char *val=nv_getval(np); in nv_mktype() 1363 val = strdup(nv_getval(np)); in nv_settype() 1653 cp = nv_getval(L_ARGNOD); in sh_outtype()
|
H A D | name.c | 160 if(!(val = nv_getval(np))) in sh_envput() 2220 else if(value=nv_getval(np)) in pushnam() 2411 if(cp = nv_getval(np)) in sh_envnolocal() 2462 nv_putval(nq, strdup(nv_getval(nq)), NV_RDONLY); in table_unset() 2464 nv_putval(nq, nv_getval(nq), NV_RDONLY); in table_unset() 2786 char *nv_getval(register Namval_t *np) in nv_getval() function 2987 else if((str=nv_getval(np)) && *str!=0) in nv_getnum() 3074 if (sp = nv_getval(np)) in nv_newattr() 3163 return(nv_getval(np)); in sh_getenv() 3207 return(nv_getval(np)); in sh_setenviron() [all …]
|
H A D | nvdisc.c | 67 cp = nv_getval(np); in nv_getv() 264 nv_putval(np,nv_getval(nr), 0); in assign() 319 cp = nv_getval(SH_VALNOD); in assign() 400 else if(cp = nv_getval(SH_VALNOD)) in lookup() 1000 return(np->nvalue.np?nv_getval(np->nvalue.np):0); in clone_getv()
|
H A D | xec.c | 965 if(path && (path = nv_search(PATHNOD->nvname,shp->var_tree,HASH_NOSCOPE)) && (val=nv_getval(path))) in enter_namespace() 967 …if(fpath && (fpath = nv_search(FPATHNOD->nvname,shp->var_tree,HASH_NOSCOPE)) && (val=nv_getval(fpa… in enter_namespace() 1162 if(!nv_getval(SH_FUNNAMENOD)) in sh_exec() 1294 np=nv_search(nv_getval(np),shp->bltin_tree,0); in sh_exec() 1648 nv_getval(RANDNOD); in sh_exec() 2307 if(!(val=nv_getval(sh_scoped(shp,REPLYNOD)))) in sh_exec() 2358 if((cp=nv_getval(sh_scoped(shp,REPLYNOD))) && *cp==0) in sh_exec() 2655 format = nv_getval(np); in sh_exec() 3035 if(!(cp=nv_getval(sh_scoped(shp,PS4NOD)))) in sh_trace() 3289 …if((cp = nv_getval(np)) && (mp = nv_search(nv_name(np), shp->var_tree, NV_ADD|HASH_NOSCOPE)) && nv… in local_exports() [all …]
|
H A D | array.c | 421 sfprintf(sh.strbuf,"%s=%s",nv_name(nq),nv_getval(np)); in nv_arraysettype() 544 nv_putval(mp,nv_getval(np),NV_RDONLY); in array_clone() 575 cp = nv_getval(mp); in array_getval() 999 value = nv_getval(np); in nv_setarray() 1137 if(nv_getval(np)==Empty) in nv_nextsub() 1614 return(nv_getval(np)); in nv_getsub()
|
H A D | path.c | 251 cp = nv_getval(PWDNOD); in path_pwd() 254 cp = nv_getval(HOME); in path_pwd() 1114 s = nv_getval(np); in path_spawn() 1347 if(shp->gd->hist_ptr && (path=nv_getval(HISTFILE)) && strcmp(path,shp->gd->hist_ptr->histname)) in exscript()
|
H A D | args.c | 229 sfputr(sfstdout, nv_getval(np),-1); in sh_argopts() 231 sfprintf(sfstdout, " (%s)\n", nv_getval(np)); in sh_argopts()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 94 # define nv_getval(s) getenv(#s) macro 96 # define nv_getval(s) getenv("s") macro 138 if(!np || !(acctfile=nv_getval(np))) in acctinit() 240 if(!(histname = nv_getval(HISTFILE))) in sh_histinit() 243 if(cp=nv_getval(HOME)) in sh_histinit() 304 if(cp=nv_getval(HISTSIZE)) in sh_histinit()
|
H A D | edit.c | 517 register char *cp = nv_getval(COLUMNS); in ed_window() 766 …if(ep->e_term && (term=nv_getval(ep->e_term)) && strlen(term)<sizeof(ep->e_termname) && strcmp(ter… in ed_setup() 769 if(pp=nv_getval(SH_SUBSCRNOD)) in ed_setup() 777 if(ep->e_default && (pp = nv_getval(ep->e_default))) in ed_setup() 1592 if((cp = nv_getval(ED_CHRNOD)) == inbuff) 1667 if(!(hp=ep->sh->gd->hist_ptr) && (!nv_getval(HISTFILE) || !sh_histinit(ep->sh)))
|
H A D | hexpand.c | 167 if((np = nv_open("histchars",sh.var_tree,0)) && (cp = nv_getval(np)))
|
H A D | completion.c | 524 if (isalnum(i)&&(np=nv_search(ep->e_macro,ep->sh->alias_tree,HASH_SCOPE))&&(out=nv_getval(np))) in ed_macro()
|
/illumos-gate/usr/src/cmd/ast/libshell/ |
H A D | mapfile-vers | 101 nv_getval;
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | nval.h | 272 extern char *nv_getval(Namval_t*);
|