/PHP-8.0/Zend/ |
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…
|
H A D | zend.c | 994 zend_class_entry *ce = zend_hash_find_ptr(CG(class_table), lc_type_name); in resolve_type_name() local 996 ZEND_ASSERT(ce && ce->type == ZEND_INTERNAL_CLASS); in resolve_type_name() 998 return ce; in resolve_type_name() 1003 zend_class_entry *ce; in zend_resolve_property_types() local 1006 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_resolve_property_types() 1007 if (ce->type != ZEND_INTERNAL_CLASS) { in zend_resolve_property_types() 1011 if (UNEXPECTED(ZEND_CLASS_HAS_TYPE_HINTS(ce))) { in zend_resolve_property_types() 1012 ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) { in zend_resolve_property_types() 1023 ce->ce_flags |= ZEND_ACC_PROPERTY_TYPES_RESOLVED; in zend_resolve_property_types()
|
/PHP-8.0/ext/phar/tests/ |
H A D | phar_oo_002.phpt | 93 string(41) "phar://*/files/phar_oo_002.phar.php%ce.php" 131 string(41) "phar://*/files/phar_oo_002.phar.php%ce.php"
|
/PHP-8.0/ext/spl/ |
H A D | spl_fixedarray.c | 318 zend_object *new_object = spl_fixedarray_object_new_ex(old_object->ce, old_object, 1); in spl_fixedarray_object_clone() 370 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", rv, … in spl_fixedarray_object_read_dimension() 429 …zend_call_method_with_2_params(object, intern->std.ce, &intern->fptr_offset_set, "offsetSet", NULL… in spl_fixedarray_object_write_dimension() 466 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_del, "offsetUnset", NU… in spl_fixedarray_object_unset_dimension() 509 …zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_has, "offsetExists", &… in spl_fixedarray_object_has_dimension() 526 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_fixedarray_object_count_elements() 855 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in spl_fixedarray_get_iterator() argument
|
H A D | spl_functions.h | 65 zend_string *spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len);
|
H A D | spl_array.c | 270 new_object = spl_array_object_new_ex(old_object->ce, old_object, 1); in spl_array_object_clone() 407 …zend_call_method_with_1_params(object, object->ce, &intern->fptr_offset_get, "offsetGet", rv, offs… in spl_array_read_dimension_ex() 521 …zend_call_method_with_1_params(object, object->ce, &intern->fptr_offset_del, "offsetUnset", NULL, … in spl_array_unset_dimension_ex() 1122 ZSTR_VAL(Z_OBJCE_P(array)->name), ZSTR_VAL(intern->std.ce->name)); in spl_array_set_array() 1151 zend_object_iterator *spl_array_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{… in spl_array_get_iterator() argument 1167 iterator->ce = ce; in spl_array_get_iterator() 1389 zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); in spl_array_object_count_elements() 1856 zend_class_entry *ce = zend_lookup_class(Z_STR_P(iterator_class_zv)); in PHP_METHOD() local 1858 if (!ce) { in PHP_METHOD() 1865 if (!instanceof_function(ce, spl_ce_Iterator)) { in PHP_METHOD() [all …]
|
H A D | spl_iterators.h | 123 zend_class_entry *ce; member
|
/PHP-8.0/ext/standard/ |
H A D | user_filters.c | 30 zend_class_entry *ce; member 315 if (fdat->ce == NULL) { in user_filter_factory_create() 316 if (NULL == (fdat->ce = zend_lookup_class(fdat->classname))) { in user_filter_factory_create() 325 if (object_init_ex(&obj, fdat->ce) == FAILURE) { in user_filter_factory_create()
|
/PHP-8.0/ext/dom/ |
H A D | parentnode.c | 133 zend_class_entry *ce; in dom_zvals_to_fragment() local 158 ce = Z_OBJCE(nodes[i]); in dom_zvals_to_fragment() 160 if (instanceof_function(ce, dom_node_class_entry)) { in dom_zvals_to_fragment()
|
/PHP-8.0/ext/intl/uchar/ |
H A D | uchar.c | 615 zend_class_entry tmp, *ce; local 618 ce = zend_register_internal_class(&tmp); 621 zend_declare_class_constant_long(ce, name, strlen(name), val); 623 …zend_declare_class_constant_string(ce, "UNICODE_VERSION", sizeof("UNICODE_VERISON")-1, U_UNICODE_V… 626 …zend_declare_class_constant_double(ce, "NO_NUMERIC_VALUE", sizeof("NO_NUMERIC_VALUE")-1, U_NO_NUME…
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_dump.c | 171 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 200 if (ce) { in zend_dump_type_info() 202 fprintf(stderr, " (instanceof %s)", ce->name->val); in zend_dump_type_info() 204 fprintf(stderr, " (%s)", ce->name->val); in zend_dump_type_info() 309 if (ce) { in zend_dump_type_info() 311 fprintf(stderr, " (instanceof %s)", ce->name->val); in zend_dump_type_info() 313 fprintf(stderr, " (%s)", ce->name->val); in zend_dump_type_info() 329 ssa->var_info[ssa_var_num].ce, in zend_dump_ssa_var_info() 330 ssa->var_info[ssa_var_num].ce ? in zend_dump_ssa_var_info() 363 zend_dump_type_info(constraint->type_mask, constraint->ce, 1, dump_flags); in zend_dump_type_constraint() [all …]
|
/PHP-8.0/ext/sysvshm/ |
H A D | sysvshm.c | 102 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 103 INIT_CLASS_ENTRY(ce, "SysvSharedMemory", class_SysvSharedMemory_methods); in PHP_MINIT_FUNCTION() 104 sysvshm_ce = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/sysvmsg/ |
H A D | sysvmsg.c | 111 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 112 INIT_CLASS_ENTRY(ce, "SysvMessageQueue", class_SysvMessageQueue_methods); in PHP_MINIT_FUNCTION() 113 sysvmsg_queue_ce = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 842 if (tssa->var_info[ssa_var].ce != info->ce) { in zend_jit_trace_restrict_ssa_var_info() 855 tssa->var_info[ssa_var].ce = info->ce; in zend_jit_trace_restrict_ssa_var_info() 1439 ssa_var_info[i].ce = ce; in zend_jit_trace_build_tssa() 2141 ssa_var_info[v].ce = ce; in zend_jit_trace_build_tssa() 4457 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit_trace() 4458 ce = op1_ssa->ce; in zend_jit_trace() 4537 if (op1_ssa->ce && !op1_ssa->ce->create_object) { in zend_jit_trace() 4538 ce = op1_ssa->ce; in zend_jit_trace() 4607 ce = op1_ssa->ce; in zend_jit_trace() 5590 ce = op1_ssa->ce; in zend_jit_trace() [all …]
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 43 zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_mysqli_result_get_iterator() argument
|
H A D | mysqli_prop.c | 42 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); \ 54 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); \ 66 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(obj->zo.ce->name)); \
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 263 cdf_catalog_entry_t *ce; in cdf_file_catalog() local 270 ce = cat->cat_e; in cdf_file_catalog() 274 cdf_u16tos8(buf, ce[i].ce_namlen, ce[i].ce_name), in cdf_file_catalog()
|
H A D | cdf.c | 1147 ce[i].f = CAST(t, CDF_TOLE(cep->f)) 1157 cdf_catalog_entry_t *ce; in cdf_unpack_catalog() local 1174 CDF_MALLOC(sizeof(cdf_catalog_t) + nr * sizeof(*ce))); in cdf_unpack_catalog() 1177 ce = (*cat)->cat_e; in cdf_unpack_catalog() 1178 memset(ce, 0, nr * sizeof(*ce)); in cdf_unpack_catalog() 1181 cdf_catalog_entry_t *cep = &ce[j]; in cdf_unpack_catalog() 1543 const cdf_catalog_entry_t *ce = cat->cat_e; in cdf_dump_catalog() local 1550 cdf_timestamp_to_timespec(&ts, ce[i].ce_timestamp); in cdf_dump_catalog() 1551 printf("\t%d %s %s", ce[i].ce_num, in cdf_dump_catalog() 1552 cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name), in cdf_dump_catalog()
|
/PHP-8.0/ext/zend_test/ |
H A D | test.c | 329 fptr->scope = (*object)->ce; in zend_test_class_method_get() 338 static zend_function *zend_test_class_static_method_get(zend_class_entry *ce, zend_string *name) /*… in zend_test_class_static_method_get() argument 350 fptr->scope = ce; in zend_test_class_static_method_get() 357 return zend_std_get_static_method(ce, name, NULL); in zend_test_class_static_method_get() 609 …!-- Exception: %s -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(EG(exception)->ce->name)); in observer_end()
|
/PHP-8.0/ext/xsl/ |
H A D | xsltprocessor.c | 562 zend_class_entry *curce, *ce; in PHP_METHOD() local 571 ce = zend_lookup_class(ret_class); in PHP_METHOD() 572 if (ce == NULL || !instanceof_function(ce, curce)) { in PHP_METHOD() 580 object_init_ex(return_value, ce); in PHP_METHOD()
|
/PHP-8.0/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.c | 149 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref ) in resourcebundle_get_iterator() argument
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_utils.h | 82 int phpdbg_safe_class_lookup(const char *name, int name_length, zend_class_entry **ce);
|
/PHP-8.0/ext/phar/ |
H A D | phar_object.c | 1389 zend_class_entry *ce = p_obj->c; in phar_build() local 1985 zend_class_entry *ce; in phar_rename_archive() local 2207 ce = phar_ce_data; in phar_rename_archive() 2209 ce = phar_ce_archive; in phar_rename_archive() 2213 if (SUCCESS != object_init_ex(&ret, ce)) { in phar_rename_archive() 5078 zend_class_entry ce; in phar_object_init() local 5080 INIT_CLASS_ENTRY(ce, "PharException", class_PharException_methods); in phar_object_init() 5083 INIT_CLASS_ENTRY(ce, "Phar", class_Phar_methods); in phar_object_init() 5088 INIT_CLASS_ENTRY(ce, "PharData", class_PharData_methods); in phar_object_init() 5093 INIT_CLASS_ENTRY(ce, "PharFileInfo", class_PharFileInfo_methods); in phar_object_init() [all …]
|
/PHP-8.0/ext/pdo/ |
H A D | pdo_dbh.c | 1223 func.scope = dbh_obj->std.ce; in pdo_hash_methods() 1309 zend_class_entry ce; in pdo_dbh_init() local 1311 INIT_CLASS_ENTRY(ce, "PDO", class_PDO_methods); in pdo_dbh_init() 1312 pdo_dbh_ce = zend_register_internal_class(&ce); in pdo_dbh_init() 1478 zend_object *pdo_dbh_new(zend_class_entry *ce) in pdo_dbh_new() argument 1482 dbh = zend_object_alloc(sizeof(pdo_dbh_object_t), ce); in pdo_dbh_new() 1483 zend_object_std_init(&dbh->std, ce); in pdo_dbh_new() 1484 object_properties_init(&dbh->std, ce); in pdo_dbh_new()
|