Home
last modified time | relevance | path

Searched refs:ce (Results 1 - 25 of 151) sorted by relevance

1234567

/php-7.4/Zend/
H A Dzend_inheritance.c(last modified 31/01/20 08:00)30 static void add_dependency_obligation(zend_class_entry *ce, zend_class_entry *dependency_ce);
32 zend_class_entry *ce, const zend_function *child_fn, const zend_function *parent_fn,
35 zend_class_entry *ce, const zend_property_info *child_prop,
57 static zend_function *zend_duplicate_internal_function(zend_function *func, zend_class_entry *ce) /* {{{ */ in zend_duplicate_internal_function() argument
61 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in zend_duplicate_internal_function()
94 static zend_always_inline zend_function *zend_duplicate_function(zend_function *func, zend_class_entry *ce, zend_bool is_interface) /* {{{ */ in zend_duplicate_function() argument
97 return zend_duplicate_internal_function(func, ce); in zend_duplicate_function()
112 static void do_inherit_parent_constructor(zend_class_entry *ce) /* {{{ */ in do_inherit_parent_constructor() argument
114 zend_class_entry *parent = ce->parent; in do_inherit_parent_constructor()
119 ce in do_inherit_parent_constructor()
213 class_visible(zend_class_entry *ce) class_visible() argument
224 zend_class_entry *ce; lookup_class() local
255 zend_class_entry *ce; unlinked_instanceof() local
728 perform_delayable_implementation_check( zend_class_entry *ce, const zend_function *fe, const zend_function *proto, zend_bool always_error) perform_delayable_implementation_check() argument
752 do_inheritance_check_on_method_ex(zend_function *child, zend_function *parent, zend_class_entry *ce, zval *child_zv, zend_bool check_only, zend_bool checked) do_inheritance_check_on_method_ex() argument
858 do_inheritance_check_on_method(zend_function *child, zend_function *parent, zend_class_entry *ce, zval *child_zv) do_inheritance_check_on_method() argument
864 do_inherit_method(zend_string *key, zend_function *parent, zend_class_entry *ce, zend_bool is_interface, zend_bool checked) do_inherit_method() argument
947 do_inherit_property(zend_property_info *parent_info, zend_string *key, zend_class_entry *ce) do_inherit_property() argument
1004 do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) do_implement_interface() argument
1014 zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface) zend_do_inherit_interfaces() argument
1049 do_inherit_class_constant(zend_string *name, zend_class_constant *parent_const, zend_class_entry *ce) do_inherit_class_constant() argument
1074 zend_build_properties_info_table(zend_class_entry *ce) zend_build_properties_info_table() argument
1113 zend_do_inheritance_ex(zend_class_entry *ce, zend_class_entry *parent_ce, zend_bool checked) zend_do_inheritance_ex() argument
1361 do_inherit_iface_constant(zend_string *name, zend_class_constant *c, zend_class_entry *ce, zend_class_entry *iface) do_inherit_iface_constant() argument
1378 do_interface_implementation(zend_class_entry *ce, zend_class_entry *iface) do_interface_implementation() argument
1399 zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) zend_do_implement_interface() argument
1441 zend_do_implement_interfaces(zend_class_entry *ce, zend_class_entry **interfaces) zend_do_implement_interfaces() argument
1499 zend_add_magic_methods(zend_class_entry* ce, zend_string* mname, zend_function* fe) zend_add_magic_methods() argument
1551 zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_function *fn, HashTable **overridden) zend_add_trait_method() argument
1630 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce) zend_fixup_trait_method() argument
1646 zend_traits_copy_functions(zend_string *fnname, zend_function *fn, zend_class_entry *ce, HashTable **overridden, HashTable *exclude_table, zend_class_entry **aliases) zend_traits_copy_functions() argument
1729 zend_check_trait_usage(zend_class_entry *ce, zend_class_entry *trait, zend_class_entry **traits) zend_check_trait_usage() argument
1748 zend_traits_init_trait_structures(zend_class_entry *ce, zend_class_entry **traits, HashTable ***exclude_tables_ptr, zend_class_entry ***aliases_ptr) zend_traits_init_trait_structures() argument
1859 zend_do_traits_method_binding(zend_class_entry *ce, zend_class_entry **traits, HashTable **exclude_tables, zend_class_entry **aliases) zend_do_traits_method_binding() argument
1902 find_first_definition(zend_class_entry *ce, zend_class_entry **traits, size_t current_trait, zend_string *prop_name, zend_class_entry *coliding_ce) find_first_definition() argument
1919 zend_do_traits_property_binding(zend_class_entry *ce, zend_class_entry **traits) zend_do_traits_property_binding() argument
2039 zend_do_check_for_inconsistent_traits_aliasing(zend_class_entry *ce, zend_class_entry **aliases) zend_do_check_for_inconsistent_traits_aliasing() argument
2089 zend_do_bind_traits(zend_class_entry *ce) zend_do_bind_traits() argument
2148 zend_has_deprecated_constructor(const zend_class_entry *ce) zend_has_deprecated_constructor() argument
2162 zend_check_deprecated_constructor(const zend_class_entry *ce) zend_check_deprecated_constructor() argument
2204 zend_verify_abstract_class(zend_class_entry *ce) zend_verify_abstract_class() argument
2262 get_or_init_obligations_for_class(zend_class_entry *ce) get_or_init_obligations_for_class() argument
2283 add_dependency_obligation(zend_class_entry *ce, zend_class_entry *dependency_ce) add_dependency_obligation() argument
2291 add_compatibility_obligation( zend_class_entry *ce, const zend_function *child_fn, const zend_function *parent_fn, zend_bool always_error) add_compatibility_obligation() argument
2312 add_property_compatibility_obligation( zend_class_entry *ce, const zend_property_info *child_prop, const zend_property_info *parent_prop) add_property_compatibility_obligation() argument
2384 resolve_delayed_variance_obligations(zend_class_entry *ce) resolve_delayed_variance_obligations() argument
2400 report_variance_errors(zend_class_entry *ce) report_variance_errors() argument
2435 check_unrecoverable_load_failure(zend_class_entry *ce) check_unrecoverable_load_failure() argument
2453 zend_do_link_class(zend_class_entry *ce, zend_string *lc_parent_name) zend_do_link_class() argument
2531 zend_can_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce) zend_can_early_bind() argument
2581 zend_try_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce, zend_string *lcname, zval *delayed_early_binding) zend_try_early_bind() argument
[all...]
H A Dzend_object_handlers.c(last modified 10/12/19 08:00)65 zend_class_entry *ce = zobj->ce; in rebuild_object_properties() local
68 zobj->properties = zend_new_array(ce->default_properties_count); in rebuild_object_properties()
69 if (ce->default_properties_count) { in rebuild_object_properties()
71 ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) { in rebuild_object_properties()
84 while (ce->parent && ce->parent->default_properties_count) { in rebuild_object_properties()
85 ce = ce->parent; in rebuild_object_properties()
86 ZEND_HASH_FOREACH_PTR(&ce in rebuild_object_properties()
147 zend_class_entry *ce = Z_OBJCE_P(object); zend_std_get_debug_info() local
184 zend_class_entry *ce = zobj->ce; zend_std_call_getter() local
220 zend_class_entry *ce = zobj->ce; zend_std_call_setter() local
258 zend_class_entry *ce = zobj->ce; zend_std_call_unsetter() local
294 zend_class_entry *ce = zobj->ce; zend_std_call_issetter() local
343 is_protected_compatible_scope(zend_class_entry *ce, zend_class_entry *scope) is_protected_compatible_scope() argument
350 zend_get_parent_private_property(zend_class_entry *scope, zend_class_entry *ce, zend_string *member) zend_get_parent_private_property() argument
369 zend_bad_property_access(zend_property_info *property_info, zend_class_entry *ce, zend_string *member) zend_bad_property_access() argument
381 zend_get_property_offset(zend_class_entry *ce, zend_string *member, int silent, void **cache_slot, zend_property_info **info_ptr) zend_get_property_offset() argument
474 zend_wrong_offset(zend_class_entry *ce, zend_string *member) zend_wrong_offset() argument
483 zend_get_property_info(zend_class_entry *ce, zend_string *member, int silent) zend_get_property_info() argument
920 zend_bad_array_access(zend_class_entry *ce) zend_bad_array_access() argument
928 zend_class_entry *ce = Z_OBJCE_P(object); zend_std_read_dimension() local
978 zend_class_entry *ce = Z_OBJCE_P(object); zend_std_write_dimension() local
1000 zend_class_entry *ce = Z_OBJCE_P(object); zend_std_has_dimension() local
1179 zend_class_entry *ce = Z_OBJCE_P(object); zend_std_unset_dimension() local
1195 zend_get_parent_private_method(zend_class_entry *scope, zend_class_entry *ce, zend_string *function_name) zend_get_parent_private_method() argument
1216 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) zend_check_protected() argument
1243 zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_name, int is_static) zend_get_call_trampoline_func() argument
1295 zend_get_user_call_function(zend_class_entry *ce, zend_string *method_name) zend_get_user_call_function() argument
1374 zend_get_user_callstatic_function(zend_class_entry *ce, zend_string *method_name) zend_get_user_callstatic_function() argument
1380 zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name, const zval *key) zend_std_get_static_method() argument
1484 zend_std_get_static_property_with_info(zend_class_entry *ce, zend_string *property_name, int type, zend_property_info **property_info_ptr) zend_std_get_static_property_with_info() argument
1550 zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, int type) zend_std_get_static_property() argument
1556 zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name) zend_std_unset_static_property() argument
1793 zend_class_entry *ce; zend_std_cast_object_tostring() local
1839 zend_class_entry *ce = Z_OBJCE_P(obj); zend_std_get_closure() local
[all...]
H A Dzend_opcode.c(last modified 31/01/20 08:00)149 ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce) in zend_cleanup_internal_class_data() argument
151 if (CE_STATIC_MEMBERS(ce)) { in zend_cleanup_internal_class_data()
152 zval *static_members = CE_STATIC_MEMBERS(ce); in zend_cleanup_internal_class_data()
154 zval *end = p + ce->default_static_members_count; in zend_cleanup_internal_class_data()
155 if (UNEXPECTED(ZEND_MAP_PTR(ce->static_members_table) == &ce->default_static_members_table)) { in zend_cleanup_internal_class_data()
164 if (prop_info->ce == ce && p - static_members == prop_info->offset) { in zend_cleanup_internal_class_data()
175 ZEND_MAP_PTR_SET(ce->static_members_table, NULL); in zend_cleanup_internal_class_data()
180 if (prop_info->ce in zend_cleanup_internal_class_data()
194 _destroy_zend_class_traits_info(zend_class_entry *ce) _destroy_zend_class_traits_info() argument
246 zend_class_entry *ce = Z_PTR_P(zv); destroy_zend_class() local
413 zend_class_entry *ce = Z_PTR_P(zv); zend_class_add_ref() local
[all...]
H A Dzend_objects.c(last modified 28/10/19 08:00)29 static zend_always_inline void _zend_object_std_init(zend_object *object, zend_class_entry *ce) in _zend_object_std_init() argument
33 object->ce = ce; in _zend_object_std_init()
36 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) { in _zend_object_std_init()
37 ZVAL_UNDEF(object->properties_table + object->ce->default_properties_count); in _zend_object_std_init()
41 ZEND_API void ZEND_FASTCALL zend_object_std_init(zend_object *object, zend_class_entry *ce) in zend_object_std_init() argument
43 _zend_object_std_init(object, ce); in zend_object_std_init()
59 if (EXPECTED(object->ce->default_properties_count)) { in zend_object_std_dtor()
60 end = p + object->ce->default_properties_count; in zend_object_std_dtor()
76 if (UNEXPECTED(object->ce in zend_object_std_dtor()
194 zend_objects_new(zend_class_entry *ce) zend_objects_new() argument
[all...]
H A Dzend_API.c(last modified 31/01/20 08:00)751 zend_class_entry *ce = va_arg(*va, zend_class_entry *); in zend_parse_arg_impl() local
753 if (!zend_parse_arg_object(arg, p, ce, check_null)) { in zend_parse_arg_impl()
754 if (ce) { in zend_parse_arg_impl()
755 return ZSTR_VAL(ce->name); in zend_parse_arg_impl()
1097 zend_class_entry *ce; in zend_parse_method_parameters() local
1115 ce = va_arg(va, zend_class_entry *); in zend_parse_method_parameters()
1118 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1120 ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_function_name(), ZSTR_VAL(ce->name), get_active_function_name()); in zend_parse_method_parameters()
1136 zend_class_entry *ce; in zend_parse_method_parameters_ex() local
1191 zend_class_entry *ce; zend_update_class_constants() local
1920 zend_class_entry *ce; zend_collect_module_handlers() local
2070 zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type) zend_check_magic_method_implementation() argument
2534 zend_class_entry *ce = (zend_class_entry *)Z_PTR_P(el); clean_module_class() local
2767 zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, int persistent) zend_register_class_alias_ex() argument
2911 zend_class_entry *ce; zend_is_callable_check_class() local
3308 zend_class_entry *ce = Z_OBJCE_P(callable); zend_get_callable_name_ex() local
3689 is_persistent_class(zend_class_entry *ce) is_persistent_class() argument
3694 zend_declare_typed_property(zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment, zend_type type) zend_declare_typed_property() argument
3929 zend_declare_property_ex(zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment) zend_declare_property_ex() argument
3935 zend_declare_property(zend_class_entry *ce, const char *name, size_t name_length, zval *property, int access_type) zend_declare_property() argument
3944 zend_declare_property_null(zend_class_entry *ce, const char *name, size_t name_length, int access_type) zend_declare_property_null() argument
3953 zend_declare_property_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type) zend_declare_property_bool() argument
3962 zend_declare_property_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type) zend_declare_property_long() argument
3971 zend_declare_property_double(zend_class_entry *ce, const char *name, size_t name_length, double value, int access_type) zend_declare_property_double() argument
3980 zend_declare_property_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value, int access_type) zend_declare_property_string() argument
3989 zend_declare_property_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_len, int access_type) zend_declare_property_stringl() argument
3998 zend_declare_class_constant_ex(zend_class_entry *ce, zend_string *name, zval *value, int access_type, zend_string *doc_comment) zend_declare_class_constant_ex() argument
4039 zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value) zend_declare_class_constant() argument
4056 zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length) zend_declare_class_constant_null() argument
4065 zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long value) zend_declare_class_constant_long() argument
4074 zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool value) zend_declare_class_constant_bool() argument
4083 zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value) zend_declare_class_constant_double() argument
4092 zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_length) zend_declare_class_constant_stringl() argument
4101 zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value) zend_declare_class_constant_string() argument
4429 zend_find_alias_name(zend_class_entry *ce, zend_string *name) zend_find_alias_name() argument
4448 zend_resolve_method_name(zend_class_entry *ce, zend_function *f) zend_resolve_method_name() argument
4478 zend_get_object_type(const zend_class_entry *ce) zend_get_object_type() argument
[all...]
H A Dzend_interfaces.c(last modified 12/06/19 08:00)125 ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *retval) in zend_user_it_new_iterator() argument
127 zend_call_method_with_0_params(object, ce, &ce->iterator_funcs_ptr->zf_new_iterator, "getiterator", retval); in zend_user_it_new_iterator()
163 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_valid, "valid", &more); in zend_user_it_valid()
179 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_current, "current", &iter->value); in zend_user_it_get_current_data()
192 zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_key, "key", &retval); in zend_user_it_get_current_key()
198 zend_error(E_WARNING, "Nothing returned from %s::key()", ZSTR_VAL(iter->ce in zend_user_it_get_current_key()
239 zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref) zend_user_it_get_iterator() argument
262 zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref) zend_user_it_get_new_iterator() argument
437 zend_class_entry * ce = Z_OBJCE_P(object); zend_user_serialize() local
472 zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data) zend_user_unserialize() argument
496 zend_class_entry *ce = Z_OBJCE_P(object); zend_class_serialize_deny() local
502 zend_class_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data) zend_class_unserialize_deny() argument
[all...]
H A Dzend_builtin_functions.c(last modified 26/02/20 08:00)1008 zend_class_entry *ce = NULL; in ZEND_FUNCTION() local
1015 ce = zend_get_executed_scope(); in ZEND_FUNCTION()
1016 if (ce && ce->parent) { in ZEND_FUNCTION()
1017 RETURN_STR_COPY(ce->parent->name); in ZEND_FUNCTION()
1024 ce = Z_OBJ_P(arg)->ce; in ZEND_FUNCTION()
1026 ce = zend_lookup_class(Z_STR_P(arg)); in ZEND_FUNCTION()
1029 if (ce && ce in ZEND_FUNCTION()
1042 zend_class_entry *ce; is_a_impl() local
1106 add_class_vars(zend_class_entry *scope, zend_class_entry *ce, int statics, zval *return_value) add_class_vars() argument
1157 zend_class_entry *ce, *scope; ZEND_FUNCTION() local
1301 zend_class_entry *ce = NULL; ZEND_FUNCTION() local
1353 zend_class_entry *ce; ZEND_FUNCTION() local
1409 zend_class_entry *ce; ZEND_FUNCTION() local
1454 zend_class_entry *ce; class_exists_impl() local
1548 zend_class_entry *ce; ZEND_FUNCTION() local
1750 copy_class_or_interface_name(zval *array, zend_string *key, zend_class_entry *ce) copy_class_or_interface_name() argument
1763 zend_class_entry *ce; get_declared_class_impl() local
[all...]
H A Dzend_compile.c(last modified 16/03/20 08:00)1064 zend_class_entry *ce; in do_bind_class() local
1072 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(lcname)); in do_bind_class()
1073 if (ce) { in do_bind_class()
1074 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", zend_get_object_type(ce), ZSTR_VAL(ce->name)); in do_bind_class()
1093 ce = (zend_class_entry*)Z_PTR_P(zv); in do_bind_class()
1096 zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", zend_get_object_type(ce), ZSTR_VAL(ce->name)); in do_bind_class()
1100 if (zend_do_link_class(ce, lc_parent_name) == FAILURE) { in do_bind_class()
1188 zend_class_entry *ce in zend_do_delayed_early_binding() local
1377 zend_class_entry *ce = CG(active_class_entry); zend_ensure_valid_class_fetch_type() local
1440 zend_class_entry *ce = c->ce; zend_verify_ct_const_access() local
1471 zend_class_entry *ce = zend_hash_find_ptr_lc(CG(class_table), ZSTR_VAL(class_name), ZSTR_LEN(class_name)); zend_try_ct_eval_class_const() local
1638 zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers) zend_initialize_class_data() argument
3998 zend_class_entry *ce = NULL; zend_compile_static_call() local
5716 zend_class_entry *ce = CG(active_class_entry); zend_begin_method_decl() local
6077 zend_class_entry *ce = CG(active_class_entry); zend_compile_prop_decl() local
6184 zend_class_entry *ce = CG(active_class_entry); zend_compile_class_const_decl() local
6286 zend_class_entry *ce = CG(active_class_entry); zend_compile_use_trait() local
6337 zend_class_entry *ce = CG(active_class_entry); zend_compile_implements() local
6379 zend_class_entry *ce = zend_arena_alloc(&CG(arena), sizeof(zend_class_entry)); zend_compile_class_decl() local
6890 zend_class_entry *ce = CG(active_class_entry); zend_try_ct_eval_magic_const() local
[all...]
H A Dzend_exceptions.c(last modified 29/10/19 08:00)140 DTRACE_EXCEPTION_THROWN(ZSTR_VAL(Z_OBJ_P(exception)->ce->name)); in zend_throw_exception_internal()
279 zend_class_entry *ce; in ZEND_METHOD() local
282 ce = Z_OBJCE(EX(This)); in ZEND_METHOD()
284 ce = Z_CE(EX(This)); in ZEND_METHOD()
286 ce = base_ce; in ZEND_METHOD()
288 zend_throw_error(NULL, "Wrong parameters for %s([string $message [, long $code [, Throwable $previous = NULL]]])", ZSTR_VAL(ce->name)); in ZEND_METHOD()
345 zend_class_entry *ce; in ZEND_METHOD() local
348 ce = Z_OBJCE(EX(This)); in ZEND_METHOD()
350 ce = Z_CE(EX(This)); in ZEND_METHOD()
352 ce in ZEND_METHOD()
821 zend_class_entry ce; zend_register_default_exception() local
[all...]
/php-7.4/ext/opcache/
H A Dzend_persist.c(last modified 03/01/20 08:00)624 zend_class_entry *ce; in zend_persist_property_info() local
635 ce = zend_shared_alloc_get_xlat_entry(prop->ce); in zend_persist_property_info()
636 if (ce) { in zend_persist_property_info()
637 prop->ce = ce; in zend_persist_property_info()
662 zend_class_entry *ce; in zend_persist_class_constant() local
674 ce = zend_shared_alloc_get_xlat_entry(c->ce); in zend_persist_class_constant()
675 if (ce) { in zend_persist_class_constant()
700 zend_class_entry *ce = Z_PTR_P(zv); zend_persist_class_entry() local
876 zend_update_parent_ce(zend_class_entry *ce) zend_update_parent_ce() argument
937 zend_class_entry *ce = ZEND_TYPE_CE(prop->type); zend_update_parent_ce() local
1032 zend_class_entry *ce; zend_accel_persist_class_table() local
[all...]
H A Dzend_file_cache.c(last modified 03/01/20 08:00)390 zend_class_entry *ce = ZEND_TYPE_CE(*type); local
391 SERIALIZE_PTR(ce);
392 ce = ZEND_TYPE_PTR_ENCODE(ce);
393 *type = ZEND_TYPE_ENCODE_CE(ce, ZEND_TYPE_ALLOW_NULL(*type));
586 ZEND_ASSERT(prop->ce != NULL && prop->name != NULL);
587 if (!IS_SERIALIZED(prop->ce)) {
588 SERIALIZE_PTR(prop->ce);
610 ZEND_ASSERT(c->ce != NULL);
611 if (!IS_SERIALIZED(c->ce)) {
628 zend_class_entry *ce; global() local
1096 zend_class_entry *ce = ZEND_TYPE_CE(*type); global() local
1327 zend_class_entry *ce; global() local
[all...]
H A Dzend_persist_calc.c(last modified 11/12/19 08:00)332 static void check_property_type_resolution(zend_class_entry *ce) { in check_property_type_resolution() argument
334 if (ce->ce_flags & ZEND_ACC_PROPERTY_TYPES_RESOLVED) { in check_property_type_resolution()
339 if (ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS) { in check_property_type_resolution()
340 ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop) { in check_property_type_resolution()
346 ce->ce_flags |= ZEND_ACC_PROPERTY_TYPES_RESOLVED; in check_property_type_resolution()
351 zend_class_entry *ce = Z_PTR_P(zv); in zend_persist_class_entry_calc() local
354 if (ce->type == ZEND_USER_CLASS) { in zend_persist_class_entry_calc()
356 if (zend_shared_alloc_get_xlat_entry(ce)) { in zend_persist_class_entry_calc()
359 zend_shared_alloc_register_xlat_entry(ce, ce); in zend_persist_class_entry_calc()
[all...]
H A Dzend_accelerator_util_funcs.c(last modified 19/12/19 08:00)116 zend_class_entry *ce; in zend_accel_move_user_classes() local
131 ce = Z_PTR(p->val); in zend_accel_move_user_classes()
132 if (EXPECTED(ce->type == ZEND_USER_CLASS) in zend_accel_move_user_classes()
133 && EXPECTED(ce->info.user.filename == filename)) { in zend_accel_move_user_classes()
134 _zend_hash_append_ptr(dst, p->key, ce); in zend_accel_move_user_classes()
163 if (IN_ARENA(c->ce)) { in zend_hash_clone_constants()
164 c->ce = ARENA_REALLOC(c->ce); in zend_hash_clone_constants()
232 if (IN_ARENA(prop_info->ce)) { in zend_hash_clone_prop_info()
233 prop_info->ce in zend_hash_clone_prop_info()
237 zend_class_entry *ce = ZEND_TYPE_CE(prop_info->type); zend_hash_clone_prop_info() local
257 zend_class_entry *ce = *pce; zend_class_copy_ctor() local
[all...]
H A DZendAccelerator.c(last modified 16/03/20 08:00)623 zend_class_entry *ce; in accel_copy_permanent_strings() local
625 ce = (zend_class_entry*)Z_PTR(p->val); in accel_copy_permanent_strings()
631 if (ce->name) { in accel_copy_permanent_strings()
632 ce->name = new_interned_string(ce->name); in accel_copy_permanent_strings()
635 ZEND_HASH_FOREACH_BUCKET(&ce->properties_info, q) { in accel_copy_permanent_strings()
649 ZEND_HASH_FOREACH_BUCKET(&ce->function_table, q) { in accel_copy_permanent_strings()
658 ZEND_HASH_FOREACH_BUCKET(&ce->constants_table, q) { in accel_copy_permanent_strings()
3187 zend_class_entry *ce = Z_PTR_P(zv); in preload_shutdown() local
3188 if (ce in preload_shutdown()
3275 zend_class_entry *ce = Z_PTR(p->val); preload_move_user_classes() local
3337 zend_class_entry *ce, *p; preload_sort_classes() local
3379 get_unresolved_initializer(zend_class_entry *ce, const char **kind, const char **name) get_unresolved_initializer() argument
3408 get_unlinked_dependency(zend_class_entry *ce, const char **kind, const char **name) get_unlinked_dependency() argument
3464 preload_try_resolve_constants(zend_class_entry *ce) preload_try_resolve_constants() argument
3518 preload_try_resolve_property_types(zend_class_entry *ce) preload_try_resolve_property_types() argument
3559 preload_is_type_known(zend_class_entry *ce, zend_type type) preload_is_type_known() argument
3579 preload_is_method_maybe_override(zend_class_entry *ce, zend_string *lcname) preload_is_method_maybe_override() argument
3617 preload_needed_types_known(zend_class_entry *ce) preload_needed_types_known() argument
3642 zend_class_entry *ce, *parent, *p; preload_link() local
3854 preload_update_class_constants(zend_class_entry *ce) preload_update_class_constants() argument
3867 zend_class_entry *ce; preload_load_prop_type() local
3889 zend_class_entry *ce; preload_ensure_classes_loadable() local
3920 zend_class_entry *ce = preload_ensure_classes_loadable() local
4027 preload_register_trait_methods(zend_class_entry *ce) preload_register_trait_methods() argument
4036 preload_fix_trait_methods(zend_class_entry *ce) preload_fix_trait_methods() argument
4060 zend_class_entry *ce; preload_optimize() local
4384 zend_class_entry *ce; accel_preload() local
4431 zend_class_entry *ce = Z_PTR_P(zv); accel_preload() local
[all...]
/php-7.4/ext/reflection/
H A Dphp_reflection.c(last modified 04/02/20 08:00)95 if (EG(exception) && EG(exception)->ce == reflection_exception_ptr) { \
148 zend_class_entry *ce; member
163 static inline zend_bool is_closure_invoke(zend_class_entry *ce, zend_string *lcname) { in is_closure_invoke() argument
164 return ce == zend_ce_closure in is_closure_invoke()
286 static void _class_string(smart_str *str, zend_class_entry *ce, zval *obj, char *indent);
291 static void _class_string(smart_str *str, zend_class_entry *ce, zval *obj, char *indent) in _class_string() argument
297 if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { in _class_string()
298 smart_str_append_printf(str, "%s%s", indent, ZSTR_VAL(ce->info.user.doc_comment)); in _class_string()
306 if (ce in _class_string()
902 _extension_class_string(zend_class_entry *ce, zend_string *key, smart_str *str, char *indent, zend_module_entry *module, int *num_classes) _extension_class_string() argument
1020 zend_class_entry *ce; _extension_string() local
1075 zend_reflection_class_factory(zend_class_entry *ce, zval *object) zend_reflection_class_factory() argument
1188 reflection_method_factory(zend_class_entry *ce, zend_function *method, zval *closure_object, zval *object) reflection_method_factory() argument
1210 reflection_property_factory(zend_class_entry *ce, zend_string *name, zend_property_info *prop, zval *object, zend_bool dynamic) reflection_property_factory() argument
1247 reflection_property_factory_str(zend_class_entry *ce, const char *name_str, size_t name_len, zend_property_info *prop, zval *object) reflection_property_factory_str() argument
1255 reflection_class_constant_factory(zend_class_entry *ce, zend_string *name_str, zend_class_constant *constant, zval *object) reflection_class_constant_factory() argument
2229 zend_class_entry *ce = NULL; ZEND_METHOD() local
2485 zend_class_entry *ce; ZEND_METHOD() local
2911 zend_class_entry *ce; ZEND_METHOD() local
3479 zend_class_entry *ce; ZEND_METHOD() local
3673 zend_class_entry *ce; reflection_class_object_ctor() local
3722 add_class_vars(zend_class_entry *ce, int statics, zval *return_value) add_class_vars() argument
3768 zend_class_entry *ce; ZEND_METHOD() local
3790 zend_class_entry *ce; ZEND_METHOD() local
3823 zend_class_entry *ce; ZEND_METHOD() local
3869 zend_class_entry *ce; ZEND_METHOD() local
3889 zend_class_entry *ce; ZEND_METHOD() local
3917 zend_class_entry *ce; ZEND_METHOD() local
3932 zend_class_entry *ce; ZEND_METHOD() local
3947 zend_class_entry *ce; ZEND_METHOD() local
3962 zend_class_entry *ce; ZEND_METHOD() local
3980 zend_class_entry *ce; ZEND_METHOD() local
3998 zend_class_entry *ce; ZEND_METHOD() local
4016 zend_class_entry *ce; ZEND_METHOD() local
4034 zend_class_entry *ce; ZEND_METHOD() local
4054 zend_class_entry *ce; ZEND_METHOD() local
4073 zend_class_entry *ce; ZEND_METHOD() local
4107 _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, zend_long filter) _addmethod() argument
4122 zend_class_entry *ce; ZEND_METHOD() local
4169 zend_class_entry *ce; ZEND_METHOD() local
4202 zend_class_entry *ce, *ce2; ZEND_METHOD() local
4270 _addproperty(zend_property_info *pptr, zend_string *key, zend_class_entry *ce, zval *retval, long filter) _addproperty() argument
4285 _adddynproperty(zval *ptr, zend_string *key, zend_class_entry *ce, zval *retval) _adddynproperty() argument
4317 zend_class_entry *ce; ZEND_METHOD() local
4353 zend_class_entry *ce; ZEND_METHOD() local
4374 zend_class_entry *ce; ZEND_METHOD() local
4400 zend_class_entry *ce; ZEND_METHOD() local
4422 zend_class_entry *ce; ZEND_METHOD() local
4448 zend_class_entry *ce; ZEND_METHOD() local
4468 zend_class_entry *ce; _class_check_flag() local
4483 zend_class_entry *ce; ZEND_METHOD() local
4508 zend_class_entry *ce; ZEND_METHOD() local
4577 zend_class_entry *ce; ZEND_METHOD() local
4595 zend_class_entry *ce; ZEND_METHOD() local
4612 zend_class_entry *ce, *old_scope; ZEND_METHOD() local
4685 zend_class_entry *ce; ZEND_METHOD() local
4705 zend_class_entry *ce, *old_scope; ZEND_METHOD() local
4791 zend_class_entry *ce; ZEND_METHOD() local
4819 zend_class_entry *ce; ZEND_METHOD() local
4846 zend_class_entry *ce; ZEND_METHOD() local
4878 zend_class_entry *ce; ZEND_METHOD() local
4903 zend_class_entry *ce; ZEND_METHOD() local
4938 zend_class_entry *ce; ZEND_METHOD() local
4958 zend_class_entry *ce, *class_ce; ZEND_METHOD() local
5001 zend_class_entry *ce, *interface_ce; ZEND_METHOD() local
5049 zend_class_entry *ce; ZEND_METHOD() local
5071 zend_class_entry *ce; ZEND_METHOD() local
5090 zend_class_entry *ce; ZEND_METHOD() local
5216 zend_class_entry *ce; ZEND_METHOD() local
5545 zend_class_entry *tmp_ce, *ce; ZEND_METHOD() local
5820 add_extension_class(zend_class_entry *ce, zend_string *key, zval *class_array, zend_module_entry *module, zend_bool add_reflection_class) add_extension_class() argument
5850 zend_class_entry *ce; ZEND_METHOD() local
5871 zend_class_entry *ce; ZEND_METHOD() local
6764 reflection_init_class_handlers(zend_class_entry *ce) reflection_init_class_handlers() argument
[all...]
/php-7.4/sapi/phpdbg/
H A Dphpdbg_print.c(last modified 13/02/19 23:05)151 zend_class_entry *ce; in PHPDBG_PRINT() local
153 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_PRINT()
155 (ce->type == ZEND_USER_CLASS) ? in PHPDBG_PRINT()
157 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in PHPDBG_PRINT()
159 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in PHPDBG_PRINT()
162 ZSTR_VAL(ce->name), in PHPDBG_PRINT()
163 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
167 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
170 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
185 zend_class_entry *ce; in PHPDBG_PRINT() local
287 phpdbg_print_opcodes_method_ce(zend_class_entry *ce, const char *function) phpdbg_print_opcodes_method_ce() argument
304 zend_class_entry *ce; phpdbg_print_opcodes_method() local
322 phpdbg_print_opcodes_ce(zend_class_entry *ce) phpdbg_print_opcodes_ce() argument
362 zend_class_entry *ce; phpdbg_print_opcodes_class() local
388 zend_class_entry *ce; phpdbg_print_opcodes() local
[all...]
/php-7.4/ext/dom/
H A Dphp_dom.c(last modified 13/02/19 23:06)207 void dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce) in dom_set_doc_classmap() argument
214 if (ce == NULL) { in dom_set_doc_classmap()
220 if (ce) { in dom_set_doc_classmap()
221 zend_hash_update_ptr(doc_props->classmap, basece->name, ce); in dom_set_doc_classmap()
235 zend_class_entry *ce = zend_hash_find_ptr(doc_props->classmap, basece->name); in dom_get_doc_classmap() local
236 if (ce) { in dom_get_doc_classmap()
237 return ce; in dom_get_doc_classmap()
338 } else if (instanceof_function(obj->std.ce, dom_node_class_entry)) { in dom_read_property()
339 php_error(E_WARNING, "Couldn't fetch %s. Node no longer exists", ZSTR_VAL(obj->std.ce->name)); in dom_read_property()
506 dom_object *clone = dom_objects_set_class(intern->std.ce); in dom_objects_store_clone_obj()
595 zend_class_entry ce; PHP_MINIT_FUNCTION() local
1174 zend_class_entry *ce; php_dom_create_interator() local
1189 zend_class_entry *ce; php_dom_create_object() local
[all...]
/php-7.4/ext/mysqli/
H A Dmysqli.c(last modified 29/01/20 08:00)505 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name)); in mysqli_convert_zv_to_mysqlnd()
572 zend_class_entry *ce,cex; in PHP_MINIT_FUNCTION() local
613 ce = mysqli_driver_class_entry; in PHP_MINIT_FUNCTION()
616 zend_declare_property_null(ce, "client_info", sizeof("client_info") - 1, ZEND_ACC_PUBLIC); in PHP_MINIT_FUNCTION()
617 zend_declare_property_null(ce, "client_version", sizeof("client_version") - 1, ZEND_ACC_PUBLIC); in PHP_MINIT_FUNCTION()
618 zend_declare_property_null(ce, "driver_version", sizeof("driver_version") - 1, ZEND_ACC_PUBLIC); in PHP_MINIT_FUNCTION()
619 zend_declare_property_null(ce, "embedded", sizeof("embedded") - 1, ZEND_ACC_PUBLIC); in PHP_MINIT_FUNCTION()
620 zend_declare_property_null(ce, "reconnect", sizeof("reconnect") - 1, ZEND_ACC_PUBLIC); in PHP_MINIT_FUNCTION()
621 zend_declare_property_null(ce, "report_mode", sizeof("report_mode") - 1, ZEND_ACC_PUBLIC); in PHP_MINIT_FUNCTION()
622 ce in PHP_MINIT_FUNCTION()
1230 zend_class_entry *ce = NULL; php_mysqli_fetch_into_hash() local
[all...]
/php-7.4/ext/opcache/Optimizer/
H A Descape_analysis.c(last modified 08/07/19 08:00)153 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in get_class_entry() local
154 if (ce) { in get_class_entry()
155 return ce; in get_class_entry()
158 ce = zend_hash_find_ptr(CG(class_table), lcname); in get_class_entry()
159 if (ce && ce->type == ZEND_INTERNAL_CLASS) { in get_class_entry()
160 return ce; in get_class_entry()
179 zend_class_entry *ce = get_class_entry(script, Z_STR_P(CRT_CONSTANT_EX(op_array, opline, opline->op1, ssa->rt_constants)+1)); in is_allocation_def() local
184 if (ce && !ce in is_allocation_def()
248 zend_class_entry *ce = get_class_entry(script, Z_STR_P(CRT_CONSTANT_EX(op_array, opline, opline->op1, ssa->rt_constants)+1)); is_local_def() local
[all...]
H A Dzend_optimizer.c(last modified 13/12/19 08:00)785 zend_class_entry *ce; in get_class_entry_from_op1() local
786 if (script && (ce = zend_hash_find_ptr(&script->class_table, class_name))) { in get_class_entry_from_op1()
787 return ce; in get_class_entry_from_op1()
788 } else if ((ce = zend_hash_find_ptr(EG(class_table), class_name))) { in get_class_entry_from_op1()
789 if (ce->type == ZEND_INTERNAL_CLASS) { in get_class_entry_from_op1()
790 return ce; in get_class_entry_from_op1()
791 } else if (ce->type == ZEND_USER_CLASS && in get_class_entry_from_op1()
792 ce->info.user.filename && in get_class_entry_from_op1()
793 ce->info.user.filename == op_array->filename) { in get_class_entry_from_op1()
794 return ce; in get_class_entry_from_op1()
848 zend_class_entry *ce = get_class_entry_from_op1( zend_optimizer_get_called_func() local
883 zend_class_entry *ce = get_class_entry_from_op1( zend_optimizer_get_called_func() local
1322 zend_class_entry *ce; zend_optimize_script() local
[all...]
H A Dzend_inference.c(last modified 26/03/20 08:00)1895 if (ssa_var_info[var].ce != (_ce) || \
1897 ssa_var_info[var].ce = (_ce); \
1907 && ssa_var_info[(from_var)].ce) { \
1908 UPDATE_SSA_OBJ_TYPE(ssa_var_info[(from_var)].ce, \
2237 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in get_class_entry() local
2238 if (ce) { in get_class_entry()
2239 return ce; in get_class_entry()
2242 ce = zend_hash_find_ptr(CG(class_table), lcname); in get_class_entry()
2243 if (ce && ce in get_class_entry()
2290 lookup_prop_info(zend_class_entry *ce, zend_string *name, zend_class_entry *scope) lookup_prop_info() argument
2321 zend_class_entry *ce = NULL; zend_fetch_prop_info() local
2344 zend_class_entry *ce = NULL; zend_fetch_static_prop_info() local
2421 zend_class_entry *ce; zend_update_type_info() local
3693 get_class_entry_rank(zend_class_entry *ce) get_class_entry_rank() argument
3754 zend_class_entry *ce = ssa_var_info[p->sources[0]].ce; zend_infer_types_ex() local
3782 zend_class_entry *ce = NULL; zend_infer_types_ex() local
4630 zend_class_entry *ce = var_info->ce; zend_may_throw() local
[all...]
/php-7.4/ext/spl/
H A Dspl_iterators.c(last modified 04/09/19 08:00)96 zend_class_entry *ce; member
114 zend_class_entry *ce; member
204 zend_call_method_with_0_params(zthis, object->ce, &object->endIteration, "endIteration", NULL); in spl_recursive_it_valid_ex()
239 zend_class_entry *ce; in spl_recursive_it_move_forward_ex() local
267 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
270 zend_call_method_with_0_params(zthis, object->ce, &object->callHasChildren, "callHasChildren", &retval); in spl_recursive_it_move_forward_ex()
272 zend_call_method_with_0_params(zobject, ce, NULL, "haschildren", &retval); in spl_recursive_it_move_forward_ex()
307 zend_call_method_with_0_params(zthis, object->ce, &object->nextElement, "nextelement", NULL); in spl_recursive_it_move_forward_ex()
320 zend_call_method_with_0_params(zthis, object->ce, in spl_recursive_it_move_forward_ex()
454 spl_recursive_it_get_iterator(zend_class_entry *ce, zval *zobject, int by_ref) spl_recursive_it_get_iterator() argument
770 zend_class_entry *ce; SPL_METHOD() local
799 zend_class_entry *ce; SPL_METHOD() local
1434 zend_class_entry *ce = NULL; spl_dual_it_construct() local
3482 zend_class_entry *ce = Z_OBJCE_P(obj); spl_iterator_apply() local
[all...]
H A Dspl_functions.c(last modified 13/02/19 23:05)31 zend_class_entry ce; in spl_register_interface() local
33 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions); in spl_register_interface()
34 *ppce = zend_register_internal_interface(&ce); in spl_register_interface()
41 zend_class_entry ce; in spl_register_std_class() local
43 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_std_class()
44 *ppce = zend_register_internal_class(&ce); in spl_register_std_class()
56 zend_class_entry ce; in spl_register_sub_class() local
58 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_sub_class()
59 *ppce = zend_register_internal_class_ex(&ce, parent_ce); in spl_register_sub_class()
140 zend_string * spl_gen_private_prop_name(zend_class_entry *ce, cha argument
[all...]
/php-7.4/ext/intl/breakiterator/
H A Dbreakiterator_class.cpp(last modified 13/02/19 23:06)54 zend_class_entry *ce; in breakiterator_object_create() local
57 ce = RuleBasedBreakIterator_ce_ptr; in breakiterator_object_create()
59 ce = CodePointBreakIterator_ce_ptr; in breakiterator_object_create()
61 ce = BreakIterator_ce_ptr; in breakiterator_object_create()
65 object_init_ex(object, ce); in breakiterator_object_create()
204 static zend_object *BreakIterator_object_create(zend_class_entry *ce) in BreakIterator_object_create() argument
208 intern = (BreakIterator_object*)ecalloc(1, sizeof(BreakIterator_object) + sizeof(zval) * (ce->default_properties_count - 1)); in BreakIterator_object_create()
210 zend_object_std_init(&intern->zo, ce); in BreakIterator_object_create()
211 object_properties_init((zend_object*) intern, ce); in BreakIterator_object_create()
312 zend_class_entry ce; in breakiterator_register_BreakIterator_class() local
[all...]
/php-7.4/ext/pdo/
H A Dpdo_stmt.c(last modified 24/09/19 08:00)721 zend_class_entry *ce = stmt->fetch.cls.ce; in do_fetch_class_prepare() local
727 if (!ce) { in do_fetch_class_prepare()
728 stmt->fetch.cls.ce = ZEND_STANDARD_CLASS_DEF_PTR; in do_fetch_class_prepare()
729 ce = ZEND_STANDARD_CLASS_DEF_PTR; in do_fetch_class_prepare()
732 if (ce->constructor) { in do_fetch_class_prepare()
739 zend_fcall_info_args_ex(fci, ce->constructor, &stmt->fetch.cls.ctor_args); in do_fetch_class_prepare()
741 fcc->function_handler = ce->constructor; in do_fetch_class_prepare()
742 fcc->called_scope = ce; in do_fetch_class_prepare()
823 zend_class_entry *ce in do_fetch() local
2310 pdo_dbstmt_new(zend_class_entry *ce) pdo_dbstmt_new() argument
2405 pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref) pdo_stmt_iter_get() argument
2627 pdo_row_new(zend_class_entry *ce) pdo_row_new() argument
2638 zend_class_entry ce; pdo_stmt_init() local
[all...]

Completed in 164 milliseconds

1234567