Lines Matching refs:heap_size
69 ctx->heap_size = 0;
125 size = ctx->heap_size;
154 i = ++ctx->heap_size;
155 if (ctx->heap_size >= ctx->array_size && heap_resize(ctx) < 0)
168 if (ctx == NULL || i < 1 || i > ctx->heap_size) {
173 if (i == ctx->heap_size) {
174 ctx->heap_size--;
176 elt = ctx->heap[ctx->heap_size--];
190 if (ctx == NULL || i < 1 || i > ctx->heap_size) {
202 if (ctx == NULL || i < 1 || i > ctx->heap_size) {
214 if (ctx == NULL || i < 1 || i > ctx->heap_size) {
231 for (i = 1; i <= ctx->heap_size; i++)