Searched refs:tree1 (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dtreemove.sh49 typeset -C tree1 tree2
52 # into tree1.subtree["a_node"]
77 f1 tree1
80 [[ "${tree1.subtree["a_node"].one}" == "hello" ]] || err_exit "expected tree1.subtree[\"a_node\"].one == 'hello', got ${tree1.subtree["a_node"].one}"
81 [[ "${tree1.subtree["a_node"].two}" == "world" ]] || err_exit "expected tree1.subtree[\"a_node\"].two == 'world', got ${tree1.subtree["a_node"].two}"
82 [[ "${tree1}"
[all...]
H A Dsun_solaris_cr_6805792_varmovetest1.sh96 compound tree1 tree2
99 # into tree1.subtree["a_node"]
142 f1 tree1
145 [[ "${tree1.subtree["a_node"].one}" == "hello" ]] || err_exit "Expected tree1.subtree[\"a_node\"].one == 'hello', got ${tree1.subtree["a_node"].one}"
146 [[ "${tree1.subtree["a_node"].two}" == "world" ]] || err_exit "Expected tree1.subtree[\"a_node\"].two == 'world', got ${tree1.subtree["a_node"].two}"
147 [[ "${tree1}"
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Davl.h264 extern void avl_swap(avl_tree_t *tree1, avl_tree_t *tree2);
/illumos-gate/usr/src/common/avl/
H A Davl.c882 avl_swap(avl_tree_t *tree1, avl_tree_t *tree2) argument
887 ASSERT3P(tree1->avl_compar, ==, tree2->avl_compar);
888 ASSERT3U(tree1->avl_offset, ==, tree2->avl_offset);
889 ASSERT3U(tree1->avl_size, ==, tree2->avl_size);
891 temp_node = tree1->avl_root;
892 temp_numnodes = tree1->avl_numnodes;
893 tree1->avl_root = tree2->avl_root;
894 tree1->avl_numnodes = tree2->avl_numnodes;

Completed in 59 milliseconds