Home
last modified time | relevance | path

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

/PHP-8.4/ext/spl/
H A Dspl_functions.c41 if (pce->num_interfaces) { in spl_add_interfaces()
43 for (uint32_t num_interfaces = 0; num_interfaces < pce->num_interfaces; num_interfaces++) { in spl_add_interfaces() local
44 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags); in spl_add_interfaces()
/PHP-8.4/Zend/
H A Dzend_inheritance.c337 if (ce1->num_interfaces) { in unlinked_instanceof()
1546 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces()
1569 while (ce_num < ce->num_interfaces) { in zend_do_inherit_interfaces()
1946 if (parent_ce->num_interfaces) { in zend_do_inheritance_ex()
2105 if (iface->num_interfaces) { in do_interface_implementation()
2193 num_interfaces++; in zend_do_implement_interfaces()
2205 ce->num_interfaces = num_interfaces; in zend_do_implement_interfaces()
2214 for (; i < num_interfaces; i++) { in zend_do_implement_interfaces()
3478 if (ce->num_interfaces) { in zend_do_link_class()
3562 if (ce->num_interfaces) { in zend_do_link_class()
[all …]
H A Dzend_enum.c174 uint32_t num_interfaces_before = ce->num_interfaces; in zend_enum_add_interfaces()
176 ce->num_interfaces++; in zend_enum_add_interfaces()
178 ce->num_interfaces++; in zend_enum_add_interfaces()
183 ce->interface_names = erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_enum_add_interfaces()
H A Dzend_interfaces.c269 if (class_type->num_interfaces) { in zend_implement_traversable()
271 for (uint32_t i = 0; i < class_type->num_interfaces; i++) { in zend_implement_traversable()
H A Dzend_opcode.c354 if (ce->num_interfaces > 0 && !(ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class()
357 for (i = 0; i < ce->num_interfaces; i++) { in destroy_zend_class()
427 if (ce->num_interfaces > 0 && (ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class()
521 if (ce->num_interfaces > 0) { in destroy_zend_class()
H A Dzend.h205 uint32_t num_interfaces; member
H A Dzend_operators.c2463 if (class_ce->num_interfaces) { in zend_class_implements_interface()
2465 for (i = 0; i < class_ce->num_interfaces; i++) { in zend_class_implements_interface()
2481 if (instance_ce->num_interfaces) { in instanceof_function_slow()
2483 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
H A Dzend_compile.c2098 ce->num_interfaces = 0; in zend_initialize_class_data()
8037 for (uint32_t i = 0; i < ce->num_interfaces; i++) { in add_stringable_interface()
8044 ce->num_interfaces++; in add_stringable_interface()
8046 erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in add_stringable_interface()
8048 ce->interface_names[ce->num_interfaces - 1].name = in add_stringable_interface()
8050 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface()
8939 ce->num_interfaces = list->children; in zend_compile_implements()
9106 if (!ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl()
9181 && !ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl()
H A Dzend_API.c3519 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument
3523 va_start(interface_list, num_interfaces); in zend_class_implements()
3525 while (num_interfaces--) { in zend_class_implements()
H A Dzend_API.h311 class_container.num_interfaces = 0; \
395 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
/PHP-8.4/ext/opcache/
H A Dzend_persist_calc.c484 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry_calc()
485 ADD_SIZE(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_persist_class_entry_calc()
511 if (ce->num_interfaces) { in zend_persist_class_entry_calc()
515 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry_calc()
519 ADD_SIZE(sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry_calc()
H A Dzend_persist.c1041 if (ce->num_interfaces && !(ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry()
1044 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry()
1048 …names = zend_shared_memdup_free(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry()
1143 if (ce->num_interfaces) { in zend_update_parent_ce()
1146 …terfaces = zend_shared_memdup_free(ce->interfaces, sizeof(zend_class_entry*) * ce->num_interfaces); in zend_update_parent_ce()
1147 for (i = 0; i < ce->num_interfaces; i++) { in zend_update_parent_ce()
H A DZendAccelerator.c2257 for (i = 0; i < ce->num_traits + ce->num_interfaces; i++) { in zend_accel_inheritance_cache_find()
2340 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
2371 (sizeof(void*) * (proto->num_traits + proto->num_interfaces))); in zend_accel_inheritance_cache_add()
2409 (sizeof(void*) * (proto->num_traits + proto->num_interfaces)))); in zend_accel_inheritance_cache_add()
2411 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
3693 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) {
3695 for (i = 0; i < ce->num_interfaces; i++) {
3735 if (ce->num_interfaces) {
3736 for (uint32_t i = 0; i < ce->num_interfaces; i++) {
H A Dzend_file_cache.c790 if (ce->num_interfaces) {
800 for (i = 0; i < ce->num_interfaces; i++) {
1645 if (ce->num_interfaces) {
1651 for (i = 0; i < ce->num_interfaces; i++) {
/PHP-8.4/
H A D.gdbinit430 if $ce->num_interfaces != 0
433 while $tmp < $ce->num_interfaces
436 if $tmp < $ce->num_interfaces
447 if $ce->num_interfaces != 0
/PHP-8.4/ext/reflection/
H A Dphp_reflection.c371 if (ce->num_interfaces) { in _class_string()
380 for (i = 1; i < ce->num_interfaces; ++i) { in _class_string()
5427 if (ce->num_interfaces) { in ZEND_METHOD()
5432 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
5455 if (!ce->num_interfaces) { in ZEND_METHOD()
5463 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()

Completed in 139 milliseconds