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

12

/PHP_TRUNK/ext/gd/libgd/
H A Dwebpimg.c412 vpx_codec_iter_t iter = NULL; local
413 vpx_image_t* const img = vpx_codec_get_frame(&dec, &iter);
721 vpx_codec_iter_t iter = NULL; local
722 const vpx_codec_cx_pkt_t* pkt = vpx_codec_get_cx_data(&enc, &iter);
/PHP_TRUNK/ext/intl/common/
H A Dcommon_enum.cpp36 void zoi_with_current_dtor(zend_object_iterator *iter) argument
38 zoi_with_current *zoiwc = (zoi_with_current*)iter;
55 iter->funcs->invalidate_current(iter);
56 zoiwc->destroy_it(iter);
60 U_CFUNC int zoi_with_current_valid(zend_object_iterator *iter) argument
62 return Z_ISUNDEF(((zoi_with_current*)iter)->current)? FAILURE : SUCCESS;
65 U_CFUNC zval *zoi_with_current_get_current_data(zend_object_iterator *iter) argument
67 return &((zoi_with_current*)iter)->current;
70 U_CFUNC void zoi_with_current_invalidate_current(zend_object_iterator *iter) argument
79 string_enum_current_move_forward(zend_object_iterator *iter) argument
102 string_enum_rewind(zend_object_iterator *iter) argument
125 string_enum_destroy_it(zend_object_iterator *iter) argument
[all...]
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c54 static void resourcebundle_iterator_invalidate( zend_object_iterator *iter )
56 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
70 static void resourcebundle_iterator_dtor( zend_object_iterator *iter )
72 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
75 resourcebundle_iterator_invalidate( iter );
82 static int resourcebundle_iterator_has_more( zend_object_iterator *iter )
84 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
90 static zval *resourcebundle_iterator_current( zend_object_iterator *iter )
92 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter;
101 static void resourcebundle_iterator_key( zend_object_iterator *iter, zva argument
[all...]
/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_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_TRUNK/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
218 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
478 static sb4 oci_define_callback(dvoid *octxp, OCIDefine *define, ub4 iter, dvoid **bufpp, argument
/PHP_TRUNK/Zend/
H A Dzend_iterators.c68 zend_object_iterator *iter = (zend_object_iterator*)object; local
69 iter->funcs->dtor(iter);
76 ZEND_API void zend_iterator_init(zend_object_iterator *iter) argument
78 zend_object_std_init(&iter->std, &zend_iterator_class_entry);
79 iter->std.handlers = &iterator_object_handlers;
82 ZEND_API void zend_iterator_dtor(zend_object_iterator *iter) argument
84 if (--GC_REFCOUNT(iter) > 0) {
88 zend_objects_store_del(&iter->std);
H A Dzend_interfaces.c140 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
142 if (!Z_ISUNDEF(iter->value)) {
143 zval_ptr_dtor(&iter->value);
144 ZVAL_UNDEF(&iter->value);
152 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
153 zval *object = &iter->it.data;
164 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
165 zval *object = &iter->it.data;
169 zend_call_method_with_0_params(object, iter->ce, &iter
183 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
206 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
227 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
238 zend_user_iterator *iter = (zend_user_iterator*)_iter; local
[all...]
/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) argument
46 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data);
56 static int com_iter_valid(zend_object_iterator *iter) argument
58 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data);
67 static zval* com_iter_get_data(zend_object_iterator *iter) argument
69 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data);
74 static void com_iter_get_key(zend_object_iterator *iter, zval *key) argument
76 struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data);
85 static int com_iter_move_forwards(zend_object_iterator *iter) argument
[all...]
H A Dcom_saproxy.c54 zend_object_iterator iter; member in struct:__anon34
459 static void saproxy_iter_dtor(zend_object_iterator *iter) argument
461 php_com_saproxy_iter *I = (php_com_saproxy_iter*)Z_PTR(iter->data);
469 static int saproxy_iter_valid(zend_object_iterator *iter) argument
471 php_com_saproxy_iter *I = (php_com_saproxy_iter*)Z_PTR(iter->data);
476 static zval* saproxy_iter_get_data(zend_object_iterator *iter) argument
478 php_com_saproxy_iter *I = (php_com_saproxy_iter*)Z_PTR(iter->data);
506 static void saproxy_iter_get_key(zend_object_iterator *iter, zval *key) argument
508 php_com_saproxy_iter *I = (php_com_saproxy_iter*)Z_PTR(iter->data);
517 static int saproxy_iter_move_forwards(zend_object_iterator *iter) argument
[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
125 php_dom_iterator_dtor(zend_object_iterator *iter) argument
134 php_dom_iterator_valid(zend_object_iterator *iter) argument
147 php_dom_iterator_current_data(zend_object_iterator *iter) argument
155 php_dom_iterator_current_key(zend_object_iterator *iter, zval *key) argument
175 php_dom_iterator_move_forward(zend_object_iterator *iter) argument
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_result_iterator.c67 static void php_mysqli_result_iterator_dtor(zend_object_iterator *iter) argument
69 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*)iter;
78 static int php_mysqli_result_iterator_valid(zend_object_iterator *iter) argument
80 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
87 static zval *php_mysqli_result_iterator_current_data(zend_object_iterator *iter) argument
89 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
96 static void php_mysqli_result_iterator_move_forward(zend_object_iterator *iter) argument
99 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
114 static void php_mysqli_result_iterator_rewind(zend_object_iterator *iter) argument
116 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter;
140 php_mysqli_result_iterator_current_key(zend_object_iterator *iter, zval *key) argument
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp39 inline BreakIterator *_breakiter_prolog(zend_object_iterator *iter) argument
42 bio = Z_INTL_BREAKITERATOR_P(&iter->data);
52 static void _breakiterator_destroy_it(zend_object_iterator *iter) argument
54 zval_ptr_dtor(&iter->data);
57 static void _breakiterator_move_forward(zend_object_iterator *iter) argument
59 BreakIterator *biter = _breakiter_prolog(iter);
60 zoi_with_current *zoi_iter = (zoi_with_current*)iter;
62 iter->funcs->invalidate_current(iter);
74 static void _breakiterator_rewind(zend_object_iterator *iter) argument
132 _breakiterator_parts_destroy_it(zend_object_iterator *iter) argument
137 _breakiterator_parts_get_current_key(zend_object_iterator *iter, zval *key) argument
143 _breakiterator_parts_move_forward(zend_object_iterator *iter) argument
186 _breakiterator_parts_rewind(zend_object_iterator *iter) argument
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c905 static void spl_heap_it_dtor(zend_object_iterator *iter) /* {{{ */ argument
907 spl_heap_it *iterator = (spl_heap_it *)iter;
909 zend_user_it_invalidate_current(iter);
914 static void spl_heap_it_rewind(zend_object_iterator *iter) /* {{{ */ argument
920 static int spl_heap_it_valid(zend_object_iterator *iter) /* {{{ */ argument
922 return ((Z_SPLHEAP_P(&iter->data))->heap->count != 0 ? SUCCESS : FAILURE);
926 static zval *spl_heap_it_get_current_data(zend_object_iterator *iter) /* {{{ */ argument
928 spl_heap_object *object = Z_SPLHEAP_P(&iter->data);
944 static zval *spl_pqueue_it_get_current_data(zend_object_iterator *iter) /* {{{ */ argument
946 spl_heap_object *object = Z_SPLHEAP_P(&iter
966 spl_heap_it_get_current_key(zend_object_iterator *iter, zval *key) argument
974 spl_heap_it_move_forward(zend_object_iterator *iter) argument
[all...]
H A Dspl_directory.c1609 static void spl_filesystem_dir_it_dtor(zend_object_iterator *iter);
1610 static int spl_filesystem_dir_it_valid(zend_object_iterator *iter);
1611 static zval *spl_filesystem_dir_it_current_data(zend_object_iterator *iter);
1612 static void spl_filesystem_dir_it_current_key(zend_object_iterator *iter, zval *key);
1613 static void spl_filesystem_dir_it_move_forward(zend_object_iterator *iter);
1614 static void spl_filesystem_dir_it_rewind(zend_object_iterator *iter);
1649 static void spl_filesystem_dir_it_dtor(zend_object_iterator *iter) argument
1651 spl_filesystem_iterator *iterator = (spl_filesystem_iterator *)iter;
1666 static int spl_filesystem_dir_it_valid(zend_object_iterator *iter) argument
1668 spl_filesystem_object *object = spl_filesystem_iterator_to_object((spl_filesystem_iterator *)iter);
1675 spl_filesystem_dir_it_current_data(zend_object_iterator *iter) argument
1684 spl_filesystem_dir_it_current_key(zend_object_iterator *iter, zval *key) argument
1693 spl_filesystem_dir_it_move_forward(zend_object_iterator *iter) argument
1707 spl_filesystem_dir_it_rewind(zend_object_iterator *iter) argument
1720 spl_filesystem_tree_it_dtor(zend_object_iterator *iter) argument
1737 spl_filesystem_tree_it_current_data(zend_object_iterator *iter) argument
1761 spl_filesystem_tree_it_current_key(zend_object_iterator *iter, zval *key) argument
1775 spl_filesystem_tree_it_move_forward(zend_object_iterator *iter) argument
1796 spl_filesystem_tree_it_rewind(zend_object_iterator *iter) argument
[all...]
H A Dspl_dllist.c908 static void spl_dllist_it_dtor(zend_object_iterator *iter) /* {{{ */ argument
910 spl_dllist_it *iterator = (spl_dllist_it *)iter;
914 zend_user_it_invalidate_current(iter);
969 static void spl_dllist_it_rewind(zend_object_iterator *iter) /* {{{ */ argument
971 spl_dllist_it *iterator = (spl_dllist_it *)iter;
972 spl_dllist_object *object = Z_SPLDLLIST_P(&iter->data);
979 static int spl_dllist_it_valid(zend_object_iterator *iter) /* {{{ */ argument
981 spl_dllist_it *iterator = (spl_dllist_it *)iter;
988 static zval *spl_dllist_it_get_current_data(zend_object_iterator *iter) /* {{{ */ argument
990 spl_dllist_it *iterator = (spl_dllist_it *)iter;
1001 spl_dllist_it_get_current_key(zend_object_iterator *iter, zval *key) argument
1009 spl_dllist_it_move_forward(zend_object_iterator *iter) argument
[all...]
H A Dspl_iterators.c173 spl_recursive_it_iterator *iter = (spl_recursive_it_iterator*)_iter; local
174 spl_recursive_it_object *object = Z_SPLRECURSIVE_IT_P(&iter->intern.data);
185 zval_ptr_dtor(&iter->intern.data);
210 static int spl_recursive_it_valid(zend_object_iterator *iter) argument
212 return spl_recursive_it_valid_ex(Z_SPLRECURSIVE_IT_P(&iter->data), &iter->data);
215 static zval *spl_recursive_it_get_current_data(zend_object_iterator *iter) argument
217 spl_recursive_it_object *object = Z_SPLRECURSIVE_IT_P(&iter->data);
223 static void spl_recursive_it_get_current_key(zend_object_iterator *iter, zval *key) argument
225 spl_recursive_it_object *object = Z_SPLRECURSIVE_IT_P(&iter
429 spl_recursive_it_move_forward(zend_object_iterator *iter) argument
434 spl_recursive_it_rewind(zend_object_iterator *iter) argument
3491 zend_object_iterator *iter; local
3530 spl_iterator_to_array_apply(zend_object_iterator *iter, void *puser) argument
3557 spl_iterator_to_values_apply(zend_object_iterator *iter, void *puser) argument
3595 spl_iterator_count_apply(zend_object_iterator *iter, void *puser) argument
3627 spl_iterator_func_apply(zend_object_iterator *iter, void *puser) argument
[all...]
H A Dspl_fixedarray.c858 static void spl_fixedarray_it_dtor(zend_object_iterator *iter) /* {{{ */ argument
860 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter;
862 zend_user_it_invalidate_current(iter);
867 static void spl_fixedarray_it_rewind(zend_object_iterator *iter) /* {{{ */ argument
869 spl_fixedarray_object *object = Z_SPLFIXEDARRAY_P(&iter->data);
872 zend_user_it_rewind(iter);
879 static int spl_fixedarray_it_valid(zend_object_iterator *iter) /* {{{ */ argument
881 spl_fixedarray_object *object = Z_SPLFIXEDARRAY_P(&iter->data);
884 return zend_user_it_valid(iter);
895 static zval *spl_fixedarray_it_get_current_data(zend_object_iterator *iter) /* {{{ */ argument
918 spl_fixedarray_it_get_current_key(zend_object_iterator *iter, zval *key) argument
930 spl_fixedarray_it_move_forward(zend_object_iterator *iter) 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++;
/PHP_TRUNK/ext/oci8/
H A Doci8_statement.c410 sb4 php_oci_define_callback(dvoid *ctx, OCIDefine *define, ub4 iter, dvoid **bufpp, ub4 **alenpp, ub1 *piecep, dvoid **indpp, ub2 **rcpp) argument
1305 ub4 iter, /* 0-based execute iteration value */
1356 ub4 iter, /* 0-based execute iteration value */
1302 php_oci_bind_in_callback( dvoid *ictxp, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 *alenp, ub1 *piecep, dvoid **indpp) argument
1353 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_TRUNK/ext/simplexml/
H A Dphp_simplexml.h71 } iter; member in struct:__anon49
H A Dsxe.c44 php_sxe_iterator iter; local
50 iter.sxe = Z_SXEOBJ_P(getThis());
51 ce_SimpleXMLElement->iterator_funcs.funcs->rewind((zend_object_iterator*)&iter);
65 RETURN_BOOL(!Z_ISUNDEF(sxe->iter.data));
79 if (Z_ISUNDEF(sxe->iter.data)) {
83 RETURN_ZVAL(&sxe->iter.data, 1, 0);
99 if (Z_ISUNDEF(sxe->iter.data)) {
103 intern = Z_SXEOBJ_P(&sxe->iter.data);
117 php_sxe_iterator iter; local
123 iter
[all...]

Completed in 64 milliseconds

12