Home
last modified time | relevance | path

Searched refs:ARRAY_SCAN (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darray.c292 …nv_putsub(np, NIL(char*), ARRAY_SCAN|ARRAY_NOSCOPE|(ap->header.fixed?(ARRAY_UNDEF|ARRAY_FIXED):0)); in array_find()
294 nv_putsub(np, NIL(char*), ARRAY_SCAN|ARRAY_NOSCOPE); in array_find()
296 ap->header.nelem |= ARRAY_SCAN; in array_find()
367 if(!(ap->header.nelem&ARRAY_SCAN) && ap->cur >= ap->maxi) in array_find()
426 ap->nelem |= ARRAY_SCAN; in nv_arraysettype()
433 ap->nelem &= ~ARRAY_SCAN; in nv_arraysettype()
435 ap->nelem |= ARRAY_SCAN; in nv_arraysettype()
458 if((flags&NV_COMVAR) && nv_putsub(np,NIL(char*),ARRAY_SCAN)) in array_clone()
497 if(!(nelem&(ARRAY_SCAN|ARRAY_UNDEF)) && (sub=nv_getsub(np))) in array_clone()
502 if(!nv_putsub(np,NIL(char*),ARRAY_SCAN|((flags&NV_COMVAR)?0:ARRAY_NOSCOPE))) in array_clone()
[all …]
H A Dnvtree.c310 if(ap && (ap->nelem&ARRAY_SCAN) && nv_nextsub(nq)) in nv_dirnext()
348 nv_putsub(np,(char*)0,ARRAY_SCAN); in nv_dirnext()
590 if(!(ap->nelem&ARRAY_SCAN)) in nv_outnode()
591 nv_putsub(np,NIL(char*),ARRAY_SCAN); in nv_outnode()
625 scan = ap->nelem&ARRAY_SCAN; in nv_outnode()
752 nq = nv_putsub(np,NIL(char*),ARRAY_SCAN|(wp->out?ARRAY_NOCHILD:0)); in outval()
995 if(arp && !(arp->nelem&ARRAY_SCAN) && (subscript = nv_getsub(np))) in walk_tree()
H A Dmacro.c1362 nv_putsub(np,v,ARRAY_SCAN); in varsub()
1378 else if(ap && (isastchar(mode)||type==M_TREE) && !(ap->nelem&ARRAY_SCAN) && type!=M_SIZE) in varsub()
1379 nv_putsub(np,NIL(char*),ARRAY_SCAN); in varsub()
1482 ap->nelem &= ~ARRAY_SCAN; in varsub()
1679 if(nv_putsub(np,NIL(char*),type|ARRAY_SCAN)) in varsub()
1923 ap->nelem |= ARRAY_SCAN; in varsub()
H A Dname.c1065 int scan = ap?(ap->nelem&ARRAY_SCAN):0; in nv_create()
1092 nv_putsub(np,NIL(char*),ARRAY_SCAN); in nv_create()
3052 nv_putsub(np,NIL(char*),ARRAY_SCAN); in nv_newattr()
3094 ap->nelem &= ~ARRAY_SCAN; in nv_newattr()
3098 ap->nelem |= ARRAY_SCAN; in nv_newattr()
3460 if(nq && !ep && (ap=nv_arrayptr(nq)) && !(ap->nelem&(ARRAY_UNDEF|ARRAY_SCAN))) in nv_setref()
H A Dnvtype.c446 nv_putsub(nr,NIL(char*),ARRAY_SCAN|ARRAY_NOSCOPE); in clone_type()
593 nv_putsub(np,(char*)0,ARRAY_SCAN); in next_type()
1332 nv_putsub(np,NIL(char*),ARRAY_SCAN); in nv_settype()
H A Dsubshell.c336 nv_putsub(mp,NIL(char*),ARRAY_SCAN); in nv_restore()
H A Dinit.c790 ap->nelem &= ~ARRAY_SCAN; in sh_setmatch()
867 #define array_scan(np) ((nv_arrayptr(np)->nelem&ARRAY_SCAN))
H A Dxec.c714 return(ap->nelem&ARRAY_SCAN); in set_instance()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dpoll_solaris.c295 nv_putsub(array_np, NULL, ARRAY_SCAN); in b_poll()
316 nv_putsub(array_np, NULL, ARRAY_SCAN); in b_poll()
361 nv_putsub(array_np, NULL, ARRAY_SCAN); in b_poll()
H A Denum.c236 nv_putsub(np, (char*)0, ARRAY_SCAN); in enum_create()
248 nv_putsub(np, (char*)0, ARRAY_SCAN); in enum_create()
H A Dshiocmd_solaris.c286 nv_putsub(np,(char*)0,ARRAY_SCAN); in genvalue()
H A Dprint.c617 …f(nv_isarray(np) && (ap=nv_arrayptr(np)) && array_elem(ap) && (ap->nelem&(ARRAY_UNDEF|ARRAY_SCAN))) in fmtbase64()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dnval.h235 #define ARRAY_SCAN (2L<<ARRAY_BITS) /* For ${array[@]} */ macro