Lines Matching refs:array
158 typeset -n array=$i
159 print ${!array[*]}
316 [[ $zip == bar ]] || err_exit 'nameref to another nameref to array element fails'
360 [[ ${!y.@} == 'x[a].b' ]] || err_exit 'reference to array element not expanded with ${!y.@}'
420 [[ -v x[h] ]] && err_exit 'creating reference to non-existant associative array element causes elem…
480 [[ ${!nr} == "c.a[hello]" ]] || err_exit 'name reference nr to unset associative array instance doe…
485 [[ ${!nr} == "c.b[2]" ]] || err_exit 'name reference nr to unset indexed array instance does not ex…
494 [[ $a == 3 ]] || err_exit 'name reference to ls[0] when ls is not an array fails'
496 $SHELL 2> /dev/null <<-\EOF || err_exit 'nameref to array element fails'
557 [[ $(print -v l) == "$exp" ]] || err_exit 'nameref l4=l[4] not working with indexed array read'
564 [[ $(print -v l) == "$exp" ]] || err_exit 'nameref l4=l[4] not working with associative array read'
606 [[ $(print -v ar) == "$exp" ]] || err_exit 'read into nameref of global array instance from within …
640 [[ $(print -v c) == "$exp" ]] || err_exit 'read -C with nameref to array element fails'
693 …arr[2]'* ]] || err_exit 'typeset -p ref when ref is a reference to an index array element is wrong'
695 …pound -A lv.c=( [4]=( x=1 )) ; } ; compound gg ; x' || err_exit 'compound array assignment with na…