| /PHP_TRUNK/ext/spl/ |
| H A D | spl_observer.c | 253 static zend_object_value spl_object_storage_new_ex(zend_class_entry *class_type, spl_SplObjectStorage **obj, zval *orig TSRMLS_DC) /* {{{ */ argument 257 zend_class_entry *parent = class_type; 263 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 264 object_properties_init(&intern->std, class_type); 278 if (class_type != spl_ce_SplObjectStorage) { 279 zend_hash_find(&class_type->function_table, "gethash", sizeof("gethash"), (void **) &intern->fptr_get_hash); 432 static zend_object_value spl_SplObjectStorage_new(zend_class_entry *class_type TSRMLS_DC) 435 return spl_object_storage_new_ex(class_type, &tmp, NULL TSRMLS_CC);
|
| H A D | spl_array.c | 167 static zend_object_value spl_array_object_new_ex(zend_class_entry *class_type, spl_array_object **obj, zval *orig, int clone_orig TSRMLS_DC) argument 172 zend_class_entry * parent = class_type; 180 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 181 object_properties_init(&intern->std, class_type); 217 class_type->get_iterator = spl_array_get_iterator; 230 zend_hash_find(&class_type->function_table, "offsetget", sizeof("offsetget"), (void **) &intern->fptr_offset_get); 234 zend_hash_find(&class_type->function_table, "offsetset", sizeof("offsetset"), (void **) &intern->fptr_offset_set); 238 zend_hash_find(&class_type->function_table, "offsetexists", sizeof("offsetexists"), (void **) &intern->fptr_offset_has); 242 zend_hash_find(&class_type->function_table, "offsetunset", sizeof("offsetunset"), (void **) &intern->fptr_offset_del); 246 zend_hash_find(&class_type [all...] |
| H A D | spl_directory.c | 147 static zend_object_value spl_filesystem_object_new_ex(zend_class_entry *class_type, spl_filesystem_object **obj TSRMLS_DC) argument 159 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 160 object_properties_init(&intern->std, class_type); 170 static zend_object_value spl_filesystem_object_new(zend_class_entry *class_type TSRMLS_DC) 172 return spl_filesystem_object_new_ex(class_type, NULL TSRMLS_CC); 177 static zend_object_value spl_filesystem_object_new_check(zend_class_entry *class_type TSRMLS_DC) 179 zend_object_value ret = spl_filesystem_object_new_ex(class_type, NULL TSRMLS_CC);
|
| H A D | spl_fixedarray.c | 223 static zend_object_value spl_fixedarray_object_new_ex(zend_class_entry *class_type, spl_fixedarray_object **obj, zval *orig, int clone_orig TSRMLS_DC) /* {{{ */ argument 227 zend_class_entry *parent = class_type; 234 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 235 object_properties_init(&intern->std, class_type); 256 class_type->get_iterator = spl_fixedarray_get_iterator; 269 if (!class_type->iterator_funcs.zf_current) { 270 zend_hash_find(&class_type->function_table, "rewind", sizeof("rewind"), (void **) &class_type->iterator_funcs.zf_rewind); 271 zend_hash_find(&class_type->function_table, "valid", sizeof("valid"), (void **) &class_type [all...] |
| H A D | spl_heap.c | 384 static zend_object_value spl_heap_object_new_ex(zend_class_entry *class_type, spl_heap_object **obj, zval *orig, int clone_orig TSRMLS_DC) /* {{{ */ argument 388 zend_class_entry *parent = class_type; 395 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 396 object_properties_init(&intern->std, class_type); 458 zend_hash_find(&class_type->function_table, "compare", sizeof("compare"), (void **) &intern->fptr_cmp); 462 zend_hash_find(&class_type->function_table, "count", sizeof("count"), (void **) &intern->fptr_count); 472 static zend_object_value spl_heap_object_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ 475 return spl_heap_object_new_ex(class_type, &tmp, NULL, 0 TSRMLS_CC);
|
| H A D | spl_iterators.c | 894 static zend_object_value spl_RecursiveIteratorIterator_new_ex(zend_class_entry *class_type, int init_prefix TSRMLS_DC) argument 911 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 912 object_properties_init(&intern->std, class_type); 921 static zend_object_value spl_RecursiveIteratorIterator_new(zend_class_entry *class_type TSRMLS_DC) 923 return spl_RecursiveIteratorIterator_new_ex(class_type, 0 TSRMLS_CC); 928 static zend_object_value spl_RecursiveTreeIterator_new(zend_class_entry *class_type TSRMLS_DC) 930 return spl_RecursiveIteratorIterator_new_ex(class_type, 1 TSRMLS_CC); 1236 static int spl_dual_it_gets_implemented(zend_class_entry *interface, zend_class_entry *class_type TSRMLS_DC) 1238 class_type->iterator_funcs.zf_valid = NULL; 1239 class_type [all...] |
| H A D | spl_dllist.c | 369 static zend_object_value spl_dllist_object_new_ex(zend_class_entry *class_type, spl_dllist_object **obj, zval *orig, int clone_orig TSRMLS_DC) /* {{{ */ argument 373 zend_class_entry *parent = class_type; 380 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 381 object_properties_init(&intern->std, class_type); 433 zend_hash_find(&class_type->function_table, "offsetget", sizeof("offsetget"), (void **) &intern->fptr_offset_get); 437 zend_hash_find(&class_type->function_table, "offsetset", sizeof("offsetset"), (void **) &intern->fptr_offset_set); 441 zend_hash_find(&class_type->function_table, "offsetexists", sizeof("offsetexists"), (void **) &intern->fptr_offset_has); 445 zend_hash_find(&class_type->function_table, "offsetunset", sizeof("offsetunset"), (void **) &intern->fptr_offset_del); 449 zend_hash_find(&class_type->function_table, "count", sizeof("count"), (void **) &intern->fptr_count); 459 static zend_object_value spl_dllist_object_new(zend_class_entry *class_type TSRMLS_D [all...] |
| /PHP_TRUNK/ext/tidy/ |
| H A D | tidy.c | 674 static void tidy_object_new(zend_class_entry *class_type, zend_object_handlers *handlers, argument 681 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 682 object_properties_init(&intern->std, class_type); 718 static zend_object_value tidy_object_new_node(zend_class_entry *class_type TSRMLS_DC) 721 tidy_object_new(class_type, &tidy_object_handlers_node, &retval, is_node TSRMLS_CC); 725 static zend_object_value tidy_object_new_doc(zend_class_entry *class_type TSRMLS_DC) 728 tidy_object_new(class_type, &tidy_object_handlers_doc, &retval, is_doc TSRMLS_CC);
|
| /PHP_TRUNK/ext/dom/ |
| H A D | php_dom.c | 1134 static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy TSRMLS_DC) /* {{{ */ argument 1139 if (instanceof_function(class_type, dom_xpath_class_entry TSRMLS_CC)) { 1149 base_class = class_type; 1156 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 1158 object_properties_init(&intern->std, class_type); 1199 zend_object_value dom_objects_new(zend_class_entry *class_type TSRMLS_DC) 1204 intern = dom_objects_set_class(class_type, 1 TSRMLS_CC); 1215 /* {{{ zend_object_value dom_xpath_objects_new(zend_class_entry *class_type TSRMLS_DC) */ 1216 zend_object_value dom_xpath_objects_new(zend_class_entry *class_type TSRMLS_DC) 1221 intern = (dom_xpath_object *)dom_objects_set_class(class_type, [all...] |
| /PHP_TRUNK/Zend/ |
| H A D | zend_API.c | 1089 ZEND_API void zend_update_class_constants(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ 1091 if ((class_type->ce_flags & ZEND_ACC_CONSTANTS_UPDATED) == 0 || (!CE_STATIC_MEMBERS(class_type) && class_type->default_static_members_count)) { 1096 *scope = class_type; 1097 zend_hash_apply_with_argument(&class_type->constants_table, (apply_func_arg_t) zval_update_constant, (void*)1 TSRMLS_CC); 1099 for (i = 0; i < class_type->default_properties_count; i++) { 1100 if (class_type->default_properties_table[i]) { 1101 zval_update_class_constant(&class_type->default_properties_table[i], 0, i TSRMLS_CC); 1105 if (!CE_STATIC_MEMBERS(class_type) 1151 object_properties_init(zend_object *object, zend_class_entry *class_type) argument 1177 _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *properties ZEND_FILE_LINE_DC TSRMLS_DC) argument [all...] |
| H A D | zend_compile.c | 1837 void zend_do_receive_arg(zend_uchar op, znode *varname, const znode *offset, const znode *initialization, znode *class_type, zend_uchar pass_by_reference TSRMLS_DC) /* {{{ */ argument 1843 if (class_type->op_type == IS_CONST && 1844 Z_TYPE(class_type->u.constant) == IS_STRING && 1845 Z_STRLEN(class_type->u.constant) == 0) { 1847 zval_dtor(&class_type->u.constant); 1891 if (class_type->op_type != IS_UNUSED) { 1894 if (class_type->u.constant.type != IS_NULL) { 1895 if (class_type->u.constant.type == IS_ARRAY) { 1904 } else if (class_type->u.constant.type == IS_CALLABLE) { 1915 if (ZEND_FETCH_CLASS_DEFAULT == zend_get_class_fetch_type(Z_STRVAL(class_type [all...] |
| H A D | zend_exceptions.c | 147 static zend_object_value zend_default_exception_new_ex(zend_class_entry *class_type, int skip_top_traces TSRMLS_DC) /* {{{ */ argument 153 Z_OBJVAL(obj) = zend_objects_new(&object, class_type TSRMLS_CC); 156 object_properties_init(object, class_type); 171 static zend_object_value zend_default_exception_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ 173 return zend_default_exception_new_ex(class_type, 0 TSRMLS_CC); 177 static zend_object_value zend_error_exception_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */ 179 return zend_default_exception_new_ex(class_type, 2 TSRMLS_CC);
|
| /PHP_TRUNK/ext/date/ |
| H A D | php_date.c | 616 static zend_object_value date_object_new_date(zend_class_entry *class_type TSRMLS_DC); 617 static zend_object_value date_object_new_timezone(zend_class_entry *class_type TSRMLS_DC); 618 static zend_object_value date_object_new_interval(zend_class_entry *class_type TSRMLS_DC); 619 static zend_object_value date_object_new_period(zend_class_entry *class_type TSRMLS_DC); 2074 static inline zend_object_value date_object_new_date_ex(zend_class_entry *class_type, php_date_obj **ptr TSRMLS_DC) argument 2085 zend_object_std_init(&intern->std, class_type TSRMLS_CC); 2086 object_properties_init(&intern->std, class_type); 2094 static zend_object_value date_object_new_date(zend_class_entry *class_type TSRMLS_DC) 2096 return date_object_new_date_ex(class_type, NULL TSRMLS_CC); 2229 static inline zend_object_value date_object_new_timezone_ex(zend_class_entry *class_type, php_timezone_ob argument 2328 date_object_new_interval_ex(zend_class_entry *class_type, php_interval_obj **ptr TSRMLS_DC) argument 2426 date_object_new_period_ex(zend_class_entry *class_type, php_period_obj **ptr TSRMLS_DC) argument [all...] |