Lines Matching refs:heap_object
106 static int spl_ptr_heap_cmp_cb_helper(zval *object, spl_heap_object *heap_object, zval *a, zval *b,… in spl_ptr_heap_cmp_cb_helper() argument
109 …zend_call_method_with_2_params(object, heap_object->std.ce, &heap_object->fptr_cmp, "compare", &zr… in spl_ptr_heap_cmp_cb_helper()
152 spl_heap_object *heap_object = Z_SPLHEAP_P(object); in spl_ptr_heap_zval_max_cmp() local
153 if (heap_object->fptr_cmp) { in spl_ptr_heap_zval_max_cmp()
155 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) { in spl_ptr_heap_zval_max_cmp()
176 spl_heap_object *heap_object = Z_SPLHEAP_P(object); in spl_ptr_heap_zval_min_cmp() local
177 if (heap_object->fptr_cmp) { in spl_ptr_heap_zval_min_cmp()
179 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) { in spl_ptr_heap_zval_min_cmp()
207 spl_heap_object *heap_object = Z_SPLHEAP_P(object); in spl_ptr_pqueue_zval_cmp() local
208 if (heap_object->fptr_cmp) { in spl_ptr_pqueue_zval_cmp()
210 …if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, a_priority_p, b_priority_p, &lval) == … in spl_ptr_pqueue_zval_cmp()
1087 spl_heap_object *heap_object = Z_SPLHEAP_P(object); in spl_heap_get_iterator() local
1101 iterator->flags = heap_object->flags; in spl_heap_get_iterator()
1111 spl_heap_object *heap_object = Z_SPLHEAP_P(object); in spl_pqueue_get_iterator() local
1125 iterator->flags = heap_object->flags; in spl_pqueue_get_iterator()