Lines Matching refs:heapsize
21 while(heapsize && gte(basecounter, heap[0].counter)) callback(dequeue()); in tick()
27 if(heapsize >= heapcapacity) in enqueue()
33 unsigned child = heapsize++; in enqueue()
52 unsigned counter = heap[--heapsize].counter; in dequeue()
56 if(child >= heapsize) break; in dequeue()
57 if(child + 1 < heapsize && gte(heap[child].counter, heap[child + 1].counter)) child++; in dequeue()
66 heap[parent].event = heap[heapsize].event; in dequeue()
72 heapsize = 0; in reset()
77 s.integer(heapsize); in serialize()
89 if(heapsize > heapcapacity) in serialize()
91 heapsize = 0; // So the loop isn't iterated through below. in serialize()
97 for(unsigned n = 0; n < heapsize; n++) in serialize()
138 unsigned heapsize; member in nall_v059::priority_queue