Searched defs:class_type (Results 1 - 25 of 26) sorted by relevance

12

/PHP_TRUNK/Zend/
H A Dzend_closures.c288 static zend_object *zend_closure_new(zend_class_entry *class_type) /* {{{ */ argument
295 zend_object_std_init(&closure->std, class_type);
H A Dzend_exceptions.c149 static zend_object *zend_default_exception_new_ex(zend_class_entry *class_type, int skip_top_traces) /* {{{ */ argument
155 Z_OBJ(obj) = object = zend_objects_new(class_type);
158 object_properties_init(object, class_type);
171 static zend_object *zend_default_exception_new(zend_class_entry *class_type) /* {{{ */ argument
173 return zend_default_exception_new_ex(class_type, 0);
177 static zend_object *zend_error_exception_new(zend_class_entry *class_type) /* {{{ */ argument
179 return zend_default_exception_new_ex(class_type, 2);
H A Dzend_generators.c30 static zend_object *zend_generator_create(zend_class_entry *class_type);
191 static zend_object *zend_generator_create(zend_class_entry *class_type) /* {{{ */ argument
201 zend_object_std_init(&generator->std, class_type);
H A Dzend_interfaces.c302 static int zend_implement_traversable(zend_class_entry *interface, zend_class_entry *class_type) argument
304 /* check that class_type is traversable at c-level or implements at least one of 'aggregate' and 'Iterator' */
307 if (class_type->get_iterator || (class_type->parent && class_type->parent->get_iterator)) {
310 for (i = 0; i < class_type->num_interfaces; i++) {
311 if (class_type->interfaces[i] == zend_ce_aggregate || class_type->interfaces[i] == zend_ce_iterator) {
316 class_type->name->val,
325 static int zend_implement_aggregate(zend_class_entry *interface, zend_class_entry *class_type) argument
362 zend_implement_iterator(zend_class_entry *interface, zend_class_entry *class_type) argument
393 zend_implement_arrayaccess(zend_class_entry *interface, zend_class_entry *class_type) argument
482 zend_implement_serializable(zend_class_entry *interface, zend_class_entry *class_type) argument
[all...]
H A Dzend_language_parser.y253 %type <num> returns_ref function is_reference is_variadic class_type variable_modifiers
421 class_type { $<num>$ = CG(zend_lineno); }
431 class_type: label
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c513 static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy);
1082 static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy) /* {{{ */ argument
1084 dom_object *intern = ecalloc(1, sizeof(dom_object) + sizeof(zval) * (class_type->default_properties_count - 1));
1086 zend_class_entry *base_class = class_type;
1093 zend_object_std_init(&intern->std, class_type);
1095 object_properties_init(&intern->std, class_type);
1103 zend_object *dom_objects_new(zend_class_entry *class_type) argument
1105 dom_object *intern = dom_objects_set_class(class_type, 1);
1112 /* {{{ zend_object_value dom_xpath_objects_new(zend_class_entry *class_type) */
1113 zend_object *dom_xpath_objects_new(zend_class_entry *class_type) argument
1165 dom_nnodemap_objects_new(zend_class_entry *class_type) argument
[all...]
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c102 PHP_FILEINFO_API zend_object *finfo_objects_new(zend_class_entry *class_type) argument
106 intern = ecalloc(1, sizeof(finfo_object) + sizeof(zval) * (class_type->default_properties_count - 1));
108 zend_object_std_init(&intern->zo, class_type);
109 object_properties_init(&intern->zo, class_type);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c450 PHP_MYSQLI_EXPORT(zend_object *) mysqli_objects_new(zend_class_entry *class_type) argument
456 intern = ecalloc(1, sizeof(mysqli_object) + sizeof(zval) * (class_type->default_properties_count - 1));
458 mysqli_base_class = class_type;
465 zend_object_std_init(&intern->zo, class_type);
466 object_properties_init(&intern->zo, class_type);
469 if (instanceof_function(class_type, mysqli_link_class_entry)) {
471 } else if (instanceof_function(class_type, mysqli_driver_class_entry)) { /* driver object */
473 } else if (instanceof_function(class_type, mysqli_stmt_class_entry)) { /* stmt object */
475 } else if (instanceof_function(class_type, mysqli_result_class_entry)) { /* result object */
477 } else if (instanceof_function(class_type, mysqli_warning_class_entr
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c328 static zend_object *reflection_objects_new(zend_class_entry *class_type) /* {{{ */ argument
332 intern = ecalloc(1, sizeof(reflection_object) + sizeof(zval) * (class_type->default_properties_count - 1));
333 intern->zo.ce = class_type;
335 zend_object_std_init(&intern->zo, class_type);
336 object_properties_init(&intern->zo, class_type);
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c491 static zend_object *php_snmp_object_new(zend_class_entry *class_type) /* {{{ */ argument
496 intern = ecalloc(1, sizeof(php_snmp_object) + sizeof(zval) * (class_type->default_properties_count - 1));
498 zend_object_std_init(&intern->zo, class_type);
499 object_properties_init(&intern->zo, class_type);
/PHP_TRUNK/ext/spl/
H A Dspl_array.c178 static zend_object *spl_array_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) argument
181 zend_class_entry *parent = class_type;
186 zend_object_std_init(&intern->std, class_type);
187 object_properties_init(&intern->std, class_type);
220 class_type->get_iterator = spl_array_get_iterator;
233 intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1);
237 intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1);
241 intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1);
245 intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1);
249 intern->fptr_count = zend_hash_str_find_ptr(&class_type
279 spl_array_object_new(zend_class_entry *class_type) argument
[all...]
H A Dspl_directory.c142 static zend_object *spl_filesystem_object_new_ex(zend_class_entry *class_type) argument
146 intern = ecalloc(1, sizeof(spl_filesystem_object) + sizeof(zval) * (class_type->default_properties_count - 1));
151 zend_object_std_init(&intern->std, class_type);
152 object_properties_init(&intern->std, class_type);
161 static zend_object *spl_filesystem_object_new(zend_class_entry *class_type) argument
163 return spl_filesystem_object_new_ex(class_type);
168 static zend_object *spl_filesystem_object_new_check(zend_class_entry *class_type) argument
170 spl_filesystem_object *ret = spl_filesystem_from_obj(spl_filesystem_object_new_ex(class_type));
H A Dspl_dllist.c370 static zend_object *spl_dllist_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) /* {{{ */ argument
373 zend_class_entry *parent = class_type;
378 zend_object_std_init(&intern->std, class_type);
379 object_properties_init(&intern->std, class_type);
429 intern->fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof("offsetget") - 1);
433 intern->fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof("offsetset") - 1);
437 intern->fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", sizeof("offsetexists") - 1);
441 intern->fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeof("offsetunset") - 1);
445 intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") - 1);
455 static zend_object *spl_dllist_object_new(zend_class_entry *class_type) /* {{{ */ argument
[all...]
H A Dspl_fixedarray.c217 static zend_object *spl_fixedarray_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) /* {{{ */ argument
220 zend_class_entry *parent = class_type;
225 zend_object_std_init(&intern->std, class_type);
226 object_properties_init(&intern->std, class_type);
247 class_type->get_iterator = spl_fixedarray_get_iterator;
259 if (!class_type->iterator_funcs.zf_current) {
260 class_type->iterator_funcs.zf_rewind = zend_hash_str_find_ptr(&class_type->function_table, "rewind", sizeof("rewind") - 1);
261 class_type->iterator_funcs.zf_valid = zend_hash_str_find_ptr(&class_type
309 spl_fixedarray_new(zend_class_entry *class_type) argument
[all...]
H A Dspl_heap.c383 static zend_object *spl_heap_object_new_ex(zend_class_entry *class_type, zval *orig, int clone_orig) /* {{{ */ argument
386 zend_class_entry *parent = class_type;
391 zend_object_std_init(&intern->std, class_type);
392 object_properties_init(&intern->std, class_type);
452 intern->fptr_cmp = zend_hash_str_find_ptr(&class_type->function_table, "compare", sizeof("compare") - 1);
456 intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") - 1);
466 static zend_object *spl_heap_object_new(zend_class_entry *class_type) /* {{{ */ argument
468 return spl_heap_object_new_ex(class_type, NULL, 0);
H A Dspl_iterators.c946 static zend_object *spl_RecursiveIteratorIterator_new_ex(zend_class_entry *class_type, int init_prefix) argument
950 intern = ecalloc(1, sizeof(spl_recursive_it_object) + sizeof(zval) * (class_type->default_properties_count - 1));
963 zend_object_std_init(&intern->std, class_type);
964 object_properties_init(&intern->std, class_type);
972 static zend_object *spl_RecursiveIteratorIterator_new(zend_class_entry *class_type) argument
974 return spl_RecursiveIteratorIterator_new_ex(class_type, 0);
979 static zend_object *spl_RecursiveTreeIterator_new(zend_class_entry *class_type) argument
981 return spl_RecursiveIteratorIterator_new_ex(class_type, 1);
1337 static int spl_dual_it_gets_implemented(zend_class_entry *interface, zend_class_entry *class_type) argument
1339 class_type
2375 spl_dual_it_new(zend_class_entry *class_type) argument
[all...]
H A Dspl_observer.c254 static zend_object *spl_object_storage_new_ex(zend_class_entry *class_type, zval *orig) /* {{{ */ argument
257 zend_class_entry *parent = class_type;
263 zend_object_std_init(&intern->std, class_type);
264 object_properties_init(&intern->std, class_type);
277 if (class_type != spl_ce_SplObjectStorage) {
278 intern->fptr_get_hash = zend_hash_str_find_ptr(&class_type->function_table, "gethash", sizeof("gethash") - 1);
419 static zend_object *spl_SplObjectStorage_new(zend_class_entry *class_type) argument
421 return spl_object_storage_new_ex(class_type, NULL);
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c2111 static zend_object *php_sqlite3_object_new(zend_class_entry *class_type) /* {{{ */ argument
2116 intern = ecalloc(1, sizeof(php_sqlite3_db_object) + sizeof(zval) * (class_type->default_properties_count - 1));
2121 zend_object_std_init(&intern->zo, class_type);
2122 object_properties_init(&intern->zo, class_type);
2130 static zend_object *php_sqlite3_stmt_object_new(zend_class_entry *class_type) /* {{{ */ argument
2135 intern = ecalloc(1, sizeof(php_sqlite3_stmt) + sizeof(zval) * (class_type->default_properties_count - 1));
2137 zend_object_std_init(&intern->zo, class_type);
2138 object_properties_init(&intern->zo, class_type);
2146 static zend_object *php_sqlite3_result_object_new(zend_class_entry *class_type) /* {{{ */ argument
2151 intern = ecalloc(1, sizeof(php_sqlite3_result) + sizeof(zval) * (class_type
[all...]
/PHP_TRUNK/ext/standard/
H A Dincomplete_class.c102 static zend_object *php_create_incomplete_object(zend_class_entry *class_type) argument
106 object = zend_objects_new( class_type);
109 object_properties_init(object, class_type);
/PHP_TRUNK/ext/tidy/
H A Dtidy.c676 static zend_object *tidy_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, tidy_obj_type objtype) argument
680 intern = ecalloc(1, sizeof(PHPTidyObj) + sizeof(zval) * (class_type->default_properties_count - 1));
681 zend_object_std_init(&intern->std, class_type);
682 object_properties_init(&intern->std, class_type);
719 static zend_object *tidy_object_new_node(zend_class_entry *class_type) argument
721 return tidy_object_new(class_type, &tidy_object_handlers_node, is_node);
724 static zend_object *tidy_object_new_doc(zend_class_entry *class_type) argument
726 return tidy_object_new(class_type, &tidy_object_handlers_doc, is_doc);
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c384 zend_object *xmlreader_objects_new(zend_class_entry *class_type) argument
388 intern = ecalloc(1, sizeof(xmlreader_object) + sizeof(zval) * (class_type->default_properties_count - 1));
389 zend_object_std_init(&intern->std, class_type);
390 object_properties_init(&intern->std, class_type);
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c140 static zend_object *xmlwriter_object_new(zend_class_entry *class_type) argument
144 intern = ecalloc(1, sizeof(ze_xmlwriter_object) + sizeof(zval) * (class_type->default_properties_count - 1));
145 zend_object_std_init(&intern->std, class_type);
146 object_properties_init(&intern->std, class_type);
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c113 zend_object *xsl_objects_new(zend_class_entry *class_type) argument
117 intern = ecalloc(1, sizeof(xsl_object) + sizeof(zval) * (class_type->default_properties_count - 1));
120 zend_object_std_init(&intern->std, class_type);
121 object_properties_init(&intern->std, class_type);
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c1013 static zend_object *php_zip_object_new(zend_class_entry *class_type) /* {{{ */ argument
1017 intern = ecalloc(1, sizeof(ze_zip_object) + sizeof(zval) * (class_type->default_properties_count - 1));
1019 zend_object_std_init(&intern->zo, class_type);
1020 object_properties_init(&intern->zo, class_type);
/PHP_TRUNK/ext/date/
H A Dphp_date.c628 static zend_object *date_object_new_date(zend_class_entry *class_type);
629 static zend_object *date_object_new_timezone(zend_class_entry *class_type);
630 static zend_object *date_object_new_interval(zend_class_entry *class_type);
631 static zend_object *date_object_new_period(zend_class_entry *class_type);
2088 static inline zend_object *date_object_new_date_ex(zend_class_entry *class_type, int init_props) /* {{{ */ argument
2092 intern = ecalloc(1, sizeof(php_date_obj) + sizeof(zval) * (class_type->default_properties_count - 1));
2094 zend_object_std_init(&intern->std, class_type);
2096 object_properties_init(&intern->std, class_type);
2103 static zend_object *date_object_new_date(zend_class_entry *class_type) /* {{{ */ argument
2105 return date_object_new_date_ex(class_type,
2219 date_object_new_timezone_ex(zend_class_entry *class_type, int init_props) argument
2234 date_object_new_timezone(zend_class_entry *class_type) argument
2310 date_object_new_interval_ex(zend_class_entry *class_type, int init_props) argument
2325 date_object_new_interval(zend_class_entry *class_type) argument
2391 date_object_new_period_ex(zend_class_entry *class_type, int init_props) argument
2407 date_object_new_period(zend_class_entry *class_type) argument
[all...]

Completed in 73 milliseconds

12