Searched defs:iter (Results 1 - 25 of 29) sorted by relevance

12

/PHP_5_3/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_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);
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...]
/PHP_5_3/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 int resourcebundle_iterator_key( zend_object_iterator *iter, cha argument
[all...]
/PHP_5_3/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 int com_iter_get_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, argument
80 struct php_com_iterator *I = (struct php_com_iterator*)iter->data;
89 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:__anon14
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 int saproxy_iter_get_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, argument
525 php_com_saproxy_iter *I = (php_com_saproxy_iter*)iter->data;
534 static int saproxy_iter_move_forwards(zend_object_iterator *iter TSRMLS_D
[all...]
/PHP_5_3/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, char **str_key, uint *str_key_len, ulong *int_key TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/oci8/
H A Doci8_statement.c336 sb4 php_oci_define_callback(dvoid *ctx, OCIDefine *define, ub4 iter, dvoid **bufpp, ub4 **alenpp, ub1 *piecep, dvoid **indpp, ub2 **rcpp) argument
1194 ub4 iter, /* 0-based execute iteration value */
1245 ub4 iter, /* 0-based execute iteration value */
1191 php_oci_bind_in_callback( dvoid *ictxp, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 *alenp, ub1 *piecep, dvoid **indpp) argument
1242 php_oci_bind_out_callback( dvoid *octxp, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 **alenpp, ub1 *piecep, dvoid **indpp, ub2 **rcodepp) argument
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c2481 zend_object_iterator iter; member in struct:php_pdo_iterator
2487 static void pdo_stmt_iter_dtor(zend_object_iterator *iter TSRMLS_DC)
2489 struct php_pdo_iterator *I = (struct php_pdo_iterator*)iter->data;
2502 static int pdo_stmt_iter_valid(zend_object_iterator *iter TSRMLS_DC)
2504 struct php_pdo_iterator *I = (struct php_pdo_iterator*)iter->data;
2509 static void pdo_stmt_iter_get_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
2511 struct php_pdo_iterator *I = (struct php_pdo_iterator*)iter->data;
2522 static int pdo_stmt_iter_get_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, argument
2525 struct php_pdo_iterator *I = (struct php_pdo_iterator*)iter->data;
2534 static void pdo_stmt_iter_move_forwards(zend_object_iterator *iter TSRMLS_D
[all...]
/PHP_5_3/ext/pdo_oci/
H A Doci_statement.c187 static sb4 oci_bind_input_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 *alenp, ub1 *piecep, dvoid **indpp) /* {{{ */ argument
219 static sb4 oci_bind_output_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 **alenpp, ub1 *piecep, dvoid **indpp, ub2 **rcodepp) /* {{{ */ argument
474 static sb4 oci_define_callback(dvoid *octxp, OCIDefine *define, ub4 iter, dvoid **bufpp, argument
/PHP_5_3/ext/simplexml/
H A Dphp_simplexml.h69 } iter; member in struct:__anon172
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 int php_sxe_iterator_current_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, ulong *int_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
2329 php_sxe_iterator_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
2337 php_sxe_iterator_current_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, ulong *int_key TSRMLS_DC) argument
[all...]
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...]
/PHP_5_3/ext/soap/
H A Dphp_encoding.c2330 zend_object_iterator *iter; local
2342 iter = ce->get_iterator(ce, data, 0 TSRMLS_CC);
2348 if (iter->funcs->rewind) {
2349 iter->funcs->rewind(iter TSRMLS_CC);
2355 while (iter->funcs->valid(iter TSRMLS_CC) == SUCCESS) {
2360 iter->funcs->get_current_data(iter, &val TSRMLS_CC);
2364 if (iter
[all...]
/PHP_5_3/ext/spl/
H A Dspl_heap.c885 static void spl_heap_it_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
887 spl_heap_it *iterator = (spl_heap_it *)iter;
889 zend_user_it_invalidate_current(iter TSRMLS_CC);
896 static void spl_heap_it_rewind(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
902 static int spl_heap_it_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
904 spl_heap_it *iterator = (spl_heap_it *)iter;
910 static void spl_heap_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) /* {{{ */ argument
912 spl_heap_it *iterator = (spl_heap_it *)iter;
928 static void spl_pqueue_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) /* {{{ */ argument
930 spl_heap_it *iterator = (spl_heap_it *)iter;
949 spl_heap_it_get_current_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, ulong *int_key TSRMLS_DC) argument
[all...]
H A Dspl_dllist.c924 static void spl_dllist_it_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
926 spl_dllist_it *iterator = (spl_dllist_it *)iter;
930 zend_user_it_invalidate_current(iter TSRMLS_CC);
989 static void spl_dllist_it_rewind(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
991 spl_dllist_it *iterator = (spl_dllist_it *)iter;
999 static int spl_dllist_it_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
1001 spl_dllist_it *iterator = (spl_dllist_it *)iter;
1008 static void spl_dllist_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) /* {{{ */ argument
1010 spl_dllist_it *iterator = (spl_dllist_it *)iter;
1021 static int spl_dllist_it_get_current_key(zend_object_iterator *iter, cha argument
[all...]
H A Dspl_array.c930 static void spl_array_it_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
932 spl_array_it *iterator = (spl_array_it *)iter;
934 zend_user_it_invalidate_current(iter TSRMLS_CC);
941 static int spl_array_it_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
943 spl_array_it *iterator = (spl_array_it *)iter;
948 return zend_user_it_valid(iter TSRMLS_CC);
965 static void spl_array_it_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) /* {{{ */ argument
967 spl_array_it *iterator = (spl_array_it *)iter;
972 zend_user_it_get_current_data(iter, data TSRMLS_CC);
981 static int spl_array_it_get_current_key(zend_object_iterator *iter, cha argument
[all...]
H A Dspl_fixedarray.c838 static void spl_fixedarray_it_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
840 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter;
842 zend_user_it_invalidate_current(iter TSRMLS_CC);
849 static void spl_fixedarray_it_rewind(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
851 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter;
855 zend_user_it_rewind(iter TSRMLS_CC);
862 static int spl_fixedarray_it_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
864 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter;
868 return zend_user_it_valid(iter TSRMLS_CC);
879 static void spl_fixedarray_it_get_current_data(zend_object_iterator *iter, zva argument
902 spl_fixedarray_it_get_current_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, ulong *int_key TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/sqlite/
H A Dsqlite.c1243 void sqlite_iterator_dtor(zend_object_iterator *iter TSRMLS_DC)
1245 zval *object = (zval*)((sqlite_object_iterator*)iter)->it.data;
1247 if (((sqlite_object_iterator*)iter)->value) {
1248 zval_ptr_dtor(&((sqlite_object_iterator*)iter)->value);
1249 ((sqlite_object_iterator*)iter)->value = NULL;
1252 efree(iter);
1255 void sqlite_iterator_rewind(zend_object_iterator *iter TSRMLS_DC)
1257 struct php_sqlite_result *res = ((sqlite_object_iterator*)iter)->res;
1259 if (((sqlite_object_iterator*)iter)->value) {
1260 zval_ptr_dtor(&((sqlite_object_iterator*)iter)
1279 sqlite_iterator_get_current_data(zend_object_iterator *iter, zval ***data TSRMLS_DC) argument
1291 sqlite_iterator_get_current_key(zend_object_iterator *iter, char **str_key, uint *str_key_len, ulong *int_key TSRMLS_DC) argument
[all...]
/PHP_5_3/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
246 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
257 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_vm_def.h3580 zend_object_iterator *iter = NULL; variable
3645 iter = ce->get_iterator(ce, array_ptr, opline->extended_value & ZEND_FE_RESET_REFERENCE TSRMLS_CC);
3647 if (iter && !EG(exception)) {
3648 array_ptr = zend_iterator_wrap(iter TSRMLS_CC);
3666 if (iter) {
3667 iter->index = 0;
3668 if (iter->funcs->rewind) {
3669 iter->funcs->rewind(iter TSRMLS_CC);
3681 is_empty = iter
3741 zend_object_iterator *iter = NULL; variable
[all...]
/PHP_5_3/ext/phar/
H A Dphar_object.c1432 static int phar_build(zend_object_iterator *iter, void *puser TSRMLS_DC) /* {{{ */ argument
1450 iter->funcs->get_current_data(iter, &value TSRMLS_CC);
1478 if (iter->funcs->get_current_key) {
1479 key_type = iter->funcs->get_current_key(iter, &key, &str_key_len, &int_key TSRMLS_CC);
1641 if (iter->funcs->get_current_key) {
1642 key_type = iter->funcs->get_current_key(iter, &key, &str_key_len, &int_key TSRMLS_CC);
1813 zval arg, arg2, *iter, *iterite local
[all...]

Completed in 63 milliseconds

12