Lines Matching refs:values
36 int *values = heap->data; in pop_verify_heap() local
40 last = values[0]; in pop_verify_heap()
44 if (last > values[0]) { in pop_verify_heap()
46 values[0]); in pop_verify_heap()
50 if (last < values[0]) { in pop_verify_heap()
52 values[0]); in pop_verify_heap()
56 last = values[0]; in pop_verify_heap()
64 int values[] = { 3, 1, 2, 4, 0x8000000, 0x7FFFFFF, 0, in test_heapify_all() local
67 .data = values, in test_heapify_all()
68 .nr = ARRAY_SIZE(values), in test_heapify_all()
69 .size = ARRAY_SIZE(values), in test_heapify_all()
84 heap.nr = ARRAY_SIZE(values); in test_heapify_all()
86 values[i] = get_random_int(); in test_heapify_all()
98 int values[ARRAY_SIZE(data)]; in test_heap_push() local
100 .data = values, in test_heap_push()
102 .size = ARRAY_SIZE(values), in test_heap_push()
131 int values[ARRAY_SIZE(data)]; in test_heap_pop_push() local
133 .data = values, in test_heap_pop_push()
135 .size = ARRAY_SIZE(values), in test_heap_pop_push()