Searched refs:iterator_funcs (Results 1 – 12 of 12) sorted by relevance
/PHP-5.3/Zend/ |
H A D | zend_interfaces.c | 204 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval… in zend_user_it_get_current_key() 250 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL); in zend_user_it_move_forward() 288 iterator->it.funcs = ce->iterator_funcs.funcs; in zend_user_it_get_iterator() 372 class_type->iterator_funcs.zf_new_iterator = NULL; in zend_implement_aggregate() 397 class_type->iterator_funcs.zf_valid = NULL; in zend_implement_iterator() 398 class_type->iterator_funcs.zf_current = NULL; in zend_implement_iterator() 399 class_type->iterator_funcs.zf_key = NULL; in zend_implement_iterator() 400 class_type->iterator_funcs.zf_next = NULL; in zend_implement_iterator() 401 class_type->iterator_funcs.zf_rewind = NULL; in zend_implement_iterator() 402 if (!class_type->iterator_funcs.funcs) { in zend_implement_iterator() [all …]
|
H A D | zend.h | 448 zend_class_iterator_funcs iterator_funcs; member
|
H A D | zend_API.h | 202 class_container.iterator_funcs.funcs = NULL; \
|
H A D | zend_compile.c | 2433 if (!ce->iterator_funcs.funcs) { in do_inherit_parent_constructor() 2434 ce->iterator_funcs.funcs = ce->parent->iterator_funcs.funcs; in do_inherit_parent_constructor() 5056 ce->iterator_funcs.funcs = NULL; in zend_initialize_class_data()
|
/PHP-5.3/ext/spl/ |
H A D | spl_fixedarray.c | 252 if (!class_type->iterator_funcs.zf_current) { in spl_fixedarray_object_new_ex() 253 …pe->function_table, "rewind", sizeof("rewind"), (void **) &class_type->iterator_funcs.zf_rewind); in spl_fixedarray_object_new_ex() 254 …ype->function_table, "valid", sizeof("valid"), (void **) &class_type->iterator_funcs.zf_valid); in spl_fixedarray_object_new_ex() 255 …_type->function_table, "key", sizeof("key"), (void **) &class_type->iterator_funcs.zf_key); in spl_fixedarray_object_new_ex() 256 …e->function_table, "current", sizeof("current"), (void **) &class_type->iterator_funcs.zf_current); in spl_fixedarray_object_new_ex() 257 …type->function_table, "next", sizeof("next"), (void **) &class_type->iterator_funcs.zf_next); in spl_fixedarray_object_new_ex() 260 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) { in spl_fixedarray_object_new_ex() 263 if (class_type->iterator_funcs.zf_valid->common.scope != parent) { in spl_fixedarray_object_new_ex() 266 if (class_type->iterator_funcs.zf_key->common.scope != parent) { in spl_fixedarray_object_new_ex() 269 if (class_type->iterator_funcs.zf_current->common.scope != parent) { in spl_fixedarray_object_new_ex() [all …]
|
H A D | spl_array.c | 260 if (!class_type->iterator_funcs.zf_current) { in spl_array_object_new_ex() 261 …pe->function_table, "rewind", sizeof("rewind"), (void **) &class_type->iterator_funcs.zf_rewind); in spl_array_object_new_ex() 262 …ype->function_table, "valid", sizeof("valid"), (void **) &class_type->iterator_funcs.zf_valid); in spl_array_object_new_ex() 263 …_type->function_table, "key", sizeof("key"), (void **) &class_type->iterator_funcs.zf_key); in spl_array_object_new_ex() 264 …e->function_table, "current", sizeof("current"), (void **) &class_type->iterator_funcs.zf_current); in spl_array_object_new_ex() 265 …type->function_table, "next", sizeof("next"), (void **) &class_type->iterator_funcs.zf_next); in spl_array_object_new_ex() 268 …if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex() 269 …if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex() 270 …if (class_type->iterator_funcs.zf_key->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex() 271 …if (class_type->iterator_funcs.zf_current->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex() [all …]
|
H A D | spl_observer.c | 988 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_rewind, "rewi… in SPL_METHOD() 1011 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_next, "next",… in SPL_METHOD() 1041 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_valid, "valid… in SPL_METHOD() 1077 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_valid, "valid… in spl_multiple_iterator_get_all() 1088 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_current, "cur… in spl_multiple_iterator_get_all() 1090 …zend_call_method_with_0_params(&it, Z_OBJCE_P(it), &Z_OBJCE_P(it)->iterator_funcs.zf_key, "key… in spl_multiple_iterator_get_all()
|
H A D | spl_iterators.c | 427 iterator->intern.funcs = ce->iterator_funcs.funcs; in spl_recursive_it_get_iterator() 463 …th_0_params(&aggregate, Z_OBJCE_P(aggregate), &Z_OBJCE_P(aggregate)->iterator_funcs.zf_new_iterato… in spl_recursive_it_it_construct() 1272 class_type->iterator_funcs.zf_valid = NULL; in spl_dual_it_gets_implemented() 1273 class_type->iterator_funcs.zf_current = NULL; in spl_dual_it_gets_implemented() 1274 class_type->iterator_funcs.zf_key = NULL; in spl_dual_it_gets_implemented() 1275 class_type->iterator_funcs.zf_next = NULL; in spl_dual_it_gets_implemented() 1276 class_type->iterator_funcs.zf_rewind = NULL; in spl_dual_it_gets_implemented() 1277 if (!class_type->iterator_funcs.funcs) { in spl_dual_it_gets_implemented() 1278 class_type->iterator_funcs.funcs = &zend_interface_iterator_funcs_iterator; in spl_dual_it_gets_implemented() 1452 …zend_call_method_with_0_params(&zobject, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &… in spl_dual_it_construct() [all …]
|
/PHP-5.3/ext/simplexml/ |
H A D | sxe.c | 50 ce_SimpleXMLElement->iterator_funcs.funcs->rewind((zend_object_iterator*)&iter TSRMLS_CC); in PHP_METHOD() 123 ce_SimpleXMLElement->iterator_funcs.funcs->move_forward((zend_object_iterator*)&iter TSRMLS_CC); in PHP_METHOD()
|
H A D | simplexml.c | 2583 sxe_class_entry->iterator_funcs.funcs = &php_sxe_iterator_funcs; in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/sqlite/ |
H A D | sqlite.c | 1351 iterator->it.funcs = ce->iterator_funcs.funcs; in sqlite_get_iterator() 1382 sqlite_ce_ub_query->iterator_funcs.funcs = &sqlite_ub_query_iterator_funcs; in PHP_MINIT_FUNCTION() 1390 sqlite_ce_query->iterator_funcs.funcs = &sqlite_query_iterator_funcs; in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/date/ |
H A D | php_date.c | 2033 date_ce_period->iterator_funcs.funcs = &date_period_it_funcs; in date_register_classes()
|
Completed in 101 milliseconds