Home
last modified time | relevance | path

Searched refs:instance_ce (Results 1 – 4 of 4) sorted by relevance

/PHP-8.3/ext/intl/dateformat/
H A Ddateformat_format_object.cpp150 zend_class_entry *instance_ce = Z_OBJCE_P(object); in PHP_FUNCTION() local
151 if (instanceof_function(instance_ce, Calendar_ce_ptr)) { in PHP_FUNCTION()
169 } else if (instanceof_function(instance_ce, php_date_get_interface_ce())) { in PHP_FUNCTION()
/PHP-8.3/Zend/
H A Dzend_builtin_functions.c622 zend_class_entry *instance_ce; in is_a_impl() local
641 instance_ce = zend_lookup_class(Z_STR_P(obj)); in is_a_impl()
642 if (!instance_ce) { in is_a_impl()
646 instance_ce = Z_OBJCE_P(obj); in is_a_impl()
651 if (!only_subclass && EXPECTED(zend_string_equals(instance_ce->name, class_name))) { in is_a_impl()
658 if (only_subclass && instance_ce == ce) { in is_a_impl()
661 retval = instanceof_function(instance_ce, ce); in is_a_impl()
H A Dzend_operators.h81 ZEND_API bool ZEND_FASTCALL instanceof_function_slow(const zend_class_entry *instance_ce, const zen…
84 const zend_class_entry *instance_ce, const zend_class_entry *ce) { in instanceof_function() argument
85 return instance_ce == ce || instanceof_function_slow(instance_ce, ce); in instanceof_function()
H A Dzend_operators.c2463 ZEND_API bool ZEND_FASTCALL instanceof_function_slow(const zend_class_entry *instance_ce, const zen… in instanceof_function_slow() argument
2465 ZEND_ASSERT(instance_ce != ce && "Should have been checked already"); in instanceof_function_slow()
2469 if (instance_ce->num_interfaces) { in instanceof_function_slow()
2470 ZEND_ASSERT(instance_ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES); in instanceof_function_slow()
2471 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
2472 if (instance_ce->interfaces[i] == ce) { in instanceof_function_slow()
2480 instance_ce = instance_ce->parent; in instanceof_function_slow()
2481 if (instance_ce == ce) { in instanceof_function_slow()
2484 if (instance_ce == NULL) { in instanceof_function_slow()

Completed in 30 milliseconds