Searched refs:current (Results 1 - 25 of 94) sorted by relevance

1234

/PHP_5_6/ext/phar/phar/
H A Ddirectorytreeiterator.inc34 /** @return the current element prefixed with ASCII graphics
36 function current()
H A Dphar.inc42 function current()
/PHP_5_6/ext/spl/examples/
H A Dcallbackfilteriterator.inc33 private $current; /**< current value */
56 $this->current = parent::current();
66 return (bool) call_user_func($this->callback, &$this->current);
68 return (bool) call_user_func($this->callback, $this->current);
78 return (bool) call_user_func($this->callback, &$this->key, &$this->current);
80 return (bool) call_user_func($this->callback, $this->key, $this->current);
85 /** @return current key value */
91 /** @return current valu
[all...]
H A Ddirectoryfilterdots.inc30 /** @return whether the current entry is neither '.' nor '..'
37 /** @return the current entries path name
H A Ddirectorytreeiterator.inc34 /** @return the current element prefixed with ASCII graphics
36 function current()
H A Ddualiterator.inc69 /** @return current flags
91 /** @return current value depending on CURRENT_* flags
93 function current()
99 return array($this->lhs->current(), $this->rhs->current());
101 return $this->lhs->current();
103 return $this->rhs->current();
134 * current and key values or both are non valid.
139 ? $this->lhs->current() === $this->rhs->current()
[all...]
H A Dinigroups.inc23 * relation. Doing so both current() and key() methods must be overwritten.
40 * @return The current group.
42 function current() {
47 * @return The current group.
H A Drecursivedualiterator.inc41 * iterators current children.
54 * state and identical current and key values or both are non valid.
63 * state and equal current and key values or both are invalid.
H A Dregexfindfile.inc32 /** @return whether the current filename matches the regular expression.
36 return preg_match($this->getSearch(), $this->current());
/PHP_5_6/ext/spl/internal/
H A Dappenditerator.inc33 * If the current state is invalid but the appended iterator is valid
35 * call to $it->rewind(). Also if the current state is invalid the inner
43 /** @return the current inner Iterator
47 return $this->iterators->current();
62 /** @return whether the current element is valid
69 /** @return the current value if it is valid or \c NULL
71 function current()
77 return $this->iterators->valid() ? $this->getInnerIterator()->current() : NULL;
80 /** @return the current key if it is valid or \c NULL
100 return; /* found valid element in current inne
[all...]
H A Dcachingiterator.inc36 private $current;
72 $this->current = $this->it->current();
75 if (is_object($this->current)) {
76 $this->strValue = $this->current->__toString();
78 $this->strValue = (string)$this->current;
82 $this->current = NULL;
103 /** @return the current element
105 function current()
107 return $this->current;
[all...]
H A Dfilteriterator.inc23 * method accept(). Typically this invloves reading the current element or
51 * @return whether or not to expose the current element of the inner
88 * @return The current key
95 * @return The current value
97 function current() {
98 return $this->it->current();
H A Douteriterator.inc13 * @brief Interface to access the current inner iteraor of iterator wrappers
H A Drecursivearrayiterator.inc32 /** @return whether the current element has children
36 return is_array($this->current());
39 /** @return an iterator for the current elements children
45 if ($this->current() instanceof self)
47 return $this->current();
53 return $this->ref->newInstance($this->current());
H A Drecursiveiterator.inc20 /** @return whether the current element has children
24 /** @return the sub iterator for the current element
H A Drecursiveiteratoriterator.inc89 /** @return current key
97 /** @return current element
99 function current()
102 return $it->current();
156 /** @return Sub Iterator at given level or if unspecified the current sub
182 /** @return whether current sub iterators current element has children
190 /** @return current sub iterators current children
205 /** Called after current chil
[all...]
H A Drecursivetreeiterator.inc51 /** Prefix used right in front of the current element. */
68 /** @return string to place in front of current element
82 /** @return string presentation build for current element
86 return @(string)parent::current();
89 /** @return string to place after the current element
96 /** @return the current element prefixed and postfixed
98 function current()
102 return parent::current();
110 /** @return the current key prefixed and postfixed
H A Dregexiterator.inc23 used rather then the current value. */
29 const REPLACE = 4; /**< Mode: Replace the input key or current */
38 private $current; /**< the value used for current() */
61 * Match current or key against regular expression using mode, flags and
72 $this->current = parent::current();
73 /* note that we use $this->current, rather than calling parent::current() */
74 $subject = ($this->flags & self::USE_KEY) ? $this->key : $this->current;
[all...]
H A Dsplfileobject.inc60 /** increase current line number
124 * Flush current data
133 * @return current file position
224 * @return current set of flags
240 * @return current setting for max line
264 * Invalidate current line buffer and set line number to 0.
281 * @note Fill current line buffer if not done yet.
284 function current()
306 /** Invalidate current line buffer.
332 * Free the current lin
[all...]
/PHP_5_6/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c44 MAKE_STD_ZVAL( iterator->current );
45 resourcebundle_extract_value( iterator->current, rb TSRMLS_CC );
49 iterator->current = NULL;
59 if (iterator->current) {
60 zval_ptr_dtor( &iterator->current );
61 iterator->current = NULL;
96 if (!iterator->current) {
99 *data = &iterator->current;
108 if (!iterator->current) {
174 iterator->current
[all...]
H A Dresourcebundle_iterator.h29 zval *current; member in struct:__anon208
/PHP_5_6/Zend/
H A Dzend_dynamic_array.c27 unsigned int current; member in struct:_dynamic_array
35 da->current = 0;
45 if (da->current == da->allocated) {
49 return (void *)(da->array+(da->current++)*da->element_size);
54 return (void *)(da->array+(--(da->current))*da->element_size);
60 if (index >= da->current) {
H A Dzend_llist.c73 #define DEL_LLIST_ELEMENT(current, l) \
74 if ((current)->prev) {\
75 (current)->prev->next = (current)->next;\
77 (l)->head = (current)->next;\
79 if ((current)->next) {\
80 (current)->next->prev = (current)->prev;\
82 (l)->tail = (current)->prev;\
85 (l)->dtor((current)
93 zend_llist_element *current=l->head; local
107 zend_llist_element *current=l->head, *next; local
260 zend_llist_position *current = pos ? pos : &l->traverse_ptr; local
273 zend_llist_position *current = pos ? pos : &l->traverse_ptr; local
286 zend_llist_position *current = pos ? pos : &l->traverse_ptr; local
300 zend_llist_position *current = pos ? pos : &l->traverse_ptr; local
[all...]
/PHP_5_6/ext/standard/
H A Dbase64.c58 const unsigned char *current = str; local
73 *p++ = base64_table[current[0] >> 2];
74 *p++ = base64_table[((current[0] & 0x03) << 4) + (current[1] >> 4)];
75 *p++ = base64_table[((current[1] & 0x0f) << 2) + (current[2] >> 6)];
76 *p++ = base64_table[current[2] & 0x3f];
78 current += 3;
84 *p++ = base64_table[current[0] >> 2];
86 *p++ = base64_table[((current[
145 const unsigned char *current = str; local
[all...]
H A Dscanf.c588 zval **current; local
748 current = args[objIndex++];
749 refcount = Z_REFCOUNT_PP(current);
750 zval_dtor( *current );
751 ZVAL_LONG( *current, (long)(string - baseString) );
752 Z_SET_REFCOUNT_PP(current, refcount);
753 Z_SET_ISREF_PP(current);
872 current = args[objIndex++];
873 refcount = Z_REFCOUNT_PP(current);
874 zval_dtor( *current );
[all...]

Completed in 40 milliseconds

1234