/PHP-5.5/ |
H A D | .gdbinit | 424 set $ce = $arg0 425 if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20 428 if $ce->ce_flags & 0x40 433 if $ce->parent != 0 447 set $ce = $ce->parent 451 set $ce = $arg0 454 set $ce = $ce->interfaces[0] 457 set $ce = 0 462 set $ce = $arg0 464 while $ce != 0 [all …]
|
H A D | NEWS | 8466 (Ilia, ce at netage dot bg)
|
/PHP-5.5/Zend/ |
H A D | zend.h | 313 zend_class_entry *ce; member 446 zend_class_entry *ce; member 510 zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); 512 …union _zend_function *(*get_static_method)(zend_class_entry *ce, char* method, int method_len TSRM… 516 …int (*unserialize)(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_le…
|
H A D | zend_API.c | 575 (!ce || instanceof_function(Z_OBJCE_PP(arg), ce TSRMLS_CC))) { in zend_parse_arg_impl() 578 if (ce) { in zend_parse_arg_impl() 955 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { in zend_parse_method_parameters() 992 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { in zend_parse_method_parameters_ex() 1079 ce = ce->parent; in zval_update_class_constant() 1080 } while (ce); in zval_update_class_constant() 2588 ce->refcount++; in zend_register_class_alias_ex() 3182 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex() 3435 ce->static_members_table = ce->default_static_members_table; in zend_declare_property_ex() 3445 …ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval*) * ce->default… in zend_declare_property_ex() [all …]
|
H A D | zend_API.h | 226 …efine CE_STATIC_MEMBERS(ce) (((ce)->type==ZEND_USER_CLASS)?(ce)->static_members_table:CG(static_me… argument 228 # define CE_STATIC_MEMBERS(ce) ((ce)->static_members_table) argument 283 #define zend_register_class_alias(name, ce) \ argument 284 zend_register_class_alias_ex(name, sizeof(name)-1, ce TSRMLS_CC) 285 #define zend_register_ns_class_alias(ns, name, ce) \ argument 286 …zend_register_class_alias_ex(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, ce TSRMLS_C… 363 #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC TSRMLS_CC) argument 364 #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (p… argument 367 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *ce ZEND_FILE_LINE_DC TSRMLS_DC); 524 ZEND_API const char* zend_find_alias_name(zend_class_entry *ce, const char *name, zend_uint len); [all …]
|
H A D | zend_builtin_functions.c | 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() 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() 1058 ce = *pce; in ZEND_FUNCTION() 1062 if (!ce) { in ZEND_FUNCTION() 1129 ce = *pce; in ZEND_FUNCTION() 1191 ce = *pce; in ZEND_FUNCTION() [all …]
|
H A D | zend_closures.c | 85 zend_class_entry *ce, **ce_p; in ZEND_METHOD() local 99 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD() 101 ce = NULL; in ZEND_METHOD() 121 ce = closure->func.common.scope; in ZEND_METHOD() 128 ce = *ce_p; in ZEND_METHOD() 133 ce = closure->func.common.scope; in ZEND_METHOD() 136 zend_create_closure(return_value, &closure->func, ce, newthis TSRMLS_CC); in ZEND_METHOD() 417 zend_class_entry ce; in zend_register_closure_ce() local 419 INIT_CLASS_ENTRY(ce, "Closure", closure_functions); in zend_register_closure_ce() 420 zend_ce_closure = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_closure_ce()
|
H A D | zend_compile.c | 3017 ce->__get = ce->parent->__get; in do_inherit_parent_constructor() 3020 ce->__set = ce->parent->__set; in do_inherit_parent_constructor() 3023 ce->__unset = ce->parent->__unset; in do_inherit_parent_constructor() 3026 ce->__isset = ce->parent->__isset; in do_inherit_parent_constructor() 3029 ce->__call = ce->parent->__call; in do_inherit_parent_constructor() 3038 ce->clone = ce->parent->clone; in do_inherit_parent_constructor() 3041 ce->serialize = ce->parent->serialize; in do_inherit_parent_constructor() 3710 if (property_info->ce == ce) { in zend_do_inheritance() 3823 ce->traits[ce->num_traits++] = trait; in zend_do_implement_trait() 3845 if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) { in zend_add_magic_methods() [all …]
|
H A D | zend_compile.h | 227 zend_class_entry *ce; member 530 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS… 531 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC); 540 ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC); 541 ZEND_API void zend_do_bind_traits(zend_class_entry *ce TSRMLS_DC); 543 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC); 665 ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce TSRMLS_DC); 670 ZEND_API int clean_non_persistent_class_full(zend_class_entry **ce TSRMLS_DC); 675 void zend_class_add_ref(zend_class_entry **ce); 697 ZEND_API void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC…
|
H A D | zend_constants.c | 320 zend_class_entry *ce = NULL; in zend_get_constant_ex() local 351 ce = scope; in zend_get_constant_ex() 364 ce = scope->parent; in zend_get_constant_ex() 370 ce = EG(called_scope); in zend_get_constant_ex() 377 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC); in zend_get_constant_ex() 379 if (retval && ce) { in zend_get_constant_ex() 380 …if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant)… in zend_get_constant_ex() 386 } else if (!ce) { in zend_get_constant_ex() 439 zval_update_constant_ex(ret_constant, (void*)1, ce TSRMLS_CC); in zend_get_constant_ex()
|
H A D | zend_exceptions.c | 788 zend_class_entry ce; in zend_register_default_exception() local 790 INIT_CLASS_ENTRY(ce, "Exception", default_exception_functions); in zend_register_default_exception() 791 default_exception_ce = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_default_exception() 804 INIT_CLASS_ENTRY(ce, "ErrorException", error_exception_functions); in zend_register_default_exception() 805 error_exception_ce = zend_register_internal_class_ex(&ce, default_exception_ce, NULL TSRMLS_CC); in zend_register_default_exception()
|
H A D | zend_execute.c | 161 #define IS_CTOR_CALL(ce) (((zend_uintptr_t)(ce)) & CTOR_CALL_BIT) argument 162 #define IS_CTOR_USED(ce) (((zend_uintptr_t)(ce)) & CTOR_USED_BIT) argument 164 #define ENCODE_CTOR(ce, used) \ argument 165 ((zend_class_entry*)(((zend_uintptr_t)(ce)) | CTOR_CALL_BIT | ((used) ? CTOR_USED_BIT : 0))) 166 #define DECODE_CTOR(ce) \ argument 167 ((zend_class_entry*)(((zend_uintptr_t)(ce)) & ~(CTOR_CALL_BIT|CTOR_USED_BIT))) 605 zend_class_entry *ce; in zend_verify_arg_type() local 618 need_msg = zend_verify_arg_class_kind(cur_arg_info, fetch_type, &class_name, &ce TSRMLS_CC); in zend_verify_arg_type() 622 need_msg = zend_verify_arg_class_kind(cur_arg_info, fetch_type, &class_name, &ce TSRMLS_CC); in zend_verify_arg_type() 623 if (!ce || !instanceof_function(Z_OBJCE_P(arg), ce TSRMLS_CC)) { in zend_verify_arg_type() [all …]
|
H A D | zend_execute.h | 64 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC); 65 …ame, int name_length, const zend_literal *key, int use_autoload, zend_class_entry ***ce TSRMLS_DC); 353 void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC); 399 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument 400 ((EG(active_op_array)->run_time_cache[(num)] == (ce)) ? \ 404 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument 405 EG(active_op_array)->run_time_cache[(num)] = (ce); \
|
H A D | zend_execute_API.c | 115 static int clean_non_persistent_class(zend_class_entry **ce TSRMLS_DC) /* {{{ */ in clean_non_persistent_class() 117 return ((*ce)->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_STOP : ZEND_HASH_APPLY_REMOVE; in clean_non_persistent_class() 121 ZEND_API int clean_non_persistent_class_full(zend_class_entry **ce TSRMLS_DC) /* {{{ */ in clean_non_persistent_class_full() 123 return ((*ce)->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE; in clean_non_persistent_class_full() 350 zend_class_entry *ce = EG(current_execute_data)->function_state.function->common.scope; in get_active_class_name() local 353 *space = ce ? "::" : ""; in get_active_class_name() 355 return ce ? ce->name : ""; in get_active_class_name() 1135 return zend_lookup_class_ex(name, name_length, NULL, 1, ce TSRMLS_CC); in zend_lookup_class() 1573 void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC) /* {{{ */ in zend_verify_abstract_class() 1577 …if ((ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) && !(ce->ce_flags & ZEND_ACC_EXPLICIT_ABSTRA… in zend_verify_abstract_class() [all …]
|
H A D | zend_generators.c | 679 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref TS… in zend_generator_get_iterator() argument 734 zend_class_entry ce; in zend_register_generator_ce() local 736 INIT_CLASS_ENTRY(ce, "Generator", generator_functions); in zend_register_generator_ce() 737 zend_ce_generator = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_generator_ce()
|
H A D | zend_interfaces.c | 125 …return zend_call_method_with_0_params(&object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterat… in zend_user_it_new_iterator() 163 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &mo… in zend_user_it_valid() 181 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current",… in zend_user_it_get_current_data() 204 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval… in zend_user_it_get_current_key() 224 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL); in zend_user_it_move_forward() 235 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_rewind, "rewind", N… in zend_user_it_rewind() 263 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator() 406 zend_call_method_with_0_params(&object, ce, &ce->serialize_func, "serialize", &retval); in zend_user_serialize() 441 object_init_ex(*object, ce); in zend_user_unserialize() 446 zend_call_method_with_1_params(object, ce, &ce->unserialize_func, "unserialize", NULL, zdata); in zend_user_unserialize() [all …]
|
H A D | zend_interfaces.h | 37 zend_class_entry *ce; member 59 ZEND_API zval *zend_user_it_new_iterator(zend_class_entry *ce, zval *object TSRMLS_DC); 60 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, in… 65 ZEND_API int zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, z… 68 ZEND_API int zend_class_unserialize_deny(zval **object, zend_class_entry *ce, const unsigned char *…
|
H A D | zend_object_handlers.c | 71 zend_class_entry *ce = zobj->ce; in rebuild_object_properties() local 87 ce = ce->parent; in rebuild_object_properties() 91 if (prop_info->ce == ce && in rebuild_object_properties() 347 EG(std_property_info).ce = ce; in zend_get_property_info_quick() 924 if (!ce) { in zend_check_private_int() 934 if (fbc->common.scope == ce && EG(scope) == ce) { in zend_check_private_int() 941 ce = ce->parent; in zend_check_private_int() 951 ce = ce->parent; in zend_check_private_int() 1352 if (zobj1->ce != zobj2->ce) { in zend_std_compare_objects() 1516 ce = zobj->ce->parent; in zend_std_object_get_class_name() [all …]
|
H A D | zend_object_handlers.h | 153 ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, const char *functio… 154 ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, const char *property_name, int p… 155 ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, const char *property_name, … 157 ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zval *member, int… 168 ZEND_API int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, char *function_nam… 170 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope);
|
H A D | zend_objects.c | 31 object->ce = ce; in zend_object_std_init() 52 for (i = 0; i < object->ce->default_properties_count; i++) { in zend_object_std_dtor() 63 zend_function *destructor = object ? object->ce->destructor : NULL; in zend_objects_destroy_object() 74 if (object->ce != EG(scope)) { in zend_objects_destroy_object() 75 zend_class_entry *ce = object->ce; in zend_objects_destroy_object() local 79 ce->name, in zend_objects_destroy_object() 88 zend_class_entry *ce = object->ce; in zend_objects_destroy_object() local 92 ce->name, in zend_objects_destroy_object() 146 (*object)->ce = class_type; in zend_objects_new() 204 if (old_object->ce->clone) { in zend_objects_clone_members() [all …]
|
H A D | zend_objects.h | 28 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC);
|
H A D | zend_opcode.c | 170 ce->default_static_members_table = ce->static_members_table = NULL; in cleanup_user_class_data() 222 if (ce->num_traits > 0 && ce->traits) { in _destroy_zend_class_traits_info() 223 efree(ce->traits); in _destroy_zend_class_traits_info() 226 if (ce->trait_aliases) { in _destroy_zend_class_traits_info() 281 switch (ce->type) { in destroy_zend_class() 304 str_efree(ce->name); in destroy_zend_class() 307 if (ce->num_interfaces > 0 && ce->interfaces) { in destroy_zend_class() 316 efree(ce); in destroy_zend_class() 338 str_free(ce->name); in destroy_zend_class() 344 free(ce); in destroy_zend_class() [all …]
|
H A D | zend_operators.c | 1746 …f_function_ex(const zend_class_entry *instance_ce, const zend_class_entry *ce, zend_bool interface… in instanceof_function_ex() argument 1751 if (instanceof_function(instance_ce->interfaces[i], ce TSRMLS_CC)) { in instanceof_function_ex() 1757 if (instance_ce == ce) { in instanceof_function_ex() 1768 …nceof_function(const zend_class_entry *instance_ce, const zend_class_entry *ce TSRMLS_DC) /* {{{ */ in instanceof_function() 1770 return instanceof_function_ex(instance_ce, ce, 0 TSRMLS_CC); in instanceof_function()
|
H A D | zend_operators.h | 69 …f_function_ex(const zend_class_entry *instance_ce, const zend_class_entry *ce, zend_bool interface… 70 …ool instanceof_function(const zend_class_entry *instance_ce, const zend_class_entry *ce TSRMLS_DC);
|
H A D | zend_vm_def.h | 1031 zend_class_entry *ce; variable 3441 ce = Z_OBJCE_P(obj); 3442 clone = ce ? ce->clone : NULL; 3445 if (ce) { 3452 if (ce && clone) { 3561 EG(scope) = ce; 4121 if (!ce || ce->get_iterator == NULL) { 4146 if (ce && ce->get_iterator) { 4152 if (!ce || !ce->get_iterator) { 4170 if (ce && ce->get_iterator) { [all …]
|