Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 5 of 5) sorted by relevance

/ext-ds/src/ds/
H A Dds_priority_queue.h8 zval priority; member
36 #define DS_PRIORITY_QUEUE_FOREACH(queue, value, priority) \ argument
40 priority = &__node->priority;
67 void ds_priority_queue_push(ds_priority_queue_t *queue, zval *value, zval *priority);
H A Dds_priority_queue.c28 if (compare_function(&retval, &a->priority, &b->priority) == SUCCESS) { in ds_priority_queue_node_compare()
91 void ds_priority_queue_push(ds_priority_queue_t *queue, zval *value, zval *priority) in ds_priority_queue_push() argument
114 if (compare_function(&comparison, priority, &nodes[parent].priority) == SUCCESS) { in ds_priority_queue_push()
132 ZVAL_COPY(&node->priority, priority); in ds_priority_queue_push()
172 DTOR_AND_UNDEF(&(nodes[0].priority)); in ds_priority_queue_pop()
208 ZVAL_COPY(&dst->priority, &src->priority); in copy_nodes()
284 DTOR_AND_UNDEF(&pos->priority); in ds_priority_queue_clear()
/ext-ds/src/php/objects/
H A Dphp_priority_queue.c55 php_var_serialize(&buf, &pos->priority, &serialize_data); in php_ds_priority_queue_serialize()
82 zval *value, *priority; in php_ds_priority_queue_unserialize() local
89 priority = var_tmp_var(&unserialize_data); in php_ds_priority_queue_unserialize()
91 if ( ! php_var_unserialize(priority, &pos, end, &unserialize_data)) { in php_ds_priority_queue_unserialize()
95 ds_priority_queue_push(queue, value, priority); in php_ds_priority_queue_unserialize()
/ext-ds/src/php/classes/
H A Dphp_priority_queue_ce.h14 ARGINFO_ZVAL_ZVAL( PriorityQueue_push, value, priority);
H A Dphp_priority_queue_ce.c42 PARSE_ZVAL_ZVAL(value, priority); in METHOD()
43 ds_priority_queue_push(THIS_DS_PRIORITY_QUEUE(), value, priority); in METHOD()

Completed in 10 milliseconds