Home
last modified time | relevance | path

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

/PHP-7.4/ext/spl/
H A Dspl_functions.c95 uint32_t num_interfaces; in spl_add_interfaces() local
97 if (pce->num_interfaces) { in spl_add_interfaces()
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.4/Zend/
H A Dzend_inheritance.c286 if (ce1->num_interfaces) { in unlinked_instanceof()
1025 ce_num = ce->num_interfaces; in zend_do_inherit_interfaces()
1048 while (ce_num < ce->num_interfaces) { in zend_do_inherit_interfaces()
1150 if (parent_ce->num_interfaces) { in zend_do_inheritance_ex()
1398 if (iface->num_interfaces) { in do_interface_implementation()
1465 for (j = 0; j < num_interfaces; j++) { in zend_do_implement_interfaces()
1482 interfaces[num_interfaces] = iface; in zend_do_implement_interfaces()
1483 num_interfaces++; in zend_do_implement_interfaces()
1493 ce->num_interfaces = num_interfaces; in zend_do_implement_interfaces()
1498 for (; i < ce->num_interfaces; i++) { in zend_do_implement_interfaces()
[all …]
H A Dzend_interfaces.c294 if (class_type->num_interfaces) { in zend_implement_traversable()
296 for (i = 0; i < class_type->num_interfaces; i++) { in zend_implement_traversable()
324 if (class_type->num_interfaces) { in zend_implement_aggregate()
326 for (i = 0; i < class_type->num_interfaces; i++) { in zend_implement_aggregate()
H A Dzend_opcode.c327 if (ce->num_interfaces > 0) { in destroy_zend_class()
331 for (i = 0; i < ce->num_interfaces; i++) { in destroy_zend_class()
400 if (ce->num_interfaces > 0) { in destroy_zend_class()
H A Dzend.h161 uint32_t num_interfaces; member
H A Dzend_API.h216 class_container.num_interfaces = 0; \
285 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...);
H A Dzend_operators.c2331 if (instance_ce->num_interfaces) { in instanceof_interface()
2333 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_interface()
H A Dzend_API.c2738 ZEND_API void zend_class_implements(zend_class_entry *class_entry, int num_interfaces, ...) /* {{{ … in zend_class_implements() argument
2742 va_start(interface_list, num_interfaces); in zend_class_implements()
2744 while (num_interfaces--) { in zend_class_implements()
H A Dzend_compile.c1688 ce->num_interfaces = 0; in zend_initialize_class_data()
6372 ce->num_interfaces = list->children; in zend_compile_implements()
/PHP-7.4/ext/opcache/
H A Dzend_persist_calc.c423 if (ce->num_interfaces) { in zend_persist_class_entry_calc()
427 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry_calc()
431 ADD_SIZE(sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry_calc()
433 ADD_SIZE(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_persist_class_entry_calc()
H A Dzend_accelerator_util_funcs.c325 if (ce->num_interfaces) { in zend_class_copy_ctor()
329 interface_names = emalloc(sizeof(zend_class_name) * ce->num_interfaces); in zend_class_copy_ctor()
330 memcpy(interface_names, ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_class_copy_ctor()
333 zend_class_entry **interfaces = emalloc(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_class_copy_ctor()
336 for (i = 0; i < ce->num_interfaces; i++) { in zend_class_copy_ctor()
H A Dzend_persist.c810 if (ce->num_interfaces && !(ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry()
813 for (i = 0; i < ce->num_interfaces; i++) { in zend_persist_class_entry()
817 …names = zend_shared_memdup_free(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_persist_class_entry()
904 if (ce->num_interfaces) { in zend_update_parent_ce()
907 …terfaces = zend_shared_memdup_free(ce->interfaces, sizeof(zend_class_entry*) * ce->num_interfaces); in zend_update_parent_ce()
908 for (i = 0; i < ce->num_interfaces; i++) { in zend_update_parent_ce()
H A Dzend_file_cache.c696 if (ce->num_interfaces) {
706 for (i = 0; i < ce->num_interfaces; i++) {
1394 if (ce->num_interfaces) {
1400 for (i = 0; i < ce->num_interfaces; i++) {
H A DZendAccelerator.c3384 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { in preload_sort_classes()
3386 for (i = 0; i < ce->num_interfaces; i++) { in preload_sort_classes()
3461 if (ce->num_interfaces) { in get_unlinked_dependency()
3463 for (i = 0; i < ce->num_interfaces; i++) { in get_unlinked_dependency()
3621 if (ce->num_interfaces) { in preload_is_method_maybe_override()
3623 for (i = 0; i < ce->num_interfaces; i++) { in preload_is_method_maybe_override()
3712 if (ce->num_interfaces) { in preload_link()
3714 for (i = 0; i < ce->num_interfaces; i++) { in preload_link()
3759 && !ce->num_interfaces in preload_link()
/PHP-7.4/
H A D.gdbinit432 if $ce->num_interfaces != 0
435 while $tmp < $ce->num_interfaces
438 if $tmp < $ce->num_interfaces
449 if $ce->num_interfaces != 0
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c344 if (ce->num_interfaces) { in _class_string()
353 for (i = 1; i < ce->num_interfaces; ++i) { in _class_string()
4858 if (ce->num_interfaces) { in ZEND_METHOD()
4863 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()
4887 if (!ce->num_interfaces) { in ZEND_METHOD()
4895 for (i=0; i < ce->num_interfaces; i++) { in ZEND_METHOD()

Completed in 110 milliseconds