list1 35 maint/gnulib/tests/test-array_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 39 maint/gnulib/tests/test-array_list.c n = gl_list_size (list1); list1 43 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 48 maint/gnulib/tests/test-array_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 50 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 58 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_node_value (list2, node2)); list1 66 maint/gnulib/tests/test-array_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 68 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 76 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_node_value (list2, node2)); list1 86 maint/gnulib/tests/test-array_list.c gl_list_t list1, list2; list1 103 maint/gnulib/tests/test-array_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, NULL, NULL, NULL, true, list1 105 maint/gnulib/tests/test-array_list.c ASSERT (list1 != NULL); list1 112 maint/gnulib/tests/test-array_list.c check_equals (list1, list2); list1 114 maint/gnulib/tests/test-array_list.c check_equals_by_forward_iteration (list1, list2); list1 115 maint/gnulib/tests/test-array_list.c check_equals_by_backward_iteration (list1, list2); list1 123 maint/gnulib/tests/test-array_list.c if (gl_list_size (list1) > 0) list1 125 maint/gnulib/tests/test-array_list.c size_t index = RANDOM (gl_list_size (list1)); list1 129 maint/gnulib/tests/test-array_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 131 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 132 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 141 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 142 maint/gnulib/tests/test-array_list.c == gl_list_get_at (list1, index - 1)); list1 144 maint/gnulib/tests/test-array_list.c if (index + 1 < gl_list_size (list1)) list1 146 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 147 maint/gnulib/tests/test-array_list.c == gl_list_get_at (list1, index + 1)); list1 155 maint/gnulib/tests/test-array_list.c node1 = gl_list_search (list1, obj); list1 164 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 173 maint/gnulib/tests/test-array_list.c index1 = gl_list_indexof (list1, obj); list1 182 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 192 maint/gnulib/tests/test-array_list.c node1 = gl_list_nx_add_first (list1, obj); list1 196 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 198 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 206 maint/gnulib/tests/test-array_list.c node1 = gl_list_nx_add_last (list1, obj); list1 210 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 212 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 222 maint/gnulib/tests/test-array_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 224 maint/gnulib/tests/test-array_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 226 maint/gnulib/tests/test-array_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 234 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 236 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 237 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 238 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 246 maint/gnulib/tests/test-array_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 249 maint/gnulib/tests/test-array_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 253 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 254 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 259 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 260 maint/gnulib/tests/test-array_list.c == gl_list_get_at (list1, index - 1)); list1 262 maint/gnulib/tests/test-array_list.c if (index + 1 < gl_list_size (list1)) list1 264 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 265 maint/gnulib/tests/test-array_list.c == gl_list_get_at (list1, index + 1)); list1 270 maint/gnulib/tests/test-array_list.c if (gl_list_size (list1) > 0) list1 272 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 273 maint/gnulib/tests/test-array_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 275 maint/gnulib/tests/test-array_list.c node1 = gl_list_search (list1, obj); list1 279 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 281 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_size (list1) == n - 1); list1 285 maint/gnulib/tests/test-array_list.c if (gl_list_size (list1) > 0) list1 287 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 289 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove_at (list1, index)); list1 291 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_size (list1) == n - 1); list1 296 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 297 maint/gnulib/tests/test-array_list.c bool removed1 = gl_list_remove_first (list1); list1 299 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 304 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 305 maint/gnulib/tests/test-array_list.c bool removed1 = gl_list_remove_last (list1); list1 307 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 311 maint/gnulib/tests/test-array_list.c if (gl_list_size (list1) > 0) list1 313 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 314 maint/gnulib/tests/test-array_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 315 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_remove (list1, obj)); list1 317 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_size (list1) == n - 1); list1 321 maint/gnulib/tests/test-array_list.c if (gl_list_size (list1) > 0) list1 323 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 325 maint/gnulib/tests/test-array_list.c ASSERT (!gl_list_remove (list1, obj)); list1 327 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_size (list1) == n); list1 332 maint/gnulib/tests/test-array_list.c size_t n = gl_list_size (list1); list1 335 maint/gnulib/tests/test-array_list.c iter1 = gl_list_iterator (list1); list1 340 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 352 maint/gnulib/tests/test-array_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 356 maint/gnulib/tests/test-array_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 361 maint/gnulib/tests/test-array_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 372 maint/gnulib/tests/test-array_list.c check_equals (list1, list2); list1 375 maint/gnulib/tests/test-array_list.c gl_list_free (list1); list1 110 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c static gl_list_t volatile list1; list1 149 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c gl_list_iterator_t iter = gl_list_iterator (list1); list1 279 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_nx_add_first (list1, obj) != NULL); list1 293 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_remove (list1, obj)); list1 322 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c list1 = gl_list_nx_create_empty (GL_LINKED_LIST, NULL, NULL, NULL, true); list1 323 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (list1 != NULL); list1 325 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c ASSERT (gl_list_nx_add_first (list1, contents[i]) != NULL); list1 238 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c static gl_list_t volatile list1; list1 278 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c gl_list_iterator_t iter = gl_list_iterator (list1); list1 408 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_nx_add_first (list1, obj) != NULL); list1 418 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_remove (list1, obj)); list1 447 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c list1 = gl_list_nx_create_empty (GL_LINKED_LIST, NULL, NULL, NULL, true); list1 448 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (list1 != NULL); list1 450 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c ASSERT (gl_list_nx_add_first (list1, contents[i]) != NULL); list1 38 maint/gnulib/tests/test-avltree_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 42 maint/gnulib/tests/test-avltree_list.c n = gl_list_size (list1); list1 46 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 51 maint/gnulib/tests/test-avltree_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 53 maint/gnulib/tests/test-avltree_list.c gl_list_node_t node1 = gl_list_first_node (list1); list1 57 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) list1 59 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_next_node (list1, node1); list1 66 maint/gnulib/tests/test-avltree_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 68 maint/gnulib/tests/test-avltree_list.c gl_list_node_t node1 = gl_list_last_node (list1); list1 72 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) list1 74 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_previous_node (list1, node1); list1 81 maint/gnulib/tests/test-avltree_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list1 85 maint/gnulib/tests/test-avltree_list.c check_equals (list1, list2); list1 86 maint/gnulib/tests/test-avltree_list.c check_equals (list1, list3); list1 92 maint/gnulib/tests/test-avltree_list.c gl_list_t list1, list2, list3; list1 109 maint/gnulib/tests/test-avltree_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, NULL, NULL, NULL, true, list1 111 maint/gnulib/tests/test-avltree_list.c ASSERT (list1 != NULL); list1 123 maint/gnulib/tests/test-avltree_list.c check_all (list1, list2, list3); list1 125 maint/gnulib/tests/test-avltree_list.c check_equals_by_forward_iteration (list1, list2); list1 126 maint/gnulib/tests/test-avltree_list.c check_equals_by_backward_iteration (list1, list2); list1 134 maint/gnulib/tests/test-avltree_list.c if (gl_list_size (list1) > 0) list1 136 maint/gnulib/tests/test-avltree_list.c size_t index = RANDOM (gl_list_size (list1)); list1 140 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 142 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 143 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 157 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 158 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list1, index - 1)); list1 164 maint/gnulib/tests/test-avltree_list.c if (index + 1 < gl_list_size (list1)) list1 166 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 167 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list1, index + 1)); list1 179 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_search (list1, obj); list1 191 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 201 maint/gnulib/tests/test-avltree_list.c index1 = gl_list_indexof (list1, obj); list1 213 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 225 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_nx_add_first (list1, obj); list1 231 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 234 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 243 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_nx_add_last (list1, obj); list1 249 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 252 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 263 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 265 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 267 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 281 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 284 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 285 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 286 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 297 maint/gnulib/tests/test-avltree_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 300 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 306 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 307 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 314 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 315 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list1, index - 1)); list1 321 maint/gnulib/tests/test-avltree_list.c if (index + 1 < gl_list_size (list1)) list1 323 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 324 maint/gnulib/tests/test-avltree_list.c == gl_list_get_at (list1, index + 1)); list1 333 maint/gnulib/tests/test-avltree_list.c if (gl_list_size (list1) > 0) list1 335 maint/gnulib/tests/test-avltree_list.c size_t n = gl_list_size (list1); list1 336 maint/gnulib/tests/test-avltree_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 338 maint/gnulib/tests/test-avltree_list.c node1 = gl_list_search (list1, obj); list1 344 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 347 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_size (list1) == n - 1); list1 351 maint/gnulib/tests/test-avltree_list.c if (gl_list_size (list1) > 0) list1 353 maint/gnulib/tests/test-avltree_list.c size_t n = gl_list_size (list1); list1 355 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove_at (list1, index)); list1 358 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_size (list1) == n - 1); list1 363 maint/gnulib/tests/test-avltree_list.c size_t n = gl_list_size (list1); list1 364 maint/gnulib/tests/test-avltree_list.c bool removed1 = gl_list_remove_first (list1); list1 367 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 372 maint/gnulib/tests/test-avltree_list.c size_t n = gl_list_size (list1); list1 373 maint/gnulib/tests/test-avltree_list.c bool removed1 = gl_list_remove_last (list1); list1 376 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 380 maint/gnulib/tests/test-avltree_list.c if (gl_list_size (list1) > 0) list1 382 maint/gnulib/tests/test-avltree_list.c size_t n = gl_list_size (list1); list1 383 maint/gnulib/tests/test-avltree_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 384 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_remove (list1, obj)); list1 387 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_size (list1) == n - 1); list1 391 maint/gnulib/tests/test-avltree_list.c if (gl_list_size (list1) > 0) list1 393 maint/gnulib/tests/test-avltree_list.c size_t n = gl_list_size (list1); list1 395 maint/gnulib/tests/test-avltree_list.c ASSERT (!gl_list_remove (list1, obj)); list1 398 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_size (list1) == n); list1 403 maint/gnulib/tests/test-avltree_list.c size_t n = gl_list_size (list1); list1 406 maint/gnulib/tests/test-avltree_list.c iter1 = gl_list_iterator (list1); list1 412 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 428 maint/gnulib/tests/test-avltree_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 432 maint/gnulib/tests/test-avltree_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 438 maint/gnulib/tests/test-avltree_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 453 maint/gnulib/tests/test-avltree_list.c check_all (list1, list2, list3); list1 456 maint/gnulib/tests/test-avltree_list.c gl_list_free (list1); list1 65 maint/gnulib/tests/test-avltreehash_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 69 maint/gnulib/tests/test-avltreehash_list.c n = gl_list_size (list1); list1 73 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 78 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 80 maint/gnulib/tests/test-avltreehash_list.c gl_list_node_t node1 = gl_list_first_node (list1); list1 84 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) list1 86 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_next_node (list1, node1); list1 93 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 95 maint/gnulib/tests/test-avltreehash_list.c gl_list_node_t node1 = gl_list_last_node (list1); list1 99 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) list1 101 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_previous_node (list1, node1); list1 108 maint/gnulib/tests/test-avltreehash_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list1 112 maint/gnulib/tests/test-avltreehash_list.c check_equals (list1, list2); list1 113 maint/gnulib/tests/test-avltreehash_list.c check_equals (list1, list3); list1 119 maint/gnulib/tests/test-avltreehash_list.c gl_list_t list1, list2, list3; list1 136 maint/gnulib/tests/test-avltreehash_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, list1 139 maint/gnulib/tests/test-avltreehash_list.c ASSERT (list1 != NULL); list1 153 maint/gnulib/tests/test-avltreehash_list.c check_all (list1, list2, list3); list1 155 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_forward_iteration (list1, list2); list1 156 maint/gnulib/tests/test-avltreehash_list.c check_equals_by_backward_iteration (list1, list2); list1 164 maint/gnulib/tests/test-avltreehash_list.c if (gl_list_size (list1) > 0) list1 166 maint/gnulib/tests/test-avltreehash_list.c size_t index = RANDOM (gl_list_size (list1)); list1 170 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 172 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 173 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 187 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 188 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list1, index - 1)); list1 194 maint/gnulib/tests/test-avltreehash_list.c if (index + 1 < gl_list_size (list1)) list1 196 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 197 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list1, index + 1)); list1 209 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_search (list1, obj); list1 221 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 231 maint/gnulib/tests/test-avltreehash_list.c index1 = gl_list_indexof (list1, obj); list1 243 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 255 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_nx_add_first (list1, obj); list1 261 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 264 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 273 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_nx_add_last (list1, obj); list1 279 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 282 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 293 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 295 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 297 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 311 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 314 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 315 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 316 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 327 maint/gnulib/tests/test-avltreehash_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 330 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 336 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 337 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 344 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 345 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list1, index - 1)); list1 351 maint/gnulib/tests/test-avltreehash_list.c if (index + 1 < gl_list_size (list1)) list1 353 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 354 maint/gnulib/tests/test-avltreehash_list.c == gl_list_get_at (list1, index + 1)); list1 363 maint/gnulib/tests/test-avltreehash_list.c if (gl_list_size (list1) > 0) list1 365 maint/gnulib/tests/test-avltreehash_list.c size_t n = gl_list_size (list1); list1 366 maint/gnulib/tests/test-avltreehash_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 368 maint/gnulib/tests/test-avltreehash_list.c node1 = gl_list_search (list1, obj); list1 374 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 377 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 381 maint/gnulib/tests/test-avltreehash_list.c if (gl_list_size (list1) > 0) list1 383 maint/gnulib/tests/test-avltreehash_list.c size_t n = gl_list_size (list1); list1 385 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove_at (list1, index)); list1 388 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 393 maint/gnulib/tests/test-avltreehash_list.c size_t n = gl_list_size (list1); list1 394 maint/gnulib/tests/test-avltreehash_list.c bool removed1 = gl_list_remove_first (list1); list1 397 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 402 maint/gnulib/tests/test-avltreehash_list.c size_t n = gl_list_size (list1); list1 403 maint/gnulib/tests/test-avltreehash_list.c bool removed1 = gl_list_remove_last (list1); list1 406 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 410 maint/gnulib/tests/test-avltreehash_list.c if (gl_list_size (list1) > 0) list1 412 maint/gnulib/tests/test-avltreehash_list.c size_t n = gl_list_size (list1); list1 413 maint/gnulib/tests/test-avltreehash_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 414 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_remove (list1, obj)); list1 417 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 421 maint/gnulib/tests/test-avltreehash_list.c if (gl_list_size (list1) > 0) list1 423 maint/gnulib/tests/test-avltreehash_list.c size_t n = gl_list_size (list1); list1 425 maint/gnulib/tests/test-avltreehash_list.c ASSERT (!gl_list_remove (list1, obj)); list1 428 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_size (list1) == n); list1 433 maint/gnulib/tests/test-avltreehash_list.c size_t n = gl_list_size (list1); list1 436 maint/gnulib/tests/test-avltreehash_list.c iter1 = gl_list_iterator (list1); list1 442 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 458 maint/gnulib/tests/test-avltreehash_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 462 maint/gnulib/tests/test-avltreehash_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 468 maint/gnulib/tests/test-avltreehash_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 483 maint/gnulib/tests/test-avltreehash_list.c check_all (list1, list2, list3); list1 486 maint/gnulib/tests/test-avltreehash_list.c gl_list_free (list1); list1 36 maint/gnulib/tests/test-carray_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 40 maint/gnulib/tests/test-carray_list.c n = gl_list_size (list1); list1 44 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 49 maint/gnulib/tests/test-carray_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 51 maint/gnulib/tests/test-carray_list.c gl_list_node_t node1 = gl_list_first_node (list1); list1 55 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) list1 57 maint/gnulib/tests/test-carray_list.c node1 = gl_list_next_node (list1, node1); list1 64 maint/gnulib/tests/test-carray_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 66 maint/gnulib/tests/test-carray_list.c gl_list_node_t node1 = gl_list_last_node (list1); list1 70 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) list1 72 maint/gnulib/tests/test-carray_list.c node1 = gl_list_previous_node (list1, node1); list1 79 maint/gnulib/tests/test-carray_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list1 81 maint/gnulib/tests/test-carray_list.c check_equals (list1, list2); list1 82 maint/gnulib/tests/test-carray_list.c check_equals (list1, list3); list1 88 maint/gnulib/tests/test-carray_list.c gl_list_t list1, list2, list3; list1 105 maint/gnulib/tests/test-carray_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, NULL, NULL, NULL, true, list1 107 maint/gnulib/tests/test-carray_list.c ASSERT (list1 != NULL); list1 119 maint/gnulib/tests/test-carray_list.c check_all (list1, list2, list3); list1 121 maint/gnulib/tests/test-carray_list.c check_equals_by_forward_iteration (list1, list2); list1 122 maint/gnulib/tests/test-carray_list.c check_equals_by_backward_iteration (list1, list2); list1 130 maint/gnulib/tests/test-carray_list.c if (gl_list_size (list1) > 0) list1 132 maint/gnulib/tests/test-carray_list.c size_t index = RANDOM (gl_list_size (list1)); list1 136 maint/gnulib/tests/test-carray_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 138 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 139 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 153 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 154 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list1, index - 1)); list1 160 maint/gnulib/tests/test-carray_list.c if (index + 1 < gl_list_size (list1)) list1 162 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 163 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list1, index + 1)); list1 175 maint/gnulib/tests/test-carray_list.c node1 = gl_list_search (list1, obj); list1 187 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 197 maint/gnulib/tests/test-carray_list.c index1 = gl_list_indexof (list1, obj); list1 209 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 221 maint/gnulib/tests/test-carray_list.c node1 = gl_list_nx_add_first (list1, obj); list1 227 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 230 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 239 maint/gnulib/tests/test-carray_list.c node1 = gl_list_nx_add_last (list1, obj); list1 245 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 248 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 259 maint/gnulib/tests/test-carray_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 261 maint/gnulib/tests/test-carray_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 263 maint/gnulib/tests/test-carray_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 277 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 280 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 281 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 282 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 293 maint/gnulib/tests/test-carray_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 296 maint/gnulib/tests/test-carray_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 302 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 303 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 310 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 311 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list1, index - 1)); list1 317 maint/gnulib/tests/test-carray_list.c if (index + 1 < gl_list_size (list1)) list1 319 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 320 maint/gnulib/tests/test-carray_list.c == gl_list_get_at (list1, index + 1)); list1 329 maint/gnulib/tests/test-carray_list.c if (gl_list_size (list1) > 0) list1 331 maint/gnulib/tests/test-carray_list.c size_t n = gl_list_size (list1); list1 332 maint/gnulib/tests/test-carray_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 334 maint/gnulib/tests/test-carray_list.c node1 = gl_list_search (list1, obj); list1 340 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 343 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_size (list1) == n - 1); list1 347 maint/gnulib/tests/test-carray_list.c if (gl_list_size (list1) > 0) list1 349 maint/gnulib/tests/test-carray_list.c size_t n = gl_list_size (list1); list1 351 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove_at (list1, index)); list1 354 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_size (list1) == n - 1); list1 359 maint/gnulib/tests/test-carray_list.c size_t n = gl_list_size (list1); list1 360 maint/gnulib/tests/test-carray_list.c bool removed1 = gl_list_remove_first (list1); list1 363 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 368 maint/gnulib/tests/test-carray_list.c size_t n = gl_list_size (list1); list1 369 maint/gnulib/tests/test-carray_list.c bool removed1 = gl_list_remove_last (list1); list1 372 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 376 maint/gnulib/tests/test-carray_list.c if (gl_list_size (list1) > 0) list1 378 maint/gnulib/tests/test-carray_list.c size_t n = gl_list_size (list1); list1 379 maint/gnulib/tests/test-carray_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 380 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_remove (list1, obj)); list1 383 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_size (list1) == n - 1); list1 387 maint/gnulib/tests/test-carray_list.c if (gl_list_size (list1) > 0) list1 389 maint/gnulib/tests/test-carray_list.c size_t n = gl_list_size (list1); list1 391 maint/gnulib/tests/test-carray_list.c ASSERT (!gl_list_remove (list1, obj)); list1 394 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_size (list1) == n); list1 399 maint/gnulib/tests/test-carray_list.c size_t n = gl_list_size (list1); list1 402 maint/gnulib/tests/test-carray_list.c iter1 = gl_list_iterator (list1); list1 408 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 424 maint/gnulib/tests/test-carray_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 428 maint/gnulib/tests/test-carray_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 434 maint/gnulib/tests/test-carray_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 449 maint/gnulib/tests/test-carray_list.c check_all (list1, list2, list3); list1 452 maint/gnulib/tests/test-carray_list.c gl_list_free (list1); list1 36 maint/gnulib/tests/test-linked_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 40 maint/gnulib/tests/test-linked_list.c n = gl_list_size (list1); list1 44 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 49 maint/gnulib/tests/test-linked_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 51 maint/gnulib/tests/test-linked_list.c gl_list_node_t node1 = gl_list_first_node (list1); list1 55 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) list1 57 maint/gnulib/tests/test-linked_list.c node1 = gl_list_next_node (list1, node1); list1 64 maint/gnulib/tests/test-linked_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 66 maint/gnulib/tests/test-linked_list.c gl_list_node_t node1 = gl_list_last_node (list1); list1 70 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) list1 72 maint/gnulib/tests/test-linked_list.c node1 = gl_list_previous_node (list1, node1); list1 79 maint/gnulib/tests/test-linked_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list1 81 maint/gnulib/tests/test-linked_list.c check_equals (list1, list2); list1 82 maint/gnulib/tests/test-linked_list.c check_equals (list1, list3); list1 88 maint/gnulib/tests/test-linked_list.c gl_list_t list1, list2, list3; list1 105 maint/gnulib/tests/test-linked_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, NULL, NULL, NULL, true, list1 107 maint/gnulib/tests/test-linked_list.c ASSERT (list1 != NULL); list1 119 maint/gnulib/tests/test-linked_list.c check_all (list1, list2, list3); list1 121 maint/gnulib/tests/test-linked_list.c check_equals_by_forward_iteration (list1, list2); list1 122 maint/gnulib/tests/test-linked_list.c check_equals_by_backward_iteration (list1, list2); list1 130 maint/gnulib/tests/test-linked_list.c if (gl_list_size (list1) > 0) list1 132 maint/gnulib/tests/test-linked_list.c size_t index = RANDOM (gl_list_size (list1)); list1 136 maint/gnulib/tests/test-linked_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 138 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 139 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 153 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 154 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list1, index - 1)); list1 160 maint/gnulib/tests/test-linked_list.c if (index + 1 < gl_list_size (list1)) list1 162 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 163 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list1, index + 1)); list1 175 maint/gnulib/tests/test-linked_list.c node1 = gl_list_search (list1, obj); list1 187 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 197 maint/gnulib/tests/test-linked_list.c index1 = gl_list_indexof (list1, obj); list1 209 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 221 maint/gnulib/tests/test-linked_list.c node1 = gl_list_nx_add_first (list1, obj); list1 227 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 230 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 239 maint/gnulib/tests/test-linked_list.c node1 = gl_list_nx_add_last (list1, obj); list1 245 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 248 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 259 maint/gnulib/tests/test-linked_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 261 maint/gnulib/tests/test-linked_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 263 maint/gnulib/tests/test-linked_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 277 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 280 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 281 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 282 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 293 maint/gnulib/tests/test-linked_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 296 maint/gnulib/tests/test-linked_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 302 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 303 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 310 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 311 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list1, index - 1)); list1 317 maint/gnulib/tests/test-linked_list.c if (index + 1 < gl_list_size (list1)) list1 319 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 320 maint/gnulib/tests/test-linked_list.c == gl_list_get_at (list1, index + 1)); list1 329 maint/gnulib/tests/test-linked_list.c if (gl_list_size (list1) > 0) list1 331 maint/gnulib/tests/test-linked_list.c size_t n = gl_list_size (list1); list1 332 maint/gnulib/tests/test-linked_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 334 maint/gnulib/tests/test-linked_list.c node1 = gl_list_search (list1, obj); list1 340 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 343 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_size (list1) == n - 1); list1 347 maint/gnulib/tests/test-linked_list.c if (gl_list_size (list1) > 0) list1 349 maint/gnulib/tests/test-linked_list.c size_t n = gl_list_size (list1); list1 351 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove_at (list1, index)); list1 354 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_size (list1) == n - 1); list1 359 maint/gnulib/tests/test-linked_list.c size_t n = gl_list_size (list1); list1 360 maint/gnulib/tests/test-linked_list.c bool removed1 = gl_list_remove_first (list1); list1 363 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 368 maint/gnulib/tests/test-linked_list.c size_t n = gl_list_size (list1); list1 369 maint/gnulib/tests/test-linked_list.c bool removed1 = gl_list_remove_last (list1); list1 372 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 376 maint/gnulib/tests/test-linked_list.c if (gl_list_size (list1) > 0) list1 378 maint/gnulib/tests/test-linked_list.c size_t n = gl_list_size (list1); list1 379 maint/gnulib/tests/test-linked_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 380 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_remove (list1, obj)); list1 383 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_size (list1) == n - 1); list1 387 maint/gnulib/tests/test-linked_list.c if (gl_list_size (list1) > 0) list1 389 maint/gnulib/tests/test-linked_list.c size_t n = gl_list_size (list1); list1 391 maint/gnulib/tests/test-linked_list.c ASSERT (!gl_list_remove (list1, obj)); list1 394 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_size (list1) == n); list1 399 maint/gnulib/tests/test-linked_list.c size_t n = gl_list_size (list1); list1 402 maint/gnulib/tests/test-linked_list.c iter1 = gl_list_iterator (list1); list1 408 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 424 maint/gnulib/tests/test-linked_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 428 maint/gnulib/tests/test-linked_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 434 maint/gnulib/tests/test-linked_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 449 maint/gnulib/tests/test-linked_list.c check_all (list1, list2, list3); list1 452 maint/gnulib/tests/test-linked_list.c gl_list_free (list1); list1 63 maint/gnulib/tests/test-linkedhash_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 67 maint/gnulib/tests/test-linkedhash_list.c n = gl_list_size (list1); list1 71 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 76 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 78 maint/gnulib/tests/test-linkedhash_list.c gl_list_node_t node1 = gl_list_first_node (list1); list1 82 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) list1 84 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_next_node (list1, node1); list1 91 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 93 maint/gnulib/tests/test-linkedhash_list.c gl_list_node_t node1 = gl_list_last_node (list1); list1 97 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) list1 99 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_previous_node (list1, node1); list1 106 maint/gnulib/tests/test-linkedhash_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list1 108 maint/gnulib/tests/test-linkedhash_list.c check_equals (list1, list2); list1 109 maint/gnulib/tests/test-linkedhash_list.c check_equals (list1, list3); list1 115 maint/gnulib/tests/test-linkedhash_list.c gl_list_t list1, list2, list3; list1 132 maint/gnulib/tests/test-linkedhash_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, list1 135 maint/gnulib/tests/test-linkedhash_list.c ASSERT (list1 != NULL); list1 149 maint/gnulib/tests/test-linkedhash_list.c check_all (list1, list2, list3); list1 151 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_forward_iteration (list1, list2); list1 152 maint/gnulib/tests/test-linkedhash_list.c check_equals_by_backward_iteration (list1, list2); list1 160 maint/gnulib/tests/test-linkedhash_list.c if (gl_list_size (list1) > 0) list1 162 maint/gnulib/tests/test-linkedhash_list.c size_t index = RANDOM (gl_list_size (list1)); list1 166 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 168 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 169 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 183 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 184 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list1, index - 1)); list1 190 maint/gnulib/tests/test-linkedhash_list.c if (index + 1 < gl_list_size (list1)) list1 192 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 193 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list1, index + 1)); list1 205 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_search (list1, obj); list1 217 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 227 maint/gnulib/tests/test-linkedhash_list.c index1 = gl_list_indexof (list1, obj); list1 239 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 251 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_nx_add_first (list1, obj); list1 257 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 260 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 269 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_nx_add_last (list1, obj); list1 275 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 278 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 289 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 291 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 293 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 307 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 310 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 311 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 312 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 323 maint/gnulib/tests/test-linkedhash_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 326 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 332 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 333 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 340 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 341 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list1, index - 1)); list1 347 maint/gnulib/tests/test-linkedhash_list.c if (index + 1 < gl_list_size (list1)) list1 349 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 350 maint/gnulib/tests/test-linkedhash_list.c == gl_list_get_at (list1, index + 1)); list1 359 maint/gnulib/tests/test-linkedhash_list.c if (gl_list_size (list1) > 0) list1 361 maint/gnulib/tests/test-linkedhash_list.c size_t n = gl_list_size (list1); list1 362 maint/gnulib/tests/test-linkedhash_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 364 maint/gnulib/tests/test-linkedhash_list.c node1 = gl_list_search (list1, obj); list1 370 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 373 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 377 maint/gnulib/tests/test-linkedhash_list.c if (gl_list_size (list1) > 0) list1 379 maint/gnulib/tests/test-linkedhash_list.c size_t n = gl_list_size (list1); list1 381 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove_at (list1, index)); list1 384 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 389 maint/gnulib/tests/test-linkedhash_list.c size_t n = gl_list_size (list1); list1 390 maint/gnulib/tests/test-linkedhash_list.c bool removed1 = gl_list_remove_first (list1); list1 393 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 398 maint/gnulib/tests/test-linkedhash_list.c size_t n = gl_list_size (list1); list1 399 maint/gnulib/tests/test-linkedhash_list.c bool removed1 = gl_list_remove_last (list1); list1 402 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 406 maint/gnulib/tests/test-linkedhash_list.c if (gl_list_size (list1) > 0) list1 408 maint/gnulib/tests/test-linkedhash_list.c size_t n = gl_list_size (list1); list1 409 maint/gnulib/tests/test-linkedhash_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 410 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_remove (list1, obj)); list1 413 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 417 maint/gnulib/tests/test-linkedhash_list.c if (gl_list_size (list1) > 0) list1 419 maint/gnulib/tests/test-linkedhash_list.c size_t n = gl_list_size (list1); list1 421 maint/gnulib/tests/test-linkedhash_list.c ASSERT (!gl_list_remove (list1, obj)); list1 424 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_size (list1) == n); list1 429 maint/gnulib/tests/test-linkedhash_list.c size_t n = gl_list_size (list1); list1 432 maint/gnulib/tests/test-linkedhash_list.c iter1 = gl_list_iterator (list1); list1 438 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 454 maint/gnulib/tests/test-linkedhash_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 458 maint/gnulib/tests/test-linkedhash_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 464 maint/gnulib/tests/test-linkedhash_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 479 maint/gnulib/tests/test-linkedhash_list.c check_all (list1, list2, list3); list1 482 maint/gnulib/tests/test-linkedhash_list.c gl_list_free (list1); list1 34 maint/gnulib/tests/test-list-c++.cc gl_List<const char *> list1; list1 36 maint/gnulib/tests/test-list-c++.cc list1 = gl_List<const char *> (GL_ARRAY_LIST, NULL, NULL, NULL, true); list1 37 maint/gnulib/tests/test-list-c++.cc list1.add_last (A); list1 38 maint/gnulib/tests/test-list-c++.cc list1.add_last (C); list1 39 maint/gnulib/tests/test-list-c++.cc list1.add_last (D); list1 40 maint/gnulib/tests/test-list-c++.cc list1.add_last (C); list1 41 maint/gnulib/tests/test-list-c++.cc ASSERT (list1.size () == 4); list1 43 maint/gnulib/tests/test-list-c++.cc gl_List<const char *>::iterator iter1 = list1.begin (); list1 57 maint/gnulib/tests/test-list-c++.cc gl_List<const char *> list2 = gl_List<const char *> (list1, 1, 3); list1 76 maint/gnulib/tests/test-list-c++.cc list1.free (); list1 38 maint/gnulib/tests/test-rbtree_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 42 maint/gnulib/tests/test-rbtree_list.c n = gl_list_size (list1); list1 46 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 51 maint/gnulib/tests/test-rbtree_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 53 maint/gnulib/tests/test-rbtree_list.c gl_list_node_t node1 = gl_list_first_node (list1); list1 57 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) list1 59 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_next_node (list1, node1); list1 66 maint/gnulib/tests/test-rbtree_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 68 maint/gnulib/tests/test-rbtree_list.c gl_list_node_t node1 = gl_list_last_node (list1); list1 72 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) list1 74 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_previous_node (list1, node1); list1 81 maint/gnulib/tests/test-rbtree_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list1 85 maint/gnulib/tests/test-rbtree_list.c check_equals (list1, list2); list1 86 maint/gnulib/tests/test-rbtree_list.c check_equals (list1, list3); list1 92 maint/gnulib/tests/test-rbtree_list.c gl_list_t list1, list2, list3; list1 109 maint/gnulib/tests/test-rbtree_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, NULL, NULL, NULL, true, list1 111 maint/gnulib/tests/test-rbtree_list.c ASSERT (list1 != NULL); list1 123 maint/gnulib/tests/test-rbtree_list.c check_all (list1, list2, list3); list1 125 maint/gnulib/tests/test-rbtree_list.c check_equals_by_forward_iteration (list1, list2); list1 126 maint/gnulib/tests/test-rbtree_list.c check_equals_by_backward_iteration (list1, list2); list1 134 maint/gnulib/tests/test-rbtree_list.c if (gl_list_size (list1) > 0) list1 136 maint/gnulib/tests/test-rbtree_list.c size_t index = RANDOM (gl_list_size (list1)); list1 140 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 142 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 143 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 157 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 158 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list1, index - 1)); list1 164 maint/gnulib/tests/test-rbtree_list.c if (index + 1 < gl_list_size (list1)) list1 166 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 167 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list1, index + 1)); list1 179 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_search (list1, obj); list1 191 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 201 maint/gnulib/tests/test-rbtree_list.c index1 = gl_list_indexof (list1, obj); list1 213 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 225 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_nx_add_first (list1, obj); list1 231 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 234 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 243 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_nx_add_last (list1, obj); list1 249 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 252 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 263 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 265 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 267 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 281 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 284 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 285 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 286 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 297 maint/gnulib/tests/test-rbtree_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 300 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 306 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 307 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 314 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 315 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list1, index - 1)); list1 321 maint/gnulib/tests/test-rbtree_list.c if (index + 1 < gl_list_size (list1)) list1 323 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 324 maint/gnulib/tests/test-rbtree_list.c == gl_list_get_at (list1, index + 1)); list1 333 maint/gnulib/tests/test-rbtree_list.c if (gl_list_size (list1) > 0) list1 335 maint/gnulib/tests/test-rbtree_list.c size_t n = gl_list_size (list1); list1 336 maint/gnulib/tests/test-rbtree_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 338 maint/gnulib/tests/test-rbtree_list.c node1 = gl_list_search (list1, obj); list1 344 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 347 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_size (list1) == n - 1); list1 351 maint/gnulib/tests/test-rbtree_list.c if (gl_list_size (list1) > 0) list1 353 maint/gnulib/tests/test-rbtree_list.c size_t n = gl_list_size (list1); list1 355 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove_at (list1, index)); list1 358 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_size (list1) == n - 1); list1 363 maint/gnulib/tests/test-rbtree_list.c size_t n = gl_list_size (list1); list1 364 maint/gnulib/tests/test-rbtree_list.c bool removed1 = gl_list_remove_first (list1); list1 367 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 372 maint/gnulib/tests/test-rbtree_list.c size_t n = gl_list_size (list1); list1 373 maint/gnulib/tests/test-rbtree_list.c bool removed1 = gl_list_remove_last (list1); list1 376 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 380 maint/gnulib/tests/test-rbtree_list.c if (gl_list_size (list1) > 0) list1 382 maint/gnulib/tests/test-rbtree_list.c size_t n = gl_list_size (list1); list1 383 maint/gnulib/tests/test-rbtree_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 384 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_remove (list1, obj)); list1 387 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_size (list1) == n - 1); list1 391 maint/gnulib/tests/test-rbtree_list.c if (gl_list_size (list1) > 0) list1 393 maint/gnulib/tests/test-rbtree_list.c size_t n = gl_list_size (list1); list1 395 maint/gnulib/tests/test-rbtree_list.c ASSERT (!gl_list_remove (list1, obj)); list1 398 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_size (list1) == n); list1 403 maint/gnulib/tests/test-rbtree_list.c size_t n = gl_list_size (list1); list1 406 maint/gnulib/tests/test-rbtree_list.c iter1 = gl_list_iterator (list1); list1 412 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 428 maint/gnulib/tests/test-rbtree_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 432 maint/gnulib/tests/test-rbtree_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 438 maint/gnulib/tests/test-rbtree_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 453 maint/gnulib/tests/test-rbtree_list.c check_all (list1, list2, list3); list1 456 maint/gnulib/tests/test-rbtree_list.c gl_list_free (list1); list1 65 maint/gnulib/tests/test-rbtreehash_list.c check_equals (gl_list_t list1, gl_list_t list2) list1 69 maint/gnulib/tests/test-rbtreehash_list.c n = gl_list_size (list1); list1 73 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, i) == gl_list_get_at (list2, i)); list1 78 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_forward_iteration (gl_list_t list1, gl_list_t list2) list1 80 maint/gnulib/tests/test-rbtreehash_list.c gl_list_node_t node1 = gl_list_first_node (list1); list1 84 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) list1 86 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_next_node (list1, node1); list1 93 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_backward_iteration (gl_list_t list1, gl_list_t list2) list1 95 maint/gnulib/tests/test-rbtreehash_list.c gl_list_node_t node1 = gl_list_last_node (list1); list1 99 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) list1 101 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_previous_node (list1, node1); list1 108 maint/gnulib/tests/test-rbtreehash_list.c check_all (gl_list_t list1, gl_list_t list2, gl_list_t list3) list1 112 maint/gnulib/tests/test-rbtreehash_list.c check_equals (list1, list2); list1 113 maint/gnulib/tests/test-rbtreehash_list.c check_equals (list1, list3); list1 119 maint/gnulib/tests/test-rbtreehash_list.c gl_list_t list1, list2, list3; list1 136 maint/gnulib/tests/test-rbtreehash_list.c list1 = gl_list_nx_create (GL_ARRAY_LIST, list1 139 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (list1 != NULL); list1 153 maint/gnulib/tests/test-rbtreehash_list.c check_all (list1, list2, list3); list1 155 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_forward_iteration (list1, list2); list1 156 maint/gnulib/tests/test-rbtreehash_list.c check_equals_by_backward_iteration (list1, list2); list1 164 maint/gnulib/tests/test-rbtreehash_list.c if (gl_list_size (list1) > 0) list1 166 maint/gnulib/tests/test-rbtreehash_list.c size_t index = RANDOM (gl_list_size (list1)); list1 170 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_nx_set_at (list1, index, obj); list1 172 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 173 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 187 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 188 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list1, index - 1)); list1 194 maint/gnulib/tests/test-rbtreehash_list.c if (index + 1 < gl_list_size (list1)) list1 196 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 197 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list1, index + 1)); list1 209 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_search (list1, obj); list1 221 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 231 maint/gnulib/tests/test-rbtreehash_list.c index1 = gl_list_indexof (list1, obj); list1 243 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, index1) == obj); list1 255 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_nx_add_first (list1, obj); list1 261 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 264 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, 0) == obj); list1 273 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_nx_add_last (list1, obj); list1 279 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 282 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, gl_list_size (list1) - 1) == obj); list1 293 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_nx_add_first (list1, obj2); list1 295 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_nx_add_before (list1, node1, obj0); list1 297 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_nx_add_after (list1, node1, obj1); list1 311 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj1); list1 314 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, 0) == obj0); list1 315 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, 1) == obj1); list1 316 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, 2) == obj2); list1 327 maint/gnulib/tests/test-rbtreehash_list.c size_t index = RANDOM (gl_list_size (list1) + 1); list1 330 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_nx_add_at (list1, index, obj); list1 336 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, index) == obj); list1 337 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, node1) == obj); list1 344 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_previous_node (list1, node1)) list1 345 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list1, index - 1)); list1 351 maint/gnulib/tests/test-rbtreehash_list.c if (index + 1 < gl_list_size (list1)) list1 353 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_node_value (list1, gl_list_next_node (list1, node1)) list1 354 maint/gnulib/tests/test-rbtreehash_list.c == gl_list_get_at (list1, index + 1)); list1 363 maint/gnulib/tests/test-rbtreehash_list.c if (gl_list_size (list1) > 0) list1 365 maint/gnulib/tests/test-rbtreehash_list.c size_t n = gl_list_size (list1); list1 366 maint/gnulib/tests/test-rbtreehash_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 368 maint/gnulib/tests/test-rbtreehash_list.c node1 = gl_list_search (list1, obj); list1 374 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove_node (list1, node1)); list1 377 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 381 maint/gnulib/tests/test-rbtreehash_list.c if (gl_list_size (list1) > 0) list1 383 maint/gnulib/tests/test-rbtreehash_list.c size_t n = gl_list_size (list1); list1 385 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove_at (list1, index)); list1 388 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 393 maint/gnulib/tests/test-rbtreehash_list.c size_t n = gl_list_size (list1); list1 394 maint/gnulib/tests/test-rbtreehash_list.c bool removed1 = gl_list_remove_first (list1); list1 397 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 402 maint/gnulib/tests/test-rbtreehash_list.c size_t n = gl_list_size (list1); list1 403 maint/gnulib/tests/test-rbtreehash_list.c bool removed1 = gl_list_remove_last (list1); list1 406 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_size (list1) == n - (int) removed1); list1 410 maint/gnulib/tests/test-rbtreehash_list.c if (gl_list_size (list1) > 0) list1 412 maint/gnulib/tests/test-rbtreehash_list.c size_t n = gl_list_size (list1); list1 413 maint/gnulib/tests/test-rbtreehash_list.c const char *obj = gl_list_get_at (list1, RANDOM (n)); list1 414 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_remove (list1, obj)); list1 417 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_size (list1) == n - 1); list1 421 maint/gnulib/tests/test-rbtreehash_list.c if (gl_list_size (list1) > 0) list1 423 maint/gnulib/tests/test-rbtreehash_list.c size_t n = gl_list_size (list1); list1 425 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (!gl_list_remove (list1, obj)); list1 428 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_size (list1) == n); list1 433 maint/gnulib/tests/test-rbtreehash_list.c size_t n = gl_list_size (list1); list1 436 maint/gnulib/tests/test-rbtreehash_list.c iter1 = gl_list_iterator (list1); list1 442 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 458 maint/gnulib/tests/test-rbtreehash_list.c size_t end = RANDOM (gl_list_size (list1) + 1); list1 462 maint/gnulib/tests/test-rbtreehash_list.c iter1 = gl_list_iterator_from_to (list1, start, end); list1 468 maint/gnulib/tests/test-rbtreehash_list.c ASSERT (gl_list_get_at (list1, i) == elt); list1 483 maint/gnulib/tests/test-rbtreehash_list.c check_all (list1, list2, list3); list1 486 maint/gnulib/tests/test-rbtreehash_list.c gl_list_free (list1);