Home
last modified time | relevance | path

Searched refs:class_type (Results 1 – 25 of 33) sorted by relevance

12

/PHP-5.5/Zend/
H A Dzend_interfaces.c299 if (class_type->get_iterator || (class_type->parent && class_type->parent->get_iterator)) { in zend_implement_traversable()
308 class_type->name, in zend_implement_traversable()
321 if (class_type->get_iterator) { in zend_implement_aggregate()
327 if (class_type->num_interfaces) { in zend_implement_aggregate()
331 class_type->name, in zend_implement_aggregate()
355 if (class_type->get_iterator && class_type->get_iterator != zend_user_it_get_iterator) { in zend_implement_iterator()
363 class_type->name, in zend_implement_iterator()
476 if (class_type->parent in zend_implement_serializable()
477 && (class_type->parent->serialize || class_type->parent->unserialize) in zend_implement_serializable()
481 if (!class_type->serialize) { in zend_implement_serializable()
[all …]
H A Dzend_API.c1091 …if ((class_type->ce_flags & ZEND_ACC_CONSTANTS_UPDATED) == 0 || (!CE_STATIC_MEMBERS(class_type) &&… in zend_update_class_constants()
1096 *scope = class_type; in zend_update_class_constants()
1105 if (!CE_STATIC_MEMBERS(class_type) && class_type->default_static_members_count) { in zend_update_class_constants()
1108 if (class_type->parent) { in zend_update_class_constants()
1114class_type->static_members_table = emalloc(sizeof(zval*) * class_type->default_static_members_coun… in zend_update_class_constants()
1119 class_type->parent && in zend_update_class_constants()
1128 CE_STATIC_MEMBERS(class_type)[i] = q; in zend_update_class_constants() local
1136 CE_STATIC_MEMBERS(class_type)[i] = r; in zend_update_class_constants() local
1155 if (class_type->default_properties_count) { in object_properties_init()
1191 if (class_type->create_object == NULL) { in _object_and_properties_init()
[all …]
H A Dzend_objects.h30 ZEND_API zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type TSRM…
H A Dzend_exceptions.c147 static zend_object_value zend_default_exception_new_ex(zend_class_entry *class_type, int skip_top_t… in zend_default_exception_new_ex() argument
153 Z_OBJVAL(obj) = zend_objects_new(&object, class_type TSRMLS_CC); in zend_default_exception_new_ex()
156 object_properties_init(object, class_type); in zend_default_exception_new_ex()
171 static zend_object_value zend_default_exception_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ … in zend_default_exception_new()
173 return zend_default_exception_new_ex(class_type, 0 TSRMLS_CC); in zend_default_exception_new()
177 static zend_object_value zend_error_exception_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in zend_error_exception_new()
179 return zend_default_exception_new_ex(class_type, 2 TSRMLS_CC); in zend_error_exception_new()
H A Dzend_objects.c141 ZEND_API zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type TSRM… in zend_objects_new()
146 (*object)->ce = class_type; in zend_objects_new()
H A Dzend_generators.c30 static zend_object_value zend_generator_create(zend_class_entry *class_type TSRMLS_DC);
216 static zend_object_value zend_generator_create(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in zend_generator_create()
227 zend_object_std_init(&generator->std, class_type TSRMLS_CC); in zend_generator_create()
H A Dzend_closures.c267 static zend_object_value zend_closure_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in zend_closure_new()
275 zend_object_std_init(&closure->std, class_type TSRMLS_CC); in zend_closure_new()
H A Dzend.h509 zend_object_value (*create_object)(zend_class_entry *class_type TSRMLS_DC);
511 …int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type TSRMLS_DC)…
/PHP-5.5/ext/spl/
H A Dspl_fixedarray.c227 zend_class_entry *parent = class_type; in spl_fixedarray_object_new_ex()
234 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_fixedarray_object_new_ex()
235 object_properties_init(&intern->std, class_type); in spl_fixedarray_object_new_ex()
256 class_type->get_iterator = spl_fixedarray_get_iterator; in spl_fixedarray_object_new_ex()
269 if (!class_type->iterator_funcs.zf_current) { in spl_fixedarray_object_new_ex()
270 …zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
271 …zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
272 …zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
273 …zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
274 …zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
[all …]
H A Dspl_array.c172 zend_class_entry * parent = class_type; in spl_array_object_new_ex()
180 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_array_object_new_ex()
181 object_properties_init(&intern->std, class_type); in spl_array_object_new_ex()
217 class_type->get_iterator = spl_array_get_iterator; in spl_array_object_new_ex()
254 if (!class_type->iterator_funcs.zf_current) { in spl_array_object_new_ex()
255 …zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->i… in spl_array_object_new_ex()
256 …zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->i… in spl_array_object_new_ex()
257 …zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->i… in spl_array_object_new_ex()
258 …zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->i… in spl_array_object_new_ex()
259 …zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->i… in spl_array_object_new_ex()
[all …]
H A Dspl_dllist.c367 static zend_object_value spl_dllist_object_new_ex(zend_class_entry *class_type, spl_dllist_object *… in spl_dllist_object_new_ex() argument
371 zend_class_entry *parent = class_type; in spl_dllist_object_new_ex()
378 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_dllist_object_new_ex()
379 object_properties_init(&intern->std, class_type); in spl_dllist_object_new_ex()
431 …zend_hash_find(&class_type->function_table, "offsetget", sizeof("offsetget"), (void **) &int… in spl_dllist_object_new_ex()
435 …zend_hash_find(&class_type->function_table, "offsetset", sizeof("offsetset"), (void **) &int… in spl_dllist_object_new_ex()
439 …zend_hash_find(&class_type->function_table, "offsetexists", sizeof("offsetexists"), (void **) &int… in spl_dllist_object_new_ex()
443 …zend_hash_find(&class_type->function_table, "offsetunset", sizeof("offsetunset"), (void **) &int… in spl_dllist_object_new_ex()
447 …zend_hash_find(&class_type->function_table, "count", sizeof("count"), (void **) &int… in spl_dllist_object_new_ex()
457 static zend_object_value spl_dllist_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in spl_dllist_object_new()
[all …]
H A Dspl_heap.c385 static zend_object_value spl_heap_object_new_ex(zend_class_entry *class_type, spl_heap_object **obj… in spl_heap_object_new_ex() argument
389 zend_class_entry *parent = class_type; in spl_heap_object_new_ex()
396 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_heap_object_new_ex()
397 object_properties_init(&intern->std, class_type); in spl_heap_object_new_ex()
459 …zend_hash_find(&class_type->function_table, "compare", sizeof("compare"), (void **) &intern-… in spl_heap_object_new_ex()
463 …zend_hash_find(&class_type->function_table, "count", sizeof("count"), (void **) &int… in spl_heap_object_new_ex()
473 static zend_object_value spl_heap_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in spl_heap_object_new()
476 return spl_heap_object_new_ex(class_type, &tmp, NULL, 0 TSRMLS_CC); in spl_heap_object_new()
H A Dspl_observer.c259 static zend_object_value spl_object_storage_new_ex(zend_class_entry *class_type, spl_SplObjectStora… in spl_object_storage_new_ex() argument
263 zend_class_entry *parent = class_type; in spl_object_storage_new_ex()
269 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_object_storage_new_ex()
270 object_properties_init(&intern->std, class_type); in spl_object_storage_new_ex()
284 if (class_type != spl_ce_SplObjectStorage) { in spl_object_storage_new_ex()
285 …zend_hash_find(&class_type->function_table, "gethash", sizeof("gethash"), (void **) &intern-… in spl_object_storage_new_ex()
421 static zend_object_value spl_SplObjectStorage_new(zend_class_entry *class_type TSRMLS_DC) in spl_SplObjectStorage_new()
424 return spl_object_storage_new_ex(class_type, &tmp, NULL TSRMLS_CC); in spl_SplObjectStorage_new()
H A Dspl_functions.h26 typedef zend_object_value (*create_object_func_t)(zend_class_entry *class_type TSRMLS_DC);
H A Dspl_iterators.c918 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_RecursiveIteratorIterator_new_ex()
919 object_properties_init(&intern->std, class_type); in spl_RecursiveIteratorIterator_new_ex()
930 return spl_RecursiveIteratorIterator_new_ex(class_type, 0 TSRMLS_CC); in spl_RecursiveIteratorIterator_new()
1269 class_type->iterator_funcs.zf_valid = NULL; in spl_dual_it_gets_implemented()
1270 class_type->iterator_funcs.zf_current = NULL; in spl_dual_it_gets_implemented()
1271 class_type->iterator_funcs.zf_key = NULL; in spl_dual_it_gets_implemented()
1272 class_type->iterator_funcs.zf_next = NULL; in spl_dual_it_gets_implemented()
1273 class_type->iterator_funcs.zf_rewind = NULL; in spl_dual_it_gets_implemented()
1274 if (!class_type->iterator_funcs.funcs) { in spl_dual_it_gets_implemented()
2343 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_dual_it_new()
[all …]
/PHP-5.5/ext/standard/
H A Dincomplete_class.c104 static zend_object_value php_create_incomplete_object(zend_class_entry *class_type TSRMLS_DC) in php_create_incomplete_object()
109 value = zend_objects_new(&object, class_type TSRMLS_CC); in php_create_incomplete_object()
112 object_properties_init(object, class_type); in php_create_incomplete_object()
/PHP-5.5/ext/dom/
H A Dphp_dom.h99 zend_object_value dom_objects_new(zend_class_entry *class_type TSRMLS_DC);
100 zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_DC);
102 zend_object_value dom_xpath_objects_new(zend_class_entry *class_type TSRMLS_DC);
H A Dphp_dom.c1138 static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy TSRMLS_D… in dom_objects_set_class() argument
1143 if (instanceof_function(class_type, dom_xpath_class_entry TSRMLS_CC)) { in dom_objects_set_class()
1153 base_class = class_type; in dom_objects_set_class()
1160 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in dom_objects_set_class()
1162 object_properties_init(&intern->std, class_type); in dom_objects_set_class()
1203 zend_object_value dom_objects_new(zend_class_entry *class_type TSRMLS_DC) in dom_objects_new()
1208 intern = dom_objects_set_class(class_type, 1 TSRMLS_CC); in dom_objects_new()
1220 zend_object_value dom_xpath_objects_new(zend_class_entry *class_type TSRMLS_DC) in dom_xpath_objects_new()
1225 intern = (dom_xpath_object *)dom_objects_set_class(class_type, 1 TSRMLS_CC); in dom_xpath_objects_new()
1282 zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in dom_nnodemap_objects_new()
[all …]
/PHP-5.5/ext/xsl/
H A Dphp_xsl.c114 zend_object_value xsl_objects_new(zend_class_entry *class_type TSRMLS_DC) in xsl_objects_new()
132 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in xsl_objects_new()
133 object_properties_init(&intern->std, class_type); in xsl_objects_new()
/PHP-5.5/ext/mysqli/
H A Dmysqli.c488 PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry *class_type TSRMLS_DC) in mysqli_objects_new()
500 mysqli_base_class = class_type; in mysqli_objects_new()
508 zend_object_std_init(&intern->zo, class_type TSRMLS_CC); in mysqli_objects_new()
509 object_properties_init(&intern->zo, class_type); in mysqli_objects_new()
512 if (instanceof_function(class_type, mysqli_link_class_entry TSRMLS_CC)) { in mysqli_objects_new()
514 …} else if (instanceof_function(class_type, mysqli_driver_class_entry TSRMLS_CC)) { /* driver objec… in mysqli_objects_new()
516 } else if (instanceof_function(class_type, mysqli_stmt_class_entry TSRMLS_CC)) { /* stmt object */ in mysqli_objects_new()
518 …} else if (instanceof_function(class_type, mysqli_result_class_entry TSRMLS_CC)) { /* result objec… in mysqli_objects_new()
520 …} else if (instanceof_function(class_type, mysqli_warning_class_entry TSRMLS_CC)) { /* warning obj… in mysqli_objects_new()
/PHP-5.5/ext/fileinfo/
H A Dfileinfo.c97 PHP_FILEINFO_API zend_object_value finfo_objects_new(zend_class_entry *class_type TSRMLS_DC) in finfo_objects_new()
105 zend_object_std_init(&intern->zo, class_type TSRMLS_CC); in finfo_objects_new()
106 object_properties_init(&intern->zo, class_type); in finfo_objects_new()
/PHP-5.5/ext/date/
H A Dphp_date.c2124 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_date_ex()
2125 object_properties_init(&intern->std, class_type); in date_object_new_date_ex()
2135 return date_object_new_date_ex(class_type, NULL TSRMLS_CC); in date_object_new_date()
2273 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_timezone_ex()
2274 object_properties_init(&intern->std, class_type); in date_object_new_timezone_ex()
2284 return date_object_new_timezone_ex(class_type, NULL TSRMLS_CC); in date_object_new_timezone()
2372 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_interval_ex()
2373 object_properties_init(&intern->std, class_type); in date_object_new_interval_ex()
2461 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_period_ex()
2462 object_properties_init(&intern->std, class_type); in date_object_new_period_ex()
[all …]
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c2155 static zend_object_value php_sqlite3_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */
2168 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2169 object_properties_init(&intern->zo, class_type);
2178 static zend_object_value php_sqlite3_stmt_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{…
2189 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2190 object_properties_init(&intern->zo, class_type);
2199 static zend_object_value php_sqlite3_result_object_new(zend_class_entry *class_type TSRMLS_DC) /* {…
2212 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2213 object_properties_init(&intern->zo, class_type);
/PHP-5.5/ext/tidy/
H A Dtidy.c674 static void tidy_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, in tidy_object_new() argument
681 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in tidy_object_new()
682 object_properties_init(&intern->std, class_type); in tidy_object_new()
718 static zend_object_value tidy_object_new_node(zend_class_entry *class_type TSRMLS_DC) in tidy_object_new_node()
721 tidy_object_new(class_type, &tidy_object_handlers_node, &retval, is_node TSRMLS_CC); in tidy_object_new_node()
725 static zend_object_value tidy_object_new_doc(zend_class_entry *class_type TSRMLS_DC) in tidy_object_new_doc()
728 tidy_object_new(class_type, &tidy_object_handlers_doc, &retval, is_doc TSRMLS_CC); in tidy_object_new_doc()
/PHP-5.5/ext/xmlreader/
H A Dphp_xmlreader.c391 zend_object_value xmlreader_objects_new(zend_class_entry *class_type TSRMLS_DC) in xmlreader_objects_new()
403 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in xmlreader_objects_new()
404 object_properties_init(&intern->std, class_type); in xmlreader_objects_new()

Completed in 150 milliseconds

12