Home
last modified time | relevance | path

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

12

/PHP-5.4/Zend/
H A Dzend_interfaces.c325 if (class_type->get_iterator || (class_type->parent && class_type->parent->get_iterator)) { in zend_implement_traversable()
334 class_type->name, in zend_implement_traversable()
347 if (class_type->get_iterator) { in zend_implement_aggregate()
353 if (class_type->num_interfaces) { in zend_implement_aggregate()
357 class_type->name, in zend_implement_aggregate()
381 if (class_type->get_iterator && class_type->get_iterator != zend_user_it_get_iterator) { in zend_implement_iterator()
389 class_type->name, in zend_implement_iterator()
502 if (class_type->parent in zend_implement_serializable()
503 && (class_type->parent->serialize || class_type->parent->unserialize) in zend_implement_serializable()
507 if (!class_type->serialize) { in zend_implement_serializable()
[all …]
H A Dzend_API.c1062 …if ((class_type->ce_flags & ZEND_ACC_CONSTANTS_UPDATED) == 0 || (!CE_STATIC_MEMBERS(class_type) &&… in zend_update_class_constants()
1067 *scope = class_type; in zend_update_class_constants()
1076 if (!CE_STATIC_MEMBERS(class_type) && class_type->default_static_members_count) { in zend_update_class_constants()
1079 if (class_type->parent) { in zend_update_class_constants()
1085class_type->static_members_table = emalloc(sizeof(zval*) * class_type->default_static_members_coun… in zend_update_class_constants()
1090 class_type->parent && in zend_update_class_constants()
1099 CE_STATIC_MEMBERS(class_type)[i] = q; in zend_update_class_constants() local
1107 CE_STATIC_MEMBERS(class_type)[i] = r; in zend_update_class_constants() local
1126 if (class_type->default_properties_count) { in object_properties_init()
1162 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_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.h499 zend_object_value (*create_object)(zend_class_entry *class_type TSRMLS_DC);
501 …int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type TSRMLS_DC)…
/PHP-5.4/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_observer.c253 static zend_object_value spl_object_storage_new_ex(zend_class_entry *class_type, spl_SplObjectStora… in spl_object_storage_new_ex() argument
257 zend_class_entry *parent = class_type; in spl_object_storage_new_ex()
263 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_object_storage_new_ex()
264 object_properties_init(&intern->std, class_type); in spl_object_storage_new_ex()
278 if (class_type != spl_ce_SplObjectStorage) { in spl_object_storage_new_ex()
279 …zend_hash_find(&class_type->function_table, "gethash", sizeof("gethash"), (void **) &intern-… in spl_object_storage_new_ex()
432 static zend_object_value spl_SplObjectStorage_new(zend_class_entry *class_type TSRMLS_DC) in spl_SplObjectStorage_new()
435 return spl_object_storage_new_ex(class_type, &tmp, NULL TSRMLS_CC); in spl_SplObjectStorage_new()
H A Dspl_heap.c384 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
388 zend_class_entry *parent = class_type; in spl_heap_object_new_ex()
395 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_heap_object_new_ex()
396 object_properties_init(&intern->std, class_type); in spl_heap_object_new_ex()
458 …zend_hash_find(&class_type->function_table, "compare", sizeof("compare"), (void **) &intern-… in spl_heap_object_new_ex()
462 …zend_hash_find(&class_type->function_table, "count", sizeof("count"), (void **) &int… in spl_heap_object_new_ex()
472 static zend_object_value spl_heap_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in spl_heap_object_new()
475 return spl_heap_object_new_ex(class_type, &tmp, NULL, 0 TSRMLS_CC); in spl_heap_object_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.c927 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_RecursiveIteratorIterator_new_ex()
928 object_properties_init(&intern->std, class_type); in spl_RecursiveIteratorIterator_new_ex()
939 return spl_RecursiveIteratorIterator_new_ex(class_type, 0 TSRMLS_CC); in spl_RecursiveIteratorIterator_new()
1274 class_type->iterator_funcs.zf_valid = NULL; in spl_dual_it_gets_implemented()
1275 class_type->iterator_funcs.zf_current = NULL; in spl_dual_it_gets_implemented()
1276 class_type->iterator_funcs.zf_key = NULL; in spl_dual_it_gets_implemented()
1277 class_type->iterator_funcs.zf_next = NULL; in spl_dual_it_gets_implemented()
1278 class_type->iterator_funcs.zf_rewind = NULL; in spl_dual_it_gets_implemented()
1279 if (!class_type->iterator_funcs.funcs) { in spl_dual_it_gets_implemented()
2319 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_dual_it_new()
[all …]
H A Dspl_directory.c147 static zend_object_value spl_filesystem_object_new_ex(zend_class_entry *class_type, spl_filesystem_… in spl_filesystem_object_new_ex() argument
159 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_filesystem_object_new_ex()
160 object_properties_init(&intern->std, class_type); in spl_filesystem_object_new_ex()
170 static zend_object_value spl_filesystem_object_new(zend_class_entry *class_type TSRMLS_DC) in spl_filesystem_object_new()
172 return spl_filesystem_object_new_ex(class_type, NULL TSRMLS_CC); in spl_filesystem_object_new()
177 static zend_object_value spl_filesystem_object_new_check(zend_class_entry *class_type TSRMLS_DC) in spl_filesystem_object_new_check()
179 zend_object_value ret = spl_filesystem_object_new_ex(class_type, NULL TSRMLS_CC); in spl_filesystem_object_new_check()
/PHP-5.4/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.4/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.4/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.4/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.4/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.4/ext/date/
H A Dphp_date.c2041 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_date_ex()
2042 object_properties_init(&intern->std, class_type); in date_object_new_date_ex()
2052 return date_object_new_date_ex(class_type, NULL TSRMLS_CC); in date_object_new_date()
2175 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_timezone_ex()
2176 object_properties_init(&intern->std, class_type); in date_object_new_timezone_ex()
2186 return date_object_new_timezone_ex(class_type, NULL TSRMLS_CC); in date_object_new_timezone()
2230 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_interval_ex()
2231 object_properties_init(&intern->std, class_type); in date_object_new_interval_ex()
2319 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_period_ex()
2320 object_properties_init(&intern->std, class_type); in date_object_new_period_ex()
[all …]
/PHP-5.4/ext/sqlite3/
H A Dsqlite3.c2150 static zend_object_value php_sqlite3_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */
2163 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2164 object_properties_init(&intern->zo, class_type);
2173 static zend_object_value php_sqlite3_stmt_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{…
2184 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2185 object_properties_init(&intern->zo, class_type);
2194 static zend_object_value php_sqlite3_result_object_new(zend_class_entry *class_type TSRMLS_DC) /* {…
2207 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2208 object_properties_init(&intern->zo, class_type);
/PHP-5.4/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.4/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 163 milliseconds

12