Home
last modified time | relevance | path

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

12

/PHP-5.3/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_objects.h30 ZEND_API zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type TSRM…
H A Dzend_API.c1006 if (!class_type->constants_updated || !CE_STATIC_MEMBERS(class_type)) { in zend_update_class_constants()
1010 *scope = class_type; in zend_update_class_constants()
1014 if (!CE_STATIC_MEMBERS(class_type)) { in zend_update_class_constants()
1018 if (class_type->parent) { in zend_update_class_constants()
1024 ALLOC_HASHTABLE(class_type->static_members); in zend_update_class_constants()
1026 …zend_hash_init(CE_STATIC_MEMBERS(class_type), zend_hash_num_elements(&class_type->default_static_m… in zend_update_class_constants()
1037 class_type->parent && in zend_update_class_constants()
1060 class_type->constants_updated = 1; in zend_update_class_constants()
1079 zend_update_class_constants(class_type TSRMLS_CC); in _object_and_properties_init()
1082 if (class_type->create_object == NULL) { in _object_and_properties_init()
[all …]
H A Dzend_exceptions.c132 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
138 Z_OBJVAL(obj) = zend_objects_new(&object, class_type TSRMLS_CC); in zend_default_exception_new_ex()
143 …zend_hash_copy(object->properties, &class_type->default_properties, zval_copy_property_ctor(class_… in zend_default_exception_new_ex()
158 static zend_object_value zend_default_exception_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ … in zend_default_exception_new()
160 return zend_default_exception_new_ex(class_type, 0 TSRMLS_CC); in zend_default_exception_new()
164 static zend_object_value zend_error_exception_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in zend_error_exception_new()
166 return zend_default_exception_new_ex(class_type, 2 TSRMLS_CC); in zend_error_exception_new()
H A Dzend_objects.c130 ZEND_API zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type TSRM… in zend_objects_new()
135 (*object)->ce = class_type; in zend_objects_new()
H A Dzend_closures.c194 static zend_object_value zend_closure_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in zend_closure_new()
202 zend_object_std_init(&closure->std, class_type TSRMLS_CC); in zend_closure_new()
H A Dzend.h451 zend_object_value (*create_object)(zend_class_entry *class_type TSRMLS_DC);
453 …int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type TSRMLS_DC)…
/PHP-5.3/ext/spl/
H A Dspl_fixedarray.c210 zend_class_entry *parent = class_type; in spl_fixedarray_object_new_ex()
217 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_fixedarray_object_new_ex()
239 class_type->get_iterator = spl_fixedarray_get_iterator; in spl_fixedarray_object_new_ex()
252 if (!class_type->iterator_funcs.zf_current) { in spl_fixedarray_object_new_ex()
253 …zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
254 …zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
255 …zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
256 …zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
257 …zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->i… in spl_fixedarray_object_new_ex()
260 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) { in spl_fixedarray_object_new_ex()
[all …]
H A Dspl_array.c168 zend_class_entry * parent = class_type; in spl_array_object_new_ex()
176 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_array_object_new_ex()
215 class_type->get_iterator = spl_array_get_iterator; in spl_array_object_new_ex()
260 if (!class_type->iterator_funcs.zf_current) { in spl_array_object_new_ex()
261 …zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->i… in spl_array_object_new_ex()
262 …zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type->i… in spl_array_object_new_ex()
263 …zend_hash_find(&class_type->function_table, "key", sizeof("key"), (void **) &class_type->i… in spl_array_object_new_ex()
264 …zend_hash_find(&class_type->function_table, "current", sizeof("current"), (void **) &class_type->i… in spl_array_object_new_ex()
265 …zend_hash_find(&class_type->function_table, "next", sizeof("next"), (void **) &class_type->i… in spl_array_object_new_ex()
282 static zend_object_value spl_array_object_new(zend_class_entry *class_type TSRMLS_DC) in spl_array_object_new()
[all …]
H A Dspl_dllist.c366 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 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… 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.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
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 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… 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_functions.h26 typedef zend_object_value (*create_object_func_t)(zend_class_entry *class_type TSRMLS_DC);
H A Dspl_iterators.c925 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_RecursiveIteratorIterator_new_ex()
937 return spl_RecursiveIteratorIterator_new_ex(class_type, 0 TSRMLS_CC); in spl_RecursiveIteratorIterator_new()
944 return spl_RecursiveIteratorIterator_new_ex(class_type, 1 TSRMLS_CC); in spl_RecursiveTreeIterator_new()
1272 class_type->iterator_funcs.zf_valid = NULL; in spl_dual_it_gets_implemented()
1273 class_type->iterator_funcs.zf_current = NULL; in spl_dual_it_gets_implemented()
1274 class_type->iterator_funcs.zf_key = NULL; in spl_dual_it_gets_implemented()
1275 class_type->iterator_funcs.zf_next = NULL; in spl_dual_it_gets_implemented()
1276 class_type->iterator_funcs.zf_rewind = NULL; in spl_dual_it_gets_implemented()
1277 if (!class_type->iterator_funcs.funcs) { in spl_dual_it_gets_implemented()
1278 class_type->iterator_funcs.funcs = &zend_interface_iterator_funcs_iterator; in spl_dual_it_gets_implemented()
[all …]
H A Dspl_observer.c198 static zend_object_value spl_object_storage_new_ex(zend_class_entry *class_type, spl_SplObjectStora… in spl_object_storage_new_ex() argument
208 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in spl_object_storage_new_ex()
209 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… in spl_object_storage_new_ex()
370 static zend_object_value spl_SplObjectStorage_new(zend_class_entry *class_type TSRMLS_DC) in spl_SplObjectStorage_new()
373 return spl_object_storage_new_ex(class_type, &tmp, NULL TSRMLS_CC); in spl_SplObjectStorage_new()
/PHP-5.3/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.c1135 static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy TSRMLS_D… in dom_objects_set_class() argument
1141 if (instanceof_function(class_type, dom_xpath_class_entry TSRMLS_CC)) { in dom_objects_set_class()
1151 base_class = class_type; in dom_objects_set_class()
1158 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in dom_objects_set_class()
1160 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_ad… in dom_objects_set_class()
1201 zend_object_value dom_objects_new(zend_class_entry *class_type TSRMLS_DC) in dom_objects_new()
1206 intern = dom_objects_set_class(class_type, 1 TSRMLS_CC); in dom_objects_new()
1218 zend_object_value dom_xpath_objects_new(zend_class_entry *class_type TSRMLS_DC) in dom_xpath_objects_new()
1223 intern = (dom_xpath_object *)dom_objects_set_class(class_type, 1 TSRMLS_CC); in dom_xpath_objects_new()
1280 zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ in dom_nnodemap_objects_new()
[all …]
/PHP-5.3/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()
/PHP-5.3/ext/xsl/
H A Dphp_xsl.c114 zend_object_value xsl_objects_new(zend_class_entry *class_type TSRMLS_DC) in xsl_objects_new()
131 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in xsl_objects_new()
132 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… in xsl_objects_new()
/PHP-5.3/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()
106 zend_object_std_init(&intern->zo, class_type TSRMLS_CC); in finfo_objects_new()
107 …zend_hash_copy(intern->zo.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pro… in finfo_objects_new()
/PHP-5.3/ext/mysqli/
H A Dmysqli.c483 PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry *class_type TSRMLS_DC) in mysqli_objects_new()
496 mysqli_base_class = class_type; in mysqli_objects_new()
504 zend_object_std_init(&intern->zo, class_type TSRMLS_CC); in mysqli_objects_new()
505 …zend_hash_copy(intern->zo.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… in mysqli_objects_new()
509 if (instanceof_function(class_type, mysqli_link_class_entry TSRMLS_CC)) { in mysqli_objects_new()
511 …} else if (instanceof_function(class_type, mysqli_driver_class_entry TSRMLS_CC)) { /* driver objec… in mysqli_objects_new()
513 } else if (instanceof_function(class_type, mysqli_stmt_class_entry TSRMLS_CC)) { /* stmt object */ in mysqli_objects_new()
515 …} else if (instanceof_function(class_type, mysqli_result_class_entry TSRMLS_CC)) { /* result objec… in mysqli_objects_new()
517 …} else if (instanceof_function(class_type, mysqli_warning_class_entry TSRMLS_CC)) { /* warning obj… in mysqli_objects_new()
/PHP-5.3/ext/date/
H A Dphp_date.c571 static zend_object_value date_object_new_date(zend_class_entry *class_type TSRMLS_DC);
574 static zend_object_value date_object_new_period(zend_class_entry *class_type TSRMLS_DC);
2060 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_date_ex()
2069 static zend_object_value date_object_new_date(zend_class_entry *class_type TSRMLS_DC) in date_object_new_date()
2071 return date_object_new_date_ex(class_type, NULL TSRMLS_CC); in date_object_new_date()
2188 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_timezone_ex()
2199 return date_object_new_timezone_ex(class_type, NULL TSRMLS_CC); in date_object_new_timezone()
2244 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_interval_ex()
2255 return date_object_new_interval_ex(class_type, NULL TSRMLS_CC); in date_object_new_interval()
2326 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in date_object_new_period_ex()
[all …]
/PHP-5.3/ext/sqlite3/
H A Dsqlite3.c2122 static zend_object_value php_sqlite3_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */
2136 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2137 …zend_hash_copy(intern->zo.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pro…
2146 static zend_object_value php_sqlite3_stmt_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{…
2158 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2159 …zend_hash_copy(intern->zo.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pro…
2168 static zend_object_value php_sqlite3_result_object_new(zend_class_entry *class_type TSRMLS_DC) /* {…
2182 zend_object_std_init(&intern->zo, class_type TSRMLS_CC);
2183 …zend_hash_copy(intern->zo.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pro…
/PHP-5.3/ext/tidy/
H A Dtidy.c680 static void tidy_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, in tidy_object_new() argument
688 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in tidy_object_new()
690 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… in tidy_object_new()
734 static zend_object_value tidy_object_new_node(zend_class_entry *class_type TSRMLS_DC) in tidy_object_new_node()
737 tidy_object_new(class_type, &tidy_object_handlers_node, &retval, is_node TSRMLS_CC); in tidy_object_new_node()
741 static zend_object_value tidy_object_new_doc(zend_class_entry *class_type TSRMLS_DC) in tidy_object_new_doc()
744 tidy_object_new(class_type, &tidy_object_handlers_doc, &retval, is_doc TSRMLS_CC); in tidy_object_new_doc()
/PHP-5.3/ext/sqlite/
H A Dsqlite.c1160 static void sqlite_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, zend_ob… in sqlite_object_new() argument
1168 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in sqlite_object_new()
1169 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… in sqlite_object_new()
1175 static zend_object_value sqlite_object_new_db(zend_class_entry *class_type TSRMLS_DC) in sqlite_object_new_db()
1179 sqlite_object_new(class_type, &sqlite_object_handlers_db, &retval TSRMLS_CC); in sqlite_object_new_db()
1183 static zend_object_value sqlite_object_new_query(zend_class_entry *class_type TSRMLS_DC) in sqlite_object_new_query()
1187 sqlite_object_new(class_type, &sqlite_object_handlers_query, &retval TSRMLS_CC); in sqlite_object_new_query()
1191 static zend_object_value sqlite_object_new_ub_query(zend_class_entry *class_type TSRMLS_DC) in sqlite_object_new_ub_query()
1195 sqlite_object_new(class_type, &sqlite_object_handlers_ub_query, &retval TSRMLS_CC); in sqlite_object_new_ub_query()
1199 static zend_object_value sqlite_object_new_exception(zend_class_entry *class_type TSRMLS_DC) in sqlite_object_new_exception()
[all …]
/PHP-5.3/ext/xmlreader/
H A Dphp_xmlreader.c390 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 …zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_pr… in xmlreader_objects_new()

Completed in 138 milliseconds

12