Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 585) sorted by relevance

12345678910>>...24

/PHP-5.5/Zend/
H A Dzend_llist.c75 (current)->prev->next = (current)->next;\
80 (current)->next->prev = (current)->prev;\
95 while (current) { in zend_llist_del_element()
100 current = current->next; in zend_llist_del_element()
115 current = next; in zend_llist_destroy()
263 if (*current) { in zend_llist_get_first_ex()
276 if (*current) { in zend_llist_get_last_ex()
288 if (*current) { in zend_llist_get_next_ex()
289 *current = (*current)->next; in zend_llist_get_next_ex()
302 if (*current) { in zend_llist_get_prev_ex()
[all …]
H A Dzend_dynamic_array.c27 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.5/ext/standard/
H A Dbase64.c58 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.5/ext/standard/tests/array/
H A Dcurrent_error.phpt2 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 Dcurrent_basic.phpt2 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 Dcurrent_variation1.phpt2 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 Dcurrent_variation4.phpt2 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 Dcurrent_variation5.phpt2 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.5/ext/spl/tests/
H A Diterator_007.phpt18 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 Diterator_001.phpt36 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 Diterator_008.phpt18 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 Dbug68557.phpt12 $path0 = $d->current()->getPathname();
15 $path1 = $d->current()->getPathname();
18 $path2 = $d->current()->getPathname();
21 var_dump($path0 === $d->current()->getPathname());
24 var_dump($path1 === $d->current()->getPathname());
27 var_dump($path2 === $d->current()->getPathname());
30 var_dump($path0 === $d->current()->getPathname());
H A Dfixedarray_019.phpt18 public function current() {
19 echo "current\n";
20 return parent::current();
37 current
42 current
47 current
H A Ddllist_010.phpt14 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 Diterator_004.phpt36 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 …]
/PHP-5.5/ext/spl/internal/
H A Dregexiterator.inc38 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.5/tests/classes/
H A Diterators_001.phpt95 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 Diterators_003.phpt24 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.5/ext/dom/tests/
H A DDOMNode_removeChild_basic.phpt30 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.5/Zend/tests/
H A Dbug38808.phpt2 Bug #38808 ("maybe ref" issue for current() and others)
5 $current = "current";
11 echo $current($a)."\n";
13 echo $current($a)."\n";
/PHP-5.5/ext/standard/tests/file/
H A Dftruncate_variation2.phpt2 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 Dftruncate_variation2-win32.phpt2 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 Dftruncate_variation3-win32.phpt54 /* 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 Dftruncate_variation3.phpt54 /* 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.5/ext/date/tests/
H A Ddate_time_immutable.phpt8 $current = "2012-12-27 16:24:08";
18 $v = date_create_immutable($current);
22 $v = date_create($current);
28 $v = date_create_immutable($current);
32 $v = date_create($current);
42 $v = date_create($current);
52 $v = date_create($current);
66 $v = date_create($current);
76 $v = date_create($current);
86 $v = date_create($current);
[all …]

Completed in 27 milliseconds

12345678910>>...24