Searched refs:iter (Results 1 - 25 of 39) sorted by relevance

12

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dqueue.c521 void *Q_Iter_Del(queue *q, q_iter iter) argument
529 if(iter == NULL)
532 if(iter == (q_iter)q->head)
535 if(iter == (q_iter)q->tail)
538 n = ((node*)iter)->next;
539 p = ((node*)iter)->prev;
540 d = ((node*)iter)->data;
542 free(iter);
547 if (q->cursor == (node*)iter) {
H A Dxml_element.c422 xml_element_attr* iter = Q_Head(&el->attrs); local
423 while( iter ) {
425 xml_elem_writefunc(fptr, iter->key, data, 0);
428 xml_elem_writefunc(fptr, iter->val, data, 0);
431 iter = Q_Next(&el->attrs);
H A Dxml_to_dandarpc.c113 xml_element* iter = (xml_element*)Q_Head(&el->children); local
124 while( iter ) {
126 xml_element_to_DANDARPC_REQUEST_worker(request, xNext, iter);
128 iter = (xml_element*)Q_Next(&el->children);
132 xml_element* iter = (xml_element*)Q_Head(&el->children); local
133 while( iter ) {
134 xml_element_to_DANDARPC_REQUEST_worker(request, xCurrent, iter);
135 iter = (xml_element*)Q_Next(&el->children);
H A Dxml_to_xmlrpc.c86 xml_element* iter = (xml_element*)Q_Head(&fault_struct->children); local
88 while (iter) {
90 xml_element_to_XMLRPC_REQUEST_worker(request, current_val, xNextVal, iter);
92 iter = (xml_element*)Q_Next(&fault_struct->children);
100 xml_element* iter = (xml_element*)Q_Head(&el->children); local
103 while (iter) {
105 xml_element_to_XMLRPC_REQUEST_worker(request, current_val, xNextVal, iter);
107 iter = (xml_element*)Q_Next(&el->children);
111 xml_element* iter = (xml_element*)Q_Head(&el->children); local
114 while ( iter ) {
147 xml_element* iter; local
[all...]
H A Dxml_to_soap.c374 xml_element* iter = (xml_element*)Q_Head(&el->children); local
391 while ( iter && !XMLRPC_RequestGetError(request) ) {
397 xml_element_to_SOAP_REQUEST_worker(request, NULL, ai, xCurrent, iter, depth);
403 xml_element_to_SOAP_REQUEST_worker(request, xCurrent, ai, xNext, iter, depth);
406 iter = (xml_element*)Q_Next(&el->children);
643 xml_element* iter = (xml_element*)Q_Head(&el_serialized->children); local
644 while(iter) {
645 Q_PushTail(&rpc->children, iter);
646 iter = (xml_element*)Q_Next(&el_serialized->children);
/PHP_TRUNK/ext/intl/common/
H A Dcommon_enum.h66 U_CFUNC void zoi_with_current_dtor(zend_object_iterator *iter TSRMLS_DC);
67 U_CFUNC int zoi_with_current_valid(zend_object_iterator *iter TSRMLS_DC);
68 U_CFUNC void zoi_with_current_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC);
69 U_CFUNC void zoi_with_current_invalidate_current(zend_object_iterator *iter TSRMLS_DC);
H A Dcommon_enum.cpp36 void zoi_with_current_dtor(zend_object_iterator *iter TSRMLS_DC)
38 zoi_with_current *zoiwc = (zoi_with_current*)iter;
55 iter->funcs->invalidate_current(iter TSRMLS_CC);
56 zoiwc->destroy_it(iter TSRMLS_CC);
57 efree(iter);
61 U_CFUNC int zoi_with_current_valid(zend_object_iterator *iter TSRMLS_DC)
63 return ((zoi_with_current*)iter)->current != NULL ? SUCCESS : FAILURE;
66 U_CFUNC void zoi_with_current_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
68 *data = &((zoi_with_current*)iter)
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp39 inline BreakIterator *_breakiter_prolog(zend_object_iterator *iter TSRMLS_DC)
43 (const zval*)iter->data TSRMLS_CC);
53 static void _breakiterator_destroy_it(zend_object_iterator *iter TSRMLS_DC)
55 zval_ptr_dtor((zval**)&iter->data);
58 static void _breakiterator_move_forward(zend_object_iterator *iter TSRMLS_DC)
60 BreakIterator *biter = _breakiter_prolog(iter TSRMLS_CC);
61 zoi_with_current *zoi_iter = (zoi_with_current*)iter;
63 iter->funcs->invalidate_current(iter TSRMLS_CC);
76 static void _breakiterator_rewind(zend_object_iterator *iter TSRMLS_D
142 _breakiterator_parts_get_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c55 static void resourcebundle_iterator_invalidate( zend_object_iterator *iter TSRMLS_DC )
57 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
71 static void resourcebundle_iterator_dtor( zend_object_iterator *iter TSRMLS_DC )
73 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
76 resourcebundle_iterator_invalidate( iter TSRMLS_CC );
85 static int resourcebundle_iterator_has_more( zend_object_iterator *iter TSRMLS_DC )
87 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
93 static void resourcebundle_iterator_current( zend_object_iterator *iter, zval ***data TSRMLS_DC ) argument
95 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
104 static void resourcebundle_iterator_key( zend_object_iterator *iter, zva argument
[all...]
/PHP_TRUNK/ext/spl/internal/
H A Dmultipleiterator.inc60 /** @param $iter new Iterator to attach.
66 public function attachIterator(Iterator $iter, $inf = NULL)
75 foreach($this->iterators as $iter)
83 $this->iterators->attach($iter, $inf);
86 /** @param $iter attached Iterator that should be detached. */
87 public function detachIterator(Iterator $iter)
89 $this->iterators->detach($iter);
92 /** @param $iter Iterator to check
93 * @return whether $iter is attached or not
95 public function containsIterator(Iterator $iter)
[all...]
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c133 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
135 if (iter->value) {
136 zval_ptr_dtor(&iter->value);
137 iter->value = NULL;
145 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
146 zval *object = (zval*)iter->it.data;
150 efree(iter);
158 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
159 zval *object = (zval*)iter->it.data;
163 zend_call_method_with_0_params(&object, iter
177 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
200 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
220 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
231 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
[all...]
H A Dzend_iterators.c60 zend_object_iterator *iter = (zend_object_iterator*)object; local
61 iter->funcs->dtor(iter TSRMLS_CC);
64 ZEND_API zval *zend_iterator_wrap(zend_object_iterator *iter TSRMLS_DC)
70 Z_OBJ_HANDLE_P(wrapped) = zend_objects_store_put(iter, iter_wrapper_dtor, NULL, NULL TSRMLS_CC);
77 zval *array_ptr, zend_object_iterator **iter TSRMLS_DC)
82 *iter = (zend_object_iterator *)zend_object_store_get_object(array_ptr TSRMLS_CC);
H A Dzend_iterators.h33 void (*dtor)(zend_object_iterator *iter TSRMLS_DC);
36 int (*valid)(zend_object_iterator *iter TSRMLS_DC);
39 void (*get_current_data)(zend_object_iterator *iter, zval ***data TSRMLS_DC);
45 void (*get_current_key)(zend_object_iterator *iter, zval *key TSRMLS_DC);
48 void (*move_forward)(zend_object_iterator *iter TSRMLS_DC);
51 void (*rewind)(zend_object_iterator *iter TSRMLS_DC);
54 void (*invalidate_current)(zend_object_iterator *iter TSRMLS_DC);
82 ZEND_API enum zend_object_iterator_kind zend_iterator_unwrap(zval *array_ptr, zend_object_iterator **iter TSRMLS_DC);
85 ZEND_API zval *zend_iterator_wrap(zend_object_iterator *iter TSRMLS_DC);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_iterator.c33 zend_object_iterator iter; member in struct:php_com_iterator
44 static void com_iter_dtor(zend_object_iterator *iter TSRMLS_DC)
46 struct php_com_iterator *I = (struct php_com_iterator*)iter->data;
59 static int com_iter_valid(zend_object_iterator *iter TSRMLS_DC)
61 struct php_com_iterator *I = (struct php_com_iterator*)iter->data;
70 static void com_iter_get_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
72 struct php_com_iterator *I = (struct php_com_iterator*)iter->data;
77 static void com_iter_get_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
79 struct php_com_iterator *I = (struct php_com_iterator*)iter->data;
88 static int com_iter_move_forwards(zend_object_iterator *iter TSRMLS_D
[all...]
H A Dcom_saproxy.c53 zend_object_iterator iter; member in struct:__anon33
472 static void saproxy_iter_dtor(zend_object_iterator *iter TSRMLS_DC)
474 php_com_saproxy_iter *I = (php_com_saproxy_iter*)iter->data;
482 static int saproxy_iter_valid(zend_object_iterator *iter TSRMLS_DC)
484 php_com_saproxy_iter *I = (php_com_saproxy_iter*)iter->data;
489 static void saproxy_iter_get_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
491 php_com_saproxy_iter *I = (php_com_saproxy_iter*)iter->data;
522 static void saproxy_iter_get_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
524 php_com_saproxy_iter *I = (php_com_saproxy_iter*)iter->data;
533 static int saproxy_iter_move_forwards(zend_object_iterator *iter TSRMLS_D
[all...]
/PHP_TRUNK/ext/dom/
H A Ddom_iterators.c86 nodeIterator *iter; local
90 iter = emalloc(sizeof(nodeIterator));
91 iter->cur = 0;
92 iter->index = index;
93 iter->node = NULL;
94 xmlHashScan(ht, itemHashScanner, iter);
95 nodep = iter->node;
96 efree(iter);
106 notationIterator *iter; local
111 iter
152 php_dom_iterator_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
160 php_dom_iterator_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_result_iterator.c68 static void php_mysqli_result_iterator_dtor(zend_object_iterator *iter TSRMLS_DC)
70 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
85 static int php_mysqli_result_iterator_valid(zend_object_iterator *iter TSRMLS_DC)
87 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
95 static void php_mysqli_result_iterator_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
97 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
105 static void php_mysqli_result_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC)
108 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
126 static void php_mysqli_result_iterator_rewind(zend_object_iterator *iter TSRMLS_DC)
128 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
153 php_mysqli_result_iterator_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dphp_simplexml.h69 } iter; member in struct:__anon206
H A Dsxe.c43 php_sxe_iterator iter; local
49 iter.sxe = php_sxe_fetch_object(getThis() TSRMLS_CC);
50 ce_SimpleXMLElement->iterator_funcs.funcs->rewind((zend_object_iterator*)&iter TSRMLS_CC);
64 RETURN_BOOL(sxe->iter.data);
78 if (!sxe->iter.data) {
82 RETURN_ZVAL(sxe->iter.data, 1, 0);
98 if (!sxe->iter.data) {
102 intern = (php_sxe_object *)zend_object_store_get_object(sxe->iter.data TSRMLS_CC);
116 php_sxe_iterator iter; local
122 iter
[all...]
H A Dsimplexml.c59 static void php_sxe_iterator_dtor(zend_object_iterator *iter TSRMLS_DC);
60 static int php_sxe_iterator_valid(zend_object_iterator *iter TSRMLS_DC);
61 static void php_sxe_iterator_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC);
62 static void php_sxe_iterator_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC);
63 static void php_sxe_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC);
64 static void php_sxe_iterator_rewind(zend_object_iterator *iter TSRMLS_DC);
75 subnode->iter.type = itertype;
77 subnode->iter.name = xmlStrdup((xmlChar *)name);
80 subnode->iter.nsprefix = xmlStrdup(nsprefix);
81 subnode->iter
2371 php_sxe_iterator_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
2379 php_sxe_iterator_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_dllist.c929 static void spl_dllist_it_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
931 spl_dllist_it *iterator = (spl_dllist_it *)iter;
935 zend_user_it_invalidate_current(iter TSRMLS_CC);
994 static void spl_dllist_it_rewind(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
996 spl_dllist_it *iterator = (spl_dllist_it *)iter;
1004 static int spl_dllist_it_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
1006 spl_dllist_it *iterator = (spl_dllist_it *)iter;
1013 static void spl_dllist_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) /* {{{ */ argument
1015 spl_dllist_it *iterator = (spl_dllist_it *)iter;
1026 static void spl_dllist_it_get_current_key(zend_object_iterator *iter, zva argument
[all...]
H A Dspl_fixedarray.c887 static void spl_fixedarray_it_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
889 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter;
891 zend_user_it_invalidate_current(iter TSRMLS_CC);
898 static void spl_fixedarray_it_rewind(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
900 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter;
904 zend_user_it_rewind(iter TSRMLS_CC);
911 static int spl_fixedarray_it_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
913 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter;
917 return zend_user_it_valid(iter TSRMLS_CC);
928 static void spl_fixedarray_it_get_current_data(zend_object_iterator *iter, zva argument
951 spl_fixedarray_it_get_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
[all...]
H A Dspl_heap.c888 static void spl_heap_it_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
890 spl_heap_it *iterator = (spl_heap_it *)iter;
892 zend_user_it_invalidate_current(iter TSRMLS_CC);
899 static void spl_heap_it_rewind(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
905 static int spl_heap_it_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
907 spl_heap_it *iterator = (spl_heap_it *)iter;
913 static void spl_heap_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) /* {{{ */ argument
915 spl_heap_it *iterator = (spl_heap_it *)iter;
931 static void spl_pqueue_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) /* {{{ */ argument
933 spl_heap_it *iterator = (spl_heap_it *)iter;
952 spl_heap_it_get_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
[all...]
H A Dspl_iterators.c144 spl_recursive_it_iterator *iter = (spl_recursive_it_iterator*)_iter; local
156 zval_ptr_dtor(&iter->zobject);
157 efree(iter);
179 static int spl_recursive_it_valid(zend_object_iterator *iter TSRMLS_DC)
181 spl_recursive_it_object *object = (spl_recursive_it_object*)iter->data;
183 return spl_recursive_it_valid_ex(object, ((spl_recursive_it_iterator*)iter)->zobject TSRMLS_CC);
186 static void spl_recursive_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
188 spl_recursive_it_object *object = (spl_recursive_it_object*)iter->data;
194 static void spl_recursive_it_get_current_key(zend_object_iterator *iter, zval *key TSRMLS_DC) argument
196 spl_recursive_it_object *object = (spl_recursive_it_object*)iter
3433 zend_object_iterator *iter; local
3472 spl_iterator_to_array_apply(zend_object_iterator *iter, void *puser TSRMLS_DC) argument
3499 spl_iterator_to_values_apply(zend_object_iterator *iter, void *puser TSRMLS_DC) argument
3535 spl_iterator_count_apply(zend_object_iterator *iter, void *puser TSRMLS_DC) argument
3567 spl_iterator_func_apply(zend_object_iterator *iter, void *puser TSRMLS_DC) argument
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_opcode.c31 int iter = 0; local
33 while (iter < ops->last_literal) {
34 if (literal == &ops->literals[iter]) {
35 return iter;
37 iter++;

Completed in 26 milliseconds

12