list2 35 maint/gnulib/tests/test-array_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 40 maint/gnulib/tests/test-array_list.c ASSERT (n == gl_list_size (list2)); list2 43 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 48 maint/gnulib/tests/test-array_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 55 maint/gnulib/tests/test-array_list.c node2 = gl_list_first_node (list2); list2 58 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_node_value (list2, node2)); list2 60 maint/gnulib/tests/test-array_list.c node2 = gl_list_next_node (list2, node2); list2 66 maint/gnulib/tests/test-array_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 73 maint/gnulib/tests/test-array_list.c node2 = gl_list_last_node (list2); list2 76 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_node_value (list2, node2)); list2 78 maint/gnulib/tests/test-array_list.c node2 = gl_list_previous_node (list2, node2); list2 86 maint/gnulib/tests/test-array_list.c gl_list_t list1, list2; list2 107 maint/gnulib/tests/test-array_list.c list2 = gl_list_nx_create_empty (GL_ARRAY_LIST, NULL, NULL, NULL, true); list2 108 maint/gnulib/tests/test-array_list.c ASSERT (list2 != NULL); list2 110 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 112 maint/gnulib/tests/test-array_list.c check_equals (list1, list2); list2 114 maint/gnulib/tests/test-array_list.c check_equals_by_forward_iteration (list1, list2); list2 115 maint/gnulib/tests/test-array_list.c check_equals_by_backward_iteration (list1, list2); list2 134 maint/gnulib/tests/test-array_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 136 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 137 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 156 maint/gnulib/tests/test-array_list.c node2 = gl_list_search (list2, obj); list2 165 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 174 maint/gnulib/tests/test-array_list.c index2 = gl_list_indexof (list2, obj); list2 183 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 194 maint/gnulib/tests/test-array_list.c node2 = gl_list_nx_add_first (list2, obj); list2 197 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 199 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 208 maint/gnulib/tests/test-array_list.c node2 = gl_list_nx_add_last (list2, obj); list2 211 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 213 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 228 maint/gnulib/tests/test-array_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 230 maint/gnulib/tests/test-array_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 232 maint/gnulib/tests/test-array_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 235 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 239 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 240 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 241 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 251 maint/gnulib/tests/test-array_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 255 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 256 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 276 maint/gnulib/tests/test-array_list.c node2 = gl_list_search (list2, obj); list2 280 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 290 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove_at (list2, index)); list2 298 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 306 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 316 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove (list2, obj)); list2 326 maint/gnulib/tests/test-array_list.c ASSERT (!gl_list_remove (list2, obj)); list2 336 maint/gnulib/tests/test-array_list.c iter2 = gl_list_iterator (list2); list2 342 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 357 maint/gnulib/tests/test-array_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 363 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 372 maint/gnulib/tests/test-array_list.c check_equals (list1, list2); list2 376 maint/gnulib/tests/test-array_list.c gl_list_free (list2); list2 263 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c gl_list_t list2 = (gl_list_t) arg; list2 273 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_nx_add_first (list2, obj) != NULL); list2 283 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c if (gl_list_size (list2) > 0) list2 285 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c size_t index = RANDOM (gl_list_size (list2)); list2 286 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c const void *obj = gl_list_get_at (list2, index); list2 287 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_remove (list2, obj)); list2 311 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c gl_list_t list2; list2 327 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c list2 = gl_list_nx_create_empty (GL_LINKED_LIST, NULL, NULL, NULL, true); list2 328 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (list2 != NULL); list2 330 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 360 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c signal_target = gl_thread_create (mutator_thread, list2); list2 368 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c gl_thread_create (mutator_thread, list2); list2 375 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c gl_thread_create (mutator_thread, list2); list2 396 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c gl_list_t list2 = (gl_list_t) arg; list2 406 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_nx_add_first (list2, obj) != NULL); list2 407 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c store_change ((uintptr_t) obj, list2); list2 412 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c if (gl_list_size (list2) > 0) list2 414 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c size_t index = RANDOM (gl_list_size (list2)); list2 415 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c const void *obj = gl_list_get_at (list2, index); list2 416 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_remove (list2, obj)); list2 417 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c store_change ((uintptr_t) obj, list2); list2 436 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c gl_list_t list2; list2 452 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c list2 = gl_list_nx_create_empty (GL_LINKED_LIST, NULL, NULL, NULL, true); list2 453 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (list2 != NULL); list2 455 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 458 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c recent_bags[0] = bag_from_list (list2); list2 482 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c signal_target = gl_thread_create (mutator_thread, list2); list2 490 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c gl_thread_create (mutator_thread, list2); list2 497 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c gl_thread_create (mutator_thread, list2); list2 38 maint/gnulib/tests/test-avltree_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 43 maint/gnulib/tests/test-avltree_list.c ASSERT (n == gl_list_size (list2)); list2 46 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 51 maint/gnulib/tests/test-avltree_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 54 maint/gnulib/tests/test-avltree_list.c gl_list_node_t node2 = gl_list_first_node (list2); list2 58 maint/gnulib/tests/test-avltree_list.c == gl_list_node_value (list2, node2)); list2 60 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_next_node (list2, node2); list2 66 maint/gnulib/tests/test-avltree_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 69 maint/gnulib/tests/test-avltree_list.c gl_list_node_t node2 = gl_list_last_node (list2); list2 73 maint/gnulib/tests/test-avltree_list.c == gl_list_node_value (list2, node2)); list2 75 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_previous_node (list2, node2); list2 81 maint/gnulib/tests/test-avltree_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list2 83 maint/gnulib/tests/test-avltree_list.c gl_avltree_list_check_invariants (list2); list2 85 maint/gnulib/tests/test-avltree_list.c check_equals (list1, list2); list2 92 maint/gnulib/tests/test-avltree_list.c gl_list_t list1, list2, list3; list2 113 maint/gnulib/tests/test-avltree_list.c list2 = gl_list_nx_create_empty (GL_AVLTREE_LIST, NULL, NULL, NULL, true); list2 114 maint/gnulib/tests/test-avltree_list.c ASSERT (list2 != NULL); list2 116 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 123 maint/gnulib/tests/test-avltree_list.c check_all (list1, list2, list3); list2 125 maint/gnulib/tests/test-avltree_list.c check_equals_by_forward_iteration (list1, list2); list2 126 maint/gnulib/tests/test-avltree_list.c check_equals_by_backward_iteration (list1, list2); list2 145 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 147 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 148 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 159 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 160 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index - 1)); list2 162 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index - 1)); list2 168 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 169 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index + 1)); list2 171 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index + 1)); list2 180 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_search (list2, obj); list2 192 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 202 maint/gnulib/tests/test-avltree_list.c index2 = gl_list_indexof (list2, obj); list2 214 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 227 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_nx_add_first (list2, obj); list2 232 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 235 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 245 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_nx_add_last (list2, obj); list2 250 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 253 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 269 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 271 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 273 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 282 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 287 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 288 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 289 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 302 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 308 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 309 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 316 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 317 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index - 1)); list2 319 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index - 1)); list2 325 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 326 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index + 1)); list2 328 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list2, index + 1)); list2 339 maint/gnulib/tests/test-avltree_list.c node2 = gl_list_search (list2, obj); list2 345 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 356 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove_at (list2, index)); list2 365 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 374 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 385 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove (list2, obj)); list2 396 maint/gnulib/tests/test-avltree_list.c ASSERT (!gl_list_remove (list2, obj)); list2 407 maint/gnulib/tests/test-avltree_list.c iter2 = gl_list_iterator (list2); list2 414 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 433 maint/gnulib/tests/test-avltree_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 440 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 453 maint/gnulib/tests/test-avltree_list.c check_all (list1, list2, list3); list2 457 maint/gnulib/tests/test-avltree_list.c gl_list_free (list2); list2 65 maint/gnulib/tests/test-avltreehash_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 70 maint/gnulib/tests/test-avltreehash_list.c ASSERT (n == gl_list_size (list2)); list2 73 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 78 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 81 maint/gnulib/tests/test-avltreehash_list.c gl_list_node_t node2 = gl_list_first_node (list2); list2 85 maint/gnulib/tests/test-avltreehash_list.c == gl_list_node_value (list2, node2)); list2 87 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_next_node (list2, node2); list2 93 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 96 maint/gnulib/tests/test-avltreehash_list.c gl_list_node_t node2 = gl_list_last_node (list2); list2 100 maint/gnulib/tests/test-avltreehash_list.c == gl_list_node_value (list2, node2)); list2 102 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_previous_node (list2, node2); list2 108 maint/gnulib/tests/test-avltreehash_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list2 110 maint/gnulib/tests/test-avltreehash_list.c gl_avltreehash_list_check_invariants (list2); list2 112 maint/gnulib/tests/test-avltreehash_list.c check_equals (list1, list2); list2 119 maint/gnulib/tests/test-avltreehash_list.c gl_list_t list1, list2, list3; list2 141 maint/gnulib/tests/test-avltreehash_list.c list2 = gl_list_nx_create_empty (GL_AVLTREEHASH_LIST, list2 143 maint/gnulib/tests/test-avltreehash_list.c ASSERT (list2 != NULL); list2 145 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 153 maint/gnulib/tests/test-avltreehash_list.c check_all (list1, list2, list3); list2 155 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_forward_iteration (list1, list2); list2 156 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_backward_iteration (list1, list2); list2 175 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 177 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 178 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 189 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 190 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index - 1)); list2 192 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index - 1)); list2 198 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 199 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index + 1)); list2 201 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index + 1)); list2 210 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_search (list2, obj); list2 222 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 232 maint/gnulib/tests/test-avltreehash_list.c index2 = gl_list_indexof (list2, obj); list2 244 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 257 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_nx_add_first (list2, obj); list2 262 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 265 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 275 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_nx_add_last (list2, obj); list2 280 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 283 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 299 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 301 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 303 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 312 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 317 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 318 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 319 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 332 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 338 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 339 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 346 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 347 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index - 1)); list2 349 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index - 1)); list2 355 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 356 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index + 1)); list2 358 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list2, index + 1)); list2 369 maint/gnulib/tests/test-avltreehash_list.c node2 = gl_list_search (list2, obj); list2 375 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 386 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove_at (list2, index)); list2 395 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 404 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 415 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove (list2, obj)); list2 426 maint/gnulib/tests/test-avltreehash_list.c ASSERT (!gl_list_remove (list2, obj)); list2 437 maint/gnulib/tests/test-avltreehash_list.c iter2 = gl_list_iterator (list2); list2 444 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 463 maint/gnulib/tests/test-avltreehash_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 470 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 483 maint/gnulib/tests/test-avltreehash_list.c check_all (list1, list2, list3); list2 487 maint/gnulib/tests/test-avltreehash_list.c gl_list_free (list2); list2 36 maint/gnulib/tests/test-carray_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 41 maint/gnulib/tests/test-carray_list.c ASSERT (n == gl_list_size (list2)); list2 44 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 49 maint/gnulib/tests/test-carray_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 52 maint/gnulib/tests/test-carray_list.c gl_list_node_t node2 = gl_list_first_node (list2); list2 56 maint/gnulib/tests/test-carray_list.c == gl_list_node_value (list2, node2)); list2 58 maint/gnulib/tests/test-carray_list.c node2 = gl_list_next_node (list2, node2); list2 64 maint/gnulib/tests/test-carray_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 67 maint/gnulib/tests/test-carray_list.c gl_list_node_t node2 = gl_list_last_node (list2); list2 71 maint/gnulib/tests/test-carray_list.c == gl_list_node_value (list2, node2)); list2 73 maint/gnulib/tests/test-carray_list.c node2 = gl_list_previous_node (list2, node2); list2 79 maint/gnulib/tests/test-carray_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list2 81 maint/gnulib/tests/test-carray_list.c check_equals (list1, list2); list2 88 maint/gnulib/tests/test-carray_list.c gl_list_t list1, list2, list3; list2 109 maint/gnulib/tests/test-carray_list.c list2 = gl_list_nx_create_empty (GL_CARRAY_LIST, NULL, NULL, NULL, true); list2 110 maint/gnulib/tests/test-carray_list.c ASSERT (list2 != NULL); list2 112 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 119 maint/gnulib/tests/test-carray_list.c check_all (list1, list2, list3); list2 121 maint/gnulib/tests/test-carray_list.c check_equals_by_forward_iteration (list1, list2); list2 122 maint/gnulib/tests/test-carray_list.c check_equals_by_backward_iteration (list1, list2); list2 141 maint/gnulib/tests/test-carray_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 143 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 144 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 155 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 156 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index - 1)); list2 158 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index - 1)); list2 164 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 165 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index + 1)); list2 167 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index + 1)); list2 176 maint/gnulib/tests/test-carray_list.c node2 = gl_list_search (list2, obj); list2 188 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 198 maint/gnulib/tests/test-carray_list.c index2 = gl_list_indexof (list2, obj); list2 210 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 223 maint/gnulib/tests/test-carray_list.c node2 = gl_list_nx_add_first (list2, obj); list2 228 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 231 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 241 maint/gnulib/tests/test-carray_list.c node2 = gl_list_nx_add_last (list2, obj); list2 246 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 249 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 265 maint/gnulib/tests/test-carray_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 267 maint/gnulib/tests/test-carray_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 269 maint/gnulib/tests/test-carray_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 278 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 283 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 284 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 285 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 298 maint/gnulib/tests/test-carray_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 304 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 305 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 312 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 313 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index - 1)); list2 315 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index - 1)); list2 321 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 322 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index + 1)); list2 324 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list2, index + 1)); list2 335 maint/gnulib/tests/test-carray_list.c node2 = gl_list_search (list2, obj); list2 341 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 352 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove_at (list2, index)); list2 361 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 370 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 381 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove (list2, obj)); list2 392 maint/gnulib/tests/test-carray_list.c ASSERT (!gl_list_remove (list2, obj)); list2 403 maint/gnulib/tests/test-carray_list.c iter2 = gl_list_iterator (list2); list2 410 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 429 maint/gnulib/tests/test-carray_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 436 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 449 maint/gnulib/tests/test-carray_list.c check_all (list1, list2, list3); list2 453 maint/gnulib/tests/test-carray_list.c gl_list_free (list2); list2 36 maint/gnulib/tests/test-linked_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 41 maint/gnulib/tests/test-linked_list.c ASSERT (n == gl_list_size (list2)); list2 44 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 49 maint/gnulib/tests/test-linked_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 52 maint/gnulib/tests/test-linked_list.c gl_list_node_t node2 = gl_list_first_node (list2); list2 56 maint/gnulib/tests/test-linked_list.c == gl_list_node_value (list2, node2)); list2 58 maint/gnulib/tests/test-linked_list.c node2 = gl_list_next_node (list2, node2); list2 64 maint/gnulib/tests/test-linked_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 67 maint/gnulib/tests/test-linked_list.c gl_list_node_t node2 = gl_list_last_node (list2); list2 71 maint/gnulib/tests/test-linked_list.c == gl_list_node_value (list2, node2)); list2 73 maint/gnulib/tests/test-linked_list.c node2 = gl_list_previous_node (list2, node2); list2 79 maint/gnulib/tests/test-linked_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list2 81 maint/gnulib/tests/test-linked_list.c check_equals (list1, list2); list2 88 maint/gnulib/tests/test-linked_list.c gl_list_t list1, list2, list3; list2 109 maint/gnulib/tests/test-linked_list.c list2 = gl_list_nx_create_empty (GL_LINKED_LIST, NULL, NULL, NULL, true); list2 110 maint/gnulib/tests/test-linked_list.c ASSERT (list2 != NULL); list2 112 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 119 maint/gnulib/tests/test-linked_list.c check_all (list1, list2, list3); list2 121 maint/gnulib/tests/test-linked_list.c check_equals_by_forward_iteration (list1, list2); list2 122 maint/gnulib/tests/test-linked_list.c check_equals_by_backward_iteration (list1, list2); list2 141 maint/gnulib/tests/test-linked_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 143 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 144 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 155 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 156 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index - 1)); list2 158 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index - 1)); list2 164 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 165 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index + 1)); list2 167 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index + 1)); list2 176 maint/gnulib/tests/test-linked_list.c node2 = gl_list_search (list2, obj); list2 188 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 198 maint/gnulib/tests/test-linked_list.c index2 = gl_list_indexof (list2, obj); list2 210 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 223 maint/gnulib/tests/test-linked_list.c node2 = gl_list_nx_add_first (list2, obj); list2 228 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 231 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 241 maint/gnulib/tests/test-linked_list.c node2 = gl_list_nx_add_last (list2, obj); list2 246 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 249 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 265 maint/gnulib/tests/test-linked_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 267 maint/gnulib/tests/test-linked_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 269 maint/gnulib/tests/test-linked_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 278 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 283 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 284 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 285 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 298 maint/gnulib/tests/test-linked_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 304 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 305 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 312 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 313 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index - 1)); list2 315 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index - 1)); list2 321 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 322 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index + 1)); list2 324 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list2, index + 1)); list2 335 maint/gnulib/tests/test-linked_list.c node2 = gl_list_search (list2, obj); list2 341 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 352 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove_at (list2, index)); list2 361 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 370 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 381 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove (list2, obj)); list2 392 maint/gnulib/tests/test-linked_list.c ASSERT (!gl_list_remove (list2, obj)); list2 403 maint/gnulib/tests/test-linked_list.c iter2 = gl_list_iterator (list2); list2 410 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 429 maint/gnulib/tests/test-linked_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 436 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 449 maint/gnulib/tests/test-linked_list.c check_all (list1, list2, list3); list2 453 maint/gnulib/tests/test-linked_list.c gl_list_free (list2); list2 63 maint/gnulib/tests/test-linkedhash_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 68 maint/gnulib/tests/test-linkedhash_list.c ASSERT (n == gl_list_size (list2)); list2 71 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 76 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 79 maint/gnulib/tests/test-linkedhash_list.c gl_list_node_t node2 = gl_list_first_node (list2); list2 83 maint/gnulib/tests/test-linkedhash_list.c == gl_list_node_value (list2, node2)); list2 85 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_next_node (list2, node2); list2 91 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 94 maint/gnulib/tests/test-linkedhash_list.c gl_list_node_t node2 = gl_list_last_node (list2); list2 98 maint/gnulib/tests/test-linkedhash_list.c == gl_list_node_value (list2, node2)); list2 100 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_previous_node (list2, node2); list2 106 maint/gnulib/tests/test-linkedhash_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list2 108 maint/gnulib/tests/test-linkedhash_list.c check_equals (list1, list2); list2 115 maint/gnulib/tests/test-linkedhash_list.c gl_list_t list1, list2, list3; list2 137 maint/gnulib/tests/test-linkedhash_list.c list2 = gl_list_nx_create_empty (GL_LINKEDHASH_LIST, list2 139 maint/gnulib/tests/test-linkedhash_list.c ASSERT (list2 != NULL); list2 141 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 149 maint/gnulib/tests/test-linkedhash_list.c check_all (list1, list2, list3); list2 151 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_forward_iteration (list1, list2); list2 152 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_backward_iteration (list1, list2); list2 171 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 173 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 174 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 185 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 186 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index - 1)); list2 188 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index - 1)); list2 194 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 195 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index + 1)); list2 197 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index + 1)); list2 206 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_search (list2, obj); list2 218 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 228 maint/gnulib/tests/test-linkedhash_list.c index2 = gl_list_indexof (list2, obj); list2 240 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 253 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_nx_add_first (list2, obj); list2 258 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 261 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 271 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_nx_add_last (list2, obj); list2 276 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 279 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 295 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 297 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 299 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 308 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 313 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 314 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 315 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 328 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 334 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 335 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 342 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 343 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index - 1)); list2 345 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index - 1)); list2 351 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 352 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index + 1)); list2 354 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list2, index + 1)); list2 365 maint/gnulib/tests/test-linkedhash_list.c node2 = gl_list_search (list2, obj); list2 371 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 382 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove_at (list2, index)); list2 391 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 400 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 411 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove (list2, obj)); list2 422 maint/gnulib/tests/test-linkedhash_list.c ASSERT (!gl_list_remove (list2, obj)); list2 433 maint/gnulib/tests/test-linkedhash_list.c iter2 = gl_list_iterator (list2); list2 440 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 459 maint/gnulib/tests/test-linkedhash_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 466 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 479 maint/gnulib/tests/test-linkedhash_list.c check_all (list1, list2, list3); list2 483 maint/gnulib/tests/test-linkedhash_list.c gl_list_free (list2); list2 57 maint/gnulib/tests/test-list-c++.cc gl_List<const char *> list2 = gl_List<const char *> (list1, 1, 3); list2 59 maint/gnulib/tests/test-list-c++.cc gl_List<const char *>::iterator iter2 = list2.begin (); list2 69 maint/gnulib/tests/test-list-c++.cc ASSERT (list2.indexof (A) == (size_t)(-1)); list2 70 maint/gnulib/tests/test-list-c++.cc ASSERT (list2.indexof (D) == 1); list2 72 maint/gnulib/tests/test-list-c++.cc ASSERT (list2.sortedlist_indexof (strcmp, "A") == (size_t)(-1)); list2 73 maint/gnulib/tests/test-list-c++.cc ASSERT (list2.sortedlist_indexof (strcmp, "D") == 1); list2 75 maint/gnulib/tests/test-list-c++.cc list2.free (); list2 38 maint/gnulib/tests/test-rbtree_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 43 maint/gnulib/tests/test-rbtree_list.c ASSERT (n == gl_list_size (list2)); list2 46 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 51 maint/gnulib/tests/test-rbtree_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 54 maint/gnulib/tests/test-rbtree_list.c gl_list_node_t node2 = gl_list_first_node (list2); list2 58 maint/gnulib/tests/test-rbtree_list.c == gl_list_node_value (list2, node2)); list2 60 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_next_node (list2, node2); list2 66 maint/gnulib/tests/test-rbtree_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 69 maint/gnulib/tests/test-rbtree_list.c gl_list_node_t node2 = gl_list_last_node (list2); list2 73 maint/gnulib/tests/test-rbtree_list.c == gl_list_node_value (list2, node2)); list2 75 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_previous_node (list2, node2); list2 81 maint/gnulib/tests/test-rbtree_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list2 83 maint/gnulib/tests/test-rbtree_list.c gl_rbtree_list_check_invariants (list2); list2 85 maint/gnulib/tests/test-rbtree_list.c check_equals (list1, list2); list2 92 maint/gnulib/tests/test-rbtree_list.c gl_list_t list1, list2, list3; list2 113 maint/gnulib/tests/test-rbtree_list.c list2 = gl_list_nx_create_empty (GL_RBTREE_LIST, NULL, NULL, NULL, true); list2 114 maint/gnulib/tests/test-rbtree_list.c ASSERT (list2 != NULL); list2 116 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 123 maint/gnulib/tests/test-rbtree_list.c check_all (list1, list2, list3); list2 125 maint/gnulib/tests/test-rbtree_list.c check_equals_by_forward_iteration (list1, list2); list2 126 maint/gnulib/tests/test-rbtree_list.c check_equals_by_backward_iteration (list1, list2); list2 145 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 147 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 148 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 159 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 160 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index - 1)); list2 162 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index - 1)); list2 168 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 169 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index + 1)); list2 171 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index + 1)); list2 180 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_search (list2, obj); list2 192 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 202 maint/gnulib/tests/test-rbtree_list.c index2 = gl_list_indexof (list2, obj); list2 214 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 227 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_nx_add_first (list2, obj); list2 232 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 235 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 245 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_nx_add_last (list2, obj); list2 250 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 253 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 269 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 271 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 273 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 282 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 287 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 288 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 289 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 302 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 308 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 309 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 316 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 317 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index - 1)); list2 319 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index - 1)); list2 325 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 326 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index + 1)); list2 328 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list2, index + 1)); list2 339 maint/gnulib/tests/test-rbtree_list.c node2 = gl_list_search (list2, obj); list2 345 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 356 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove_at (list2, index)); list2 365 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 374 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 385 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove (list2, obj)); list2 396 maint/gnulib/tests/test-rbtree_list.c ASSERT (!gl_list_remove (list2, obj)); list2 407 maint/gnulib/tests/test-rbtree_list.c iter2 = gl_list_iterator (list2); list2 414 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 433 maint/gnulib/tests/test-rbtree_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 440 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 453 maint/gnulib/tests/test-rbtree_list.c check_all (list1, list2, list3); list2 457 maint/gnulib/tests/test-rbtree_list.c gl_list_free (list2); list2 65 maint/gnulib/tests/test-rbtreehash_list.c check_equals (gl_list_t list1, gl_list_t list2) list2 70 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (n == gl_list_size (list2)); list2 73 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list2 78 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list2 81 maint/gnulib/tests/test-rbtreehash_list.c gl_list_node_t node2 = gl_list_first_node (list2); list2 85 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_node_value (list2, node2)); list2 87 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_next_node (list2, node2); list2 93 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list2 96 maint/gnulib/tests/test-rbtreehash_list.c gl_list_node_t node2 = gl_list_last_node (list2); list2 100 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_node_value (list2, node2)); list2 102 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_previous_node (list2, node2); list2 108 maint/gnulib/tests/test-rbtreehash_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list2 110 maint/gnulib/tests/test-rbtreehash_list.c gl_rbtreehash_list_check_invariants (list2); list2 112 maint/gnulib/tests/test-rbtreehash_list.c check_equals (list1, list2); list2 119 maint/gnulib/tests/test-rbtreehash_list.c gl_list_t list1, list2, list3; list2 141 maint/gnulib/tests/test-rbtreehash_list.c list2 = gl_list_nx_create_empty (GL_RBTREEHASH_LIST, list2 143 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (list2 != NULL); list2 145 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_nx_add_last (list2, contents[i]) != NULL); list2 153 maint/gnulib/tests/test-rbtreehash_list.c check_all (list1, list2, list3); list2 155 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_forward_iteration (list1, list2); list2 156 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_backward_iteration (list1, list2); list2 175 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_nx_set_at (list2, index, obj); list2 177 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 178 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 189 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 190 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index - 1)); list2 192 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index - 1)); list2 198 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 199 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index + 1)); list2 201 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index + 1)); list2 210 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_search (list2, obj); list2 222 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 232 maint/gnulib/tests/test-rbtreehash_list.c index2 = gl_list_indexof (list2, obj); list2 244 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, index2) == obj); list2 257 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_nx_add_first (list2, obj); list2 262 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 265 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, 0) == obj); list2 275 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_nx_add_last (list2, obj); list2 280 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 283 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, gl_list_size (list2) - 1) == obj); list2 299 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_nx_add_first (list2, obj2); list2 301 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_nx_add_before (list2, node2, obj0); list2 303 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_nx_add_after (list2, node2, obj1); list2 312 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj1); list2 317 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, 0) == obj0); list2 318 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, 1) == obj1); list2 319 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, 2) == obj2); list2 332 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_nx_add_at (list2, index, obj); list2 338 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, index) == obj); list2 339 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, node2) == obj); list2 346 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_previous_node (list3, node3)) list2 347 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index - 1)); list2 349 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index - 1)); list2 355 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list2, gl_list_next_node (list3, node3)) list2 356 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index + 1)); list2 358 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list2, index + 1)); list2 369 maint/gnulib/tests/test-rbtreehash_list.c node2 = gl_list_search (list2, obj); list2 375 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove_node (list2, node2)); list2 386 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove_at (list2, index)); list2 395 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove_first (list2) == removed1); list2 404 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove_last (list2) == removed1); list2 415 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove (list2, obj)); list2 426 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (!gl_list_remove (list2, obj)); list2 437 maint/gnulib/tests/test-rbtreehash_list.c iter2 = gl_list_iterator (list2); list2 444 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 463 maint/gnulib/tests/test-rbtreehash_list.c iter2 = gl_list_iterator_from_to (list2, start, end); list2 470 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list2, i) == elt); list2 483 maint/gnulib/tests/test-rbtreehash_list.c check_all (list1, list2, list3); list2 487 maint/gnulib/tests/test-rbtreehash_list.c gl_list_free (list2);