Home
last modified time | relevance | path

Searched refs:SplPriorityQueue (Results 1 – 19 of 19) sorted by relevance

/php-src/ext/spl/tests/
H A Dbug78436.phpt2 Bug #78436: Missing addref in SplPriorityQueue EXTR_BOTH mode
6 $pq = new SplPriorityQueue();
13 object(SplPriorityQueue)#1 (3) {
14 ["flags":"SplPriorityQueue":private]=>
16 ["isCorrupted":"SplPriorityQueue":private]=>
18 ["heap":"SplPriorityQueue":private]=>
30 object(SplPriorityQueue)#1 (3) {
31 ["flags":"SplPriorityQueue":private]=>
33 ["isCorrupted":"SplPriorityQueue":private]=>
35 ["heap":"SplPriorityQueue":private]=>
H A Dpqueue_004.phpt2 SPL: SplPriorityQueue: var_dump
5 $pq = new SplPriorityQueue();
15 object(SplPriorityQueue)#1 (3) {
16 ["flags":"SplPriorityQueue":private]=>
18 ["isCorrupted":"SplPriorityQueue":private]=>
20 ["heap":"SplPriorityQueue":private]=>
H A Dpqueue_001.phpt2 SPL: SplPriorityQueue: std operations and extract flags
5 $pq = new SplPriorityQueue();
24 $pq1 = new SplPriorityQueue();
25 $pq1->setExtractFlags(SplPriorityQueue::EXTR_BOTH);
37 $pq2 = new SplPriorityQueue();
38 $pq2->setExtractFlags(SplPriorityQueue::EXTR_DATA);
50 $pq3 = new SplPriorityQueue();
51 $pq3->setExtractFlags(SplPriorityQueue::EXTR_PRIORITY);
H A Dspl_pq_top_basic.phpt2 SPL: SplPriorityQueue: top and extract flags
9 $priorityQueue = new SplPriorityQueue();
20 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_PRIORITY);
21 var_dump($priorityQueue->getExtractFlags() & SplPriorityQueue::EXTR_PRIORITY);
26 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_BOTH);
31 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_DATA);
H A Dspl_pqueue_gc.phpt2 Bug #78436: Broken GC for SplPriorityQueue
6 $pqueue = new SplPriorityQueue();
9 $pqueue2 = new SplPriorityQueue();
H A DSplPriorityQueue_setExtractFlags_zero.phpt2 Setting SplPriorityQueue extract flags to zero generates an exception
6 $queue = new SplPriorityQueue();
13 #0 %s(%d): SplPriorityQueue->setExtractFlags(0)
H A Dheap_009.phpt38 // 5. SplPriorityQueue empty
39 $heap = new SplPriorityQueue;
42 // 6. SplPriorityQueue non-empty
43 $heap = new SplPriorityQueue;
H A Dbug70573.phpt2 Bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
5 $q1 = new SplPriorityQueue();
H A Dpqueue_current_error.phpt2 SPL: SplPriorityQueue current on empty queue should give null
8 $h = new SplPriorityQueue();
H A Dpqueue_compare_basic.phpt2 SPL: SplPriorityQueue: test compare
8 $h = new SplPriorityQueue();
H A Dspl_pq_top_error_empty.phpt2 SPL: SplPriorityQueue: top exception on empty heap
9 $priorityQueue = new SplPriorityQueue();
H A Dpqueue_003.phpt2 SPL: SplPriorityQueue: iteration through methods
5 $h = new SplPriorityQueue();
H A Dspl_pq_top_error_corrupt.phpt2 SPL: SplPriorityQueue: top and extract flags
9 class myPriorityQueue extends SplPriorityQueue{
H A Dpqueue_002.phpt2 SPL: SplPriorityQueue: exceptions
5 class myPQueue extends SplPriorityQueue {
H A Dbug69264.phpt47 class MyPriorityQueue extends SplPriorityQueue {
/php-src/ext/spl/
H A Dspl_heap_arginfo.h87 ZEND_METHOD(SplPriorityQueue, compare);
88 ZEND_METHOD(SplPriorityQueue, insert);
89 ZEND_METHOD(SplPriorityQueue, setExtractFlags);
90 ZEND_METHOD(SplPriorityQueue, top);
91 ZEND_METHOD(SplPriorityQueue, extract);
95 ZEND_METHOD(SplPriorityQueue, current);
101 ZEND_METHOD(SplPriorityQueue, getExtractFlags);
102 ZEND_METHOD(SplPriorityQueue, __debugInfo);
112 ZEND_ME(SplPriorityQueue, compare, arginfo_class_SplPriorityQueue_compare, ZEND_ACC_PUBLIC)
113 ZEND_ME(SplPriorityQueue, insert, arginfo_class_SplPriorityQueue_insert, ZEND_ACC_PUBLIC)
[all …]
H A Dspl_heap.stub.php5 class SplPriorityQueue implements Iterator, Countable class
H A Dspl_heap.c666 PHP_METHOD(SplPriorityQueue, insert) in PHP_METHOD() argument
708 PHP_METHOD(SplPriorityQueue, extract) in PHP_METHOD() argument
734 PHP_METHOD(SplPriorityQueue, top) in PHP_METHOD() argument
762 PHP_METHOD(SplPriorityQueue, setExtractFlags) in PHP_METHOD() argument
784 PHP_METHOD(SplPriorityQueue, getExtractFlags) in PHP_METHOD() argument
831 PHP_METHOD(SplPriorityQueue, compare) in PHP_METHOD() argument
1041 PHP_METHOD(SplPriorityQueue, current) in PHP_METHOD() argument
1069 PHP_METHOD(SplPriorityQueue, __debugInfo) in PHP_METHOD() argument
H A Dphp_spl.c208 SPL_ADD_CLASS(SplPriorityQueue, z_list, sub, allow, ce_flags); \

Completed in 20 milliseconds