Searched refs:nv_getsub (Results 1 - 13 of 13) sorted by relevance

/ast/src/lib/libtksh/include/
H A Dnvextra.h40 #define nv_notsub(np,sub) ( (!nv_putsub((np),(sub),0)) || (!nv_getsub(np)) )
41 #define nv_setsub(np,sub) (nv_putsub((np),(sub),ARRAY_ADD) && nv_getsub(np) && \
43 #define nv_subnull(np) ( (!nv_getsub(np)) || nv_isnull(nv_opensub(np)))
/ast/src/lib/libtksh/src/
H A Dvarcmd.c723 name = nv_getsub(varPtr);
733 name = nv_getsub(varPtr);
750 name = nv_getsub(varPtr);
757 name = nv_getsub(varPtr);
802 interp->result = searchPtr->sub = nv_getsub(searchPtr->nv);
846 size = nv_getsub(varPtr) ? 1 : 0;
H A Dvar.c196 part2 = nv_getsub(namval);
604 if (nv_getsub(nv) && ! nv_inscan(nv))
605 subname = subcpy = strdup(nv_getsub(nv));
670 part2 = (current_namval == nv) ? current_part2 : nv_getsub(nv);
/ast/src/cmd/ksh93/include/
H A Dnval.h257 extern char *nv_getsub(Namval_t*);
/ast/src/cmd/ksh93/sh/
H A Dname.c154 else if(!(val=nv_getsub(np)) || strcmp(val,"0"))
1096 sub = m?nv_getsub(np):0;
1526 sub = nv_getsub(np);
3339 mp = nv_search(nv_getsub(np),ap->table,NV_ADD);
3416 if(nq && ep && nv_isarray(nq) && !((ap=nv_arrayptr(nq)) && ap->fixed) && !nv_getsub(nq))
3418 if(nq && ep && nv_isarray(nq) && !nv_getsub(nq))
3443 ep = nv_getsub(nq);
3452 ep = nv_getsub(nq);
3462 ep = nv_getsub(nq=nr);
H A Darray.c497 if(!(nelem&(ARRAY_SCAN|ARRAY_UNDEF)) && (sub=nv_getsub(np)))
511 name = nv_getsub(np);
638 nv_arraysettype(np,ap->hdr.type,nv_getsub(np),0);
724 nv_arraysettype(np,ap->hdr.type,nv_getsub(np),0);
1600 char *nv_getsub(Namval_t* np) function
H A Darith.c184 if(ap && ap->table && (nq=nv_search(nv_getsub(np),ap->table,NV_ADD)))
H A Dnvtree.c619 if(!(fmtq = nv_getsub(np)))
995 if(arp && !(arp->nelem&ARRAY_SCAN) && (subscript = nv_getsub(np)))
H A Dnvtype.c220 if((ap = nv_arrayptr(nq)) && !(ap->nelem&ARRAY_UNDEF) && (sub= nv_getsub(nq)))
452 cp = nv_getsub(nr);
1338 nv_arraysettype(np, tp, nv_getsub(np),flags);
H A Dnvdisc.c259 char *sub = nv_getsub(np);
H A Dxec.c688 if((ap=nv_arrayptr(nq)) && (sp = nv_getsub(nq)))
/ast/src/cmd/kshlib/open/
H A Dopen.c299 sfprintf(out,"[%s]",sh_fmtq(nv_getsub(np)));
/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c1239 if((ap=nv_arrayptr(np)) && !ap->fixed && name[strlen(name)-1]==']' && !nv_getsub(np))
1241 if(nv_isarray(np) && name[strlen(name)-1]==']' && !nv_getsub(np))

Completed in 59 milliseconds