/PHP-8.3/Zend/ |
H A D | zend_object_handlers.h | 84 typedef HashTable *(*zend_object_get_properties_t)(zend_object *object); 123 typedef void (*zend_object_free_obj_t)(zend_object *object); 136 typedef void (*zend_object_dtor_obj_t)(zend_object *object); 138 typedef zend_object* (*zend_object_clone_obj_t)(zend_object *object); 155 …esult (*zend_object_get_closure_t)(zend_object *obj, zend_class_entry **ce_ptr, zend_function **fp… 209 ZEND_API zend_function *zend_std_get_constructor(zend_object *object); 211 ZEND_API HashTable *zend_std_get_properties(zend_object *object); 225 ZEND_API zend_string *zend_std_get_class_name(const zend_object *zobj); 227 …I zend_result zend_std_get_closure(zend_object *obj, zend_class_entry **ce_ptr, zend_function **fp… 228 ZEND_API void rebuild_object_properties(zend_object *zobj); [all …]
|
H A D | zend_objects.h | 26 ZEND_API void ZEND_FASTCALL zend_object_std_init(zend_object *object, zend_class_entry *ce); 27 ZEND_API zend_object* ZEND_FASTCALL zend_objects_new(zend_class_entry *ce); 28 ZEND_API void ZEND_FASTCALL zend_objects_clone_members(zend_object *new_object, zend_object *old_ob… 30 ZEND_API void zend_object_std_dtor(zend_object *object); 31 ZEND_API void zend_objects_destroy_object(zend_object *object); 32 ZEND_API zend_object *zend_objects_clone_obj(zend_object *object);
|
H A D | zend_weakrefs.h | 31 ZEND_API void zend_weakrefs_notify(zend_object *object); 33 ZEND_API zval *zend_weakrefs_hash_add(HashTable *ht, zend_object *key, zval *pData); 34 ZEND_API zend_result zend_weakrefs_hash_del(HashTable *ht, zend_object *key); 54 static zend_always_inline zend_ulong zend_object_to_weakref_key(const zend_object *object) in zend_object_to_weakref_key() 60 static zend_always_inline zend_object *zend_weakref_key_to_object(zend_ulong key) in zend_weakref_key_to_object() 62 return (zend_object *) (((uintptr_t) key) << ZEND_MM_ALIGNMENT_LOG2); in zend_weakref_key_to_object() 65 HashTable *zend_weakmap_get_gc(zend_object *object, zval **table, int *n); 66 HashTable *zend_weakmap_get_key_entry_gc(zend_object *object, zval **table, int *n); 67 HashTable *zend_weakmap_get_entry_gc(zend_object *object, zval **table, int *n); 68 HashTable *zend_weakmap_get_object_key_entry_gc(zend_object *object, zval **table, int *n); [all …]
|
H A D | zend_exceptions.h | 40 ZEND_API void zend_exception_set_previous(zend_object *exception, zend_object *add_previous); 44 ZEND_API ZEND_COLD void zend_throw_exception_internal(zend_object *exception); 48 ZEND_API zend_class_entry *zend_get_exception_base(zend_object *object); 60 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me… 65 ZEND_API zend_object *zend_throw_error_exception(zend_class_entry *exception_ce, zend_string *messa… 67 extern ZEND_API void (*zend_throw_exception_hook)(zend_object *ex); 70 ZEND_API ZEND_COLD zend_result zend_exception_error(zend_object *exception, int severity); 74 ZEND_API ZEND_COLD zend_object *zend_create_unwind_exit(void); 75 ZEND_API ZEND_COLD zend_object *zend_create_graceful_exit(void); 78 ZEND_API bool zend_is_unwind_exit(const zend_object *ex); [all …]
|
H A D | zend_objects_API.h | 30 #define SET_OBJ_INVALID(o) ((zend_object*)((((uintptr_t)(o)) | OBJ_BUCKET_INVALID))) 35 (o) = (zend_object*)((((uintptr_t)(n)) << 1) | OBJ_BUCKET_INVALID); \ 46 zend_object **object_buckets; 61 ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object); 62 ZEND_API void ZEND_FASTCALL zend_objects_store_del(zend_object *object); 65 static zend_always_inline void zend_object_store_ctor_failed(zend_object *obj) in zend_object_store_ctor_failed() 72 static zend_always_inline void zend_object_release(zend_object *obj) in END_EXTERN_C() 93 memset(obj, 0, obj_size - sizeof(zend_object)); in zend_object_alloc() 97 static inline zend_property_info *zend_get_property_info_for_slot(zend_object *obj, zval *slot) in zend_get_property_info_for_slot() 106 static inline zend_property_info *zend_get_typed_property_info_for_slot(zend_object *obj, zval *slo… in zend_get_typed_property_info_for_slot()
|
H A D | zend_objects_API.c | 30 objects->object_buckets = (zend_object **) emalloc(init_size * sizeof(zend_object*)); in zend_objects_store_init() 34 memset(&objects->object_buckets[0], 0, sizeof(zend_object*)); in zend_objects_store_init() 51 zend_object *obj = objects->object_buckets[i]; in zend_objects_store_call_destructors() 73 zend_object **obj_ptr = objects->object_buckets + 1; in zend_objects_store_mark_destructed() 74 zend_object **end = objects->object_buckets + objects->top; in zend_objects_store_mark_destructed() 77 zend_object *obj = *obj_ptr; in zend_objects_store_mark_destructed() 89 zend_object **obj_ptr, **end, *obj; in zend_objects_store_free_object_storage() 131 static ZEND_COLD zend_never_inline void ZEND_FASTCALL zend_objects_store_put_cold(zend_object *obje… in zend_objects_store_put_cold() 136 …bjects_store).object_buckets = (zend_object **) erealloc(EG(objects_store).object_buckets, new_siz… in zend_objects_store_put_cold() 144 ZEND_API void ZEND_FASTCALL zend_objects_store_put(zend_object *object) in zend_objects_store_put() [all …]
|
H A D | zend_enum.h | 36 zend_object *zend_enum_new(zval *result, zend_class_entry *ce, zend_string *case_name, zval *backin… 45 ZEND_API zend_object *zend_enum_get_case(zend_class_entry *ce, zend_string *name); 46 ZEND_API zend_object *zend_enum_get_case_cstr(zend_class_entry *ce, const char *name); 47 ZEND_API zend_result zend_enum_get_case_by_value(zend_object **result, zend_class_entry *ce, zend_l… 49 static zend_always_inline zval *zend_enum_fetch_case_name(zend_object *zobj) in zend_enum_fetch_case_name() 55 static zend_always_inline zval *zend_enum_fetch_case_value(zend_object *zobj) in zend_enum_fetch_case_value()
|
H A D | zend_iterators.c | 25 static void iter_wrapper_free(zend_object *object); 26 static void iter_wrapper_dtor(zend_object *object); 27 static HashTable *iter_wrapper_get_gc(zend_object *object, zval **table, int *n); 63 static void iter_wrapper_free(zend_object *object) in iter_wrapper_free() 69 static void iter_wrapper_dtor(zend_object *object) in iter_wrapper_dtor() 73 static HashTable *iter_wrapper_get_gc(zend_object *object, zval **table, int *n) { in iter_wrapper_get_gc()
|
H A D | zend_closures.h | 27 ((zend_object*)((char*)(op_array) - sizeof(zend_object))) 38 ZEND_API zend_function *zend_get_closure_invoke_method(zend_object *obj); 39 ZEND_API const zend_function *zend_get_closure_method_def(zend_object *obj);
|
H A D | zend_weakrefs.c | 25 zend_object *referent; 26 zend_object std; 31 zend_object std; 68 void *ptr, uintptr_t tag, zend_object *object) in zend_weakref_unref_single() 192 void zend_weakrefs_notify(zend_object *object) { in zend_weakrefs_notify() 264 static void zend_weakref_free(zend_object *zo) { in zend_weakref_free() 281 zend_object *referent; in ZEND_METHOD() 339 zend_object *obj_addr = Z_OBJ_P(offset); in zend_weakmap_read_dimension() 370 zend_object *obj_addr = Z_OBJ_P(offset); in zend_weakmap_write_dimension() 419 zend_object *obj_addr = Z_OBJ_P(offset); in zend_weakmap_unset_dimension() [all …]
|
H A D | zend_objects.c | 29 static zend_always_inline void _zend_object_std_init(zend_object *object, zend_class_entry *ce) in _zend_object_std_init() 44 ZEND_API void ZEND_FASTCALL zend_object_std_init(zend_object *object, zend_class_entry *ce) in zend_object_std_init() 49 ZEND_API void zend_object_std_dtor(zend_object *object) in zend_object_std_dtor() 97 ZEND_API void zend_objects_destroy_object(zend_object *object) in zend_objects_destroy_object() 102 zend_object *old_exception; in zend_objects_destroy_object() 187 ZEND_API zend_object* ZEND_FASTCALL zend_objects_new(zend_class_entry *ce) in zend_objects_new() 189 zend_object *object = emalloc(sizeof(zend_object) + zend_object_properties_size(ce)); in zend_objects_new() 195 ZEND_API void ZEND_FASTCALL zend_objects_clone_members(zend_object *new_object, zend_object *old_ob… in zend_objects_clone_members() 285 ZEND_API zend_object *zend_objects_clone_obj(zend_object *old_object) in zend_objects_clone_obj() 287 zend_object *new_object; in zend_objects_clone_obj()
|
/PHP-8.3/ext/standard/ |
H A D | incomplete_class.c | 31 static void incomplete_class_message(zend_object *object) in incomplete_class_message() 41 static void throw_incomplete_class_error(zend_object *object, const char *what) in throw_incomplete_class_error() 51 static zval *incomplete_class_get_property(zend_object *object, zend_string *member, int type, void… in incomplete_class_get_property() 64 static zval *incomplete_class_write_property(zend_object *object, zend_string *member, zval *value,… in incomplete_class_write_property() 71 static zval *incomplete_class_get_property_ptr_ptr(zend_object *object, zend_string *member, int ty… in incomplete_class_get_property_ptr_ptr() 78 static void incomplete_class_unset_property(zend_object *object, zend_string *member, void **cache_… in incomplete_class_unset_property() 84 static int incomplete_class_has_property(zend_object *object, zend_string *member, int check_empty,… in incomplete_class_has_property() 91 static zend_function *incomplete_class_get_method(zend_object **object, zend_string *method, const … in incomplete_class_get_method() 99 static zend_object *php_create_incomplete_object(zend_class_entry *class_type) in php_create_incomplete_object() 101 zend_object *object; in php_create_incomplete_object() [all …]
|
/PHP-8.3/ext/zend_test/ |
H A D | object_handlers.c | 25 static zend_object* donc_object_create_ex(zend_class_entry* ce, zend_long l) { in donc_object_create_ex() 26 zend_object *obj = zend_objects_new(ce); in donc_object_create_ex() 32 static zend_object *donc_object_create(zend_class_entry *ce) /* {{{ */ in donc_object_create() 129 zend_object *obj = zend_objects_new(ce); in long_castable_no_operation_object_create_ex() 136 static zend_object *long_castable_no_operation_object_create(zend_class_entry *ce) in long_castable_no_operation_object_create() 141 static zend_result long_castable_no_operation_cast_object(zend_object *obj, zval *result, int type) in long_castable_no_operation_cast_object() 164 static zend_object* float_castable_no_operation_object_create_ex(zend_class_entry* ce, double d) { in float_castable_no_operation_object_create_ex() 165 zend_object *obj = zend_objects_new(ce); in float_castable_no_operation_object_create_ex() 172 static zend_object *float_castable_no_operation_object_create(zend_class_entry *ce) in float_castable_no_operation_object_create() 201 zend_object *obj = zend_objects_new(ce); in numeric_castable_no_operation_object_create_ex() [all …]
|
/PHP-8.3/ext/pdo/ |
H A D | php_pdo_int.h | 31 extern zend_object *pdo_dbh_new(zend_class_entry *ce); 36 extern zend_object *pdo_dbstmt_new(zend_class_entry *ce); 39 void pdo_dbstmt_free_storage(zend_object *std); 46 extern zend_object *pdo_row_new(zend_class_entry *ce); 49 void pdo_row_free_storage(zend_object *std);
|
/PHP-8.3/ext/sqlite3/ |
H A D | php_sqlite3_structs.h | 74 zend_object zo; 77 static inline php_sqlite3_db_object *php_sqlite3_db_from_obj(zend_object *obj) { in php_sqlite3_db_from_obj() 110 zend_object zo; 113 static inline php_sqlite3_result *php_sqlite3_result_from_obj(zend_object *obj) { in php_sqlite3_result_from_obj() 129 zend_object zo; 132 static inline php_sqlite3_stmt *php_sqlite3_stmt_from_obj(zend_object *obj) { in php_sqlite3_stmt_from_obj()
|
/PHP-8.3/ext/date/ |
H A D | php_date.h | 43 zend_object std; 46 static inline php_date_obj *php_date_obj_from_obj(zend_object *obj) { in php_date_obj_from_obj() 60 zend_object std; 63 static inline php_timezone_obj *php_timezone_obj_from_obj(zend_object *obj) { in php_timezone_obj_from_obj() 78 zend_object std; 81 static inline php_interval_obj *php_interval_obj_from_obj(zend_object *obj) { in php_interval_obj_from_obj() 97 zend_object std; 100 static inline php_period_obj *php_period_obj_from_obj(zend_object *obj) { in php_period_obj_from_obj()
|
/PHP-8.3/ext/intl/formatter/ |
H A D | formatter_class.c | 34 void NumberFormatter_object_free( zend_object *object ) in NumberFormatter_object_free() 45 zend_object *NumberFormatter_object_create(zend_class_entry *ce) in NumberFormatter_object_create() 59 zend_object *NumberFormatter_object_clone(zend_object *object) in NumberFormatter_object_clone() 62 zend_object *new_obj; in NumberFormatter_object_clone()
|
/PHP-8.3/ext/intl/msgformat/ |
H A D | msgformat_class.c | 32 void MessageFormatter_object_free( zend_object *object ) in MessageFormatter_object_free() 43 zend_object *MessageFormatter_object_create(zend_class_entry *ce) in MessageFormatter_object_create() 57 zend_object *MessageFormatter_object_clone(zend_object *object) in MessageFormatter_object_clone() 60 zend_object *new_obj; in MessageFormatter_object_clone()
|
/PHP-8.3/ext/intl/dateformat/ |
H A D | dateformat_class.c | 32 void IntlDateFormatter_object_free( zend_object *object ) in IntlDateFormatter_object_free() 47 zend_object *IntlDateFormatter_object_create(zend_class_entry *ce) in IntlDateFormatter_object_create() 65 zend_object *IntlDateFormatter_object_clone(zend_object *object) in IntlDateFormatter_object_clone() 68 zend_object *new_obj; in IntlDateFormatter_object_clone()
|
H A D | datepatterngenerator_class.cpp | 37 static zend_object *IntlDatePatternGenerator_object_clone(zend_object *object) in IntlDatePatternGenerator_object_clone() 44 zend_object *ret_val = IntlDatePatternGenerator_ce_ptr->create_object(object->ce); in IntlDatePatternGenerator_object_clone() 79 static void IntlDatePatternGenerator_object_free(zend_object *object) in IntlDatePatternGenerator_object_free() 92 static zend_object *IntlDatePatternGenerator_object_create(zend_class_entry *ce) in IntlDatePatternGenerator_object_create()
|
/PHP-8.3/ext/intl/spoofchecker/ |
H A D | spoofchecker_class.c | 30 void Spoofchecker_objects_free(zend_object *object) in Spoofchecker_objects_free() 41 zend_object *Spoofchecker_object_create(zend_class_entry *ce) in Spoofchecker_object_create() 62 static zend_object *spoofchecker_clone_obj(zend_object *object) /* {{{ */ in spoofchecker_clone_obj() 64 zend_object *new_obj_val; in spoofchecker_clone_obj()
|
/PHP-8.3/ext/curl/ |
H A D | curl_private.h | 116 zend_object std; 132 zend_object std; 140 zend_object std; 150 static inline php_curl *curl_from_obj(zend_object *obj) { in curl_from_obj() 156 static inline php_curlsh *curl_share_from_obj(zend_object *obj) { in curl_share_from_obj() 165 zend_result curl_cast_object(zend_object *obj, zval *result, int type);
|
/PHP-8.3/ext/com_dotnet/ |
H A D | com_handlers.c | 116 static void com_write_dimension(zend_object *object, zval *offset, zval *value) in com_write_dimension() 216 static void com_dimension_delete(zend_object *object, zval *offset) in com_dimension_delete() 221 static HashTable *com_properties_get(zend_object *object) in com_properties_get() 231 static HashTable *com_get_gc(zend_object *object, zval **table, int *n) in com_get_gc() 390 static zend_string* com_class_name_get(const zend_object *object) in com_class_name_get() 493 static zend_result com_object_count(zend_object *object, zend_long *count) in com_object_count() 564 void php_com_object_free_storage(zend_object *object) in php_com_object_free_storage() 593 zend_object* php_com_object_clone(zend_object *object) in php_com_object_clone() 614 return (zend_object*)cloneobj; in php_com_object_clone() 617 zend_object* php_com_object_new(zend_class_entry *ce) in php_com_object_new() [all …]
|
H A D | com_saproxy.c | 36 zend_object std; 207 static void saproxy_write_dimension(zend_object *object, zval *offset, zval *value) in saproxy_write_dimension() 301 static void saproxy_dimension_delete(zend_object *object, zval *offset) in saproxy_dimension_delete() 306 static HashTable *saproxy_properties_get(zend_object *object) in saproxy_properties_get() 318 static zend_function *saproxy_constructor_get(zend_object *object) in saproxy_constructor_get() 324 static zend_string* saproxy_class_name_get(const zend_object *object) in saproxy_class_name_get() 335 static zend_result saproxy_object_cast(zend_object *readobj, zval *writeobj, int type) in saproxy_object_cast() 340 static zend_result saproxy_count_elements(zend_object *object, zend_long *count) in saproxy_count_elements() 357 static void saproxy_free_storage(zend_object *object) in saproxy_free_storage() 375 static zend_object* saproxy_clone(zend_object *object) in saproxy_clone() [all …]
|
/PHP-8.3/ext/intl/calendar/ |
H A D | calendar_class.h | 38 zend_object zo; 41 static inline Calendar_object *php_intl_calendar_fetch_object(zend_object *obj) { in php_intl_calendar_fetch_object() 64 Calendar *calendar_fetch_native_calendar(zend_object *object);
|