Home
last modified time | relevance | path

Searched refs:ce (Results 1 – 25 of 170) sorted by relevance

1234567

/PHP-7.3/Zend/
H A Dzend_inheritance.c121 ce->__get = ce->parent->__get; in do_inherit_parent_constructor()
124 ce->__set = ce->parent->__set; in do_inherit_parent_constructor()
127 ce->__unset = ce->parent->__unset; in do_inherit_parent_constructor()
130 ce->__isset = ce->parent->__isset; in do_inherit_parent_constructor()
133 ce->__call = ce->parent->__call; in do_inherit_parent_constructor()
139 ce->__tostring = ce->parent->__tostring; in do_inherit_parent_constructor()
142 ce->clone = ce->parent->clone; in do_inherit_parent_constructor()
145 ce->serialize = ce->parent->serialize; in do_inherit_parent_constructor()
946 if (property_info->ce == ce) { in zend_do_inheritance()
1137 if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) { in zend_add_magic_methods()
[all …]
H A Dzend_object_handlers.c65 zend_class_entry *ce = zobj->ce; in rebuild_object_properties() local
83 ce = ce->parent; in rebuild_object_properties()
85 if (prop_info->ce == ce && in rebuild_object_properties()
183 zend_class_entry *ce = zobj->ce; in zend_std_call_getter() local
219 zend_class_entry *ce = zobj->ce; in zend_std_call_setter() local
257 zend_class_entry *ce = zobj->ce; in zend_std_call_unsetter() local
293 zend_class_entry *ce = zobj->ce; in zend_std_call_issetter() local
1068 ce = ce->parent; in zend_get_parent_private()
1080 ce = ce->parent; in zend_get_parent_private()
1321 instanceof_function(object->ce, ce)) { in zend_std_get_static_method()
[all …]
H A Dzend_opcode.c163 if (ce->num_traits > 0 && ce->traits) { in _destroy_zend_class_traits_info()
164 efree(ce->traits); in _destroy_zend_class_traits_info()
167 if (ce->trait_aliases) { in _destroy_zend_class_traits_info()
215 switch (ce->type) { in destroy_zend_class()
238 if (prop_info->ce == ce || in destroy_zend_class()
239 ((prop_info->flags & ZEND_ACC_SHADOW) && prop_info->ce == ce->parent)) { in destroy_zend_class()
253 if (c->ce == ce) { in destroy_zend_class()
262 if (ce->num_interfaces > 0 && ce->interfaces) { in destroy_zend_class()
310 if (c->ce == ce) { in destroy_zend_class()
326 free(ce); in destroy_zend_class()
[all …]
H A Dzend_objects.c32 object->ce = ce; in zend_object_std_init()
54 end = p + object->ce->default_properties_count; in zend_object_std_dtor()
92 if (object->ce != scope) { in zend_objects_destroy_object()
95 ZSTR_VAL(object->ce->name), in zend_objects_destroy_object()
102 ZSTR_VAL(object->ce->name)); in zend_objects_destroy_object()
114 ZSTR_VAL(object->ce->name), in zend_objects_destroy_object()
121 ZSTR_VAL(object->ce->name)); in zend_objects_destroy_object()
156 fcic.called_scope = object->ce; in zend_objects_destroy_object()
178 zend_object_std_init(object, ce); in zend_objects_new()
239 if (old_object->ce->clone) { in zend_objects_clone_members()
[all …]
H A Dzend_inheritance.h27 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface);
28 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface);
30 ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait);
31 ZEND_API void zend_do_bind_traits(zend_class_entry *ce);
33 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce);
36 void zend_check_deprecated_constructor(const zend_class_entry *ce);
H A Dzend_interfaces.c127 …zend_call_method_with_0_params(object, ce, &ce->iterator_funcs_ptr->zf_new_iterator, "getiterator"… in zend_user_it_new_iterator()
163 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_valid, "valid",… in zend_user_it_valid()
179 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_current, "curre… 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", &re… in zend_user_it_get_current_key()
213 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_next, "next", N… in zend_user_it_move_forward()
224 …zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs_ptr->zf_rewind, "rewind… in zend_user_it_rewind()
254 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator()
406 zend_class_entry * ce = Z_OBJCE_P(object); in zend_user_serialize() local
410 zend_call_method_with_0_params(object, ce, &ce->serialize_func, "serialize", &retval); in zend_user_serialize()
451 zend_call_method_with_1_params(object, ce, &ce->unserialize_func, "unserialize", NULL, &zdata); in zend_user_unserialize()
[all …]
H A Dzend_interfaces.h36 zend_class_entry *ce; member
53 zend_class_entry ce;\
54 INIT_CLASS_ENTRY(ce, # class_name_str, zend_funcs_ ## class_name) \
55 zend_ce_ ## class_name = zend_register_internal_interface(&ce);\
69 ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *iterator);
70 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, in…
75 ZEND_API int zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, si…
78 ZEND_API int zend_class_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *b…
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_print.c151 zend_class_entry *ce; in PHPDBG_PRINT() local
162 ZSTR_VAL(ce->name), in PHPDBG_PRINT()
185 zend_class_entry *ce; in PHPDBG_PRINT() local
304 zend_class_entry *ce; in phpdbg_print_opcodes_method() local
310 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_method()
335 ZSTR_VAL(ce->name)); in phpdbg_print_opcodes_ce()
362 zend_class_entry *ce; in phpdbg_print_opcodes_class() local
368 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_class()
377 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
388 zend_class_entry *ce; in phpdbg_print_opcodes() local
[all …]
H A Dphpdbg_info.c379 …const char *type = (ce->ce_flags & ZEND_ACC_INTERFACE) ? "Interface" : (ce->ce_flags & ZEND_ACC_AB… in phpdbg_print_class_name()
381 …%s %.*s (%d)", visibility, type, (int) ZSTR_LEN(ce->name), ZSTR_VAL(ce->name), zend_hash_num_eleme… in phpdbg_print_class_name()
386 zend_class_entry *ce; in PHPDBG_INFO() local
392 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in PHPDBG_INFO()
393 if (ce->type == ZEND_USER_CLASS) { in PHPDBG_INFO()
394 zend_hash_next_index_insert_ptr(&classes, ce); in PHPDBG_INFO()
404 ZEND_HASH_FOREACH_PTR(&classes, ce) { in PHPDBG_INFO()
405 phpdbg_print_class_name(ce); in PHPDBG_INFO()
407 if (ce->parent) { in PHPDBG_INFO()
410 pce = ce->parent; in PHPDBG_INFO()
[all …]
/PHP-7.3/ext/opcache/
H A Dzend_persist.c667 prop->ce = zend_shared_alloc_get_xlat_entry(prop->ce); in zend_persist_property_info()
695 c->ce = zend_shared_alloc_get_xlat_entry(c->ce); in zend_persist_class_constant()
765 if (ce->num_interfaces && ce->interfaces) { in zend_persist_class_entry()
770 if (ce->num_traits && ce->traits) { in zend_persist_class_entry()
830 ce->parent = zend_shared_alloc_get_xlat_entry(ce->parent); in zend_update_parent_ce()
841 ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone); in zend_update_parent_ce()
844 ce->__get = zend_shared_alloc_get_xlat_entry(ce->__get); in zend_update_parent_ce()
847 ce->__set = zend_shared_alloc_get_xlat_entry(ce->__set); in zend_update_parent_ce()
850 ce->__call = zend_shared_alloc_get_xlat_entry(ce->__call); in zend_update_parent_ce()
859 ce->__isset = zend_shared_alloc_get_xlat_entry(ce->__isset); in zend_update_parent_ce()
[all …]
H A Dzend_persist_calc.c310 zend_class_entry *ce = Z_PTR_P(zv); in zend_persist_class_entry_calc() local
312 if (ce->type == ZEND_USER_CLASS) { in zend_persist_class_entry_calc()
314 ADD_INTERNED_STRING(ce->name, 0); in zend_persist_class_entry_calc()
316 if (ce->default_properties_table) { in zend_persist_class_entry_calc()
336 if (ce->info.user.filename) { in zend_persist_class_entry_calc()
337 ADD_STRING(ce->info.user.filename); in zend_persist_class_entry_calc()
345 if (ce->trait_aliases) { in zend_persist_class_entry_calc()
347 while (ce->trait_aliases[i]) { in zend_persist_class_entry_calc()
355 if (ce->trait_aliases[i]->alias) { in zend_persist_class_entry_calc()
364 if (ce->trait_precedences) { in zend_persist_class_entry_calc()
[all …]
H A Dzend_file_cache.c590 SERIALIZE_PTR(c->ce);
606 zend_class_entry *ce; local
609 ce = Z_PTR_P(zv);
610 UNSERIALIZE_PTR(ce);
612 SERIALIZE_STR(ce->name);
635 p = table + (ce->parent ? ce->parent->default_static_members_count : 0);
651 p = ce->trait_aliases;
1224 zend_class_entry *ce; local
1227 ce = Z_PTR_P(zv);
1251 p = table + (ce->parent ? ce->parent->default_static_members_count : 0);
[all …]
H A Dzend_accelerator_util_funcs.c217 c->ce = ARENA_REALLOC(c->ce); in zend_hash_clone_constants()
327 prop_info->ce = ARENA_REALLOC(prop_info->ce); in zend_hash_clone_prop_info()
335 ce->handler = ARENA_REALLOC(ce->handler); \
347 ce->refcount = 1; in zend_class_copy_ctor()
349 if (ce->parent) { in zend_class_copy_ctor()
350 ce->parent = ARENA_REALLOC(ce->parent); in zend_class_copy_ctor()
393 ce->static_members_table = ce->default_static_members_table; in zend_class_copy_ctor()
403 ce->interfaces = emalloc(sizeof(zend_class_entry *) * ce->num_interfaces); in zend_class_copy_ctor()
404 memset(ce->interfaces, 0, sizeof(zend_class_entry *) * ce->num_interfaces); in zend_class_copy_ctor()
406 ce->interfaces = NULL; in zend_class_copy_ctor()
[all …]
/PHP-7.3/ext/spl/
H A Dspl_functions.c31 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()
133 zend_string * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len) /* {{{… in spl_gen_private_prop_name() argument
[all …]
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c1093 intern->ce = ce; in zend_reflection_class_factory()
1216 intern->ce = ce; in reflection_method_factory()
1257 reference->ce = ce; in reflection_property_factory()
1262 intern->ce = ce; in reflection_property_factory()
2447 intern->ce = ce; in ZEND_METHOD()
2569 ce = ce->parent; in ZEND_METHOD()
3034 intern->ce = ce; in ZEND_METHOD()
4370 property_info.ce = ce; in _adddynproperty()
5345 reference->ce = ce; in ZEND_METHOD()
5349 intern->ce = ce; in ZEND_METHOD()
[all …]
/PHP-7.3/ext/dom/
H A Dphp_dom.c214 if (ce == NULL) { in dom_set_doc_classmap()
220 if (ce) { in dom_set_doc_classmap()
236 if (ce) { in dom_get_doc_classmap()
237 return ce; in dom_get_doc_classmap()
593 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
1172 zend_class_entry *ce; in php_dom_create_interator() local
1187 zend_class_entry *ce; in php_dom_create_object() local
1221 ce = dom_attr_class_entry; in php_dom_create_object()
1226 ce = dom_text_class_entry; in php_dom_create_object()
1247 ce = dom_entity_class_entry; in php_dom_create_object()
[all …]
/PHP-7.3/ext/mysqli/
H A Dmysqli.c558 zend_class_entry *ce,cex; in PHP_MINIT_FUNCTION() local
599 ce = mysqli_driver_class_entry; in PHP_MINIT_FUNCTION()
608 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
612 ce = mysqli_link_class_entry; in PHP_MINIT_FUNCTION()
638 ce->ce_flags |= ZEND_ACC_FINAL; in PHP_MINIT_FUNCTION()
647 ce = mysqli_result_class_entry; in PHP_MINIT_FUNCTION()
660 ce = mysqli_stmt_class_entry; in PHP_MINIT_FUNCTION()
1217 zend_class_entry *ce = NULL; in php_mysqli_fetch_into_hash() local
1230 if (!ce) { in php_mysqli_fetch_into_hash()
1269 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
[all …]
/PHP-7.3/ext/intl/collator/
H A Dcollator_class.c50 zend_object *Collator_object_create(zend_class_entry *ce ) in Collator_object_create() argument
52 Collator_object *intern = zend_object_alloc(sizeof(Collator_object), ce); in Collator_object_create()
54 zend_object_std_init(&intern->zo, ce ); in Collator_object_create()
55 object_properties_init(&intern->zo, ce); in Collator_object_create()
123 zend_class_entry ce; in collator_register_Collator_class() local
126 INIT_CLASS_ENTRY( ce, "Collator", Collator_class_functions ); in collator_register_Collator_class()
127 ce.create_object = Collator_object_create; in collator_register_Collator_class()
128 Collator_ce_ptr = zend_register_internal_class( &ce ); in collator_register_Collator_class()
/PHP-7.3/ext/pdo/
H A Dphp_pdo_int.h34 extern zend_object *pdo_dbh_new(zend_class_entry *ce);
39 extern zend_object *pdo_dbstmt_new(zend_class_entry *ce);
43 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref);
48 extern zend_object *pdo_row_new(zend_class_entry *ce);
54 zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object);
/PHP-7.3/ext/intl/breakiterator/
H A Dbreakiterator_class.cpp54 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()
210 zend_object_std_init(&intern->zo, ce); in BreakIterator_object_create()
314 zend_class_entry ce; in breakiterator_register_BreakIterator_class() local
318 ce.create_object = BreakIterator_object_create; in breakiterator_register_BreakIterator_class()
319 ce.get_iterator = _breakiterator_get_iterator; in breakiterator_register_BreakIterator_class()
366 INIT_CLASS_ENTRY(ce, "IntlRuleBasedBreakIterator", in breakiterator_register_BreakIterator_class()
[all …]
/PHP-7.3/ext/intl/spoofchecker/
H A Dspoofchecker_class.c44 zend_object *Spoofchecker_object_create(zend_class_entry *ce) in Spoofchecker_object_create() argument
48 intern = zend_object_alloc(sizeof(Spoofchecker_object), ce); in Spoofchecker_object_create()
50 zend_object_std_init(&intern->zo, ce); in Spoofchecker_object_create()
51 object_properties_init(&intern->zo, ce); in Spoofchecker_object_create()
140 zend_class_entry ce; in spoofchecker_register_Spoofchecker_class() local
143 INIT_CLASS_ENTRY(ce, "Spoofchecker", Spoofchecker_class_functions); in spoofchecker_register_Spoofchecker_class()
144 ce.create_object = Spoofchecker_object_create; in spoofchecker_register_Spoofchecker_class()
145 Spoofchecker_ce_ptr = zend_register_internal_class(&ce); in spoofchecker_register_Spoofchecker_class()
/PHP-7.3/ext/intl/normalizer/
H A Dnormalizer_class.c64 zend_class_entry ce; in normalizer_register_Normalizer_class() local
67 INIT_CLASS_ENTRY( ce, "Normalizer", Normalizer_class_functions ); in normalizer_register_Normalizer_class()
68 ce.create_object = NULL; in normalizer_register_Normalizer_class()
69 Normalizer_ce_ptr = zend_register_internal_class( &ce ); in normalizer_register_Normalizer_class()
/PHP-7.3/ext/intl/msgformat/
H A Dmsgformat_class.c48 zend_object *MessageFormatter_object_create(zend_class_entry *ce) in MessageFormatter_object_create() argument
52 intern = zend_object_alloc(sizeof(MessageFormatter_object), ce); in MessageFormatter_object_create()
54 zend_object_std_init( &intern->zo, ce ); in MessageFormatter_object_create()
55 object_properties_init(&intern->zo, ce); in MessageFormatter_object_create()
148 zend_class_entry ce; in msgformat_register_class() local
151 INIT_CLASS_ENTRY( ce, "MessageFormatter", MessageFormatter_class_functions ); in msgformat_register_class()
152 ce.create_object = MessageFormatter_object_create; in msgformat_register_class()
153 MessageFormatter_ce_ptr = zend_register_internal_class( &ce ); in msgformat_register_class()
/PHP-7.3/ext/opcache/Optimizer/
H A Descape_analysis.c154 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()
184 if (ce && !ce->create_object && !ce->constructor && in is_allocation_def()
185 !ce->destructor && !ce->__get && !ce->__set && in is_allocation_def()
186 !(ce->ce_flags & forbidden_flags) && in is_allocation_def()
248 if (ce && !ce->create_object && !ce->constructor && in is_local_def()
249 !ce->destructor && !ce->__get && !ce->__set && in is_local_def()
[all …]
/PHP-7.3/ext/standard/tests/strings/
H A Dstrrchr_variation5.phpt42 ce"
44 ce"
48 ce"
50 ce"
56 ce"

Completed in 205 milliseconds

1234567