class_type 164 Zend/zend.h zend_object* (*create_object)(zend_class_entry *class_type); class_type 166 Zend/zend.h int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type); /* a class implements this interface */ class_type 1089 Zend/zend_API.c ZEND_API int zend_update_class_constants(zend_class_entry *class_type) /* {{{ */ class_type 1091 Zend/zend_API.c if (!(class_type->ce_flags & ZEND_ACC_CONSTANTS_UPDATED)) { class_type 1092 Zend/zend_API.c class_type->ce_flags |= ZEND_ACC_CONSTANTS_UPDATED; class_type 1094 Zend/zend_API.c if (class_type->parent) { class_type 1095 Zend/zend_API.c if (UNEXPECTED(zend_update_class_constants(class_type->parent) != SUCCESS)) { class_type 1100 Zend/zend_API.c if (!CE_STATIC_MEMBERS(class_type) && class_type->default_static_members_count) { class_type 1106 Zend/zend_API.c CG(static_members_table)[(zend_intptr_t)(class_type->static_members_table)] = emalloc(sizeof(zval) * class_type->default_static_members_count); class_type 1108 Zend/zend_API.c class_type->static_members_table = emalloc(sizeof(zval) * class_type->default_static_members_count); class_type 1110 Zend/zend_API.c for (i = 0; i < class_type->default_static_members_count; i++) { class_type 1111 Zend/zend_API.c p = &class_type->default_static_members_table[i]; class_type 1113 Zend/zend_API.c class_type->parent && class_type 1114 Zend/zend_API.c i < class_type->parent->default_static_members_count && class_type 1115 Zend/zend_API.c p == &class_type->parent->default_static_members_table[i] && class_type 1116 Zend/zend_API.c Z_TYPE(CE_STATIC_MEMBERS(class_type->parent)[i]) != IS_UNDEF class_type 1118 Zend/zend_API.c zval *q = &CE_STATIC_MEMBERS(class_type->parent)[i]; class_type 1121 Zend/zend_API.c ZVAL_COPY_VALUE(&CE_STATIC_MEMBERS(class_type)[i], q); class_type 1124 Zend/zend_API.c ZVAL_DUP(&CE_STATIC_MEMBERS(class_type)[i], p); class_type 1134 Zend/zend_API.c *scope = class_type; class_type 1135 Zend/zend_API.c ZEND_HASH_FOREACH_VAL(&class_type->constants_table, val) { class_type 1138 Zend/zend_API.c if (UNEXPECTED(zval_update_constant_ex(val, 1, class_type) != SUCCESS)) { class_type 1144 Zend/zend_API.c ce = class_type; class_type 1149 Zend/zend_API.c val = CE_STATIC_MEMBERS(class_type) + prop_info->offset; class_type 1151 Zend/zend_API.c val = (zval*)((char*)class_type->default_properties_table + prop_info->offset - OBJ_PROP_TO_OFFSET(0)); class_type 1172 Zend/zend_API.c ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type) /* {{{ */ class_type 1174 Zend/zend_API.c if (class_type->default_properties_count) { class_type 1175 Zend/zend_API.c zval *src = class_type->default_properties_table; class_type 1177 Zend/zend_API.c zval *end = src + class_type->default_properties_count; class_type 1277 Zend/zend_API.c ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *properties ZEND_FILE_LINE_DC) /* {{{ */ class_type 1279 Zend/zend_API.c if (UNEXPECTED(class_type->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS))) { class_type 1280 Zend/zend_API.c if (class_type->ce_flags & ZEND_ACC_INTERFACE) { class_type 1281 Zend/zend_API.c zend_throw_error(NULL, "Cannot instantiate interface %s", ZSTR_VAL(class_type->name)); class_type 1282 Zend/zend_API.c } else if (class_type->ce_flags & ZEND_ACC_TRAIT) { class_type 1283 Zend/zend_API.c zend_throw_error(NULL, "Cannot instantiate trait %s", ZSTR_VAL(class_type->name)); class_type 1285 Zend/zend_API.c zend_throw_error(NULL, "Cannot instantiate abstract class %s", ZSTR_VAL(class_type->name)); class_type 1292 Zend/zend_API.c if (UNEXPECTED(!(class_type->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { class_type 1293 Zend/zend_API.c if (UNEXPECTED(zend_update_class_constants(class_type) != SUCCESS)) { class_type 1300 Zend/zend_API.c if (class_type->create_object == NULL) { class_type 1301 Zend/zend_API.c ZVAL_OBJ(arg, zend_objects_new(class_type)); class_type 1305 Zend/zend_API.c object_properties_init(Z_OBJ_P(arg), class_type); class_type 1308 Zend/zend_API.c ZVAL_OBJ(arg, class_type->create_object(class_type)); class_type 1314 Zend/zend_API.c ZEND_API int _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC) /* {{{ */ class_type 1316 Zend/zend_API.c return _object_and_properties_init(arg, class_type, 0 ZEND_FILE_LINE_RELAY_CC); class_type 2792 Zend/zend_API.c static zend_object *display_disabled_class(zend_class_entry *class_type) /* {{{ */ class_type 2796 Zend/zend_API.c intern = zend_objects_new(class_type); class_type 2797 Zend/zend_API.c zend_error(E_WARNING, "%s() has been disabled for security reasons", ZSTR_VAL(class_type->name)); class_type 335 Zend/zend_API.h ZEND_API int zend_update_class_constants(zend_class_entry *class_type); class_type 384 Zend/zend_API.h ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type); class_type 367 Zend/zend_closures.c static zend_object *zend_closure_new(zend_class_entry *class_type) /* {{{ */ class_type 374 Zend/zend_closures.c zend_object_std_init(&closure->std, class_type); class_type 47 Zend/zend_exceptions.c static int zend_implement_throwable(zend_class_entry *interface, zend_class_entry *class_type) class_type 49 Zend/zend_exceptions.c if (instanceof_function(class_type, zend_ce_exception) || instanceof_function(class_type, zend_ce_error)) { class_type 53 Zend/zend_exceptions.c ZSTR_VAL(class_type->name), class_type 196 Zend/zend_exceptions.c static zend_object *zend_default_exception_new_ex(zend_class_entry *class_type, int skip_top_traces) /* {{{ */ class_type 204 Zend/zend_exceptions.c Z_OBJ(obj) = object = zend_objects_new(class_type); class_type 207 Zend/zend_exceptions.c object_properties_init(object, class_type); class_type 218 Zend/zend_exceptions.c if (EXPECTED(class_type != zend_ce_parse_error || !(filename = zend_get_compiled_filename()))) { class_type 231 Zend/zend_exceptions.c static zend_object *zend_default_exception_new(zend_class_entry *class_type) /* {{{ */ class_type 233 Zend/zend_exceptions.c return zend_default_exception_new_ex(class_type, 0); class_type 237 Zend/zend_exceptions.c static zend_object *zend_error_exception_new(zend_class_entry *class_type) /* {{{ */ class_type 239 Zend/zend_exceptions.c return zend_default_exception_new_ex(class_type, 2); class_type 32 Zend/zend_generators.c static zend_object *zend_generator_create(zend_class_entry *class_type); class_type 202 Zend/zend_generators.c static zend_object *zend_generator_create(zend_class_entry *class_type) /* {{{ */ class_type 220 Zend/zend_generators.c zend_object_std_init(&generator->std, class_type); class_type 306 Zend/zend_interfaces.c static int zend_implement_traversable(zend_class_entry *interface, zend_class_entry *class_type) class_type 311 Zend/zend_interfaces.c if (class_type->get_iterator || (class_type->parent && class_type->parent->get_iterator)) { class_type 314 Zend/zend_interfaces.c for (i = 0; i < class_type->num_interfaces; i++) { class_type 315 Zend/zend_interfaces.c if (class_type->interfaces[i] == zend_ce_aggregate || class_type->interfaces[i] == zend_ce_iterator) { class_type 320 Zend/zend_interfaces.c ZSTR_VAL(class_type->name), class_type 329 Zend/zend_interfaces.c static int zend_implement_aggregate(zend_class_entry *interface, zend_class_entry *class_type) class_type 334 Zend/zend_interfaces.c if (class_type->get_iterator) { class_type 335 Zend/zend_interfaces.c if (class_type->type == ZEND_INTERNAL_CLASS) { class_type 338 Zend/zend_interfaces.c } else if (class_type->get_iterator != zend_user_it_get_new_iterator) { class_type 340 Zend/zend_interfaces.c if (class_type->num_interfaces) { class_type 341 Zend/zend_interfaces.c for (i = 0; i < class_type->num_interfaces; i++) { class_type 342 Zend/zend_interfaces.c if (class_type->interfaces[i] == zend_ce_iterator) { class_type 344 Zend/zend_interfaces.c ZSTR_VAL(class_type->name), class_type 349 Zend/zend_interfaces.c if (class_type->interfaces[i] == zend_ce_traversable) { class_type 359 Zend/zend_interfaces.c class_type->iterator_funcs.zf_new_iterator = NULL; class_type 360 Zend/zend_interfaces.c class_type->get_iterator = zend_user_it_get_new_iterator; class_type 366 Zend/zend_interfaces.c static int zend_implement_iterator(zend_class_entry *interface, zend_class_entry *class_type) class_type 368 Zend/zend_interfaces.c if (class_type->get_iterator && class_type->get_iterator != zend_user_it_get_iterator) { class_type 369 Zend/zend_interfaces.c if (class_type->type == ZEND_INTERNAL_CLASS) { class_type 374 Zend/zend_interfaces.c if (class_type->get_iterator == zend_user_it_get_new_iterator) { class_type 376 Zend/zend_interfaces.c ZSTR_VAL(class_type->name), class_type 383 Zend/zend_interfaces.c class_type->get_iterator = zend_user_it_get_iterator; class_type 384 Zend/zend_interfaces.c class_type->iterator_funcs.zf_valid = NULL; class_type 385 Zend/zend_interfaces.c class_type->iterator_funcs.zf_current = NULL; class_type 386 Zend/zend_interfaces.c class_type->iterator_funcs.zf_key = NULL; class_type 387 Zend/zend_interfaces.c class_type->iterator_funcs.zf_next = NULL; class_type 388 Zend/zend_interfaces.c class_type->iterator_funcs.zf_rewind = NULL; class_type 389 Zend/zend_interfaces.c if (!class_type->iterator_funcs.funcs) { class_type 390 Zend/zend_interfaces.c class_type->iterator_funcs.funcs = &zend_interface_iterator_funcs_iterator; class_type 397 Zend/zend_interfaces.c static int zend_implement_arrayaccess(zend_class_entry *interface, zend_class_entry *class_type) class_type 488 Zend/zend_interfaces.c static int zend_implement_serializable(zend_class_entry *interface, zend_class_entry *class_type) class_type 490 Zend/zend_interfaces.c if (class_type->parent class_type 491 Zend/zend_interfaces.c && (class_type->parent->serialize || class_type->parent->unserialize) class_type 492 Zend/zend_interfaces.c && !instanceof_function_ex(class_type->parent, zend_ce_serializable, 1)) { class_type 495 Zend/zend_interfaces.c if (!class_type->serialize) { class_type 496 Zend/zend_interfaces.c class_type->serialize = zend_user_serialize; class_type 498 Zend/zend_interfaces.c if (!class_type->unserialize) { class_type 499 Zend/zend_interfaces.c class_type->unserialize = zend_user_unserialize; class_type 628 ext/date/php_date.c static zend_object *date_object_new_date(zend_class_entry *class_type); class_type 629 ext/date/php_date.c static zend_object *date_object_new_timezone(zend_class_entry *class_type); class_type 630 ext/date/php_date.c static zend_object *date_object_new_interval(zend_class_entry *class_type); class_type 631 ext/date/php_date.c static zend_object *date_object_new_period(zend_class_entry *class_type); class_type 2081 ext/date/php_date.c static inline zend_object *date_object_new_date_ex(zend_class_entry *class_type, int init_props) /* {{{ */ class_type 2085 ext/date/php_date.c intern = ecalloc(1, sizeof(php_date_obj) + zend_object_properties_size(class_type)); class_type 2087 ext/date/php_date.c zend_object_std_init(&intern->std, class_type); class_type 2089 ext/date/php_date.c object_properties_init(&intern->std, class_type); class_type 2096 ext/date/php_date.c static zend_object *date_object_new_date(zend_class_entry *class_type) /* {{{ */ class_type 2098 ext/date/php_date.c return date_object_new_date_ex(class_type, 1); class_type 2212 ext/date/php_date.c static inline zend_object *date_object_new_timezone_ex(zend_class_entry *class_type, int init_props) /* {{{ */ class_type 2216 ext/date/php_date.c intern = ecalloc(1, sizeof(php_timezone_obj) + zend_object_properties_size(class_type)); class_type 2218 ext/date/php_date.c zend_object_std_init(&intern->std, class_type); class_type 2220 ext/date/php_date.c object_properties_init(&intern->std, class_type); class_type 2227 ext/date/php_date.c static zend_object *date_object_new_timezone(zend_class_entry *class_type) /* {{{ */ class_type 2229 ext/date/php_date.c return date_object_new_timezone_ex(class_type, 1); class_type 2303 ext/date/php_date.c static inline zend_object *date_object_new_interval_ex(zend_class_entry *class_type, int init_props) /* {{{ */ class_type 2307 ext/date/php_date.c intern = ecalloc(1, sizeof(php_interval_obj) + zend_object_properties_size(class_type)); class_type 2309 ext/date/php_date.c zend_object_std_init(&intern->std, class_type); class_type 2311 ext/date/php_date.c object_properties_init(&intern->std, class_type); class_type 2318 ext/date/php_date.c static zend_object *date_object_new_interval(zend_class_entry *class_type) /* {{{ */ class_type 2320 ext/date/php_date.c return date_object_new_interval_ex(class_type, 1); class_type 2384 ext/date/php_date.c static inline zend_object *date_object_new_period_ex(zend_class_entry *class_type, int init_props) /* {{{ */ class_type 2388 ext/date/php_date.c intern = ecalloc(1, sizeof(php_period_obj) + zend_object_properties_size(class_type)); class_type 2390 ext/date/php_date.c zend_object_std_init(&intern->std, class_type); class_type 2392 ext/date/php_date.c object_properties_init(&intern->std, class_type); class_type 2400 ext/date/php_date.c static zend_object *date_object_new_period(zend_class_entry *class_type) /* {{{ */ class_type 2402 ext/date/php_date.c return date_object_new_period_ex(class_type, 1); class_type 502 ext/dom/php_dom.c static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy); class_type 1073 ext/dom/php_dom.c static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy) /* {{{ */ class_type 1075 ext/dom/php_dom.c dom_object *intern = ecalloc(1, sizeof(dom_object) + zend_object_properties_size(class_type)); class_type 1077 ext/dom/php_dom.c zend_class_entry *base_class = class_type; class_type 1084 ext/dom/php_dom.c zend_object_std_init(&intern->std, class_type); class_type 1086 ext/dom/php_dom.c object_properties_init(&intern->std, class_type); class_type 1094 ext/dom/php_dom.c zend_object *dom_objects_new(zend_class_entry *class_type) class_type 1096 ext/dom/php_dom.c dom_object *intern = dom_objects_set_class(class_type, 1); class_type 1104 ext/dom/php_dom.c zend_object *dom_xpath_objects_new(zend_class_entry *class_type) class_type 1106 ext/dom/php_dom.c dom_xpath_object *intern = ecalloc(1, sizeof(dom_xpath_object) + zend_object_properties_size(class_type)); class_type 1114 ext/dom/php_dom.c zend_object_std_init(&intern->dom.std, class_type); class_type 1115 ext/dom/php_dom.c object_properties_init(&intern->dom.std, class_type); class_type 1156 ext/dom/php_dom.c zend_object *dom_nnodemap_objects_new(zend_class_entry *class_type) /* {{{ */ class_type 1161 ext/dom/php_dom.c intern = dom_objects_set_class(class_type, 1); class_type 102 ext/dom/php_dom.h zend_object *dom_objects_new(zend_class_entry *class_type); class_type 103 ext/dom/php_dom.h zend_object *dom_nnodemap_objects_new(zend_class_entry *class_type); class_type 105 ext/dom/php_dom.h zend_object *dom_xpath_objects_new(zend_class_entry *class_type); class_type 99 ext/fileinfo/fileinfo.c PHP_FILEINFO_API zend_object *finfo_objects_new(zend_class_entry *class_type) class_type 103 ext/fileinfo/fileinfo.c intern = ecalloc(1, sizeof(finfo_object) + zend_object_properties_size(class_type)); class_type 105 ext/fileinfo/fileinfo.c zend_object_std_init(&intern->zo, class_type); class_type 106 ext/fileinfo/fileinfo.c object_properties_init(&intern->zo, class_type); class_type 445 ext/mysqli/mysqli.c PHP_MYSQLI_EXPORT(zend_object *) mysqli_objects_new(zend_class_entry *class_type) class_type 451 ext/mysqli/mysqli.c intern = ecalloc(1, sizeof(mysqli_object) + zend_object_properties_size(class_type)); class_type 453 ext/mysqli/mysqli.c mysqli_base_class = class_type; class_type 460 ext/mysqli/mysqli.c zend_object_std_init(&intern->zo, class_type); class_type 461 ext/mysqli/mysqli.c object_properties_init(&intern->zo, class_type); class_type 464 ext/mysqli/mysqli.c if (instanceof_function(class_type, mysqli_link_class_entry)) { class_type 466 ext/mysqli/mysqli.c } else if (instanceof_function(class_type, mysqli_driver_class_entry)) { /* driver object */ class_type 468 ext/mysqli/mysqli.c } else if (instanceof_function(class_type, mysqli_stmt_class_entry)) { /* stmt object */ class_type 470 ext/mysqli/mysqli.c } else if (instanceof_function(class_type, mysqli_result_class_entry)) { /* result object */ class_type 472 ext/mysqli/mysqli.c } else if (instanceof_function(class_type, mysqli_warning_class_entry)) { /* warning object */ class_type 347 ext/reflection/php_reflection.c static zend_object *reflection_objects_new(zend_class_entry *class_type) /* {{{ */ class_type 351 ext/reflection/php_reflection.c intern = ecalloc(1, sizeof(reflection_object) + zend_object_properties_size(class_type)); class_type 352 ext/reflection/php_reflection.c intern->zo.ce = class_type; class_type 354 ext/reflection/php_reflection.c zend_object_std_init(&intern->zo, class_type); class_type 355 ext/reflection/php_reflection.c object_properties_init(&intern->zo, class_type); class_type 489 ext/snmp/snmp.c static zend_object *php_snmp_object_new(zend_class_entry *class_type) /* {{{ */ class_type 494 ext/snmp/snmp.c intern = ecalloc(1, sizeof(php_snmp_object) + zend_object_properties_size(class_type)); class_type 496 ext/snmp/snmp.c zend_object_std_init(&intern->zo, class_type); class_type 497 ext/snmp/snmp.c object_properties_init(&intern->zo, class_type); class_type 157 ext/spl/spl_array.c static zend_object *spl_array_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) class_type 160 ext/spl/spl_array.c zend_class_entry *parent = class_type; class_type 165 ext/spl/spl_array.c zend_object_std_init(&intern->std, class_type); class_type 166 ext/spl/spl_array.c object_properties_init(&intern->std, class_type); class_type 198 ext/spl/spl_array.c class_type->get_iterator = spl_array_get_iterator; class_type 211 ext/spl/spl_array.c intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1); class_type 215 ext/spl/spl_array.c intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1); class_type 219 ext/spl/spl_array.c intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1); class_type 223 ext/spl/spl_array.c intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1); class_type 227 ext/spl/spl_array.c intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") - 1); class_type 235 ext/spl/spl_array.c if (!class_type->iterator_funcs.zf_current) { class_type 236 ext/spl/spl_array.c class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind", sizeof("rewind") - 1); class_type 237 ext/spl/spl_array.c class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid", sizeof("valid") - 1); class_type 238 ext/spl/spl_array.c class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", sizeof("key") - 1); class_type 239 ext/spl/spl_array.c class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "current", sizeof("current") - 1); class_type 240 ext/spl/spl_array.c class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", sizeof("next") - 1); class_type 243 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_REWIND; class_type 244 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_VALID; class_type 245 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_key->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_KEY; class_type 246 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_current->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_CURRENT; class_type 247 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_next->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_NEXT; class_type 257 ext/spl/spl_array.c static zend_object *spl_array_object_new(zend_class_entry *class_type) class_type 259 ext/spl/spl_array.c return spl_array_object_new_ex(class_type, NULL, 0); class_type 138 ext/spl/spl_directory.c static zend_object *spl_filesystem_object_new_ex(zend_class_entry *class_type) class_type 142 ext/spl/spl_directory.c intern = ecalloc(1, sizeof(spl_filesystem_object) + zend_object_properties_size(class_type)); class_type 147 ext/spl/spl_directory.c zend_object_std_init(&intern->std, class_type); class_type 148 ext/spl/spl_directory.c object_properties_init(&intern->std, class_type); class_type 157 ext/spl/spl_directory.c static zend_object *spl_filesystem_object_new(zend_class_entry *class_type) class_type 159 ext/spl/spl_directory.c return spl_filesystem_object_new_ex(class_type); class_type 164 ext/spl/spl_directory.c static zend_object *spl_filesystem_object_new_check(zend_class_entry *class_type) class_type 166 ext/spl/spl_directory.c spl_filesystem_object *ret = spl_filesystem_from_obj(spl_filesystem_object_new_ex(class_type)); class_type 370 ext/spl/spl_dllist.c static zend_object *spl_dllist_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) /* {{{ */ class_type 373 ext/spl/spl_dllist.c zend_class_entry *parent = class_type; class_type 378 ext/spl/spl_dllist.c zend_object_std_init(&intern->std, class_type); class_type 379 ext/spl/spl_dllist.c object_properties_init(&intern->std, class_type); class_type 428 ext/spl/spl_dllist.c intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1); class_type 432 ext/spl/spl_dllist.c intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1); class_type 436 ext/spl/spl_dllist.c intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1); class_type 440 ext/spl/spl_dllist.c intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1); class_type 444 ext/spl/spl_dllist.c intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") - 1); class_type 454 ext/spl/spl_dllist.c static zend_object *spl_dllist_object_new(zend_class_entry *class_type) /* {{{ */ class_type 456 ext/spl/spl_dllist.c return spl_dllist_object_new_ex(class_type, NULL, 0); class_type 215 ext/spl/spl_fixedarray.c static zend_object *spl_fixedarray_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) /* {{{ */ class_type 218 ext/spl/spl_fixedarray.c zend_class_entry *parent = class_type; class_type 223 ext/spl/spl_fixedarray.c zend_object_std_init(&intern->std, class_type); class_type 224 ext/spl/spl_fixedarray.c object_properties_init(&intern->std, class_type); class_type 245 ext/spl/spl_fixedarray.c class_type->get_iterator = spl_fixedarray_get_iterator; class_type 257 ext/spl/spl_fixedarray.c if (!class_type->iterator_funcs.zf_current) { class_type 258 ext/spl/spl_fixedarray.c class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind", sizeof("rewind") - 1); class_type 259 ext/spl/spl_fixedarray.c class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type->function_table, "valid", sizeof("valid") - 1); class_type 260 ext/spl/spl_fixedarray.c class_type->iterator_funcs.zf_key = zend_hash_str_find_ptr(&class_type->function_table, "key", sizeof("key") - 1); class_type 261 ext/spl/spl_fixedarray.c class_type->iterator_funcs.zf_current = zend_hash_str_find_ptr(&class_type->function_table, "current", sizeof("current") - 1); class_type 262 ext/spl/spl_fixedarray.c class_type->iterator_funcs.zf_next = zend_hash_str_find_ptr(&class_type->function_table, "next", sizeof("next") - 1); class_type 265 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_rewind->common.scope != parent) { class_type 268 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_valid->common.scope != parent) { class_type 271 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_key->common.scope != parent) { class_type 274 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_current->common.scope != parent) { class_type 277 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_next->common.scope != parent) { class_type 281 ext/spl/spl_fixedarray.c intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1); class_type 285 ext/spl/spl_fixedarray.c intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1); class_type 289 ext/spl/spl_fixedarray.c intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1); class_type 293 ext/spl/spl_fixedarray.c intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1); class_type 297 ext/spl/spl_fixedarray.c intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") - 1); class_type 307 ext/spl/spl_fixedarray.c static zend_object *spl_fixedarray_new(zend_class_entry *class_type) /* {{{ */ class_type 309 ext/spl/spl_fixedarray.c return spl_fixedarray_object_new_ex(class_type, NULL, 0); class_type 26 ext/spl/spl_functions.h typedef zend_object* (*create_object_func_t)(zend_class_entry *class_type); class_type 362 ext/spl/spl_heap.c static zend_object *spl_heap_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) /* {{{ */ class_type 365 ext/spl/spl_heap.c zend_class_entry *parent = class_type; class_type 370 ext/spl/spl_heap.c zend_object_std_init(&intern->std, class_type); class_type 371 ext/spl/spl_heap.c object_properties_init(&intern->std, class_type); class_type 424 ext/spl/spl_heap.c intern->fptr_cmp = zend_hash_str_find_ptr(&class_type->function_table, "compare", sizeof("compare") - 1); class_type 428 ext/spl/spl_heap.c intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") - 1); class_type 438 ext/spl/spl_heap.c static zend_object *spl_heap_object_new(zend_class_entry *class_type) /* {{{ */ class_type 440 ext/spl/spl_heap.c return spl_heap_object_new_ex(class_type, NULL, 0); class_type 953 ext/spl/spl_iterators.c static zend_object *spl_RecursiveIteratorIterator_new_ex(zend_class_entry *class_type, int init_prefix) class_type 957 ext/spl/spl_iterators.c intern = ecalloc(1, sizeof(spl_recursive_it_object) + zend_object_properties_size(class_type)); class_type 970 ext/spl/spl_iterators.c zend_object_std_init(&intern->std, class_type); class_type 971 ext/spl/spl_iterators.c object_properties_init(&intern->std, class_type); class_type 979 ext/spl/spl_iterators.c static zend_object *spl_RecursiveIteratorIterator_new(zend_class_entry *class_type) class_type 981 ext/spl/spl_iterators.c return spl_RecursiveIteratorIterator_new_ex(class_type, 0); class_type 986 ext/spl/spl_iterators.c static zend_object *spl_RecursiveTreeIterator_new(zend_class_entry *class_type) class_type 988 ext/spl/spl_iterators.c return spl_RecursiveIteratorIterator_new_ex(class_type, 1); class_type 1346 ext/spl/spl_iterators.c static int spl_dual_it_gets_implemented(zend_class_entry *interface, zend_class_entry *class_type) class_type 1348 ext/spl/spl_iterators.c class_type->iterator_funcs.zf_valid = NULL; class_type 1349 ext/spl/spl_iterators.c class_type->iterator_funcs.zf_current = NULL; class_type 1350 ext/spl/spl_iterators.c class_type->iterator_funcs.zf_key = NULL; class_type 1351 ext/spl/spl_iterators.c class_type->iterator_funcs.zf_next = NULL; class_type 1352 ext/spl/spl_iterators.c class_type->iterator_funcs.zf_rewind = NULL; class_type 1353 ext/spl/spl_iterators.c if (!class_type->iterator_funcs.funcs) { class_type 1354 ext/spl/spl_iterators.c class_type->iterator_funcs.funcs = &zend_interface_iterator_funcs_iterator; class_type 2357 ext/spl/spl_iterators.c static zend_object *spl_dual_it_new(zend_class_entry *class_type) class_type 2361 ext/spl/spl_iterators.c intern = ecalloc(1, sizeof(spl_dual_it_object) + zend_object_properties_size(class_type)); class_type 2364 ext/spl/spl_iterators.c zend_object_std_init(&intern->std, class_type); class_type 2365 ext/spl/spl_iterators.c object_properties_init(&intern->std, class_type); class_type 217 ext/spl/spl_observer.c static zend_object *spl_object_storage_new_ex(zend_class_entry *class_type, zval *orig) /* {{{ */ class_type 220 ext/spl/spl_observer.c zend_class_entry *parent = class_type; class_type 226 ext/spl/spl_observer.c zend_object_std_init(&intern->std, class_type); class_type 227 ext/spl/spl_observer.c object_properties_init(&intern->std, class_type); class_type 240 ext/spl/spl_observer.c if (class_type != spl_ce_SplObjectStorage) { class_type 241 ext/spl/spl_observer.c intern->fptr_get_hash = zend_hash_str_find_ptr(&class_type->function_table, "gethash", sizeof("gethash") - 1); class_type 363 ext/spl/spl_observer.c static zend_object *spl_SplObjectStorage_new(zend_class_entry *class_type) class_type 365 ext/spl/spl_observer.c return spl_object_storage_new_ex(class_type, NULL); class_type 2131 ext/sqlite3/sqlite3.c static zend_object *php_sqlite3_object_new(zend_class_entry *class_type) /* {{{ */ class_type 2136 ext/sqlite3/sqlite3.c intern = ecalloc(1, sizeof(php_sqlite3_db_object) + zend_object_properties_size(class_type)); class_type 2141 ext/sqlite3/sqlite3.c zend_object_std_init(&intern->zo, class_type); class_type 2142 ext/sqlite3/sqlite3.c object_properties_init(&intern->zo, class_type); class_type 2150 ext/sqlite3/sqlite3.c static zend_object *php_sqlite3_stmt_object_new(zend_class_entry *class_type) /* {{{ */ class_type 2155 ext/sqlite3/sqlite3.c intern = ecalloc(1, sizeof(php_sqlite3_stmt) + zend_object_properties_size(class_type)); class_type 2157 ext/sqlite3/sqlite3.c zend_object_std_init(&intern->zo, class_type); class_type 2158 ext/sqlite3/sqlite3.c object_properties_init(&intern->zo, class_type); class_type 2166 ext/sqlite3/sqlite3.c static zend_object *php_sqlite3_result_object_new(zend_class_entry *class_type) /* {{{ */ class_type 2171 ext/sqlite3/sqlite3.c intern = ecalloc(1, sizeof(php_sqlite3_result) + zend_object_properties_size(class_type)); class_type 2173 ext/sqlite3/sqlite3.c zend_object_std_init(&intern->zo, class_type); class_type 2174 ext/sqlite3/sqlite3.c object_properties_init(&intern->zo, class_type); class_type 102 ext/standard/incomplete_class.c static zend_object *php_create_incomplete_object(zend_class_entry *class_type) class_type 106 ext/standard/incomplete_class.c object = zend_objects_new( class_type); class_type 109 ext/standard/incomplete_class.c object_properties_init(object, class_type); class_type 679 ext/tidy/tidy.c static zend_object *tidy_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, tidy_obj_type objtype) class_type 683 ext/tidy/tidy.c intern = ecalloc(1, sizeof(PHPTidyObj) + zend_object_properties_size(class_type)); class_type 684 ext/tidy/tidy.c zend_object_std_init(&intern->std, class_type); class_type 685 ext/tidy/tidy.c object_properties_init(&intern->std, class_type); class_type 722 ext/tidy/tidy.c static zend_object *tidy_object_new_node(zend_class_entry *class_type) class_type 724 ext/tidy/tidy.c return tidy_object_new(class_type, &tidy_object_handlers_node, is_node); class_type 727 ext/tidy/tidy.c static zend_object *tidy_object_new_doc(zend_class_entry *class_type) class_type 729 ext/tidy/tidy.c return tidy_object_new(class_type, &tidy_object_handlers_doc, is_doc); class_type 385 ext/xmlreader/php_xmlreader.c zend_object *xmlreader_objects_new(zend_class_entry *class_type) class_type 389 ext/xmlreader/php_xmlreader.c intern = ecalloc(1, sizeof(xmlreader_object) + zend_object_properties_size(class_type)); class_type 390 ext/xmlreader/php_xmlreader.c zend_object_std_init(&intern->std, class_type); class_type 391 ext/xmlreader/php_xmlreader.c object_properties_init(&intern->std, class_type); class_type 140 ext/xmlwriter/php_xmlwriter.c static zend_object *xmlwriter_object_new(zend_class_entry *class_type) class_type 144 ext/xmlwriter/php_xmlwriter.c intern = ecalloc(1, sizeof(ze_xmlwriter_object) + zend_object_properties_size(class_type)); class_type 145 ext/xmlwriter/php_xmlwriter.c zend_object_std_init(&intern->std, class_type); class_type 146 ext/xmlwriter/php_xmlwriter.c object_properties_init(&intern->std, class_type); class_type 107 ext/xsl/php_xsl.c zend_object *xsl_objects_new(zend_class_entry *class_type) class_type 111 ext/xsl/php_xsl.c intern = ecalloc(1, sizeof(xsl_object) + zend_object_properties_size(class_type)); class_type 114 ext/xsl/php_xsl.c zend_object_std_init(&intern->std, class_type); class_type 115 ext/xsl/php_xsl.c object_properties_init(&intern->std, class_type); class_type 1020 ext/zip/php_zip.c static zend_object *php_zip_object_new(zend_class_entry *class_type) /* {{{ */ class_type 1024 ext/zip/php_zip.c intern = ecalloc(1, sizeof(ze_zip_object) + zend_object_properties_size(class_type)); class_type 1026 ext/zip/php_zip.c zend_object_std_init(&intern->zo, class_type); class_type 1027 ext/zip/php_zip.c object_properties_init(&intern->zo, class_type);