/PHP-7.4/Zend/ |
H A D | zend_exceptions.h | 27 extern ZEND_API zend_class_entry *zend_ce_throwable; 28 extern ZEND_API zend_class_entry *zend_ce_exception; 29 extern ZEND_API zend_class_entry *zend_ce_error_exception; 30 extern ZEND_API zend_class_entry *zend_ce_error; 31 extern ZEND_API zend_class_entry *zend_ce_compile_error; 32 extern ZEND_API zend_class_entry *zend_ce_parse_error; 33 extern ZEND_API zend_class_entry *zend_ce_type_error; 39 ZEND_API void zend_exception_save(void); 40 ZEND_API void zend_exception_restore(void); 54 ZEND_API void zend_register_default_classes(void); [all …]
|
H A D | zend_multibyte.h | 53 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32be; 54 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32le; 55 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16be; 56 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16le; 57 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf8; 61 ZEND_API void zend_multibyte_restore_functions(void); 62 ZEND_API const zend_multibyte_functions *zend_multibyte_get_functions(void); 64 ZEND_API const zend_encoding *zend_multibyte_fetch_encoding(const char *name); 71 ZEND_API const zend_encoding *zend_multibyte_get_internal_encoding(void); 72 ZEND_API const zend_encoding *zend_multibyte_get_script_encoding(void); [all …]
|
H A D | zend_list.h | 48 ZEND_API int zend_init_rsrc_list(void); /* Exported for phar hack */ 55 ZEND_API zval* ZEND_FASTCALL zend_list_insert(void *ptr, int type); 56 ZEND_API int ZEND_FASTCALL zend_list_free(zend_resource *res); 57 ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res); 58 ZEND_API int ZEND_FASTCALL zend_list_close(zend_resource *res); 60 ZEND_API zend_resource *zend_register_resource(void *rsrc_pointer, int rsrc_type); 61 ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource… 63 ZEND_API void *zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type); 66 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res); 67 ZEND_API int zend_fetch_list_dtor_id(const char *type_name); [all …]
|
H A D | zend_stack.h | 32 ZEND_API int zend_stack_init(zend_stack *stack, int size); 33 ZEND_API int zend_stack_push(zend_stack *stack, const void *element); 34 ZEND_API void *zend_stack_top(const zend_stack *stack); 35 ZEND_API int zend_stack_del_top(zend_stack *stack); 36 ZEND_API int zend_stack_int_top(const zend_stack *stack); 37 ZEND_API int zend_stack_is_empty(const zend_stack *stack); 38 ZEND_API int zend_stack_destroy(zend_stack *stack); 39 ZEND_API void *zend_stack_base(const zend_stack *stack); 40 ZEND_API int zend_stack_count(const zend_stack *stack); 41 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)); [all …]
|
H A D | zend_llist.h | 49 ZEND_API void zend_llist_add_element(zend_llist *l, void *element); 50 ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element); 52 ZEND_API void zend_llist_destroy(zend_llist *l); 53 ZEND_API void zend_llist_clean(zend_llist *l); 54 ZEND_API void zend_llist_remove_tail(zend_llist *l); 55 ZEND_API void zend_llist_copy(zend_llist *dst, zend_llist *src); 56 ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func); 60 ZEND_API size_t zend_llist_count(zend_llist *l); 61 ZEND_API void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func); 65 ZEND_API void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos); [all …]
|
H A D | zend_interfaces.h | 27 extern ZEND_API zend_class_entry *zend_ce_traversable; 28 extern ZEND_API zend_class_entry *zend_ce_aggregate; 29 extern ZEND_API zend_class_entry *zend_ce_iterator; 30 extern ZEND_API zend_class_entry *zend_ce_arrayaccess; 31 extern ZEND_API zend_class_entry *zend_ce_serializable; 32 extern ZEND_API zend_class_entry *zend_ce_countable; 62 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter); 63 ZEND_API int zend_user_it_valid(zend_object_iterator *_iter); 65 ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter); 66 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter); [all …]
|
H A D | zend_ts_hash.h | 39 ZEND_API void zend_ts_hash_destroy(TsHashTable *ht); 40 ZEND_API void zend_ts_hash_clean(TsHashTable *ht); 52 ZEND_API zval *zend_ts_hash_next_index_insert(TsHashTable *ht, zval *pData); 55 ZEND_API void zend_ts_hash_graceful_destroy(TsHashTable *ht); 56 ZEND_API void zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func); 64 ZEND_API int zend_ts_hash_del(TsHashTable *ht, zend_string *key); 65 ZEND_API int zend_ts_hash_index_del(TsHashTable *ht, zend_ulong h); 68 ZEND_API zval *zend_ts_hash_find(TsHashTable *ht, zend_string *key); 69 ZEND_API zval *zend_ts_hash_index_find(TsHashTable *ht, zend_ulong); 80 ZEND_API int zend_ts_hash_num_elements(TsHashTable *ht); [all …]
|
H A D | zend.h | 247 ZEND_API char *get_zend_version(void); 252 ZEND_API void zend_print_flat_zval_r(zval *expr); 259 ZEND_API void zend_activate(void); 260 ZEND_API void zend_deactivate(void); 261 ZEND_API void zend_call_destructors(void); 262 ZEND_API void zend_activate_modules(void); 263 ZEND_API void zend_deactivate_modules(void); 266 ZEND_API void free_estring(char **str_p); 279 extern ZEND_API zend_write_func_t zend_write; 314 extern ZEND_API zend_utility_values zend_uv; [all …]
|
H A D | zend_strtod.h | 26 ZEND_API void zend_freedtoa(char *s); 27 ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve); 28 ZEND_API double zend_strtod(const char *s00, const char **se); 29 ZEND_API double zend_hex_strtod(const char *str, const char **endptr); 30 ZEND_API double zend_oct_strtod(const char *str, const char **endptr); 31 ZEND_API double zend_bin_strtod(const char *str, const char **endptr); 32 ZEND_API int zend_startup_strtod(void); 33 ZEND_API int zend_shutdown_strtod(void);
|
H A D | zend_vm.h | 24 ZEND_API void ZEND_FASTCALL zend_vm_set_opcode_handler(zend_op* opcode); 25 ZEND_API void ZEND_FASTCALL zend_vm_set_opcode_handler_ex(zend_op* opcode, uint32_t op1_info, uint3… 26 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op); 27 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op); 28 ZEND_API const void* ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op); 29 ZEND_API const zend_op *zend_get_halt_op(void); 30 ZEND_API int ZEND_FASTCALL zend_vm_call_opcode_handler(zend_execute_data *ex); 31 ZEND_API int zend_vm_kind(void);
|
H A D | zend_ini.h | 64 ZEND_API int zend_ini_startup(void); 65 ZEND_API int zend_ini_shutdown(void); 66 ZEND_API int zend_ini_global_shutdown(void); 67 ZEND_API int zend_ini_deactivate(void); 70 ZEND_API int zend_copy_ini_directives(void); 72 ZEND_API void zend_ini_sort_entries(void); 160 ZEND_API ZEND_INI_MH(OnUpdateBool); 161 ZEND_API ZEND_INI_MH(OnUpdateLong); 162 ZEND_API ZEND_INI_MH(OnUpdateLongGEZero); 163 ZEND_API ZEND_INI_MH(OnUpdateReal); [all …]
|
H A D | zend_execute.h | 41 ZEND_API void execute_ex(zend_execute_data *execute_data); 146 ZEND_API int zval_update_constant(zval *pp); 178 ZEND_API void zend_vm_stack_init(void); 179 ZEND_API void zend_vm_stack_init_ex(size_t page_size); 180 ZEND_API void zend_vm_stack_destroy(void); 181 ZEND_API void* zend_vm_stack_extend(size_t size); 299 ZEND_API const char *get_active_function_name(void); 300 ZEND_API const char *zend_get_executed_filename(void); 302 ZEND_API uint32_t zend_get_executed_lineno(void); 304 ZEND_API zend_bool zend_is_executing(void); [all …]
|
H A D | zend_multibyte.c | 81 ZEND_API const zend_encoding *zend_multibyte_encoding_utf32be = (const zend_encoding*)"UTF-32BE"; 85 ZEND_API const zend_encoding *zend_multibyte_encoding_utf8 = (const zend_encoding*)"UTF-8"; 87 ZEND_API int zend_multibyte_set_functions(const zend_multibyte_functions *functions) in zend_multibyte_set_functions() 123 ZEND_API void zend_multibyte_restore_functions(void) in zend_multibyte_restore_functions() 128 ZEND_API const zend_multibyte_functions *zend_multibyte_get_functions(void) in zend_multibyte_get_functions() 133 ZEND_API const zend_encoding *zend_multibyte_fetch_encoding(const char *name) in zend_multibyte_fetch_encoding() 138 ZEND_API const char *zend_multibyte_get_encoding_name(const zend_encoding *encoding) in zend_multibyte_get_encoding_name() 143 ZEND_API int zend_multibyte_check_lexer_compatibility(const zend_encoding *encoding) in zend_multibyte_check_lexer_compatibility() 163 ZEND_API const zend_encoding *zend_multibyte_get_internal_encoding(void) in zend_multibyte_get_internal_encoding() 168 ZEND_API const zend_encoding *zend_multibyte_get_script_encoding(void) in zend_multibyte_get_script_encoding() [all …]
|
H A D | zend_globals_macros.h | 35 extern ZEND_API struct _zend_compiler_globals compiler_globals; 37 ZEND_API int zendparse(void); 45 extern ZEND_API zend_executor_globals executor_globals; 51 extern ZEND_API ts_rsrc_id language_scanner_globals_id; 52 extern ZEND_API size_t language_scanner_globals_offset; 55 extern ZEND_API zend_php_scanner_globals language_scanner_globals; 62 extern ZEND_API ts_rsrc_id ini_scanner_globals_id; 63 extern ZEND_API size_t ini_scanner_globals_offset; 66 extern ZEND_API zend_ini_scanner_globals ini_scanner_globals;
|
H A D | zend_object_handlers.h | 189 extern const ZEND_API zend_object_handlers std_object_handlers; 201 ZEND_API void zend_class_init_statics(zend_class_entry *ce); 206 ZEND_API zend_function *zend_std_get_constructor(zend_object *object); 208 ZEND_API HashTable *zend_std_get_properties(zval *object); 209 ZEND_API HashTable *zend_std_get_gc(zval *object, zval **table, int *n); 210 ZEND_API HashTable *zend_std_get_debug_info(zval *object, int *is_temp); 218 ZEND_API void zend_std_write_dimension(zval *object, zval *offset, zval *value); 220 ZEND_API void zend_std_unset_dimension(zval *object, zval *offset); 222 ZEND_API zend_string *zend_std_get_class_name(const zend_object *zobj); 223 ZEND_API int zend_std_compare_objects(zval *o1, zval *o2); [all …]
|
H A D | zend_gc.h | 32 ZEND_API extern int (*gc_collect_cycles)(void); 34 ZEND_API void ZEND_FASTCALL gc_possible_root(zend_refcounted *ref); 35 ZEND_API void ZEND_FASTCALL gc_remove_from_buffer(zend_refcounted *ref); 38 ZEND_API zend_bool gc_enable(zend_bool enable); 39 ZEND_API zend_bool gc_enabled(void); 42 ZEND_API zend_bool gc_protect(zend_bool protect); 43 ZEND_API zend_bool gc_protected(void); 46 ZEND_API int zend_gc_collect_cycles(void); 48 ZEND_API void zend_gc_get_status(zend_gc_status *status);
|
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(zval *object);
|
H A D | zend_dtrace.h | 31 ZEND_API extern zend_op_array *(*zend_dtrace_compile_file)(zend_file_handle *file_handle, int type); 32 ZEND_API extern void (*zend_dtrace_execute)(zend_op_array *op_array); 33 ZEND_API extern void (*zend_dtrace_execute_internal)(zend_execute_data *execute_data, zval *return_… 35 ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type); 36 ZEND_API void dtrace_execute_ex(zend_execute_data *execute_data); 37 ZEND_API void dtrace_execute_internal(zend_execute_data *execute_data, zval *return_value);
|
H A D | zend_extensions.h | 114 extern ZEND_API int zend_op_array_extension_handles; 116 ZEND_API int zend_get_resource_handle(zend_extension *extension); 117 ZEND_API int zend_get_op_array_extension_handle(void); 118 ZEND_API void zend_extension_dispatch_message(int message, void *arg); 132 ZEND_API extern zend_llist zend_extensions; 133 ZEND_API extern uint32_t zend_extension_flags; 142 ZEND_API void zend_append_version_info(const zend_extension *extension); 148 ZEND_API int zend_load_extension(const char *path); 149 ZEND_API int zend_load_extension_handle(DL_HANDLE handle, const char *path); 151 ZEND_API zend_extension *zend_get_extension(const char *extension_name); [all …]
|
H A D | zend_highlight.h | 40 ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini); 41 ZEND_API void zend_strip(void); 42 ZEND_API int highlight_file(char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini); 43 ZEND_API int highlight_string(zval *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, char … 44 ZEND_API void zend_html_putc(char c); 45 ZEND_API void zend_html_puts(const char *s, size_t len);
|
H A D | zend_ts_hash.c | 70 ZEND_API void zend_ts_hash_destroy(TsHashTable *ht) in zend_ts_hash_destroy() 82 ZEND_API void zend_ts_hash_clean(TsHashTable *ht) in zend_ts_hash_clean() 112 ZEND_API zval *zend_ts_hash_next_index_insert(TsHashTable *ht, zval *pData) in zend_ts_hash_next_index_insert() 145 ZEND_API void zend_ts_hash_graceful_destroy(TsHashTable *ht) in zend_ts_hash_graceful_destroy() 157 ZEND_API void zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func) in zend_ts_hash_apply() 189 ZEND_API int zend_ts_hash_del(TsHashTable *ht, zend_string *key) in zend_ts_hash_del() 200 ZEND_API int zend_ts_hash_index_del(TsHashTable *ht, zend_ulong h) in zend_ts_hash_index_del() 211 ZEND_API zval *zend_ts_hash_find(TsHashTable *ht, zend_string *key) in zend_ts_hash_find() 222 ZEND_API zval *zend_ts_hash_index_find(TsHashTable *ht, zend_ulong h) in zend_ts_hash_index_find() 302 ZEND_API int zend_ts_hash_num_elements(TsHashTable *ht) in zend_ts_hash_num_elements() [all …]
|
H A D | zend_stack.c | 25 ZEND_API int zend_stack_init(zend_stack *stack, int size) in zend_stack_init() 34 ZEND_API int zend_stack_push(zend_stack *stack, const void *element) in zend_stack_push() 46 ZEND_API void *zend_stack_top(const zend_stack *stack) in zend_stack_top() 56 ZEND_API int zend_stack_del_top(zend_stack *stack) in zend_stack_del_top() 63 ZEND_API int zend_stack_int_top(const zend_stack *stack) in zend_stack_int_top() 74 ZEND_API int zend_stack_is_empty(const zend_stack *stack) in zend_stack_is_empty() 80 ZEND_API int zend_stack_destroy(zend_stack *stack) in zend_stack_destroy() 91 ZEND_API void *zend_stack_base(const zend_stack *stack) in zend_stack_base() 97 ZEND_API int zend_stack_count(const zend_stack *stack) in zend_stack_count() 103 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)) in zend_stack_apply() [all …]
|
H A D | zend_ptr_stack.c | 24 ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, zend_bool persistent) in zend_ptr_stack_init_ex() 31 ZEND_API void zend_ptr_stack_init(zend_ptr_stack *stack) in zend_ptr_stack_init() 37 ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_push() 55 ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_pop() 72 ZEND_API void zend_ptr_stack_destroy(zend_ptr_stack *stack) in zend_ptr_stack_destroy() 80 ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)) in zend_ptr_stack_apply() 89 ZEND_API void zend_ptr_stack_reverse_apply(zend_ptr_stack *stack, void (*func)(void *)) in zend_ptr_stack_reverse_apply() 99 ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elem… in zend_ptr_stack_clean() 114 ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack) in zend_ptr_stack_num_elements()
|
H A D | zend_operators.h | 243 ZEND_API int ZEND_FASTCALL increment_function(zval *op1); 249 ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); 250 ZEND_API void ZEND_FASTCALL convert_to_double(zval *op); 252 ZEND_API void ZEND_FASTCALL convert_to_null(zval *op); 254 ZEND_API void ZEND_FASTCALL convert_to_array(zval *op); 255 ZEND_API void ZEND_FASTCALL convert_to_object(zval *op); 256 ZEND_API void multi_convert_to_long_ex(int argc, ...); 257 ZEND_API void multi_convert_to_double_ex(int argc, ...); 258 ZEND_API void multi_convert_to_string_ex(int argc, ...); 334 ZEND_API int ZEND_FASTCALL zend_is_true(zval *op); [all …]
|
H A D | zend_closures.h | 33 extern ZEND_API zend_class_entry *zend_ce_closure; 35 ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zend… 36 ZEND_API void zend_create_fake_closure(zval *res, zend_function *op_array, zend_class_entry *scope,… 37 ZEND_API zend_function *zend_get_closure_invoke_method(zend_object *obj); 38 ZEND_API const zend_function *zend_get_closure_method_def(zval *obj); 39 ZEND_API zval* zend_get_closure_this_ptr(zval *obj);
|