Home
last modified time | relevance | path

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

/PHP-7.1/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.1/Zend/
H A Dzend_interfaces.c308 for (i = 0; i < class_type->num_interfaces; i++) { in zend_implement_traversable()
334 if (class_type->num_interfaces) { in zend_implement_aggregate()
335 for (i = 0; i < class_type->num_interfaces; i++) { in zend_implement_aggregate()
H A Dzend_inheritance.c743 uint32_t i, ce_num, if_num = iface->num_interfaces; in zend_do_inherit_interfaces()
749 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces()
766 ce->interfaces[ce->num_interfaces++] = entry; in zend_do_inherit_interfaces()
771 while (ce_num < ce->num_interfaces) { in zend_do_inherit_interfaces()
1020 uint32_t current_iface_num = ce->num_interfaces; in zend_do_implement_interface()
1021 uint32_t parent_iface_num = ce->parent ? ce->parent->num_interfaces : 0; in zend_do_implement_interface()
1026 for (i = 0; i < ce->num_interfaces; i++) { in zend_do_implement_interface()
1028 …e->interfaces + i, ce->interfaces + i + 1, sizeof(zend_class_entry*) * (--ce->num_interfaces - i)); in zend_do_implement_interface()
1044 if (ce->num_interfaces >= current_iface_num) { in zend_do_implement_interface()
1051 ce->interfaces[ce->num_interfaces++] = iface; in zend_do_implement_interface()
H A Dzend.h158 uint32_t num_interfaces; member
H A Dzend_opcode.c301 if (ce->num_interfaces > 0 && ce->interfaces) { in destroy_zend_class()
346 if (ce->num_interfaces > 0) { in destroy_zend_class()
H A Dzend_API.h217 class_container.num_interfaces = 0; \
294 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
H A Dzend_operators.c2193 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_interface_only()
2218 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_interface()
H A Dzend_API.c2684 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument
2688 va_start(interface_list, num_interfaces); in zend_class_implements()
2690 while (num_interfaces--) { in zend_class_implements()
H A Dzend_compile.c1789 ce->num_interfaces = 0; in zend_initialize_class_data()
5902 CG(active_class_entry)->num_interfaces++; in zend_compile_implements()
6109 if (ce->num_interfaces > 0) { in zend_compile_class_decl()
6111 ce->num_interfaces = 0; in zend_compile_class_decl()
/PHP-7.1/
H A D.gdbinit422 if $ce->num_interfaces != 0
425 while $tmp < $ce->num_interfaces
428 if $tmp < $ce->num_interfaces
439 if $ce->num_interfaces != 0
/PHP-7.1/ext/opcache/
H A Dzend_accelerator_util_funcs.c384 if (ce->num_interfaces) { in zend_class_copy_ctor()
385 ce->interfaces = emalloc(sizeof(zend_class_entry *) * ce->num_interfaces); in zend_class_copy_ctor()
386 memset(ce->interfaces, 0, sizeof(zend_class_entry *) * ce->num_interfaces); in zend_class_copy_ctor()
H A Dzend_persist.c720 if (ce->num_interfaces && ce->interfaces) { in zend_persist_class_entry()
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c450 if (ce->num_interfaces) { in _class_string()
458 for (i = 1; i < ce->num_interfaces; ++i) { in _class_string()
5031 if (ce->num_interfaces) { in ZEND_METHOD()
5034 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
5059 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()

Completed in 108 milliseconds