Lines Matching refs:priority
74 zval priority; member
114 zval_ptr_dtor(&pq_elem->priority); in spl_ptr_heap_pqueue_elem_dtor()
121 Z_TRY_ADDREF_P(&pq_elem->priority); in spl_ptr_heap_pqueue_elem_ctor()
147 Z_TRY_ADDREF(elem->priority); in spl_pqueue_extract_helper()
148 add_assoc_zval_ex(result, "priority", sizeof("priority") - 1, &elem->priority); in spl_pqueue_extract_helper()
158 ZVAL_COPY(result, &elem->priority); in spl_pqueue_extract_helper()
215 zval *a_priority_p = &a->priority; in spl_ptr_pqueue_elem_cmp()
216 zval *b_priority_p = &b->priority; in spl_ptr_pqueue_elem_cmp()
242 zend_long a = Z_LVAL(((spl_pqueue_elem*) x)->priority); in spl_ptr_pqueue_elem_cmp_long()
243 zend_long b = Z_LVAL(((spl_pqueue_elem*) y)->priority); in spl_ptr_pqueue_elem_cmp_long()
249 double a = Z_DVAL(((spl_pqueue_elem*) x)->priority); in spl_ptr_pqueue_elem_cmp_double()
250 double b = Z_DVAL(((spl_pqueue_elem*) y)->priority); in spl_ptr_pqueue_elem_cmp_double()
676 zval *data, *priority; in PHP_METHOD() local
682 Z_PARAM_ZVAL(priority); in PHP_METHOD()
692 ZVAL_COPY(&elem.priority, priority); in PHP_METHOD()
697 int type = Z_TYPE(elem.priority); in PHP_METHOD()