Searched refs:nv_arrayptr (Results 1 - 20 of 20) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dname.c148 Namarr_t *ap = nv_arrayptr(np);
376 if((arg->argflag&ARG_APPEND) && (tp->tre.tretyp&COMMSK)==TCOM && tp->com.comset && !nv_isvtree(np) && (((ap=nv_arrayptr(np)) && !ap->fun && !nv_opensub(np)) || (!ap && nv_isarray(np) && tp->com.comarg && !((mp=nv_search(tp->com.comarg->argval,shp->fun_tree,0)) && nv_isattr(mp,BLT_DCL)))))
408 ap=nv_arrayptr(np);
455 if(!nv_isarray(np) || ((ap=nv_arrayptr(np)) && !ap->fixed && (ap->nelem&ARRAY_MASK)))
457 if(!nv_isarray(np) || ((ap=nv_arrayptr(np)) && (ap->nelem&ARRAY_MASK)))
536 if((sub=nv_aimax(np)) < 0 && nv_arrayptr(np))
544 else if(((np->nvalue.cp && np->nvalue.cp!=Empty)||nv_isvtree(np)|| nv_arrayptr(np)) && !nv_type(np))
949 ap = nv_arrayptr(np);
967 Namarr_t *ap = nv_arrayptr(np);
1046 if((ap=nv_arrayptr(n
[all...]
H A Darray.c187 register struct index_array *ap = (struct index_array*)nv_arrayptr(np);
409 Namarr_t *ap = nv_arrayptr(np);
903 struct index_array *ap = (struct index_array*)nv_arrayptr(np);
920 Namarr_t *nv_arrayptr(register Namval_t *np) function
941 if(!fun || !(ap = nv_arrayptr(np)) || is_associative(ap))
983 if(fun && (ap = nv_arrayptr(np)))
1028 register Namarr_t *ap = nv_arrayptr(np);
1036 ap = nv_arrayptr(np);
1075 register struct index_array *ap = (struct index_array*)nv_arrayptr(np);
1172 register struct index_array *ap = (struct index_array*)nv_arrayptr(n
[all...]
H A Dnvtree.c309 Namarr_t *ap = nv_arrayptr(nq);
346 Namarr_t *ap = nv_arrayptr(np);
490 Namarr_t *ap = nv_arrayptr(np);
584 Namarr_t *ap = nv_arrayptr(np);
746 if(special || (nv_isarray(np) && nv_arrayptr(np)))
749 if(array_elem(nv_arrayptr(np))==0)
780 if((ap=nv_arrayptr(np)) && ap->fixed)
896 if((wp->array = nv_isarray(np)) && (ap=nv_arrayptr(np)))
979 Namarr_t *arp = nv_arrayptr(np);
1145 if(ap= nv_arrayptr(n
[all...]
H A Darith.c118 Namarr_t *ap = nv_arrayptr(np);
169 ap = nv_arrayptr(np);
181 ap = nv_arrayptr(np);
H A Dnvdisc.c54 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np))
90 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np))
136 if(!value && (!(ap=nv_arrayptr(np)) || ap->nelem==0))
145 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np))
341 if(nv_isarray(np) && (ap=nv_arrayptr(np)) && ap->nelem>0)
522 if(nv_isarray(np) && !nv_arrayptr(np))
990 else if((flags&NV_NOFREE) && !nv_arrayptr(np))
1337 if(nv_isarray(np) && (ap=nv_arrayptr(np)) && array_elem(ap))
H A Dnvtype.c220 if((ap = nv_arrayptr(nq)) && !(ap->nelem&ARRAY_UNDEF) && (sub= nv_getsub(nq)))
225 if((ap=nv_arrayptr(np)) && ap->fixed)
444 else if(ap=nv_arrayptr(nr))
570 if(nv_isarray(np) && (ap=nv_arrayptr(np)) && ap->nelem>0)
575 if(ap=nv_arrayptr(nq))
591 Namarr_t *ap = nv_arrayptr(np);
1154 if(j==0 && (ap=nv_arrayptr(np)) && !ap->fun)
1332 if((ap=nv_arrayptr(np)) && ap->nelem>0)
1353 ap = nv_arrayptr(np);
H A Dinit.c771 Namarr_t *ap = nv_arrayptr(SH_MATCHNOD);
782 ap = nv_arrayptr(np);
801 ap = nv_arrayptr(SH_MATCHNOD);
820 if(ap = nv_arrayptr(SH_MATCHNOD))
823 ap = nv_arrayptr(np);
864 #define array_scan(np) ((nv_arrayptr(np)->nelem&ARRAY_SCAN))
H A Dfault.c593 Namarr_t *ap = nv_arrayptr(np);
H A Dsubshell.c257 if((ap=nv_arrayptr(np)) && (mp=nv_opensub(np)))
H A Dxec.c688 if((ap=nv_arrayptr(nq)) && (sp = nv_getsub(nq)))
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c73 extern Namarr_t *nv_arrayptr(Namval_t*);
83 ap = nv_arrayptr(np);
180 register struct dbm_array *ap = (struct dbm_array*)nv_arrayptr(np);
/ast/src/cmd/ksh93/bltins/
H A Denum.c226 if(!(np = nv_open(cp, (void*)0, NV_VARNAME|NV_NOADD)) || !(ap=nv_arrayptr(np)) || ap->fun || (sz=ap->nelem&(((1L<<ARRAY_BITS)-1))) < 2)
H A Dtypeset.c510 if(nv_isarray(np) && nv_arrayptr(np))
645 else if(tp->tp && !nv_isattr(np,NV_MINIMAL|NV_EXPORT) && (mp=(Namval_t*)np->nvenv) && (ap=nv_arrayptr(mp)) && (ap->nelem&ARRAY_TREE))
647 else if((ap=nv_arrayptr(np)) && nv_aindex(np)>0 && ap->nelem==1 && nv_getval(np)==Empty)
700 Namarr_t *ap=nv_arrayptr(np);
1239 if((ap=nv_arrayptr(np)) && !ap->fixed && name[strlen(name)-1]==']' && !nv_getsub(np))
1361 if(nv_arrayptr(np))
H A Dread.c250 if((ap=nv_arrayptr(np)) && !ap->fun)
253 if((ap=nv_arrayptr(np)) && !ap->fun)
H A Dprint.c607 else if(nv_isarray(np) && (ap=nv_arrayptr(np)) && array_elem(ap) && (ap->nelem&(ARRAY_UNDEF|ARRAY_SCAN)))
H A Dtest.c449 if(ap = nv_arrayptr(np))
/ast/src/cmd/ksh93/include/
H A Dname.h186 extern Namarr_t *nv_arrayptr(Namval_t*);
H A Dnval.h251 extern Namarr_t *nv_arrayptr(Namval_t*);
/ast/src/cmd/kshlib/open/
H A Dopen.c280 if(array_elem(nv_arrayptr(np))==0)
/ast/src/cmd/kshlib/dss/
H A Ddss.c706 Namarr_t *ap = nv_arrayptr(np);

Completed in 74 milliseconds