Searched refs:SplDoublyLinkedList (Results 1 – 25 of 61) sorted by relevance
123
/php-src/ext/spl/ |
H A D | spl_dllist_arginfo.h | 86 ZEND_METHOD(SplDoublyLinkedList, add); 87 ZEND_METHOD(SplDoublyLinkedList, pop); 88 ZEND_METHOD(SplDoublyLinkedList, shift); 89 ZEND_METHOD(SplDoublyLinkedList, push); 91 ZEND_METHOD(SplDoublyLinkedList, top); 92 ZEND_METHOD(SplDoublyLinkedList, bottom); 94 ZEND_METHOD(SplDoublyLinkedList, count); 104 ZEND_METHOD(SplDoublyLinkedList, key); 105 ZEND_METHOD(SplDoublyLinkedList, prev); 106 ZEND_METHOD(SplDoublyLinkedList, next); [all …]
|
/php-src/ext/spl/tests/ |
H A D | bug78456.phpt | 2 Bug #78456: Segfault when serializing SplDoublyLinkedList 6 $dllist = new SplDoublyLinkedList(); 13 string(82) "O:19:"SplDoublyLinkedList":3:{i:0;i:0;i:1;a:1:{i:0;O:8:"stdClass":0:{}}i:2;a:0:{}}" 14 object(SplDoublyLinkedList)#3 (2) { 15 ["flags":"SplDoublyLinkedList":private]=> 17 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | bug79151.phpt | 6 $a = new SplDoublyLinkedList(); 7 $a->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO | SplDoublyLinkedList::IT_MODE_DELETE); 14 $a = new SplDoublyLinkedList(); 15 $a->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_DELETE);
|
H A D | SplDoublyLinkedList_getIteratorMode.phpt | 2 SplDoublyLinkedList getIteratorMode 7 $list = new SplDoublyLinkedList(); 8 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_KEEP); 10 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
|
H A D | SplDoublyLinkedList_consistent_iterator_mode.phpt | 2 Iteration over SplDoublyLinkedList via 'foreach' does not change direction partway 6 $list = new SplDoublyLinkedList(); 11 /* SplDoublyLinkedList would previously check the iteration mode *each time* 16 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO); 18 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO); 24 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO); 26 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO);
|
H A D | SplDoublyLinkedList_serialization.phpt | 22 ["flags":"SplDoublyLinkedList":private]=> 24 ["dllist":"SplDoublyLinkedList":private]=> 34 ["flags":"SplDoublyLinkedList":private]=> 36 ["dllist":"SplDoublyLinkedList":private]=> 45 ["flags":"SplDoublyLinkedList":private]=> 47 ["dllist":"SplDoublyLinkedList":private]=> 57 ["flags":"SplDoublyLinkedList":private]=> 59 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublylinkedlist_offsetunset_first.phpt | 2 SPL: SplDoublyLinkedList : offsetUnset - first element 7 $list = new SplDoublyLinkedList(); 15 object(SplDoublyLinkedList)#1 (2) { 16 ["flags":"SplDoublyLinkedList":private]=> 18 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublylinkedlist_offsetunset_last.phpt | 2 SPL: SplDoublyLinkedList : offsetUnset - last element 7 $list = new SplDoublyLinkedList(); 15 object(SplDoublyLinkedList)#1 (2) { 16 ["flags":"SplDoublyLinkedList":private]=> 18 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | bug70169.phpt | 2 SPL: Bug #70169 Use After Free Vulnerability in unserialize() with SplDoublyLinkedList 6 $exploit = 'a:2:{i:0;C:19:"SplDoublyLinkedList":'.strlen($inner).':{'.$inner.'}i:1;R:3;}'; 19 object(SplDoublyLinkedList)#%d (2) { 20 ["flags":"SplDoublyLinkedList":private]=> 22 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | gh16464.phpt | 2 GH-16464: Use-after-free in SplDoublyLinkedList::offsetSet() when modifying list in destructor of o… 15 $list = new SplDoublyLinkedList; 23 object(SplDoublyLinkedList)#%d (2) { 24 ["flags":"SplDoublyLinkedList":private]=> 26 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublyLinkedList_debug-info.phpt | 2 Check that SplDoublyLinkedList returns debug info when print_r is used. 8 $dll = new SplDoublyLinkedList(); 19 SplDoublyLinkedList Object 21 [flags:SplDoublyLinkedList:private] => 0 22 [dllist:SplDoublyLinkedList:private] => Array
|
H A D | dllist_012.phpt | 5 $a = new SplDoublyLinkedList; 11 object(SplDoublyLinkedList)#%d (2) { 12 ["flags":"SplDoublyLinkedList":private]=> 14 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | dllist_003.phpt | 5 $dll = new SplDoublyLinkedList(); 10 $dll->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO); 16 $dll->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO); 21 $dll->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO | SplDoublyLinkedList::IT_MODE_DELETE);
|
H A D | dllist_008.phpt | 2 SPL: SplDoublyLinkedList with overridden count() 5 $obj = new SplDoublyLinkedList(); 9 class SplDoublyLinkedList2 extends SplDoublyLinkedList{
|
H A D | SplDoublyLinkedList_add_null_offset.phpt | 2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument 6 $dll = new SplDoublyLinkedList(); 13 Exception: SplDoublyLinkedList::add(): Argument #1 ($index) must be of type int, array given
|
H A D | unserialize.phpt | 6 $types = array('SplDoublyLinkedList', 'SplObjectStorage', 'ArrayObject'); 22 object(SplDoublyLinkedList)#%d (2) { 23 ["flags":"SplDoublyLinkedList":private]=> 25 ["dllist":"SplDoublyLinkedList":private]=>
|
H A D | SplDoublyLinkedList_add_invalid_offset.phpt | 2 Check that SplDoublyLinkedList::add throws an exception with an invalid offset argument 6 $dll = new SplDoublyLinkedList(); 13 Exception: SplDoublyLinkedList::add(): Argument #1 ($index) is out of range
|
H A D | SplDoublyLinkedList_lifoMode.phpt | 2 Check that SplDoublyLinkedList can traverse backwards 7 $list = new SplDoublyLinkedList(); 13 $list->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
|
H A D | SplDoublyLinkedList_offsetGet_param_array.phpt | 2 SplDoublyLinkedList::offsetGet() with 1st parameter passed as array. 8 $array = new SplDoublyLinkedList( ); 14 Fatal error: Uncaught TypeError: SplDoublyLinkedList::offsetGet(): Argument #1 ($index) must be of …
|
H A D | SplDoublyLinkedList_offsetGet_param_string.phpt | 2 SplDoublyLinkedList::offsetGet() with 1st parameter passed as string. 8 $array = new SplDoublyLinkedList( ); 14 Fatal error: Uncaught TypeError: SplDoublyLinkedList::offsetGet(): Argument #1 ($index) must be of …
|
H A D | bug73629.phpt | 2 Bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags) 7 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO); 12 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
|
H A D | SplDoublyLinkedList_offsetUnset_negative-parameter.phpt | 2 Check that SplDoublyLinkedList->offsetUnset() returns an error message when the offset is < 0. 8 $dll = new SplDoublyLinkedList(); 23 SplDoublyLinkedList::offsetUnset(): Argument #1 ($index) is out of range
|
H A D | bug80111.phpt | 2 Bug #80111: PHP SplDoublyLinkedList::offsetUnset UAF Sandbox Escape 21 //$v = new SplDoublyLinkedList(); 22 //$v->setIteratorMode(SplDoublyLinkedList::IT_MODE_DELETE); 42 $s = new SplDoublyLinkedList(); 54 # calls SplDoublyLinkedList::offsetUnset, which will remove the element from the
|
H A D | SplDoublyLinkedList_offsetUnset_parameter-larger-num-elements.phpt | 2 Check that SplDoublyLinkedList->offsetUnset() returns an error message when the offset is > element… 8 $dll = new SplDoublyLinkedList(); 23 SplDoublyLinkedList::offsetUnset(): Argument #1 ($index) is out of range
|
/php-src/Zend/tests/gc/ |
H A D | gc_043.phpt | 16 ["flags":"SplDoublyLinkedList":private]=> 18 ["dllist":"SplDoublyLinkedList":private]=> 33 ["flags":"SplDoublyLinkedList":private]=> 35 ["dllist":"SplDoublyLinkedList":private]=>
|
Completed in 17 milliseconds
123