Home
last modified time | relevance | path

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

/php-src/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-src/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()
1972 if (parent_ce->num_interfaces) { in zend_do_inheritance_ex()
2131 if (iface->num_interfaces) { in do_interface_implementation()
2219 num_interfaces++; in zend_do_implement_interfaces()
2231 ce->num_interfaces = num_interfaces; in zend_do_implement_interfaces()
2240 for (; i < num_interfaces; i++) { in zend_do_implement_interfaces()
3516 if (ce->num_interfaces) { in zend_do_link_class()
3604 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.c2482 if (class_ce->num_interfaces) { in zend_class_implements_interface()
2484 for (i = 0; i < class_ce->num_interfaces; i++) { in zend_class_implements_interface()
2500 if (instance_ce->num_interfaces) { in instanceof_function_slow()
2502 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
H A Dzend_compile.c2093 ce->num_interfaces = 0; in zend_initialize_class_data()
8033 for (uint32_t i = 0; i < ce->num_interfaces; i++) { in add_stringable_interface()
8040 ce->num_interfaces++; in add_stringable_interface()
8042 erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in add_stringable_interface()
8044 ce->interface_names[ce->num_interfaces - 1].name = in add_stringable_interface()
8046 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface()
8965 ce->num_interfaces = list->children; in zend_compile_implements()
9132 if (!ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl()
9211 && !ce->num_interfaces && !ce->num_traits && !ce->num_hooked_prop_variance_checks in zend_compile_class_decl()
H A Dzend_API.c3526 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument
3530 va_start(interface_list, num_interfaces); in zend_class_implements()
3532 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-src/ext/opcache/
H A Dzend_persist_calc.c487 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry_calc()
488 ADD_SIZE(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_persist_class_entry_calc()
514 if (ce->num_interfaces) { in zend_persist_class_entry_calc()
518 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry_calc()
522 ADD_SIZE(sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry_calc()
H A Dzend_persist.c1045 if (ce->num_interfaces && !(ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry()
1048 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry()
1052 …names = zend_shared_memdup_free(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry()
1147 if (ce->num_interfaces) { in zend_update_parent_ce()
1150 …terfaces = zend_shared_memdup_free(ce->interfaces, sizeof(zend_class_entry*) * ce->num_interfaces); in zend_update_parent_ce()
1151 for (i = 0; i < ce->num_interfaces; i++) { in zend_update_parent_ce()
H A DZendAccelerator.c2258 for (i = 0; i < ce->num_traits + ce->num_interfaces; i++) { in zend_accel_inheritance_cache_find()
2341 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
2372 (sizeof(void*) * (proto->num_traits + proto->num_interfaces))); in zend_accel_inheritance_cache_add()
2410 (sizeof(void*) * (proto->num_traits + proto->num_interfaces)))); in zend_accel_inheritance_cache_add()
2412 for (i = 0; i < proto->num_traits + proto->num_interfaces; i++) { in zend_accel_inheritance_cache_add()
3745 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) {
3747 for (i = 0; i < ce->num_interfaces; i++) {
3787 if (ce->num_interfaces) {
3788 for (uint32_t i = 0; i < ce->num_interfaces; i++) {
H A Dzend_file_cache.c793 if (ce->num_interfaces) {
803 for (i = 0; i < ce->num_interfaces; i++) {
1655 if (ce->num_interfaces) {
1661 for (i = 0; i < ce->num_interfaces; i++) {
/php-src/
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-src/ext/reflection/
H A Dphp_reflection.c364 if (ce->num_interfaces) { in _class_string()
373 for (i = 1; i < ce->num_interfaces; ++i) { in _class_string()
5235 if (ce->num_interfaces) { in ZEND_METHOD()
5240 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
5261 if (!ce->num_interfaces) { in ZEND_METHOD()
5269 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
/php-src/ext/opcache/jit/
H A Dzend_jit.c718 if (ce->num_interfaces) { in zend_jit_class_may_be_modified()
722 for (i = 0; i < ce->num_interfaces; i++) { in zend_jit_class_may_be_modified()

Completed in 145 milliseconds