/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 459 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_info() 461 zend_update_class_constants(ce); in spl_filesystem_object_create_info() 468 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_info() 501 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_type() 513 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_type() 523 ce = ce ? ce : source->file_class; in spl_filesystem_object_create_type() 538 …zend_call_method_with_2_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1, &ar… in spl_filesystem_object_create_type() 1355 intern->file_class = ce; in SPL_METHOD() 1367 zend_class_entry *ce = spl_ce_SplFileInfo; in SPL_METHOD() local 1373 intern->info_class = ce; in SPL_METHOD() [all …]
|
H A D | spl_heap.c | 386 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref); 478 new_object = spl_heap_object_new_ex(old_object->ce, zobject, 1); in spl_heap_object_clone() 492 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_heap_object_count_elements() 508 static inline HashTable* spl_heap_object_get_debug_info(zend_class_entry *ce, zval *obj) { /* {{{ */ in spl_heap_object_get_debug_info() argument 522 pnstr = spl_gen_private_prop_name(ce, "flags", sizeof("flags")-1); in spl_heap_object_get_debug_info() 527 pnstr = spl_gen_private_prop_name(ce, "isCorrupted", sizeof("isCorrupted")-1); in spl_heap_object_get_debug_info() 535 if (ce == spl_ce_SplPriorityQueue) { in spl_heap_object_get_debug_info() 547 pnstr = spl_gen_private_prop_name(ce, "heap", sizeof("heap")-1); in spl_heap_object_get_debug_info() 1099 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ … in spl_heap_get_iterator() argument 1116 iterator->intern.ce = ce; in spl_heap_get_iterator() [all …]
|
H A D | spl_fixedarray.c | 208 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref); 309 new_object = spl_fixedarray_object_new_ex(old_object->ce, zobject, 1); in spl_fixedarray_object_clone() 365 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", rv, … in spl_fixedarray_object_read_dimension() 422 …zend_call_method_with_2_params(object, intern->std.ce, &intern->fptr_offset_set, "offsetSet", NULL… in spl_fixedarray_object_write_dimension() 460 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_del, "offsetUnset", NU… in spl_fixedarray_object_unset_dimension() 512 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_has, "offsetExists", &… in spl_fixedarray_object_has_dimension() 530 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_fixedarray_object_count_elements() 996 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in spl_fixedarray_get_iterator() argument 1012 iterator->intern.ce = ce; in spl_fixedarray_get_iterator()
|
/PHP-7.4/ext/intl/ |
H A D | intl_error.c | 235 zend_class_entry ce; in intl_register_IntlException_class() local 238 INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); in intl_register_IntlException_class() 239 IntlException_ce_ptr = zend_register_internal_class_ex( &ce, in intl_register_IntlException_class()
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_handlers.c | 301 f.scope = obj->ce; in com_method_get() 423 f.function_name = obj->ce->name; \ in com_constructor_get() 424 f.scope = obj->ce; \ in com_constructor_get() 431 switch (obj->ce->name->val[0]) { in com_constructor_get() 452 return zend_string_copy(obj->ce->name); in com_class_name_get() 670 zend_object* php_com_object_new(zend_class_entry *ce) in php_com_object_new() argument 680 obj->ce = ce; in php_com_object_new() 682 zend_object_std_init(&obj->zo, ce); in php_com_object_new()
|
H A D | com_persist.c | 711 zend_object_std_init(&clone->std, object->std.ce); in helper_clone() 728 static zend_object* helper_new(zend_class_entry *ce) in helper_new() argument 743 zend_class_entry ce; in php_com_persist_minit() local 749 INIT_CLASS_ENTRY(ce, "COMPersistHelper", com_persist_helper_methods); in php_com_persist_minit() 750 ce.create_object = helper_new; in php_com_persist_minit() 751 helper_ce = zend_register_internal_class(&ce); in php_com_persist_minit()
|
/PHP-7.4/ext/zend_test/ |
H A D | test.c | 151 fptr->scope = (*object)->ce; in zend_test_class_method_get() 161 static zend_function *zend_test_class_static_method_get(zend_class_entry *ce, zend_string *name) /*… in zend_test_class_static_method_get() argument 167 fptr->scope = ce; in zend_test_class_static_method_get() 175 return zend_std_get_static_method(ce, name, NULL); in zend_test_class_static_method_get()
|
/PHP-7.4/ext/simplexml/ |
H A D | simplexml.c | 2118 zend_class_entry *parent = ce; in php_sxe_find_fptr_count() 2153 zend_object_std_init(&intern->zo, ce); in php_sxe_object_new() 2164 sxe_object_new(zend_class_entry *ce) in sxe_object_new() argument 2168 intern = php_sxe_object_new(ce, php_sxe_find_fptr_count(ce)); in sxe_object_new() 2184 zend_class_entry *ce= sxe_class_entry; in PHP_FUNCTION() local 2203 if (!ce) { in PHP_FUNCTION() 2204 ce = sxe_class_entry; in PHP_FUNCTION() 2257 if (!ce) { in PHP_FUNCTION() 2258 ce = sxe_class_entry; in PHP_FUNCTION() 2556 if (!ce) { in PHP_FUNCTION() [all …]
|
H A D | php_simplexml_exports.h | 40 PHP_SXE_API zend_object *sxe_object_new(zend_class_entry *ce);
|
/PHP-7.4/Zend/ |
H A D | zend_API.h | 232 #define CE_STATIC_MEMBERS(ce) \ argument 233 ((zval*)ZEND_MAP_PTR_GET((ce)->static_members_table)) 289 #define zend_register_class_alias(name, ce) \ argument 290 zend_register_class_alias_ex(name, sizeof(name)-1, ce, 1) 291 #define zend_register_ns_class_alias(ns, name, ce) \ argument 292 zend_register_class_alias_ex(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, ce, 1) 384 ZEND_API int object_init_ex(zval *arg, zend_class_entry *ce); 552 ZEND_API zend_string *zend_find_alias_name(zend_class_entry *ce, zend_string *name); 553 ZEND_API zend_string *zend_resolve_method_name(zend_class_entry *ce, zend_function *f); 555 ZEND_API ZEND_COLD const char *zend_get_object_type(const zend_class_entry *ce); [all …]
|
H A D | zend_vm_def.h | 3685 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); 4605 ce = EG(exception)->ce; 4985 if (!ce || !ce->get_iterator) { 4989 iter = ce->get_iterator(ce, args, 0); 5548 clone = ce->clone; 5797 if (!ce || !ce->get_iterator) { 5800 iter = ce->get_iterator(ce, op1, 0); 7309 if (ce == NULL) { 7357 ce = Z_CE_P(zv); 7427 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); [all …]
|
H A D | zend_vm_execute.h | 1938 if (!ce || !ce->get_iterator) { in ZEND_SEND_UNPACK_SPEC_HANDLER() 1942 iter = ce->get_iterator(ce, args, 0); in ZEND_SEND_UNPACK_SPEC_HANDLER() 2212 if (!ce || !ce->get_iterator) { in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER() 2215 iter = ce->get_iterator(ce, op1, 0); in ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER() 3751 ce = EG(exception)->ce; in ZEND_CATCH_SPEC_CONST_HANDLER() 5932 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 8203 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() 9125 fbc = ce->get_static_method(ce, Z_STR_P(function_name)); in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_UNUSED_HANDLER() 15166 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); in ZEND_INSTANCEOF_SPEC_TMPVAR_CONST_HANDLER() 16591 result = ce && instanceof_function(Z_OBJCE_P(expr), ce); in ZEND_INSTANCEOF_SPEC_TMPVAR_VAR_HANDLER() [all …]
|
H A D | zend_objects_API.c | 54 || obj->ce->destructor) { in zend_objects_store_call_destructors() 176 || object->ce->destructor) { in zend_objects_store_del()
|
H A D | zend.h | 154 zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref); 155 zend_function *(*get_static_method)(zend_class_entry *ce, zend_string* method); 159 …int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, z…
|
/PHP-7.4/ext/reflection/ |
H A D | php_reflection.h | 48 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object);
|
/PHP-7.4/ext/pdo/ |
H A D | pdo.c | 321 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 332 INIT_CLASS_ENTRY(ce, "PDOException", NULL); in PHP_MINIT_FUNCTION() 334 pdo_exception_ce = zend_register_internal_class_ex(&ce, php_pdo_get_exception_base(0)); in PHP_MINIT_FUNCTION()
|
/PHP-7.4/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-7.4/ext/intl/converter/ |
H A D | converter.c | 355 if (objval->obj.ce == php_converter_ce) { in php_converter_set_callbacks() 1026 static zend_object *php_converter_object_ctor(zend_class_entry *ce, php_converter_object **pobjval)… in php_converter_object_ctor() argument 1029 objval = zend_object_alloc(sizeof(php_converter_object), ce); in php_converter_object_ctor() 1031 zend_object_std_init(&objval->obj, ce); in php_converter_object_ctor() 1032 object_properties_init(&objval->obj, ce); in php_converter_object_ctor() 1041 static zend_object *php_converter_create_object(zend_class_entry *ce) { in php_converter_create_object() argument 1043 zend_object *retval = php_converter_object_ctor(ce, &objval); in php_converter_create_object() 1045 object_properties_init(&(objval->obj), ce); in php_converter_create_object() 1090 zend_class_entry ce; in php_converter_minit() local 1092 INIT_CLASS_ENTRY(ce, "UConverter", php_converter_methods); in php_converter_minit() [all …]
|
/PHP-7.4/ext/libxml/ |
H A D | libxml.c | 848 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 897 INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); in PHP_MINIT_FUNCTION() 898 libxmlerror_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION() 1218 zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function) in php_libxml_register_export() argument 1226 return zend_hash_add_mem(&php_libxml_exports, ce->name, &export_hnd, sizeof(export_hnd)); in php_libxml_register_export() 1231 zend_class_entry *ce = NULL; in php_libxml_import_node() local 1236 ce = Z_OBJCE_P(object); in php_libxml_import_node() 1237 while (ce->parent != NULL) { in php_libxml_import_node() 1238 ce = ce->parent; in php_libxml_import_node() 1240 if ((export_hnd = zend_hash_find_ptr(&php_libxml_exports, ce->name))) { in php_libxml_import_node()
|
/PHP-7.4/ext/standard/ |
H A D | var.c | 820 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_get_sleep_props() local 850 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in php_var_serialize_get_sleep_props() 851 ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_get_sleep_props() 866 "*", 1, ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_get_sleep_props() 1011 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_intern() local 1015 if (zend_hash_str_exists(&ce->function_table, "__serialize", sizeof("__serialize")-1)) { in php_var_serialize_intern() 1053 if (ce->serialize != NULL) { in php_var_serialize_intern() 1058 …if (ce->serialize(struc, &serialized_data, &serialized_length, (zend_serialize_data *)var_hash) ==… in php_var_serialize_intern() 1082 …if (ce != PHP_IC_ENTRY && zend_hash_str_exists(&ce->function_table, "__sleep", sizeof("__sleep")-1… in php_var_serialize_intern()
|
H A D | assert.c | 97 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 110 INIT_CLASS_ENTRY(ce, "AssertionError", NULL); in PHP_MINIT_FUNCTION() 111 assertion_error_ce = zend_register_internal_class_ex(&ce, zend_ce_error); in PHP_MINIT_FUNCTION()
|
H A D | user_filters.c | 31 zend_class_entry *ce; member 322 if (fdat->ce == NULL) { in user_filter_factory_create() 323 if (NULL == (fdat->ce = zend_lookup_class(fdat->classname))) { in user_filter_factory_create() 332 if (object_init_ex(&obj, fdat->ce) == FAILURE) { in user_filter_factory_create()
|
/PHP-7.4/ext/phar/tests/ |
H A D | phar_oo_002.phpt | 94 string(41) "phar://*/files/phar_oo_002.phar.php%ce.php" 132 string(41) "phar://*/files/phar_oo_002.phar.php%ce.php"
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | zend_dump.c | 170 static void zend_dump_type_info(uint32_t info, zend_class_entry *ce, int is_instanceof, uint32_t du… in zend_dump_type_info() argument 196 if (ce) { in zend_dump_type_info() 198 fprintf(stderr, " (instanceof %s)", ce->name->val); in zend_dump_type_info() 200 fprintf(stderr, " (%s)", ce->name->val); in zend_dump_type_info() 304 if (ce) { in zend_dump_type_info() 306 fprintf(stderr, " (instanceof %s)", ce->name->val); in zend_dump_type_info() 308 fprintf(stderr, " (%s)", ce->name->val); in zend_dump_type_info() 333 ssa->var_info[ssa_var_num].ce, in zend_dump_ssa_var_info() 334 ssa->var_info[ssa_var_num].ce ? in zend_dump_ssa_var_info() 367 zend_dump_type_info(constraint->type_mask, constraint->ce, 1, dump_flags); in zend_dump_type_constraint() [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strtoupper1-win32.phpt | 269 ce => ce 301 ee => ce
|