/PHP-7.0/ |
H A D | UPGRADING.INTERNALS | 127 zend_object.ce is always used.
|
/PHP-7.0/Zend/ |
H A D | zend.c | 1405 zend_object *old_exception; in zend_try_exception_handler()
|
H A D | zend.h | 164 zend_object* (*create_object)(zend_class_entry *class_type);
|
H A D | zend_API.c | 1170 ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type) /* {{{ */ in object_properties_init() 1191 ZEND_API void object_properties_init_ex(zend_object *object, HashTable *properties) /* {{{ */ in object_properties_init_ex() 1213 ZEND_API void object_properties_load(zend_object *object, HashTable *properties) /* {{{ */ in object_properties_load() 2792 static zend_object *display_disabled_class(zend_class_entry *class_type) /* {{{ */ in display_disabled_class() 2794 zend_object *intern; in display_disabled_class() 2888 zend_object *object = zend_get_this_object(EG(current_execute_data)); in zend_is_callable_check_class() 3092 zend_object *object = zend_get_this_object(EG(current_execute_data)); in zend_is_callable_check_func() 3183 ZEND_API zend_bool zend_is_callable_ex(zval *callable, zend_object *object, uint check_flags, zend_… in zend_is_callable_ex()
|
H A D | zend_API.h | 51 zend_object *object; 61 zend_object *object; 313 ZEND_API zend_bool zend_is_callable_ex(zval *callable, zend_object *object, uint check_flags, zend_… 385 ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type); 386 ZEND_API void object_properties_init_ex(zend_object *object, HashTable *properties); 387 ZEND_API void object_properties_load(zend_object *object, HashTable *properties);
|
H A D | zend_builtin_functions.c | 1149 zend_object *zobj; in ZEND_FUNCTION() 2304 zend_object *object; in ZEND_FUNCTION() 2502 zend_object *object; in zend_fetch_debug_backtrace()
|
H A D | zend_closures.c | 41 zend_object std; 128 zend_object *newobj; in ZEND_METHOD() 243 static ZEND_COLD zend_function *zend_closure_get_constructor(zend_object *object) /* {{{ */ in zend_closure_get_constructor() 256 ZEND_API zend_function *zend_get_closure_invoke_method(zend_object *object) /* {{{ */ in zend_get_closure_invoke_method() 298 static zend_function *zend_closure_get_method(zend_object **object, zend_string *method, const zval… in zend_closure_get_method() 343 static void zend_closure_free_storage(zend_object *object) /* {{{ */ in zend_closure_free_storage() 363 static zend_object *zend_closure_new(zend_class_entry *class_type) /* {{{ */ in zend_closure_new() 373 return (zend_object*)closure; in zend_closure_new() 377 static zend_object *zend_closure_clone(zval *zobject) /* {{{ */ in zend_closure_clone() 388 …losure(zval *obj, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zend_object **obj_ptr) /* {… in zend_closure_get_closure() [all …]
|
H A D | zend_closures.h | 33 ZEND_API zend_function *zend_get_closure_invoke_method(zend_object *obj);
|
H A D | zend_compile.h | 295 ((uint32_t)(zend_uintptr_t)OBJ_PROP_NUM(((zend_object*)NULL), num))
|
H A D | zend_exceptions.c | 71 void zend_exception_set_previous(zend_object *exception, zend_object *add_previous) in zend_exception_set_previous() 145 zend_object *previous = EG(exception); in zend_throw_exception_internal() 198 static zend_object *zend_default_exception_new_ex(zend_class_entry *class_type, int skip_top_traces… in zend_default_exception_new_ex() 201 zend_object *object; in zend_default_exception_new_ex() 233 static zend_object *zend_default_exception_new(zend_class_entry *class_type) /* {{{ */ in zend_default_exception_new() 239 static zend_object *zend_error_exception_new(zend_class_entry *class_type) /* {{{ */ in zend_error_exception_new() 941 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me… in zend_throw_exception() 968 ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long c… in zend_throw_exception_ex() 972 zend_object *obj; in zend_throw_exception_ex() 986 zend_object *obj = zend_throw_exception(exception_ce, message, code); in zend_throw_error_exception() [all …]
|
H A D | zend_exceptions.h | 38 ZEND_API void zend_exception_set_previous(zend_object *exception, zend_object *add_previous); 58 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me… 59 ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long c… 63 ZEND_API zend_object *zend_throw_error_exception(zend_class_entry *exception_ce, const char *messag… 68 ZEND_API ZEND_COLD void zend_exception_error(zend_object *exception, int severity);
|
H A D | zend_execute.c | 1111 zend_object *obj; in zend_assign_to_object() 1142 zend_object *zobj = Z_OBJ_P(object); in zend_assign_to_object() 1957 zend_object *zobj = Z_OBJ_P(container); in zend_fetch_property_address() 2557 zend_object_release((zend_object *) call->func->common.prototype); in cleanup_unfinished_calls()
|
H A D | zend_execute.h | 47 ZEND_API zend_object *zend_get_this_object(zend_execute_data *ex); 174 …_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object) in zend_vm_stack_push_call_frame_ex() 207 …_info, zend_function *func, uint32_t num_args, zend_class_entry *called_scope, zend_object *object) in zend_vm_stack_push_call_frame()
|
H A D | zend_execute_API.c | 851 ZEND_ASSERT(GC_TYPE((zend_object*)func->op_array.prototype) == IS_OBJECT); in zend_call_function() 852 GC_REFCOUNT((zend_object*)func->op_array.prototype)++; in zend_call_function() 1090 ZEND_API zend_object *zend_get_this_object(zend_execute_data *ex) /* {{{ */ in zend_get_this_object()
|
H A D | zend_gc.c | 80 zend_object *obj = (zend_object *) ref; in gc_trace_ref() 330 zend_object *obj = (zend_object*)ref; in gc_scan_black() 440 zend_object *obj = (zend_object*)ref; in gc_mark_grey() 568 zend_object *obj = (zend_object*)ref; in gc_scan() 731 zend_object *obj = (zend_object*)ref; 925 zend_object *obj = (zend_object*)ref; 1081 zend_object *obj = (zend_object*)p; 1118 zend_object *obj = (zend_object*)p;
|
H A D | zend_generators.c | 32 static zend_object *zend_generator_create(zend_class_entry *class_type); 94 OBJ_RELEASE((zend_object *) EX(func)->common.prototype); in zend_generator_close() 105 static void zend_generator_dtor_storage(zend_object *object) /* {{{ */ in zend_generator_dtor_storage() 171 static void zend_generator_free_storage(zend_object *object) /* {{{ */ in zend_generator_free_storage() 206 static zend_object *zend_generator_create(zend_class_entry *class_type) /* {{{ */ in zend_generator_create() 227 return (zend_object*)generator; in zend_generator_create() 265 Z_OBJ(generator->execute_fake.This) = (zend_object *) generator; in zend_generator_create_zval() 269 static ZEND_COLD zend_function *zend_generator_get_constructor(zend_object *object) /* {{{ */ in zend_generator_get_constructor()
|
H A D | zend_generators.h | 58 zend_object std;
|
H A D | zend_globals.h | 205 zend_object *exception, *prev_exception;
|
H A D | zend_iterators.c | 27 static void iter_wrapper_free(zend_object *object); 28 static void iter_wrapper_dtor(zend_object *object); 66 static void iter_wrapper_free(zend_object *object) in iter_wrapper_free() 72 static void iter_wrapper_dtor(zend_object *object) in iter_wrapper_dtor()
|
H A D | zend_iterators.h | 58 zend_object std;
|
H A D | zend_object_handlers.c | 73 ZEND_API void rebuild_object_properties(zend_object *zobj) /* {{{ */ in rebuild_object_properties() 120 zend_object *zobj; in zend_std_get_properties() 136 zend_object *zobj = Z_OBJ_P(object); in zend_std_get_gc() 509 zend_object *zobj; in zend_std_read_property() 638 zend_object *zobj; in zend_std_write_property() 842 zend_object *zobj; in zend_std_get_property_ptr_ptr() 916 zend_object *zobj; in zend_std_unset_property() 1139 zend_object *zobj = *obj_ptr; in zend_std_get_method() 1233 zend_object *object; in zend_std_get_static_method() 1415 zend_object *zobj1, *zobj2; in zend_std_compare_objects() [all …]
|
H A D | zend_object_handlers.h | 94 typedef int (*zend_object_call_method_t)(zend_string *method, zend_object *object, INTERNAL_FUNCTIO… 95 typedef union _zend_function *(*zend_object_get_method_t)(zend_object **object, zend_string *method… 96 typedef union _zend_function *(*zend_object_get_constructor_t)(zend_object *object); 99 typedef void (*zend_object_dtor_obj_t)(zend_object *object); 100 typedef void (*zend_object_free_obj_t)(zend_object *object); 101 typedef zend_object* (*zend_object_clone_obj_t)(zval *object); 105 typedef zend_string *(*zend_object_get_class_name_t)(const zend_object *object); 118 …e_t)(zval *obj, zend_class_entry **ce_ptr, union _zend_function **fptr_ptr, zend_object **obj_ptr); 167 ZEND_API union _zend_function *zend_std_get_constructor(zend_object *object); 173 ZEND_API void rebuild_object_properties(zend_object *zobj); [all …]
|
H A D | zend_objects.c | 30 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce) in zend_object_std_init() 54 ZEND_API void zend_object_std_dtor(zend_object *object) in zend_object_std_dtor() 82 ZEND_API void zend_objects_destroy_object(zend_object *object) in zend_objects_destroy_object() 87 zend_object *old_exception; in zend_objects_destroy_object() 160 ZEND_API zend_object *zend_objects_new(zend_class_entry *ce) in zend_objects_new() 162 zend_object *object = emalloc(sizeof(zend_object) + zend_object_properties_size(ce)); in zend_objects_new() 169 ZEND_API void zend_objects_clone_members(zend_object *new_object, zend_object *old_object) in zend_objects_clone_members() 236 ZEND_API zend_object *zend_objects_clone_obj(zval *zobject) in zend_objects_clone_obj() 238 zend_object *old_object; in zend_objects_clone_obj() 239 zend_object *new_object; in zend_objects_clone_obj()
|
H A D | zend_objects.h | 28 ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce); 29 ZEND_API void zend_object_std_dtor(zend_object *object); 30 ZEND_API zend_object *zend_objects_new(zend_class_entry *ce); 31 ZEND_API void zend_objects_destroy_object(zend_object *object); 32 ZEND_API void zend_objects_clone_members(zend_object *new_object, zend_object *old_object); 33 ZEND_API zend_object *zend_objects_clone_obj(zval *object);
|
H A D | zend_objects_API.c | 31 objects->object_buckets = (zend_object **) emalloc(init_size * sizeof(zend_object*)); in zend_objects_store_init() 35 memset(&objects->object_buckets[0], 0, sizeof(zend_object*)); in zend_objects_store_init() 49 zend_object *obj = objects->object_buckets[i]; in zend_objects_store_call_destructors() 65 zend_object **obj_ptr = objects->object_buckets + 1; in zend_objects_store_mark_destructed() 66 zend_object **end = objects->object_buckets + objects->top; in zend_objects_store_mark_destructed() 69 zend_object *obj = *obj_ptr; in zend_objects_store_mark_destructed() 81 zend_object **obj_ptr, **end, *obj; in zend_objects_store_free_object_storage() 110 ZEND_API void zend_objects_store_put(zend_object *object) in zend_objects_store_put() 120 …store).object_buckets = (zend_object **) erealloc(EG(objects_store).object_buckets, EG(objects_sto… in zend_objects_store_put() 143 ZEND_API void zend_objects_store_del(zend_object *object) /* {{{ */ in zend_objects_store_del() [all …]
|