Home
last modified time | relevance | path

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

/php-src/ext/intl/dateformat/
H A Ddateformat_format_object.cpp152 zend_class_entry *instance_ce = Z_OBJCE_P(object); in PHP_FUNCTION() local
153 if (instanceof_function(instance_ce, Calendar_ce_ptr)) { in PHP_FUNCTION()
171 } else if (instanceof_function(instance_ce, php_date_get_interface_ce())) { in PHP_FUNCTION()
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c901 static void xml_reader_from_uri(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *instance_ce, bool u… in xml_reader_from_uri() argument
952 …if (UNEXPECTED(object_init_with_constructor(return_value, instance_ce, 0, NULL, NULL) != SUCCESS))… in xml_reader_from_uri()
1172 static void xml_reader_from_string(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *instance_ce, boo… in xml_reader_from_string() argument
1229 …if (UNEXPECTED(object_init_with_constructor(return_value, instance_ce, 0, NULL, NULL) != SUCCESS))… in xml_reader_from_string()
/php-src/Zend/
H A Dzend_builtin_functions.c653 zend_class_entry *instance_ce; in is_a_impl() local
672 instance_ce = zend_lookup_class(Z_STR_P(obj)); in is_a_impl()
673 if (!instance_ce) { in is_a_impl()
677 instance_ce = Z_OBJCE_P(obj); in is_a_impl()
682 if (!only_subclass && EXPECTED(zend_string_equals(instance_ce->name, class_name))) { in is_a_impl()
689 if (only_subclass && instance_ce == ce) { in is_a_impl()
692 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.c2494 ZEND_API bool ZEND_FASTCALL instanceof_function_slow(const zend_class_entry *instance_ce, const zen… in instanceof_function_slow() argument
2496 ZEND_ASSERT(instance_ce != ce && "Should have been checked already"); in instanceof_function_slow()
2500 if (instance_ce->num_interfaces) { in instanceof_function_slow()
2501 ZEND_ASSERT(instance_ce->ce_flags & ZEND_ACC_RESOLVED_INTERFACES); in instanceof_function_slow()
2502 for (i = 0; i < instance_ce->num_interfaces; i++) { in instanceof_function_slow()
2503 if (instance_ce->interfaces[i] == ce) { in instanceof_function_slow()
2511 instance_ce = instance_ce->parent; in instanceof_function_slow()
2512 if (instance_ce == ce) { in instanceof_function_slow()
2515 if (instance_ce == NULL) { in instanceof_function_slow()

Completed in 24 milliseconds