Lines Matching +full:0 +full:x8000000
37 int err = 0; in pop_verify_heap()
40 last = values[0]; in pop_verify_heap()
42 while (heap->nr > 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()
65 -3, -1, -2, -4, 0x8000000, 0x7FFFFFF }; in test_heapify_all()
85 for (i = 0; i < heap.nr; i++) in test_heapify_all()
96 const int data[] = { 3, 1, 2, 4, 0x80000000, 0x7FFFFFFF, 0, in test_heap_push()
97 -3, -1, -2, -4, 0x80000000, 0x7FFFFFFF }; in test_heap_push()
101 .nr = 0, in test_heap_push()
112 for (i = 0; i < ARRAY_SIZE(data); i++) in test_heap_push()
129 const int data[] = { 3, 1, 2, 4, 0x80000000, 0x7FFFFFFF, 0, in test_heap_pop_push()
130 -3, -1, -2, -4, 0x80000000, 0x7FFFFFFF }; in test_heap_pop_push()
134 .nr = 0, in test_heap_pop_push()
145 temp = min_heap ? 0x80000000 : 0x7FFFFFFF; in test_heap_pop_push()
146 for (i = 0; i < ARRAY_SIZE(data); i++) in test_heap_pop_push()
150 for (i = 0; i < ARRAY_SIZE(data); i++) in test_heap_pop_push()
155 heap.nr = 0; in test_heap_pop_push()
156 for (i = 0; i < ARRAY_SIZE(data); i++) in test_heap_pop_push()
160 for (i = 0; i < ARRAY_SIZE(data); i++) { in test_heap_pop_push()
171 int err = 0; in test_min_heap_init()
184 return 0; in test_min_heap_init()