Home
last modified time | relevance | path

Searched refs:associative (Results 1 – 23 of 23) sorted by relevance

/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Darith.sh231 then err_exit "constant associative array arithmetic failure"
235 then err_exit "variable subscript associative array arithmetic failure"
675 (( x[2] == 4 )) || err_exit '(( x[2] /= x[0])) fails for associative array'
694 (( z == 1 )) || err_exit "z should be 1 but is $z for associative array of
695 associative array arithmetic"
696 [[ ${A[a].AA[aa]} == 2 ]] || err_exit '${A[a].AA[aa]} should be 2 after ++ operation for associative array of associative array arithmetic'
702 (( z == 2 )) || err_exit "z should be 2 but is $z for associative array of
713 associative array arithmetic"
714 [[ ${A[a].AA[aa]} == 2 ]] || err_exit '${A[a].AA[aa]} should be 2 after ++ operation for index array of associative arra
[all...]
H A Dnameref.sh241 $SHELL -c 'function bar { nameref x=foo[++];};typeset -A foo;bar' 2> /dev/null ||err_exit 'nameref of associative array tries to evaluate subscript'
420 [[ -v x[h] ]] && err_exit 'creating reference to non-existant associative array element causes element to get added'
480 [[ ${!nr} == "c.a[hello]" ]] || err_exit 'name reference nr to unset associative array instance does not expand ${!nr} correctly.'
564 [[ $(print -v l) == "$exp" ]] || err_exit 'nameref l4=l[4] not working with associative array read'
H A Darrays.sh186 then err_exit 'initial value not preserved when typecast to associative'
193 then err_exit 'conversion of indexed to associative array failed'
276 err_exit 'exporting associative array not exporting 0-th element'
283 [[ $foo == 0 ]] || err_exit 'zero element of associative array not being set'
304 [[ ${x[two]} == 2 ]] || err_exit 'associative array produce side effects in subshells'
309 [[ ${#x[@]} == 4 ]] || err_exit 'associative array append in subshell error'
311 [[ ${#x[@]} == 3 ]] || err_exit 'associative array append in subshell effects parent'
318 [[ $( ($SHELL -c 'typeset -A var; (IFS=: ; set -A var a:b:c ;print ${var[@]});:' )2>/dev/null) == 'a b c' ]] || err_exit 'change associative to index failed'
327 ) 2> /dev/null && err_exit 'set +A with associative array should be an error'
333 [[ $bam == value ]] && err_exit 'unset associative arra
[all...]
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dnvtree.c548 int tabs=0,c,more,associative = 0; in nv_outnode() local
559 if(!(associative =(array_assoc(ap)!=0))) in nv_outnode()
562 associative=1; in nv_outnode()
578 if(associative||special) in nv_outnode()
616 else if(!associative && (ep=strchr(fmtq,'='))) in nv_outnode()
H A Dparse.c1291 int associative=0; in simple() local
1295 associative = 1; in simple()
1315 if(associative && argp->argval[0]!='[') in simple()
1409 if(associative) in simple()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtree.c585 int scan,tabs=0,c,more,associative = 0; in nv_outnode() local
598 if(!(associative =(array_assoc(ap)!=0))) in nv_outnode()
601 associative=1; in nv_outnode()
617 if(associative||special) in nv_outnode()
663 else if(!associative && (ep=strchr(fmtq,'='))) in nv_outnode()
H A Dparse.c1407 int associative=0; in simple() local
1411 associative = 1; in simple()
1431 if(associative && argp->argval[0]!='[') in simple()
1536 if(associative) in simple()
/titanic_51/usr/src/lib/libshell/common/
H A DPROMO.mm83 Arrays: KSH-93 supports both indexed and associative arrays.
85 whereas, the subscript for an associative array is a string.
H A DRELEASE7 associative array subscripts for unset array elements has been fixed.
101 09-09-01 Several bugs in the processing for types that included an associative
278 associative array element has been fixed.
345 08-09-29 A bug in the display of compound variables containing an associative
478 sub2 inclusive. For associative arrays, the range is based on
525 x.foo as an associative array has been fixed.
567 08-03-03 A bug in which creating a name reference to an associative array
674 name+=([sub]=value) could cause the array to become an associative
705 07-08-26 A bug in which a name reference to an associative array instance
719 07-08-02 A second bug in which after read x[sub] into an associative array
[all …]
H A DDESIGN111 3. array.c contains the code for indexed and associative
H A DRELEASE888 an array to be associative. As with indexed arrays, $name is
78 elements of the associative array varname.
H A Dbuiltins.mm503 Each shell variable is an object in an associative table
H A Dsh.memo712 Using the associative array facility of \f5ksh\fP described later,
1342 There are two types of arrays; associative arrays
1344 The subscript for an associative array is an arbitrary
1459 an associative array with the given arguments as subscripts.
H A Dsh.memo712 Using the associative array facility of \f5ksh\fP described later,
1342 There are two types of arrays; associative arrays
1344 The subscript for an associative array is an arbitrary
1459 an associative array with the given arguments as subscripts.
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/
H A DPROMO.mm83 Arrays: KSH-93 supports both indexed and associative arrays.
85 whereas, the subscript for an associative array is a string.
H A DRELEASE6 12-07-23 A scoping error with namrefs to compound associative arrays has
57 12-06-06 A bug in which unset of an associative array of compound variables
103 12-05-11 A bug which left an associative array arr containing one element in
196 12-03-19 Using typeset -a array when array is an associative arry not
436 11-03-07 A bug in which reassigning a compound variable to an associative
519 arithmetic expressions with associative arrays.
533 10-11-22 A bug in which if nr was a name reference to an unset associative
594 10-10-13 A bug in which creating an associative array of compound variables
753 not properly handle [ and ] in subscripts for associative arrays.
756 10-06-02 A bug in which read -C of an associative arra
[all...]
H A DDESIGN112 3. array.c contains the code for indexed and associative
H A DRELEASE888 an array to be associative. As with indexed arrays, $name is
78 elements of the associative array varname.
H A Dsh.memo712 Using the associative array facility of \f5ksh\fP described later,
1342 There are two types of arrays; associative arrays
1344 The subscript for an associative array is an arbitrary
1459 an associative array with the given arguments as subscripts.
H A Dbuiltins.mm522 Each shell variable is an object in an associative table
/titanic_51/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu_asm.s194 ! and hence to be loaded into the T16, fully-associative TLB, we
/titanic_51/usr/src/cmd/oawk/
H A DREADME45 for associative arrays with non-numeric subscripts.
/titanic_51/usr/src/lib/libshell/common/tests/
H A Darrays.sh375 [[ $(typeset | grep foo$) == *associative* ]] || err_exit 'array lost associative attribute'