/PHP-8.0/ext/intl/ |
H A D | intl_error.c | 208 zend_class_entry ce; in intl_register_IntlException_class() local 211 INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); in intl_register_IntlException_class() 212 IntlException_ce_ptr = zend_register_internal_class_ex( &ce, in intl_register_IntlException_class()
|
/PHP-8.0/ext/simplexml/ |
H A D | simplexml.c | 2205 zend_class_entry *parent = ce; in php_sxe_find_fptr_count() 2239 zend_object_std_init(&intern->zo, ce); in php_sxe_object_new() 2249 sxe_object_new(zend_class_entry *ce) in sxe_object_new() argument 2253 intern = php_sxe_object_new(ce, php_sxe_find_fptr_count(ce)); in sxe_object_new() 2289 if (!ce) { in PHP_FUNCTION() 2290 ce = sxe_class_entry; in PHP_FUNCTION() 2344 if (!ce) { in PHP_FUNCTION() 2345 ce = sxe_class_entry; in PHP_FUNCTION() 2645 if (!ce) { in PHP_FUNCTION() 2646 ce = sxe_class_entry; in PHP_FUNCTION() [all …]
|
H A D | php_simplexml_exports.h | 38 PHP_SXE_API zend_object *sxe_object_new(zend_class_entry *ce);
|
/PHP-8.0/ext/spl/ |
H A D | spl_heap.c | 461 zend_object *new_object = spl_heap_object_new_ex(old_object->ce, old_object, 1); in spl_heap_object_clone() 475 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_heap_object_count_elements() 491 static inline HashTable* spl_heap_object_get_debug_info(zend_class_entry *ce, zend_object *obj) { /… in spl_heap_object_get_debug_info() argument 505 pnstr = spl_gen_private_prop_name(ce, "flags", sizeof("flags")-1); in spl_heap_object_get_debug_info() 510 pnstr = spl_gen_private_prop_name(ce, "isCorrupted", sizeof("isCorrupted")-1); in spl_heap_object_get_debug_info() 518 if (ce == spl_ce_SplPriorityQueue) { in spl_heap_object_get_debug_info() 530 pnstr = spl_gen_private_prop_name(ce, "heap", sizeof("heap")-1); in spl_heap_object_get_debug_info() 1063 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ … in spl_heap_get_iterator() argument 1080 iterator->intern.ce = ce; in spl_heap_get_iterator() 1088 zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{… in spl_pqueue_get_iterator() argument [all …]
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_func_info.h | 61 zend_class_entry **ce, zend_bool *ce_is_instanceof);
|
/PHP-8.0/Zend/ |
H A D | zend_execute.c | 854 zend_class_entry *ce; in zend_check_and_resolve_property_class_type() local 860 ce = resolve_single_class_type(name, info->ce); in zend_check_and_resolve_property_class_type() 861 if (!ce) { in zend_check_and_resolve_property_class_type() 877 ce = resolve_single_class_type(name, info->ce); in zend_check_and_resolve_property_class_type() 966 zend_class_entry *ce; in zend_check_type_slow() local 971 ce = *cache_slot; in zend_check_type_slow() 975 if (!ce) { in zend_check_type_slow() 982 *cache_slot = ce; in zend_check_type_slow() 2330 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local 2341 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local [all …]
|
H A D | zend_vm_def.h | 3633 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); 4583 ce = EG(exception)->ce; 5106 if (!ce || !ce->get_iterator) { 5110 iter = ce->get_iterator(ce, args, 0); 5778 ce = zobj->ce; 6024 if (!ce || !ce->get_iterator) { 6027 iter = ce->get_iterator(ce, op1, 0); 7568 if (ce == NULL) { 7616 ce = Z_CE_P(zv); 7684 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); [all …]
|
H A D | zend_API.h | 278 #define CE_STATIC_MEMBERS(ce) \ argument 279 ((zval*)ZEND_MAP_PTR_GET((ce)->static_members_table)) 339 #define zend_register_class_alias(name, ce) \ argument 340 zend_register_class_alias_ex(name, sizeof(name)-1, ce, 1) 341 #define zend_register_ns_class_alias(ns, name, ce) \ argument 432 ZEND_API zend_result object_init_ex(zval *arg, zend_class_entry *ce); 590 zend_call_known_function(fn, object, object->ce, retval_ptr, param_count, params, NULL); in zend_call_known_instance_method() 631 ZEND_API ZEND_COLD const char *zend_get_object_type(const zend_class_entry *ce); 2080 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_object() 2093 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_obj() [all …]
|
H A D | zend_vm_execute.h | 2192 if (!ce || !ce->get_iterator) { in ZEND_SEND_UNPACK_SPEC_HANDLER() 2196 iter = ce->get_iterator(ce, args, 0); in ZEND_SEND_UNPACK_SPEC_HANDLER() 2543 if (!ce || !ce->get_iterator) { in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER() 2546 iter = ce->get_iterator(ce, op1, 0); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER() 4478 ce = EG(exception)->ce; in ZEND_CATCH_SPEC_CONST_HANDLER() 4592 ce = zobj->ce; in ZEND_CLONE_SPEC_CONST_HANDLER() 6655 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 14230 ce = zobj->ce; in ZEND_CLONE_SPEC_TMPVAR_HANDLER() 15887 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); in ZEND_INSTANCEOF_SPEC_TMPVAR_CONST_HANDLER() 31323 ce = zobj->ce; in ZEND_CLONE_SPEC_UNUSED_HANDLER() [all …]
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 2618 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 2619 ce = op1_ssa->ce; in zend_jit() 2665 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 2666 ce = op1_ssa->ce; in zend_jit() 2705 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 2706 ce = op1_ssa->ce; in zend_jit() 3211 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit() 3212 ce = op1_ssa->ce; in zend_jit() 3351 ce = op1_ssa->ce; in zend_jit() 3474 ce = res_ssa->ce; in zend_jit() [all …]
|
H A D | zend_jit_helpers.c | 1382 zend_class_entry *ce = obj->ce; in zend_jit_fetch_dim_obj_helper() local 1393 zend_class_entry *ce = obj->ce; in zend_jit_fetch_dim_obj_helper() local 1723 zend_class_entry *ce; in zend_jit_verify_type_common() local 1728 ce = *cache_slot; in zend_jit_verify_type_common() 1732 if (!ce) { in zend_jit_verify_type_common() 1736 *cache_slot = ce; in zend_jit_verify_type_common() 1748 if (UNEXPECTED(!ce)) { in zend_jit_verify_type_common() 1751 *cache_slot = (void *) ce; in zend_jit_verify_type_common() 1957 ZSTR_VAL(prop->ce->name), in zend_throw_access_uninit_prop_by_ref_error() 2546 ZSTR_VAL(prop->ce->name), in _zend_jit_throw_inc_prop_error() [all …]
|
/PHP-8.0/ext/pdo/ |
H A D | pdo.c | 296 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 307 INIT_CLASS_ENTRY(ce, "PDOException", NULL); in PHP_MINIT_FUNCTION() 309 pdo_exception_ce = zend_register_internal_class_ex(&ce, spl_ce_RuntimeException); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli_warning.c | 204 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_message() 224 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_sqlstate() 244 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); in mysqli_warning_errno()
|
/PHP-8.0/ext/standard/ |
H A D | var.c | 733 zend_class_entry *ce; in php_var_serialize_call_sleep() local 735 ce = Z_OBJCE_P(struc); in php_var_serialize_call_sleep() 800 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_get_sleep_props() local 815 ZSTR_VAL(ce->name)); in php_var_serialize_get_sleep_props() 831 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in php_var_serialize_get_sleep_props() 832 ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_get_sleep_props() 847 "*", 1, ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_get_sleep_props() 991 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_intern() local 995 if (ce->__serialize) { in php_var_serialize_intern() 1032 if (ce->serialize != NULL) { in php_var_serialize_intern() [all …]
|
H A D | type.c | 64 if (Z_OBJ_P(arg)->ce->ce_flags & ZEND_ACC_ANON_CLASS) { in PHP_FUNCTION() 65 name = ZSTR_VAL(Z_OBJ_P(arg)->ce->name); in PHP_FUNCTION() 68 RETURN_STR_COPY(Z_OBJ_P(arg)->ce->name); in PHP_FUNCTION()
|
H A D | assert.c | 92 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 104 INIT_CLASS_ENTRY(ce, "AssertionError", NULL); in PHP_MINIT_FUNCTION() 105 assertion_error_ce = zend_register_internal_class_ex(&ce, zend_ce_error); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.h | 47 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object);
|
/PHP-8.0/ext/intl/converter/ |
H A D | converter.c | 340 if (objval->obj.ce == php_converter_ce) { in php_converter_set_callbacks() 908 objval = zend_object_alloc(sizeof(php_converter_object), ce); in php_converter_object_ctor() 910 zend_object_std_init(&objval->obj, ce); in php_converter_object_ctor() 911 object_properties_init(&objval->obj, ce); in php_converter_object_ctor() 920 static zend_object *php_converter_create_object(zend_class_entry *ce) { in php_converter_create_object() argument 922 zend_object *retval = php_converter_object_ctor(ce, &objval); in php_converter_create_object() 924 object_properties_init(&(objval->obj), ce); in php_converter_create_object() 931 zend_object *retval = php_converter_object_ctor(object->ce, &objval); in php_converter_clone_object() 977 zend_class_entry ce; in php_converter_minit() local 979 INIT_CLASS_ENTRY(ce, "UConverter", class_UConverter_methods); in php_converter_minit() [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | nested_method_and_function.phpt | 2 active_class_entry must be always correct (__METHOD__ should not depend on declaring function ce)
|
/PHP-8.0/ext/shmop/ |
H A D | shmop.c | 111 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 112 INIT_CLASS_ENTRY(ce, "Shmop", class_Shmop_methods); in PHP_MINIT_FUNCTION() 113 shmop_ce = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_persist.c | 692 zend_object_std_init(&clone->std, object->std.ce); in helper_clone() 709 static zend_object* helper_new(zend_class_entry *ce) in helper_new() argument 724 zend_class_entry ce; in php_com_persist_minit() local 730 INIT_CLASS_ENTRY(ce, "COMPersistHelper", class_COMPersistHelper_methods); in php_com_persist_minit() 731 ce.create_object = helper_new; in php_com_persist_minit() 732 helper_ce = zend_register_internal_class(&ce); in php_com_persist_minit()
|
H A D | com_handlers.c | 311 f.scope = obj->ce; in com_method_get() 395 return zend_string_copy(obj->ce->name); in com_class_name_get() 618 zend_object* php_com_object_new(zend_class_entry *ce) in php_com_object_new() argument 628 obj->ce = ce; in php_com_object_new() 630 zend_object_std_init(&obj->zo, ce); in php_com_object_new()
|
/PHP-8.0/ext/libxml/ |
H A D | libxml.c | 798 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 847 INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); in PHP_MINIT_FUNCTION() 848 libxmlerror_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 1194 zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function) in php_libxml_register_export() argument 1202 return zend_hash_add_mem(&php_libxml_exports, ce->name, &export_hnd, sizeof(export_hnd)); in php_libxml_register_export() 1207 zend_class_entry *ce = NULL; in php_libxml_import_node() local 1212 ce = Z_OBJCE_P(object); in php_libxml_import_node() 1213 while (ce->parent != NULL) { in php_libxml_import_node() 1214 ce = ce->parent; in php_libxml_import_node() 1216 if ((export_hnd = zend_hash_find_ptr(&php_libxml_exports, ce->name))) { in php_libxml_import_node()
|
/PHP-8.0/ext/sysvsem/ |
H A D | sysvsem.c | 154 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 155 INIT_CLASS_ENTRY(ce, "SysvSemaphore", class_SysvSemaphore_methods); in PHP_MINIT_FUNCTION() 156 sysvsem_ce = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | strtoupper1-win32.phpt | 261 ce => ce 293 ee => ce
|