/PHP-5.4/Zend/ |
H A D | zend_llist.c | 75 (current)->prev->next = (current)->next;\ 80 (current)->next->prev = (current)->prev;\ 96 while (current) { in zend_llist_del_element() 102 current = next; in zend_llist_del_element() 117 current = next; in zend_llist_destroy() 265 if (*current) { in zend_llist_get_first_ex() 278 if (*current) { in zend_llist_get_last_ex() 290 if (*current) { in zend_llist_get_next_ex() 291 *current = (*current)->next; in zend_llist_get_next_ex() 304 if (*current) { in zend_llist_get_prev_ex() [all …]
|
H A D | zend_dynamic_array.c | 27 unsigned int current; member 35 da->current = 0; in zend_dynamic_array_init() 45 if (da->current == da->allocated) { in zend_dynamic_array_push() 49 return (void *)(da->array+(da->current++)*da->element_size); in zend_dynamic_array_push() 54 return (void *)(da->array+(--(da->current))*da->element_size); in zend_dynamic_array_pop() 60 if (index >= da->current) { in zend_dynamic_array_get_element()
|
/PHP-5.4/ext/standard/ |
H A D | base64.c | 58 const unsigned char *current = str; in php_base64_encode() local 73 *p++ = base64_table[current[0] >> 2]; in php_base64_encode() 74 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode() 75 *p++ = base64_table[((current[1] & 0x0f) << 2) + (current[2] >> 6)]; in php_base64_encode() 76 *p++ = base64_table[current[2] & 0x3f]; in php_base64_encode() 78 current += 3; in php_base64_encode() 84 *p++ = base64_table[current[0] >> 2]; in php_base64_encode() 86 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)]; in php_base64_encode() 145 const unsigned char *current = str; in php_base64_decode_ex() local 157 while (isspace(*(++current))) { in php_base64_decode_ex() [all …]
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | current_error.phpt | 2 Test current() function : error conditions - Pass incorrect number of args 5 /* Prototype : mixed current(array $array_arg) 12 * Pass incorrect number of arguments to current() to test behaviour 15 echo "*** Testing current() : error conditions ***\n"; 18 echo "\n-- Testing current() function with Zero arguments --\n"; 19 var_dump( current() ); 21 //Test current with one more than the expected number of arguments 25 var_dump( current($array_arg, $extra_arg) ); 29 *** Testing current() : error conditions *** 31 -- Testing current() function with Zero arguments -- [all …]
|
H A D | current_basic.phpt | 2 Test current() function : basic functionality 5 /* Prototype : mixed current(array $array_arg) 11 * Test basic functionality of current() 14 echo "*** Testing current() : basic functionality ***\n"; 17 var_dump(current($array)); 19 var_dump(current($array)); 21 var_dump(current($array)); 23 var_dump(current($array)); 27 *** Testing current() : basic functionality ***
|
H A D | current_variation1.phpt | 2 Test current() function : usage variations - Pass different data types as $array_arg arg 5 /* Prototype : mixed current(array $array_arg) 12 * Pass different data types as $array_arg argument to current() to test behaviour 15 echo "*** Testing current() : usage variations ***\n"; 86 // loop through each element of $inputs to check the behavior of current() 90 var_dump( current($input) ); 98 *** Testing current() : usage variations *** 147 Warning: current() expects parameter 1 to be array, null given in %s on line %d 152 Warning: current() expects parameter 1 to be array, null given in %s on line %d 205 Warning: current() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | current_variation4.phpt | 2 Test current() function : usage variations - multi-dimensional arrays 5 /* Prototype : mixed current(array $array_arg) 15 echo "*** Testing current() : usage variations ***\n"; 20 var_dump(current($multi_array)); 24 var_dump(current($multi_array)); 28 var_dump(current($multi_array)); 33 var_dump(current($multi_array[1])); 41 var_dump(current($multi_array)); 44 var_dump(current($multi_array[3][3][3])); 46 var_dump(current($multi_array[3][3][3][1])); [all …]
|
H A D | current_variation5.phpt | 2 Test current() function : usage variations - reference & normal parameters 5 /* Prototype : mixed current(array $array_arg) 11 echo "*** Testing current() : usage variations ***\n"; 17 var_dump(current($a)); 23 var_dump(current($a)); 31 var_dump(current($a)); 37 var_dump(current($a)); 45 *** Testing current() : usage variations ***
|
/PHP-5.4/ext/spl/tests/ |
H A D | iterator_007.phpt | 18 function current() 21 return parent::current(); 47 function current() 50 return parent::current(); 104 ArrayIteratorEx::current 108 ArrayIteratorEx::current 112 ArrayIteratorEx::current 116 ArrayIteratorEx::current 129 ArrayIteratorEx::current 136 ArrayIteratorEx::current [all …]
|
H A D | iterator_001.phpt | 36 public function current() 100 NumericArrayIterator::current 103 NumericArrayIterator::current 107 NumericArrayIterator::current 110 NumericArrayIterator::current 114 NumericArrayIterator::current 117 NumericArrayIterator::current 125 NumericArrayIterator::current 128 NumericArrayIterator::current 132 NumericArrayIterator::current [all …]
|
H A D | iterator_008.phpt | 18 function current() 21 return parent::current(); 52 ArrayIteratorEx::current 57 ArrayIteratorEx::current 62 ArrayIteratorEx::current 69 ArrayIteratorEx::current 74 ArrayIteratorEx::current 79 ArrayIteratorEx::current 86 ArrayIteratorEx::current
|
H A D | fixedarray_019.phpt | 18 public function current() { 19 echo "current\n"; 20 return parent::current(); 37 current 42 current 47 current
|
H A D | dllist_010.phpt | 14 var_dump($dll->current()); 16 var_dump($dll->current()); 18 var_dump($dll->current()); 21 var_dump($dll->current()); 23 var_dump($dll->current());
|
H A D | iterator_004.phpt | 36 public function current() 79 print $l->current() . "\n"; 92 NumericArrayIterator::current 97 NumericArrayIterator::current 102 NumericArrayIterator::current 111 NumericArrayIterator::current 116 NumericArrayIterator::current 121 NumericArrayIterator::current 129 NumericArrayIterator::current 134 NumericArrayIterator::current [all …]
|
H A D | fixedarray_003.phpt | 7 public function current() { 8 echo "A::current\n"; 9 return parent::current(); 61 A::current 66 A::current 71 A::current 76 A::current 81 A::current
|
/PHP-5.4/ext/spl/internal/ |
H A D | regexiterator.inc | 38 private $current; /**< the value used for current() */ 72 $this->current = parent::current(); 73 /* note that we use $this->current, rather than calling parent::current() */ 81 $this->current = array(); 85 $this->current = array(); 89 $this->current = array(); 93 $this->current = array(); 101 $this->current = $result; 115 function current() 117 return $this->current; [all …]
|
/PHP-5.4/tests/classes/ |
H A D | iterators_001.phpt | 95 c_iter::current 99 c_iter::current 103 c_iter::current 111 c_iter::current 115 c_iter::current 119 c_iter::current 127 c_iter::current 131 c_iter::current 135 c_iter::current 139 c_iter::current [all …]
|
H A D | iterators_003.phpt | 24 function current() { 78 c_iter::current 82 c_iter::current 87 c_iter::current 91 c_iter::current 95 c_iter::current 99 c_iter::current 104 c_iter::current 108 c_iter::current 112 c_iter::current
|
/PHP-5.4/ext/dom/tests/ |
H A D | DOMNode_removeChild_basic.phpt | 30 function dumpcourse($current) { 31 …$title = ($current->nodeType != XML_TEXT_NODE && $current->hasAttribute('title')) ? $current->getA… 32 echo "Course: $title:";echo get_class($current), "\n"; 33 echo "~";var_dump($current->textContent); 45 $current = $children->item($index); 46 dumpcourse($current); 47 if ($current->nodeType == XML_TEXT_NODE) { 48 $noderemoved = $root->removeChild($current); 56 $current = $children->item($index); 57 dumpcourse($current);
|
/PHP-5.4/Zend/tests/ |
H A D | bug38808.phpt | 2 Bug #38808 ("maybe ref" issue for current() and others) 5 $current = "current"; 11 echo $current($a)."\n"; 13 echo $current($a)."\n";
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | ftruncate_variation2-win32.phpt | 2 Test ftruncate() function : usage variations - truncate file to current size 57 var_dump( filesize($filename) ); // current filesize 77 -- Testing ftruncate(): truncate file to size = current size -- 85 -- Testing ftruncate(): truncate file to size = current size -- 93 -- Testing ftruncate(): truncate file to size = current size -- 101 -- Testing ftruncate(): truncate file to size = current size -- 109 -- Testing ftruncate(): truncate file to size = current size -- 117 -- Testing ftruncate(): truncate file to size = current size -- 125 -- Testing ftruncate(): truncate file to size = current size -- 133 -- Testing ftruncate(): truncate file to size = current size -- [all …]
|
H A D | ftruncate_variation2.phpt | 2 Test ftruncate() function : usage variations - truncate file to current size 57 var_dump( filesize($filename) ); // current filesize 77 -- Testing ftruncate(): truncate file to size = current size -- 85 -- Testing ftruncate(): truncate file to size = current size -- 93 -- Testing ftruncate(): truncate file to size = current size -- 101 -- Testing ftruncate(): truncate file to size = current size -- 109 -- Testing ftruncate(): truncate file to size = current size -- 117 -- Testing ftruncate(): truncate file to size = current size -- 125 -- Testing ftruncate(): truncate file to size = current size -- 133 -- Testing ftruncate(): truncate file to size = current size -- [all …]
|
H A D | ftruncate_variation3.phpt | 54 /* truncate it to half of its current size */ 56 var_dump( filesize($filename) ); // current filesize 76 -- Testing ftruncate(): truncate file to half of its current size -- 84 -- Testing ftruncate(): truncate file to half of its current size -- 92 -- Testing ftruncate(): truncate file to half of its current size -- 100 -- Testing ftruncate(): truncate file to half of its current size -- 108 -- Testing ftruncate(): truncate file to half of its current size -- 116 -- Testing ftruncate(): truncate file to half of its current size -- 124 -- Testing ftruncate(): truncate file to half of its current size -- 132 -- Testing ftruncate(): truncate file to half of its current size -- [all …]
|
H A D | ftruncate_variation3-win32.phpt | 54 /* truncate it to half of its current size */ 56 var_dump( filesize($filename) ); // current filesize 76 -- Testing ftruncate(): truncate file to half of its current size -- 84 -- Testing ftruncate(): truncate file to half of its current size -- 92 -- Testing ftruncate(): truncate file to half of its current size -- 100 -- Testing ftruncate(): truncate file to half of its current size -- 108 -- Testing ftruncate(): truncate file to half of its current size -- 116 -- Testing ftruncate(): truncate file to half of its current size -- 124 -- Testing ftruncate(): truncate file to half of its current size -- 132 -- Testing ftruncate(): truncate file to half of its current size -- [all …]
|
/PHP-5.4/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.c | 44 MAKE_STD_ZVAL( iterator->current ); in resourcebundle_iterator_read() 45 resourcebundle_extract_value( iterator->current, rb TSRMLS_CC ); in resourcebundle_iterator_read() 49 iterator->current = NULL; in resourcebundle_iterator_read() 59 if (iterator->current) { in resourcebundle_iterator_invalidate() 60 zval_ptr_dtor( &iterator->current ); in resourcebundle_iterator_invalidate() 61 iterator->current = NULL; in resourcebundle_iterator_invalidate() 96 if (!iterator->current) { in resourcebundle_iterator_current() 99 *data = &iterator->current; in resourcebundle_iterator_current() 108 if (!iterator->current) { in resourcebundle_iterator_key() 177 iterator->current = NULL; in resourcebundle_get_iterator()
|