Lines Matching refs:ce

798 	zend_class_entry *ce = NULL;  in ZEND_FUNCTION()  local
807 ce = EG(scope); in ZEND_FUNCTION()
808 if (ce && ce->parent) { in ZEND_FUNCTION()
809 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
820 ce = zend_get_class_entry(arg TSRMLS_CC); in ZEND_FUNCTION()
826 ce = *pce; in ZEND_FUNCTION()
830 if (ce && ce->parent) { in ZEND_FUNCTION()
831 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
845 zend_class_entry **ce; in is_a_impl() local
871 if (zend_lookup_class_ex(class_name, class_name_len, NULL, 0, &ce TSRMLS_CC) == FAILURE) { in is_a_impl()
874 if (only_subclass && instance_ce == *ce) { in is_a_impl()
877 retval = instanceof_function(instance_ce, *ce TSRMLS_CC); in is_a_impl()
904 static void add_class_vars(zend_class_entry *ce, int statics, zval *return_value TSRMLS_DC) in add_class_vars() argument
913 zend_hash_internal_pointer_reset_ex(&ce->properties_info, &pos); in add_class_vars()
914 …while (zend_hash_get_current_data_ex(&ce->properties_info, (void **) &prop_info, &pos) == SUCCESS)… in add_class_vars()
915 zend_hash_get_current_key_ex(&ce->properties_info, &key, &key_len, &num_index, 0, &pos); in add_class_vars()
916 zend_hash_move_forward_ex(&ce->properties_info, &pos); in add_class_vars()
918 prop_info->ce != EG(scope)) || in add_class_vars()
920 !zend_check_protected(prop_info->ce, EG(scope))) || in add_class_vars()
922 ce != EG(scope) && in add_class_vars()
923 prop_info->ce != EG(scope))) { in add_class_vars()
929 prop = ce->default_static_members_table[prop_info->offset]; in add_class_vars()
931 prop = ce->default_properties_table[prop_info->offset]; in add_class_vars()
1042 zend_class_entry *ce = NULL, **pce; in ZEND_FUNCTION() local
1055 ce = Z_OBJCE_P(klass); in ZEND_FUNCTION()
1058 ce = *pce; in ZEND_FUNCTION()
1062 if (!ce) { in ZEND_FUNCTION()
1067 zend_hash_internal_pointer_reset_ex(&ce->function_table, &pos); in ZEND_FUNCTION()
1069 while (zend_hash_get_current_data_ex(&ce->function_table, (void **) &mptr, &pos) == SUCCESS) { in ZEND_FUNCTION()
1082 …if (zend_hash_get_current_key_ex(&ce->function_table, &key, &key_len, &num_index, 0, &pos) != HASH… in ZEND_FUNCTION()
1087 mptr->common.scope == ce || in ZEND_FUNCTION()
1104 zend_hash_move_forward_ex(&ce->function_table, &pos); in ZEND_FUNCTION()
1118 zend_class_entry * ce, **pce; in ZEND_FUNCTION() local
1124 ce = Z_OBJCE_P(klass); in ZEND_FUNCTION()
1129 ce = *pce; in ZEND_FUNCTION()
1135 if (zend_hash_exists(&ce->function_table, lcname, method_len+1)) { in ZEND_FUNCTION()
1174 zend_class_entry *ce, **pce; in ZEND_FUNCTION() local
1191 ce = *pce; in ZEND_FUNCTION()
1193 ce = Z_OBJCE_P(object); in ZEND_FUNCTION()
1200 …if (zend_hash_quick_find(&ce->properties_info, property, property_len+1, h, (void **) &property_in… in ZEND_FUNCTION()
1222 zend_class_entry **ce; in ZEND_FUNCTION() local
1247 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION()
1249 …RETURN_BOOL(found == SUCCESS && !(((*ce)->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT)) > ZEND… in ZEND_FUNCTION()
1252 if (zend_lookup_class(class_name, class_name_len, &ce TSRMLS_CC) == SUCCESS) { in ZEND_FUNCTION()
1253 …RETURN_BOOL(((*ce)->ce_flags & (ZEND_ACC_INTERFACE | (ZEND_ACC_TRAIT - ZEND_ACC_EXPLICIT_ABSTRACT_… in ZEND_FUNCTION()
1265 zend_class_entry **ce; in ZEND_FUNCTION() local
1290 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION()
1292 RETURN_BOOL(found == SUCCESS && (*ce)->ce_flags & ZEND_ACC_INTERFACE); in ZEND_FUNCTION()
1295 if (zend_lookup_class(iface_name, iface_name_len, &ce TSRMLS_CC) == SUCCESS) { in ZEND_FUNCTION()
1296 RETURN_BOOL(((*ce)->ce_flags & ZEND_ACC_INTERFACE) > 0); in ZEND_FUNCTION()
1308 zend_class_entry **ce; in ZEND_FUNCTION() local
1333 found = zend_hash_find(EG(class_table), name, len+1, (void **) &ce); in ZEND_FUNCTION()
1335 …RETURN_BOOL(found == SUCCESS && (((*ce)->ce_flags & ZEND_ACC_TRAIT) > ZEND_ACC_EXPLICIT_ABSTRACT_C… in ZEND_FUNCTION()
1338 if (zend_lookup_class(trait_name, trait_name_len, &ce TSRMLS_CC) == SUCCESS) { in ZEND_FUNCTION()
1339 RETURN_BOOL(((*ce)->ce_flags & ZEND_ACC_TRAIT) > ZEND_ACC_EXPLICIT_ABSTRACT_CLASS); in ZEND_FUNCTION()
1392 zend_class_entry **ce; in ZEND_FUNCTION() local
1402 found = zend_lookup_class_ex(class_name, class_name_len, NULL, autoload, &ce TSRMLS_CC); in ZEND_FUNCTION()
1405 if ((*ce)->type == ZEND_USER_CLASS) { in ZEND_FUNCTION()
1406 if (zend_register_class_alias_ex(alias_name, alias_name_len, *ce TSRMLS_CC) == SUCCESS) { in ZEND_FUNCTION()
1646 zend_class_entry *ce = *pce; in copy_class_or_interface_name() local
1649 && (comply_mask == (ce->ce_flags & mask))) { in copy_class_or_interface_name()
1650 if (ce->refcount > 1 && in copy_class_or_interface_name()
1651 (ce->name_length != hash_key->nKeyLength - 1 || in copy_class_or_interface_name()
1652 !same_name(hash_key->arKey, ce->name, ce->name_length))) { in copy_class_or_interface_name()
1655 add_next_index_stringl(array, ce->name, ce->name_length, 1); in copy_class_or_interface_name()