Home
last modified time | relevance | path

Searched refs:num_interfaces (Results 1 – 13 of 13) sorted by relevance

/PHP-7.0/ext/spl/
H A Dspl_functions.c97 uint32_t num_interfaces; in spl_add_interfaces() local
99 for (num_interfaces = 0; num_interfaces < pce->num_interfaces; num_interfaces++) { in spl_add_interfaces()
100 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags); in spl_add_interfaces()
/PHP-7.0/Zend/
H A Dzend_inheritance.c705 uint32_t i, ce_num, if_num = iface->num_interfaces; in zend_do_inherit_interfaces()
711 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces()
728 ce->interfaces[ce->num_interfaces++] = entry; in zend_do_inherit_interfaces()
733 while (ce_num < ce->num_interfaces) { in zend_do_inherit_interfaces()
973 uint32_t current_iface_num = ce->num_interfaces; in zend_do_implement_interface()
974 uint32_t parent_iface_num = ce->parent ? ce->parent->num_interfaces : 0; in zend_do_implement_interface()
979 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_implement_interface()
981 …e->interfaces + i, ce->interfaces + i + 1, sizeof(zend_class_entry*) * (--ce->num_interfaces - i)); in zend_do_implement_interface()
997 if (ce->num_interfaces >= current_iface_num) { in zend_do_implement_interface()
1004 ce->interfaces[ce->num_interfaces++] = iface; in zend_do_implement_interface()
H A Dzend_interfaces.c314 for (i = 0; i < class_type->num_interfaces; i++) { in zend_implement_traversable()
340 if (class_type->num_interfaces) { in zend_implement_aggregate()
341 for (i = 0; i < class_type->num_interfaces; i++) { in zend_implement_aggregate()
H A Dzend.h173 uint32_t num_interfaces; member
H A Dzend_opcode.c291 if (ce->num_interfaces > 0 && ce->interfaces) { in destroy_zend_class()
326 if (ce->num_interfaces > 0) { in destroy_zend_class()
H A Dzend_API.h215 class_container.num_interfaces = 0; \
292 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
H A Dzend_operators.c2178 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_interface_only()
2203 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_interface()
H A Dzend_API.c2688 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument
2692 va_start(interface_list, num_interfaces); in zend_class_implements()
2694 while (num_interfaces--) { in zend_class_implements()
H A Dzend_compile.c1674 ce->num_interfaces = 0; in zend_initialize_class_data()
5240 CG(active_class_entry)->num_interfaces++; in zend_compile_implements()
5449 if (ce->num_interfaces > 0) { in zend_compile_class_decl()
5451 ce->num_interfaces = 0; in zend_compile_class_decl()
/PHP-7.0/
H A D.gdbinit420 if $ce->num_interfaces != 0
423 while $tmp < $ce->num_interfaces
426 if $tmp < $ce->num_interfaces
437 if $ce->num_interfaces != 0
/PHP-7.0/ext/opcache/
H A Dzend_accelerator_util_funcs.c434 if (ce->num_interfaces) { in zend_class_copy_ctor()
435 ce->interfaces = emalloc(sizeof(zend_class_entry *) * ce->num_interfaces); in zend_class_copy_ctor()
436 memset(ce->interfaces, 0, sizeof(zend_class_entry *) * ce->num_interfaces); in zend_class_copy_ctor()
H A Dzend_persist.c778 if (ce->num_interfaces && ce->interfaces) { in zend_persist_class_entry()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c445 if (ce->num_interfaces) { in _class_string()
453 for (i = 1; i < ce->num_interfaces; ++i) { in _class_string()
4808 if (ce->num_interfaces) { in ZEND_METHOD()
4811 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
4836 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()

Completed in 119 milliseconds