Lines Matching refs:funcs

36 				const struct min_heap_callbacks *funcs)  in pop_verify_heap()  argument
43 min_heap_pop(heap, funcs, NULL); in pop_verify_heap()
59 min_heap_pop(heap, funcs, NULL); in pop_verify_heap()
73 struct min_heap_callbacks funcs = { in test_heapify_all() local
80 min_heapify_all(&heap, &funcs, NULL); in test_heapify_all()
81 err = pop_verify_heap(min_heap, &heap, &funcs); in test_heapify_all()
89 min_heapify_all(&heap, &funcs, NULL); in test_heapify_all()
90 err += pop_verify_heap(min_heap, &heap, &funcs); in test_heapify_all()
105 struct min_heap_callbacks funcs = { in test_heap_push() local
113 min_heap_push(&heap, &data[i], &funcs, NULL); in test_heap_push()
115 err = pop_verify_heap(min_heap, &heap, &funcs); in test_heap_push()
120 min_heap_push(&heap, &temp, &funcs, NULL); in test_heap_push()
122 err += pop_verify_heap(min_heap, &heap, &funcs); in test_heap_push()
137 struct min_heap_callbacks funcs = { in test_heap_pop_push() local
146 min_heap_push(&heap, &temp, &funcs, NULL); in test_heap_pop_push()
150 min_heap_pop_push(&heap, &data[i], &funcs, NULL); in test_heap_pop_push()
152 err = pop_verify_heap(min_heap, &heap, &funcs); in test_heap_pop_push()
156 min_heap_push(&heap, &temp, &funcs, NULL); in test_heap_pop_push()
161 min_heap_pop_push(&heap, &temp, &funcs, NULL); in test_heap_pop_push()
163 err += pop_verify_heap(min_heap, &heap, &funcs); in test_heap_pop_push()
176 struct min_heap_callbacks funcs = { in test_heap_del() local
183 min_heapify_all(&heap, &funcs, NULL); in test_heap_del()
185 min_heap_del(&heap, get_random_u32() % heap.nr, &funcs, NULL); in test_heap_del()
186 err = pop_verify_heap(min_heap, &heap, &funcs); in test_heap_del()
193 min_heapify_all(&heap, &funcs, NULL); in test_heap_del()
196 min_heap_del(&heap, get_random_u32() % heap.nr, &funcs, NULL); in test_heap_del()
197 err += pop_verify_heap(min_heap, &heap, &funcs); in test_heap_del()