Searched refs:nv_name (Results 1 - 25 of 29) sorted by relevance

12

/ast/src/cmd/ksh93/sh/
H A Dshcomp.c140 if((t->tre.tretyp&(COMMSK|COMSCAN))==0 && t->com.comnamp && strcmp(nv_name((Namval_t*)t->com.comnamp),"alias")==0)
149 if(t && ((t->tre.tretyp&COMMSK)==TCOM) && (np=t->com.comnamp) && (cp=nv_name(np)))
H A Dname.c159 stakputs(nv_name(np));
391 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nv_name(np));
469 char *name = nv_name(np);
503 cp = stakcopy(nv_name(np));
525 cp = stakcopy(nv_name(np));
537 errormsg(SH_DICT,ERROR_exit(1),e_badappend,nv_name(np));
562 sfprintf(stkstd,"%s[%d]",prefix?nv_name(np):cp,sub);
567 shp->prefix = stakcopy(nv_name(np));
575 sfprintf(stkstd,"%s%s",nv_name(L_ARGNOD->nvalue.nrp->np),shp->prefix+1);
632 char *name=nv_name(n
3632 char *nv_name(register Namval_t *np) function
[all...]
H A Dnvtree.c62 sfprintf(sh.strbuf,"%s=%c",nv_name(np),0);
189 char *cp = nv_name(dp->hp);
302 cp = nv_name(np);
559 sfprintf(out,"%s",nv_name(np));
564 sfputr(out,nv_name(np),'\n');
983 char *xpname = xp?stakcopy(nv_name(xp)):0;
994 stakputs(nv_name(np));
H A Darray.c232 errormsg(SH_DICT,ERROR_exit(1),e_subscript,nv_name(np));
370 errormsg(SH_DICT,ERROR_exit(1),e_subscript,nv_name(np));
421 sfprintf(sh.strbuf,"%s=%s",nv_name(nq),nv_getval(np));
1197 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np));
1431 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np));
1469 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np));
1475 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np));
1480 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np));
1818 errormsg(SH_DICT,ERROR_exit(1),"cannot append index array to associative array %s",nv_name(np));
H A Dnvdisc.c1055 name = nv_name(mp);
1157 stakputs(nv_name(nq));
1216 if(strcmp(name,path_basename(nv_name(np))))
1219 if(strcmp(path,nv_name(np)))
1340 data.mapname = nv_name(np);
1493 sfputr(stkp,nv_name(shp->namespace),'.');
H A Darith.c157 sfprintf(shp->strbuf,"%s%s%c",nv_name(np),sub,0);
471 *ptr = nv_name(np);
H A Dnvtype.c219 cp = nv_name(nq);
423 cp = nv_name(np);
425 cp = nv_name(mp);
483 errormsg(SH_DICT,ERROR_exit(1),e_required,nq->nvname,nv_name(mp));
542 errormsg(SH_DICT,ERROR_exit(1),e_notelem,n,name,nv_name(np));
824 sfprintf(shp->strbuf2,".%s.%s%c\n",nv_name(bp)+1,name,0);
1261 cp = nv_name(tp);
1330 errormsg(SH_DICT,ERROR_exit(1),e_redef,nv_name(np));
H A Dexpand.c228 if(strmatch(cp=nv_name(np),pattern))
H A Dsubshell.c277 char *name = nv_name(np);
358 char *name = nv_name(mp);
364 env_delete(sp->shp->env,nv_name(mp));
H A Dxec.c678 cp = nv_name(nq);
742 sfprintf(sfstdout,format,nv_name(np));
1186 sfprintf(shp->strbuf2,"%s%s%c",NV_CLASS,nv_name(shp->namespace),0);
1230 *argv = nv_name(np);
1311 if(strchr(nv_name(np),'/'))
2722 sfprintf(stkp,"%s.%s%c",nv_name(npv),cp,0);
3272 if((cp = nv_getval(np)) && (mp = nv_search(nv_name(np), shp->var_tree, NV_ADD|HASH_NOSCOPE)) && nv_isnull(mp))
3393 shp->st.funname = nv_name(fp->node);
3495 shp->st.funname = nv_name(np);
3497 nv_putval(SH_FUNNAMENOD, nv_name(n
[all...]
H A Dinit.c257 register const char *cp, *name=nv_name(np);
338 char *name = nv_name(np);
340 errormsg(SH_DICT,ERROR_exit(1),e_restricted,nv_name(np));
414 char *name = nv_name(np);
1051 fake.nvname = nv_name(np);
1085 return(nv_name(sh.namespace));
1746 errormsg(SH_DICT,ERROR_exit(1),e_notelem,n,name,nv_name(np));
H A Dparse.c1582 r = kiaentity(lexp,nv_name(np),-1,'p',-1,0,lexp->unknown,'b',0,"");
2054 char *name = nv_name(np);
/ast/src/lib/libtksh/src/
H A Dvar.c144 part1=nv_name(nv_open(part1,tree,nvflags|NV_NOASSIGN|NV_NOREF));
506 dprintf(("Tksh: put on array element %s[%s]\n", nv_name(nv),
507 nvsub ? nv_name(nvsub) : "all"));
547 nv_name(nv), nv_name(nvsub)));
598 arrayname = nv_name(trace.nv);
599 subname = nv_name(nv);
603 arrayname = nv_name(nv);
664 part1 = nv_name(trace.nv);
665 part2 = nv_name(n
[all...]
H A Dcommands.c237 char *name = nv_name(nv);
252 if (tksh_matchstr && !Tcl_StringMatch(nv_name(nv), tksh_matchstr))
254 Tcl_AppendElement(tksh_interp, nv_name(nv));
263 if (tksh_matchstr && !Tcl_StringMatch(nv_name(nv), tksh_matchstr))
271 Tcl_AppendElement(tksh_interp, nv_name(nv));
H A Dtcleval.c19 name = nv_name(np);
H A Dtclproc.c271 dprintf(("LOCAL DELETE: %s\n", nv_name(nv)));
H A Deval.c124 return nv_name(nv);
/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c423 sfputr(stkp,nv_name(tdata.sh->namespace),'.');
477 cp = name = nv_name(np);
489 tp->sh->prefix = nv_name(np)+1;
507 sfputr(iop,nv_name(np),aflag=='+'?'\n':'=');
637 path_alias(np,path_absolute(shp,nv_name(np),NIL(Pathcomp_t*)));
646 errormsg(SH_DICT,ERROR_exit(1),e_typecompat,nv_name(np));
654 errormsg(SH_DICT,ERROR_exit(1),"cannot change associative array %s to index array",nv_name(np));
736 errormsg(SH_DICT,ERROR_exit(1),e_mapchararg,nv_name(np));
781 errormsg(SH_DICT,ERROR_exit(1),e_readonly,nv_name(np));
1230 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(n
[all...]
H A Dread.c275 np = nv_open(nv_name(REPLYNOD),shp->var_tree,0);
530 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np));
753 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np));
774 if(sh_isoption(SH_ALLEXPORT)&&!strchr(nv_name(np),'.') && !nv_isattr(np,NV_EXPORT))
793 errormsg(SH_DICT,ERROR_warn(0),e_readonly, nv_name(np));
H A Dalarm.c104 register char *name = nv_name(tp->node);
H A Denum.c163 error(ERROR_exit(1), "%s: invalid value %s",nv_name(np),val);
H A Dgetopts.c181 np = nv_open(nv_name(OPTARGNOD),shp->var_tree,0);
/ast/src/cmd/kshlib/open/
H A Dopen.c107 char *name = nv_name(np);
162 char *name = nv_name(np);
225 char *name = nv_name(np);
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c132 sfprintf(ap->strbuf,"%s=%s\0",nv_name(&ap->node),val);
399 error(ERROR_exit(1),"%s: unable to create array",nv_name(np));
/ast/src/cmd/ksh93/include/
H A Dnval.h295 extern char *nv_name(Namval_t*);

Completed in 98 milliseconds

12