Home
last modified time | relevance | path

Searched refs:nv_arrayptr (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darray.c409 Namarr_t *ap = nv_arrayptr(np); in nv_arraysettype()
920 Namarr_t *nv_arrayptr(register Namval_t *np) in nv_arrayptr() function
983 if(fun && (ap = nv_arrayptr(np))) in nv_setarray()
1028 register Namarr_t *ap = nv_arrayptr(np); in nv_arraychild()
1036 ap = nv_arrayptr(np); in nv_arraychild()
1358 Namarr_t *ap = nv_arrayptr(np); in nv_arrfixed()
1449 Namarr_t *ap = nv_arrayptr(np); in array_fixed()
1527 Namarr_t *ap = nv_arrayptr(np); in nv_endsubscript()
1606 if(!np || !(ap = (struct index_array*)nv_arrayptr(np))) in nv_getsub()
1632 Namarr_t *ap = nv_arrayptr(np); in nv_aindex()
[all …]
H A Dname.c151 Namarr_t *ap = nv_arrayptr(np); in sh_envput()
411 ap=nv_arrayptr(np); in nv_setlist()
954 ap = nv_arrayptr(np); in nv_create()
972 Namarr_t *ap = nv_arrayptr(np); in nv_create()
1062 Namarr_t *ap = nv_arrayptr(np); in nv_create()
1175 ap = nv_arrayptr(np); in nv_create()
1552 if(ap=nv_arrayptr(np)) in nv_open()
3316 if(ap = nv_arrayptr(np)) in nv_rename()
3352 if(ap=nv_arrayptr(np)) in nv_rename()
3439 if(!nv_arrayptr(nq)) in nv_setref()
[all …]
H A Dnvtree.c309 Namarr_t *ap = nv_arrayptr(nq); in nv_dirnext()
346 Namarr_t *ap = nv_arrayptr(np); in nv_dirnext()
490 Namarr_t *ap = nv_arrayptr(np); in nv_attribute()
584 Namarr_t *ap = nv_arrayptr(np); in nv_outnode()
746 if(special || (nv_isarray(np) && nv_arrayptr(np))) in outval()
749 if(array_elem(nv_arrayptr(np))==0) in outval()
780 if((ap=nv_arrayptr(np)) && ap->fixed) in outval()
896 if((wp->array = nv_isarray(np)) && (ap=nv_arrayptr(np))) in genvalue()
979 Namarr_t *arp = nv_arrayptr(np); in walk_tree()
1145 if(ap= nv_arrayptr(np)) in put_tree()
H A Dnvdisc.c54 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) in nv_getv()
90 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) in nv_getn()
136 if(!value && (!(ap=nv_arrayptr(np)) || ap->nelem==0)) in nv_putv()
145 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) in nv_putv()
341 if(nv_isarray(np) && (ap=nv_arrayptr(np)) && ap->nelem>0) in assign()
522 if(nv_isarray(np) && !nv_arrayptr(np)) in nv_setdisc()
990 else if((flags&NV_NOFREE) && !nv_arrayptr(np)) in nv_clone()
1337 if(nv_isarray(np) && (ap=nv_arrayptr(np)) && array_elem(ap)) in put_table()
H A Darith.c118 Namarr_t *ap = nv_arrayptr(np); in scope()
169 ap = nv_arrayptr(np); in scope()
181 ap = nv_arrayptr(np); in scope()
H A Dnvtype.c220 if((ap = nv_arrayptr(nq)) && !(ap->nelem&ARRAY_UNDEF) && (sub= nv_getsub(nq))) in name_chtype()
225 if((ap=nv_arrayptr(np)) && ap->fixed) in name_chtype()
444 else if(ap=nv_arrayptr(nr)) in clone_type()
570 if(nv_isarray(np) && (ap=nv_arrayptr(np)) && ap->nelem>0) in put_type()
575 if(ap=nv_arrayptr(nq)) in put_type()
591 Namarr_t *ap = nv_arrayptr(np); in next_type()
1152 if(j==0 && (ap=nv_arrayptr(np)) && !ap->fun) in nv_mktype()
1330 if((ap=nv_arrayptr(np)) && ap->nelem>0) in nv_settype()
1351 ap = nv_arrayptr(np); in nv_settype()
H A Dinit.c774 Namarr_t *ap = nv_arrayptr(SH_MATCHNOD); in sh_setmatch()
785 ap = nv_arrayptr(np); in sh_setmatch()
804 ap = nv_arrayptr(SH_MATCHNOD); in sh_setmatch()
823 if(ap = nv_arrayptr(SH_MATCHNOD)) in sh_setmatch()
826 ap = nv_arrayptr(np); in sh_setmatch()
867 #define array_scan(np) ((nv_arrayptr(np)->nelem&ARRAY_SCAN))
H A Dfault.c593 Namarr_t *ap = nv_arrayptr(np); in array_notify()
H A Dsubshell.c263 if((ap=nv_arrayptr(np)) && (mp=nv_opensub(np))) in sh_assignok()
H A Dmacro.c1348 ap = np?nv_arrayptr(np):0; in varsub()
1359 ap = nv_arrayptr(np=nq); in varsub()
H A Dxec.c694 if((ap=nv_arrayptr(nq)) && (sp = nv_getsub(nq))) in set_instance()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c511 if(nv_isarray(np) && nv_arrayptr(np)) in print_value()
646 …nv_isattr(np,NV_MINIMAL|NV_EXPORT) && (mp=(Namval_t*)np->nvenv) && (ap=nv_arrayptr(mp)) && (ap->ne… in setall()
648 else if((ap=nv_arrayptr(np)) && nv_aindex(np)>0 && ap->nelem==1 && nv_getval(np)==Empty) in setall()
701 Namarr_t *ap=nv_arrayptr(np); in setall()
1241 if((ap=nv_arrayptr(np)) && !ap->fixed && name[strlen(name)-1]==']' && !nv_getsub(np)) in unall()
1363 if(nv_arrayptr(np)) in print_namval()
H A Denum.c226 …if(!(np = nv_open(cp, (void*)0, NV_VARNAME|NV_NOADD)) || !(ap=nv_arrayptr(np)) || ap->fun || (sz=… in enum_create()
H A Dread.c250 if((ap=nv_arrayptr(np)) && !ap->fun) in sh_readline()
253 if((ap=nv_arrayptr(np)) && !ap->fun) in sh_readline()
H A Dtest.c450 if(ap = nv_arrayptr(np)) in test_unop()
H A Dshiocmd_solaris.c283 if(array_elem(nv_arrayptr(np))==0) in genvalue()
H A Dprint.c617 …else if(nv_isarray(np) && (ap=nv_arrayptr(np)) && array_elem(ap) && (ap->nelem&(ARRAY_UNDEF|ARRAY_… in fmtbase64()
/illumos-gate/usr/src/contrib/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*);