Home
last modified time | relevance | path

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

12345678910>>...12

/php-src/ext/spl/
H A Dspl_exceptions_arginfo.h6 zend_class_entry ce, *class_entry; in register_class_LogicException() local
16 zend_class_entry ce, *class_entry; in register_class_BadFunctionCallException() local
26 zend_class_entry ce, *class_entry; in register_class_BadMethodCallException() local
36 zend_class_entry ce, *class_entry; in register_class_DomainException() local
46 zend_class_entry ce, *class_entry; in register_class_InvalidArgumentException() local
56 zend_class_entry ce, *class_entry; in register_class_LengthException() local
66 zend_class_entry ce, *class_entry; in register_class_OutOfRangeException() local
76 zend_class_entry ce, *class_entry; in register_class_RuntimeException() local
86 zend_class_entry ce, *class_entry; in register_class_OutOfBoundsException() local
96 zend_class_entry ce, *class_entry; in register_class_OverflowException() local
[all …]
H A Dspl_iterators_arginfo.h605 zend_class_entry ce, *class_entry; in register_class_EmptyIterator() local
616 zend_class_entry ce, *class_entry; in register_class_CallbackFilterIterator() local
626 zend_class_entry ce, *class_entry; in register_class_RecursiveCallbackFilterIterator() local
637 zend_class_entry ce, *class_entry; in register_class_RecursiveIterator() local
648 zend_class_entry ce, *class_entry; in register_class_RecursiveIteratorIterator() local
683 zend_class_entry ce, *class_entry; in register_class_OuterIterator() local
694 zend_class_entry ce, *class_entry; in register_class_IteratorIterator() local
705 zend_class_entry ce, *class_entry; in register_class_FilterIterator() local
715 zend_class_entry ce, *class_entry; in register_class_RecursiveFilterIterator() local
726 zend_class_entry ce, *class_entry; in register_class_ParentIterator() local
[all …]
/php-src/Zend/
H A Dzend_inheritance.c294 if (ce && class_visible(ce)) { in lookup_class_ex()
353 if (ce && ce != ce1 && unlinked_instanceof(ce, ce2)) { in unlinked_instanceof()
1891 if (property_info->ce == ce) { in zend_do_inheritance_ex()
2016 if (child_constant->ce != parent_constant->ce && child_constant->ce != ce) { in do_inherit_constant_check()
2763 constant->ce = ce; in zend_do_traits_constant_binding()
3383 new_prop_info->ce = ce; in zend_lazy_class_load()
3395 new_prop_info->ce = ce; in zend_lazy_class_load()
3418 new_c->ce = ce; in zend_lazy_class_load()
3546 ce = zend_lazy_class_load(ce); in zend_do_link_class()
3551 ce = zend_lazy_class_load(ce); in zend_do_link_class()
[all …]
H A Dzend_enum.c30 if (ce->propertyName) { \
76 ZSTR_VAL(ce->name)); in zend_verify_enum_properties()
176 ce->num_interfaces++; in zend_enum_add_interfaces()
178 ce->num_interfaces++; in zend_enum_add_interfaces()
183 ce->interface_names = erealloc(ce->interface_names, sizeof(zend_class_name) * ce->num_interfaces); in zend_enum_add_interfaces()
291 if (ce->type == ZEND_USER_CLASS && !(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED)) { in zend_enum_get_case_by_value()
419 zif->scope = ce; in zend_enum_register_func()
510 ce->enum_backing_type = type; in zend_register_internal_enum()
520 ce, unit_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum()
524 ce, backed_enum_methods, &ce->function_table, EG(current_module)->type); in zend_register_internal_enum()
[all …]
H A Dzend_enum.h34 void zend_enum_add_interfaces(zend_class_entry *ce);
35 zend_result zend_enum_build_backed_enum_table(zend_class_entry *ce);
37 void zend_verify_enum(const zend_class_entry *ce);
38 void zend_enum_register_funcs(zend_class_entry *ce);
39 void zend_enum_register_props(zend_class_entry *ce);
44 ZEND_API void zend_enum_add_case_cstr(zend_class_entry *ce, const char *name, zval *value);
45 ZEND_API zend_object *zend_enum_get_case(zend_class_entry *ce, zend_string *name);
46 ZEND_API zend_object *zend_enum_get_case_cstr(zend_class_entry *ce, const char *name);
51 ZEND_ASSERT(zobj->ce->ce_flags & ZEND_ACC_ENUM); in zend_enum_fetch_case_name()
57 ZEND_ASSERT(zobj->ce->ce_flags & ZEND_ACC_ENUM); in zend_enum_fetch_case_value()
[all …]
H A Dzend_inheritance.h28 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface);
29 ZEND_API void zend_do_inheritance_ex(zend_class_entry *ce, zend_class_entry *parent_ce, bool checke…
31 static zend_always_inline void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_c… in zend_do_inheritance() argument
32 zend_do_inheritance_ex(ce, parent_ce, 0); in zend_do_inheritance()
35 ZEND_API zend_class_entry *zend_do_link_class(zend_class_entry *ce, zend_string *lc_parent_name, ze…
37 void zend_verify_abstract_class(zend_class_entry *ce);
38 void zend_build_properties_info_table(zend_class_entry *ce);
39 ZEND_API zend_class_entry *zend_try_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce, z…
41 void zend_inheritance_check_override(zend_class_entry *ce);
43 ZEND_API extern zend_class_entry* (*zend_inheritance_cache_get)(zend_class_entry *ce, zend_class_en…
[all …]
H A Dzend_interfaces_arginfo.h122 zend_class_entry ce, *class_entry; in register_class_Traversable() local
124 INIT_CLASS_ENTRY(ce, "Traversable", NULL); in register_class_Traversable()
125 class_entry = zend_register_internal_interface(&ce); in register_class_Traversable()
132 zend_class_entry ce, *class_entry; in register_class_IteratorAggregate() local
135 class_entry = zend_register_internal_interface(&ce); in register_class_IteratorAggregate()
143 zend_class_entry ce, *class_entry; in register_class_Iterator() local
154 zend_class_entry ce, *class_entry; in register_class_ArrayAccess() local
164 zend_class_entry ce, *class_entry; in register_class_Serializable() local
174 zend_class_entry ce, *class_entry; in register_class_Countable() local
184 zend_class_entry ce, *class_entry; in register_class_Stringable() local
[all …]
H A Dzend_opcode.c180 if (ZEND_MAP_PTR(ce->static_members_table) && CE_STATIC_MEMBERS(ce)) { in zend_cleanup_internal_class_data()
264 if (c->ce == ce || (Z_CONSTANT_FLAGS(c->value) & CONST_OWNED)) { in zend_cleanup_mutable_class_data()
313 if (c->ce == ce) { in destroy_zend_class()
336 switch (ce->type) { in destroy_zend_class()
339 if (ce->parent_name && !(ce->ce_flags & ZEND_ACC_RESOLVED_PARENT)) { in destroy_zend_class()
391 if (prop_info->ce == ce) { in destroy_zend_class()
415 if (c->ce == ce || (Z_CONSTANT_FLAGS(c->value) & CONST_OWNED)) { in destroy_zend_class()
464 if (prop_info->ce == ce) { in destroy_zend_class()
495 if (c->ce == ce) { in destroy_zend_class()
530 free(ce); in destroy_zend_class()
[all …]
H A Dzend_object_handlers.c70 zend_class_entry *ce = zobj->ce; in rebuild_object_properties_internal() local
101 zend_class_entry *ce = zobj->ce; in zend_std_build_object_properties_array() local
186 zend_class_entry *ce = object->ce; in zend_std_get_debug_info() local
323 zend_class_entry *ce = obj->ce; in zend_deprecated_dynamic_property() local
401 if (property_info->ce != ce) { in zend_get_property_offset()
496 if (property_info->ce != ce) { in zend_get_property_info()
810 zend_class_entry *ce = zobj->ce; in zend_std_read_property() local
1213 zend_class_entry *ce = object->ce; in zend_std_read_dimension() local
1264 zend_class_entry *ce = object->ce; in zend_std_write_dimension() local
2093 if (zobj1->ce != zobj2->ce) { in zend_std_compare_objects()
[all …]
H A Dzend_exceptions_arginfo.h147 zend_class_entry ce, *class_entry; in register_class_Throwable() local
158 zend_class_entry ce, *class_entry; in register_class_Exception() local
198 zend_class_entry ce, *class_entry; in register_class_ErrorException() local
212 zend_class_entry ce, *class_entry; in register_class_Error() local
252 zend_class_entry ce, *class_entry; in register_class_CompileError() local
262 zend_class_entry ce, *class_entry; in register_class_ParseError() local
272 zend_class_entry ce, *class_entry; in register_class_TypeError() local
282 zend_class_entry ce, *class_entry; in register_class_ArgumentCountError() local
292 zend_class_entry ce, *class_entry; in register_class_ValueError() local
302 zend_class_entry ce, *class_entry; in register_class_ArithmeticError() local
[all …]
H A Dzend_objects.c34 object->ce = ce; in _zend_object_std_init()
36 object->handlers = ce->default_object_handlers; in _zend_object_std_init()
48 _zend_object_std_init(object, ce); in zend_object_std_init()
93 end = p + object->ce->default_properties_count; in zend_object_std_dtor()
133 if (object->ce != scope) { in zend_objects_destroy_object()
136 ZSTR_VAL(object->ce->name), in zend_objects_destroy_object()
145 ZSTR_VAL(object->ce->name)); in zend_objects_destroy_object()
157 ZSTR_VAL(object->ce->name), in zend_objects_destroy_object()
166 ZSTR_VAL(object->ce->name)); in zend_objects_destroy_object()
212 _zend_object_std_init(object, ce); in zend_objects_new()
[all …]
H A Dzend_lazy_objects.c189 if (UNEXPECTED(ce->type == ZEND_INTERNAL_CLASS && ce != zend_standard_class_def)) { in zend_class_can_be_lazy()
381 zend_class_entry *ce = obj->ce; in zend_lazy_object_mark_as_initialized() local
404 zend_class_entry *ce = obj->ce; in zend_lazy_object_revert_init() local
442 if (EXPECTED(real_object->ce == lazy_object->ce)) { in zend_lazy_object_compatible()
446 if (!instanceof_function(lazy_object->ce, real_object->ce)) { in zend_lazy_object_compatible()
457 return lazy_object->ce->destructor == real_object->ce->destructor in zend_lazy_object_compatible()
458 && lazy_object->ce->clone == real_object->ce->clone; in zend_lazy_object_compatible()
495 ZSTR_VAL(obj->ce->name), in zend_lazy_object_init_proxy()
505 ZSTR_VAL(obj->ce->name)); in zend_lazy_object_init_proxy()
571 zend_class_entry *ce = obj->ce; in zend_lazy_object_init() local
[all …]
H A Dzend_enum_arginfo.h29 zend_class_entry ce, *class_entry; in register_class_UnitEnum() local
31 INIT_CLASS_ENTRY(ce, "UnitEnum", class_UnitEnum_methods); in register_class_UnitEnum()
32 class_entry = zend_register_internal_interface(&ce); in register_class_UnitEnum()
39 zend_class_entry ce, *class_entry; in register_class_BackedEnum() local
41 INIT_CLASS_ENTRY(ce, "BackedEnum", class_BackedEnum_methods); in register_class_BackedEnum()
42 class_entry = zend_register_internal_interface(&ce); in register_class_BackedEnum()
H A Dzend_attributes_arginfo.h81 zend_class_entry ce, *class_entry; in register_class_Attribute() local
83 INIT_CLASS_ENTRY(ce, "Attribute", class_Attribute_methods); in register_class_Attribute()
152 zend_class_entry ce, *class_entry; in register_class_ReturnTypeWillChange() local
169 zend_class_entry ce, *class_entry; in register_class_AllowDynamicProperties() local
186 zend_class_entry ce, *class_entry; in register_class_SensitiveParameter() local
188 INIT_CLASS_ENTRY(ce, "SensitiveParameter", class_SensitiveParameter_methods); in register_class_SensitiveParameter()
203 zend_class_entry ce, *class_entry; in register_class_SensitiveParameterValue() local
217 zend_class_entry ce, *class_entry; in register_class_Override() local
219 INIT_CLASS_ENTRY(ce, "Override", class_Override_methods); in register_class_Override()
234 zend_class_entry ce, *class_entry; in register_class_Deprecated() local
[all …]
H A Dzend_API.c984 if (ce) { in zend_parse_arg_impl()
1341 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1373 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex()
2859 ce->clone = fptr; in zend_add_magic_method()
2866 ce->__get = fptr; in zend_add_magic_method()
2869 ce->__set = fptr; in zend_add_magic_method()
3825 fcc->called_scope = fcc->object ? fcc->object->ce : ce; in zend_is_callable_check_class()
4134 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in zend_get_callable_name_ex()
4604ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_… in zend_declare_typed_property()
4643 property_info->ce = ce; in zend_declare_typed_property()
[all …]
H A Dzend_objects_API.h83 static zend_always_inline size_t zend_object_properties_size(zend_class_entry *ce) in zend_object_properties_size() argument
86 (ce->default_properties_count - in zend_object_properties_size()
87 ((ce->ce_flags & ZEND_ACC_USE_GUARDS) ? 0 : 1)); in zend_object_properties_size()
93 static zend_always_inline void *zend_object_alloc(size_t obj_size, zend_class_entry *ce) { in zend_object_alloc() argument
94 void *obj = emalloc(obj_size + zend_object_properties_size(ce)); in zend_object_alloc()
103 zend_property_info **table = obj->ce->properties_info_table; in zend_get_property_info_for_slot_self()
105 ZEND_ASSERT(prop_num >= 0 && prop_num < obj->ce->default_properties_count); in zend_get_property_info_for_slot_self()
114 zend_property_info **table = obj->ce->properties_info_table; in zend_get_property_info_for_slot()
116 ZEND_ASSERT(prop_num >= 0 && prop_num < obj->ce->default_properties_count); in zend_get_property_info_for_slot()
/php-src/ext/opcache/
H A Dzend_persist.c789 ce = zend_shared_alloc_get_xlat_entry(prop->ce); in zend_persist_property_info()
790 if (ce) { in zend_persist_property_info()
791 prop->ce = ce; in zend_persist_property_info()
860 ce = zend_shared_alloc_get_xlat_entry(c->ce); in zend_persist_class_constant()
861 if (ce) { in zend_persist_class_constant()
862 c->ce = ce; in zend_persist_class_constant()
898 ce = zend_shared_memdup_put(ce, sizeof(zend_class_entry)); in zend_persist_class_entry()
1016 return ce; in zend_persist_class_entry()
1038 ce->attributes = zend_persist_attributes(ce->attributes); in zend_persist_class_entry()
1058ce->trait_names = zend_shared_memdup_free(ce->trait_names, sizeof(zend_class_name) * ce->num_trait… in zend_persist_class_entry()
[all …]
H A Dzend_persist_calc.c428 zend_shared_alloc_register_xlat_entry(ce, ce); in zend_persist_class_entry_calc()
434 if (ce->parent_name && !(ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry_calc()
475 if (prop->ce == ce) { in zend_persist_class_entry_calc()
484 if (ce->num_interfaces && (ce->ce_flags & ZEND_ACC_LINKED)) { in zend_persist_class_entry_calc()
488 if (ce->iterator_funcs_ptr) { in zend_persist_class_entry_calc()
499 if (ce->info.user.filename) { in zend_persist_class_entry_calc()
504 ADD_STRING(ce->doc_comment); in zend_persist_class_entry_calc()
507 if (ce->attributes) { in zend_persist_class_entry_calc()
511 if (ce->num_interfaces) { in zend_persist_class_entry_calc()
523 if (ce->num_traits) { in zend_persist_class_entry_calc()
[all …]
H A Dzend_file_cache.c713 SERIALIZE_PTR(c->ce);
731 zend_class_entry *ce; local
734 ce = Z_PTR_P(zv);
735 UNSERIALIZE_PTR(ce);
738 if (ce->parent) {
806 if (ce->num_traits) {
910 if (ce->get_iterator) {
1585 zend_class_entry *ce; local
1588 ce = Z_PTR_P(zv);
1598 if (ce->parent) {
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg_print.c124 zend_class_entry *ce; in PHPDBG_PRINT() local
128 (ce->type == ZEND_USER_CLASS) ? in PHPDBG_PRINT()
135 ZSTR_VAL(ce->name), in PHPDBG_PRINT()
154 zend_class_entry *ce; in PHPDBG_PRINT() local
263 zend_class_entry *ce; in phpdbg_print_opcodes_method() local
278 (ce->type == ZEND_USER_CLASS) ? in phpdbg_print_opcodes_ce()
285 ZSTR_VAL(ce->name)); in phpdbg_print_opcodes_ce()
311 zend_class_entry *ce; in phpdbg_print_opcodes_class() local
318 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
329 zend_class_entry *ce; in phpdbg_print_opcodes() local
[all …]
/php-src/ext/reflection/
H A Dphp_reflection.c1316 intern->ce = ce; in zend_reflection_class_factory()
1488 intern->ce = ce; in reflection_method_factory()
1511 intern->ce = ce; in reflection_property_factory()
1533 intern->ce = constant->ce; in reflection_class_constant_factory()
2549 intern->ce = ce; in ZEND_METHOD()
2688 ce = ce->parent; in ZEND_METHOD()
3202 ce = arg1_obj->ce; in instantiate_reflection_method()
3264 intern->ce = ce; in instantiate_reflection_method()
3728 ce = classname_obj->ce; in ZEND_METHOD()
5643 intern->ce = ce; in ZEND_METHOD()
[all …]
/php-src/ext/zend_test/
H A Dobject_handlers.c26 zend_object *obj = zend_objects_new(ce); in donc_object_create_ex()
27 object_properties_init(obj, ce); in donc_object_create_ex()
34 return donc_object_create_ex(ce, 0); in donc_object_create()
129 zend_object *obj = zend_objects_new(ce); in long_castable_no_operation_object_create_ex()
130 object_properties_init(obj, ce); in long_castable_no_operation_object_create_ex()
165 zend_object *obj = zend_objects_new(ce); in float_castable_no_operation_object_create_ex()
166 object_properties_init(obj, ce); in float_castable_no_operation_object_create_ex()
201 zend_object *obj = zend_objects_new(ce); in numeric_castable_no_operation_object_create_ex()
202 object_properties_init(obj, ce); in numeric_castable_no_operation_object_create_ex()
239 zend_object *object = zend_objects_new(ce); in dimension_handlers_no_ArrayAccess_object_create()
[all …]
H A Dtest_arginfo.h583 zend_class_entry ce, *class_entry; in register_class__ZendTestInterface() local
600 zend_class_entry ce, *class_entry; in register_class__ZendTestClass() local
737 zend_class_entry ce, *class_entry; in register_class__ZendTestMagicCall() local
751 zend_class_entry ce, *class_entry; in register_class__ZendTestMagicCallForward() local
765 zend_class_entry ce, *class_entry; in register_class__ZendTestChildClass() local
779 zend_class_entry ce, *class_entry; in register_class_ZendAttributeTest() local
832 zend_class_entry ce, *class_entry; in register_class__ZendTestTrait() local
866 zend_class_entry ce, *class_entry; in register_class_ZendTestAttribute() local
888 zend_class_entry ce, *class_entry; in register_class_ZendTestAttributeWithArguments() local
920 zend_class_entry ce, *class_entry; in register_class_ZendTestRepeatableAttribute() local
[all …]
H A Dobject_handlers_arginfo.h45 zend_class_entry ce, *class_entry; in register_class_DoOperationNoCast() local
47 INIT_CLASS_ENTRY(ce, "DoOperationNoCast", class_DoOperationNoCast_methods); in register_class_DoOperationNoCast()
48 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_DoOperationNoCast()
61 zend_class_entry ce, *class_entry; in register_class_LongCastableNoOperations() local
64 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_LongCastableNoOperations()
77 zend_class_entry ce, *class_entry; in register_class_FloatCastableNoOperations() local
80 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL); in register_class_FloatCastableNoOperations()
93 zend_class_entry ce, *class_entry; in register_class_NumericCastableNoOperations() local
109 zend_class_entry ce, *class_entry; in register_class_DimensionHandlersNoArrayAccess() local
111 INIT_CLASS_ENTRY(ce, "DimensionHandlersNoArrayAccess", NULL); in register_class_DimensionHandlersNoArrayAccess()
[all …]
/php-src/ext/random/
H A Drandom_arginfo.h247 zend_class_entry ce, *class_entry; in register_class_Random_Engine_Mt19937() local
258 zend_class_entry ce, *class_entry; in register_class_Random_Engine_PcgOneseq128XslRr64() local
269 zend_class_entry ce, *class_entry; in register_class_Random_Engine_Xoshiro256StarStar() local
280 zend_class_entry ce, *class_entry; in register_class_Random_Engine_Secure() local
291 zend_class_entry ce, *class_entry; in register_class_Random_Engine() local
294 class_entry = zend_register_internal_interface(&ce); in register_class_Random_Engine()
301 zend_class_entry ce, *class_entry; in register_class_Random_CryptoSafeEngine() local
312 zend_class_entry ce, *class_entry; in register_class_Random_Randomizer() local
344 zend_class_entry ce, *class_entry; in register_class_Random_RandomError() local
354 zend_class_entry ce, *class_entry; in register_class_Random_BrokenRandomEngineError() local
[all …]

Completed in 136 milliseconds

12345678910>>...12