Home
last modified time | relevance | path

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

/PHP-8.3/ext/spl/
H A Dspl_functions.c42 if (pce->num_interfaces) { in spl_add_interfaces()
44 for (uint32_t num_interfaces = 0; num_interfaces < pce->num_interfaces; num_interfaces++) { in spl_add_interfaces() local
45 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags); in spl_add_interfaces()
/PHP-8.3/Zend/
H A Dzend_inheritance.c322 if (ce1->num_interfaces) { in unlinked_instanceof()
1355 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces()
1378 while (ce_num < ce->num_interfaces) { in zend_do_inherit_interfaces()
1665 if (parent_ce->num_interfaces) { in zend_do_inheritance_ex()
1815 if (iface->num_interfaces) { in do_interface_implementation()
1903 num_interfaces++; in zend_do_implement_interfaces()
1915 ce->num_interfaces = num_interfaces; in zend_do_implement_interfaces()
1924 for (; i < num_interfaces; i++) { in zend_do_implement_interfaces()
3076 if (ce->num_interfaces) { in zend_do_link_class()
3160 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_opcode.c348 if (ce->num_interfaces > 0 && !(ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class()
351 for (i = 0; i < ce->num_interfaces; i++) { in destroy_zend_class()
414 if (ce->num_interfaces > 0 && (ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES)) { in destroy_zend_class()
504 if (ce->num_interfaces > 0) { in destroy_zend_class()
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.h205 uint32_t num_interfaces; member
H A Dzend_operators.c2451 if (class_ce->num_interfaces) { in zend_class_implements_interface()
2453 for (i = 0; i < class_ce->num_interfaces; i++) { in zend_class_implements_interface()
2469 if (instance_ce->num_interfaces) { in instanceof_function_slow()
2471 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
H A Dzend_compile.c2021 ce->num_interfaces = 0; in zend_initialize_class_data()
7419 for (uint32_t i = 0; i < ce->num_interfaces; i++) { in add_stringable_interface()
7426 ce->num_interfaces++; in add_stringable_interface()
7428 erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in add_stringable_interface()
7430 ce->interface_names[ce->num_interfaces - 1].name = in add_stringable_interface()
7432 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface()
8021 ce->num_interfaces = list->children; in zend_compile_implements()
8180 if (!ce->num_interfaces && !ce->num_traits in zend_compile_class_decl()
8249 && !ce->num_interfaces && !ce->num_traits in zend_compile_class_decl()
H A Dzend_API.c3361 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument
3365 va_start(interface_list, num_interfaces); in zend_class_implements()
3367 while (num_interfaces--) { in zend_class_implements()
H A Dzend_API.h307 class_container.num_interfaces = 0; \
390 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c477 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry_calc()
478 ADD_SIZE(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_persist_class_entry_calc()
504 if (ce->num_interfaces) { in zend_persist_class_entry_calc()
508 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry_calc()
512 ADD_SIZE(sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry_calc()
H A Dzend_persist.c1011 if (ce->num_interfaces && !(ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry()
1014 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry()
1018 …names = zend_shared_memdup_free(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry()
1113 if (ce->num_interfaces) { in zend_update_parent_ce()
1116 …terfaces = zend_shared_memdup_free(ce->interfaces, sizeof(zend_class_entry*) * ce->num_interfaces); in zend_update_parent_ce()
1117 for (i = 0; i < ce->num_interfaces; i++) { in zend_update_parent_ce()
H A DZendAccelerator.c2246 for (i = 0; i < ce->num_traits + ce->num_interfaces; i++) { in zend_accel_inheritance_cache_find()
2329 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
2360 (sizeof(void*) * (proto->num_traits + proto->num_interfaces))); in zend_accel_inheritance_cache_add()
2398 (sizeof(void*) * (proto->num_traits + proto->num_interfaces)))); in zend_accel_inheritance_cache_add()
2400 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
3664 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) {
3666 for (i = 0; i < ce->num_interfaces; i++) {
3706 if (ce->num_interfaces) {
3707 for (uint32_t i = 0; i < ce->num_interfaces; i++) {
H A Dzend_file_cache.c770 if (ce->num_interfaces) {
780 for (i = 0; i < ce->num_interfaces; i++) {
1607 if (ce->num_interfaces) {
1613 for (i = 0; i < ce->num_interfaces; i++) {
/PHP-8.3/
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.3/ext/reflection/
H A Dphp_reflection.c363 if (ce->num_interfaces) { in _class_string()
372 for (i = 1; i < ce->num_interfaces; ++i) { in _class_string()
5135 if (ce->num_interfaces) { in ZEND_METHOD()
5140 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
5163 if (!ce->num_interfaces) { in ZEND_METHOD()
5171 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()

Completed in 223 milliseconds