/php-src/Zend/ |
H A D | zend_exceptions.h | 29 extern ZEND_API zend_class_entry *zend_ce_throwable; 30 extern ZEND_API zend_class_entry *zend_ce_exception; 32 extern ZEND_API zend_class_entry *zend_ce_error; 34 extern ZEND_API zend_class_entry *zend_ce_parse_error; 35 extern ZEND_API zend_class_entry *zend_ce_type_error; 37 extern ZEND_API zend_class_entry *zend_ce_value_error; 44 ZEND_API void zend_exception_save(void); 45 ZEND_API void zend_exception_restore(void); 59 ZEND_API void zend_register_default_classes(void); 66 ZEND_API void zend_clear_exception(void); [all …]
|
H A D | zend_observer.h | 30 extern ZEND_API int zend_observer_fcall_op_array_extension; 31 extern ZEND_API int zend_observer_fcall_internal_function_extension; 32 extern ZEND_API bool zend_observer_errors_observed; 33 extern ZEND_API bool zend_observer_function_declared_observed; 34 extern ZEND_API bool zend_observer_class_linked_observed; 73 ZEND_API void zend_observer_fcall_register(zend_observer_fcall_init); 82 ZEND_API void zend_observer_startup(void); // Called by engine before MINITs 84 ZEND_API void zend_observer_activate(void); 85 ZEND_API void zend_observer_shutdown(void); 130 ZEND_API void zend_observer_fcall_end_all(void); [all …]
|
H A D | zend_list.h | 48 ZEND_API void 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 void ZEND_FASTCALL zend_list_free(zend_resource *res); 57 ZEND_API zend_result ZEND_FASTCALL zend_list_delete(zend_resource *res); 58 ZEND_API void 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_execute.h | 100 ZEND_API ZEND_COLD void zend_verify_arg_error( 102 ZEND_API ZEND_COLD void zend_verify_return_error( 104 ZEND_API ZEND_COLD void zend_verify_never_error( 107 ZEND_API bool zend_check_user_type_slow( 246 ZEND_API void zend_vm_stack_init(void); 248 ZEND_API void zend_vm_stack_destroy(void); 249 ZEND_API void* zend_vm_stack_extend(size_t size); 397 ZEND_API uint32_t zend_get_executed_lineno(void); 399 ZEND_API bool zend_is_executing(void); 403 ZEND_API void zend_unset_timeout(void); [all …]
|
H A D | zend_multibyte.h | 55 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32be; 56 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32le; 57 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16be; 58 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16le; 59 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf8; 63 ZEND_API void zend_multibyte_restore_functions(void); 64 ZEND_API const zend_multibyte_functions *zend_multibyte_get_functions(void); 66 ZEND_API const zend_encoding *zend_multibyte_fetch_encoding(const char *name); 67 ZEND_API const char *zend_multibyte_get_encoding_name(const zend_encoding *encoding); 73 ZEND_API const zend_encoding *zend_multibyte_get_internal_encoding(void); [all …]
|
H A D | zend_stack.h | 39 ZEND_API void zend_stack_init(zend_stack *stack, int size); 40 ZEND_API int zend_stack_push(zend_stack *stack, const void *element); 41 ZEND_API void *zend_stack_top(const zend_stack *stack); 42 ZEND_API void zend_stack_del_top(zend_stack *stack); 43 ZEND_API int zend_stack_int_top(const zend_stack *stack); 44 ZEND_API bool zend_stack_is_empty(const zend_stack *stack); 45 ZEND_API void zend_stack_destroy(zend_stack *stack); 46 ZEND_API void *zend_stack_base(const zend_stack *stack); 47 ZEND_API int zend_stack_count(const zend_stack *stack); 48 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)); [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; 33 extern ZEND_API zend_class_entry *zend_ce_stringable; 61 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter); 62 ZEND_API zend_result zend_user_it_valid(zend_object_iterator *_iter); 65 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter); [all …]
|
H A D | zend.h | 295 ZEND_API size_t zend_get_page_size(void); 307 ZEND_API const char *get_zend_version(void); 321 ZEND_API void zend_activate(void); 322 ZEND_API void zend_deactivate(void); 323 ZEND_API void zend_call_destructors(void); 324 ZEND_API void zend_activate_modules(void); 325 ZEND_API void zend_deactivate_modules(void); 328 ZEND_API void free_estring(char **str_p); 341 extern ZEND_API zend_write_func_t zend_write; 408 extern ZEND_API zend_utility_values zend_uv; [all …]
|
H A D | zend_llist.h | 51 ZEND_API void zend_llist_add_element(zend_llist *l, const void *element); 52 ZEND_API void zend_llist_prepend_element(zend_llist *l, const void *element); 54 ZEND_API void zend_llist_destroy(zend_llist *l); 55 ZEND_API void zend_llist_clean(zend_llist *l); 56 ZEND_API void zend_llist_remove_tail(zend_llist *l); 57 ZEND_API void zend_llist_copy(zend_llist *dst, zend_llist *src); 58 ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func); 62 ZEND_API size_t zend_llist_count(zend_llist *l); 63 ZEND_API void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func); 67 ZEND_API void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos); [all …]
|
H A D | zend_atomic.c | 26 ZEND_API void zend_atomic_bool_init(zend_atomic_bool *obj, bool desired) { in zend_atomic_bool_init() 30 ZEND_API void zend_atomic_int_init(zend_atomic_int *obj, int desired) { in zend_atomic_int_init() 34 ZEND_API bool zend_atomic_bool_exchange(zend_atomic_bool *obj, bool desired) { in zend_atomic_bool_exchange() 38 ZEND_API int zend_atomic_int_exchange(zend_atomic_int *obj, int desired) { in zend_atomic_int_exchange() 47 ZEND_API bool zend_atomic_int_compare_exchange(zend_atomic_int *obj, int *expected, int desired) in zend_atomic_int_compare_exchange() 52 ZEND_API void zend_atomic_bool_store(zend_atomic_bool *obj, bool desired) { in zend_atomic_bool_store() 56 ZEND_API void zend_atomic_int_store(zend_atomic_int *obj, int desired) { in zend_atomic_int_store() 62 ZEND_API bool zend_atomic_bool_load(zend_atomic_bool *obj) { in zend_atomic_bool_load() 65 ZEND_API int zend_atomic_int_load(zend_atomic_int *obj) { in zend_atomic_int_load() 69 ZEND_API bool zend_atomic_bool_load(const zend_atomic_bool *obj) { in zend_atomic_bool_load() [all …]
|
H A D | zend_ini.h | 66 ZEND_API void zend_ini_startup(void); 67 ZEND_API void zend_ini_shutdown(void); 68 ZEND_API void zend_ini_global_shutdown(void); 69 ZEND_API void zend_ini_deactivate(void); 74 ZEND_API void zend_ini_sort_entries(void); 212 ZEND_API ZEND_INI_MH(OnUpdateBool); 213 ZEND_API ZEND_INI_MH(OnUpdateLong); 214 ZEND_API ZEND_INI_MH(OnUpdateLongGEZero); 215 ZEND_API ZEND_INI_MH(OnUpdateReal); 217 ZEND_API ZEND_INI_MH(OnUpdateString); [all …]
|
H A D | zend_extensions.h | 114 extern ZEND_API int zend_op_array_extension_handles; 116 ZEND_API int zend_get_resource_handle(const char *module_name); 121 ZEND_API void zend_extension_dispatch_message(int message, void *arg); 135 ZEND_API extern zend_llist zend_extensions; 136 ZEND_API extern uint32_t zend_extension_flags; 145 ZEND_API void zend_append_version_info(const zend_extension *extension); 150 ZEND_API size_t zend_internal_run_time_cache_reserved_size(void); 151 ZEND_API void zend_init_internal_run_time_cache(void); 152 ZEND_API void zend_reset_internal_run_time_cache(void); 155 ZEND_API zend_result zend_load_extension(const char *path); [all …]
|
H A D | zend_vm.h | 29 ZEND_API void ZEND_FASTCALL zend_vm_set_opcode_handler(zend_op* opcode); 30 ZEND_API void ZEND_FASTCALL zend_vm_set_opcode_handler_ex(zend_op* opcode, uint32_t op1_info, uint3… 31 ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op); 32 ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op); 33 ZEND_API const void* ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op); 34 ZEND_API const zend_op *zend_get_halt_op(void); 35 ZEND_API int ZEND_FASTCALL zend_vm_call_opcode_handler(zend_execute_data *ex); 36 ZEND_API int zend_vm_kind(void); 37 ZEND_API bool zend_gcc_global_regs(void);
|
H A D | zend_strtod.h | 33 ZEND_API void zend_freedtoa(char *s); 34 ZEND_API char *zend_dtoa(double _d, int mode, int ndigits, int *decpt, bool *sign, char **rve); 35 ZEND_API char *zend_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf); 36 ZEND_API double zend_strtod(const char *s00, const char **se); 37 ZEND_API double zend_hex_strtod(const char *str, const char **endptr); 38 ZEND_API double zend_oct_strtod(const char *str, const char **endptr); 39 ZEND_API double zend_bin_strtod(const char *str, const char **endptr); 40 ZEND_API int zend_shutdown_strtod(void);
|
H A D | zend_globals_macros.h | 37 extern ZEND_API struct _zend_compiler_globals compiler_globals; 39 ZEND_API int zendparse(void); 47 extern ZEND_API zend_executor_globals executor_globals; 53 extern ZEND_API ts_rsrc_id language_scanner_globals_id; 54 extern ZEND_API size_t language_scanner_globals_offset; 57 extern ZEND_API zend_php_scanner_globals language_scanner_globals; 64 extern ZEND_API ts_rsrc_id ini_scanner_globals_id; 65 extern ZEND_API size_t ini_scanner_globals_offset; 68 extern ZEND_API zend_ini_scanner_globals ini_scanner_globals;
|
H A D | zend_object_handlers.h | 236 extern const ZEND_API zend_object_handlers std_object_handlers; 248 ZEND_API void zend_class_init_statics(zend_class_entry *ce); 253 ZEND_API zend_function *zend_std_get_constructor(zend_object *object); 255 ZEND_API HashTable *zend_std_get_properties(zend_object *object); 256 ZEND_API HashTable *zend_get_properties_no_lazy_init(zend_object *zobj); 268 ZEND_API void zend_std_unset_dimension(zend_object *object, zval *offset); 270 ZEND_API zend_string *zend_std_get_class_name(const zend_object *zobj); 271 ZEND_API int zend_std_compare_objects(zval *o1, zval *o2); 305 ZEND_API int zend_objects_not_comparable(zval *o1, zval *o2); 317 ZEND_API uint32_t *zend_get_recursion_guard(zend_object *zobj); [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 zend_result 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_fibers.h | 55 extern ZEND_API zend_class_entry *zend_ce_fiber; 135 ZEND_API zend_result zend_fiber_start(zend_fiber *fiber, zval *return_value); 136 ZEND_API void zend_fiber_resume(zend_fiber *fiber, zval *value, zval *return_value); 137 ZEND_API void zend_fiber_suspend(zend_fiber *fiber, zval *value, zval *return_value); 141 ZEND_API void zend_fiber_destroy_context(zend_fiber_context *context); 142 ZEND_API void zend_fiber_switch_context(zend_fiber_transfer *transfer); 144 ZEND_API void* zend_fiber_stack_limit(zend_fiber_stack *stack); 145 ZEND_API void* zend_fiber_stack_base(zend_fiber_stack *stack); 148 ZEND_API void zend_fiber_switch_block(void); 149 ZEND_API void zend_fiber_switch_unblock(void); [all …]
|
H A D | zend_inheritance.h | 28 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface); 29 ZEND_API void zend_do_inheritance_ex(zend_class_entry *ce, zend_class_entry *parent_ce, bool checke… 35 ZEND_API zend_class_entry *zend_do_link_class(zend_class_entry *ce, zend_string *lc_parent_name, ze… 39 ZEND_API zend_class_entry *zend_try_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce, z… 43 ZEND_API extern zend_class_entry* (*zend_inheritance_cache_get)(zend_class_entry *ce, zend_class_en… 44 ZEND_API extern zend_class_entry* (*zend_inheritance_cache_add)(zend_class_entry *ce, zend_class_en… 53 ZEND_API zend_inheritance_status zend_verify_property_hook_variance(const zend_property_info *prop_… 54 ZEND_API ZEND_COLD ZEND_NORETURN void zend_hooked_property_variance_error(const zend_property_info … 55 ZEND_API ZEND_COLD ZEND_NORETURN void zend_hooked_property_variance_error_ex(zend_string *value_par… 56 ZEND_API void zend_verify_hooked_property(zend_class_entry *ce, zend_property_info *prop_info, zend…
|
H A D | zend_attributes.h | 44 extern ZEND_API zend_class_entry *zend_ce_attribute; 45 extern ZEND_API zend_class_entry *zend_ce_allow_dynamic_properties; 46 extern ZEND_API zend_class_entry *zend_ce_sensitive_parameter; 47 extern ZEND_API zend_class_entry *zend_ce_sensitive_parameter_value; 48 extern ZEND_API zend_class_entry *zend_ce_override; 49 extern ZEND_API zend_class_entry *zend_ce_deprecated; 82 ZEND_API zend_string *zend_get_attribute_target_names(uint32_t targets); 83 ZEND_API bool zend_is_attribute_repeated(HashTable *attributes, zend_attribute *attr); 85 ZEND_API zend_internal_attribute *zend_mark_internal_attribute(zend_class_entry *ce); 87 ZEND_API zend_internal_attribute *zend_internal_attribute_get(zend_string *lcname); [all …]
|
H A D | zend_operators.h | 303 ZEND_API void ZEND_FASTCALL _convert_to_string(zval *op); 304 ZEND_API void ZEND_FASTCALL convert_to_long(zval *op); 305 ZEND_API void ZEND_FASTCALL convert_to_double(zval *op); 306 ZEND_API void ZEND_FASTCALL convert_to_null(zval *op); 307 ZEND_API void ZEND_FASTCALL convert_to_boolean(zval *op); 308 ZEND_API void ZEND_FASTCALL convert_to_array(zval *op); 309 ZEND_API void ZEND_FASTCALL convert_to_object(zval *op); 388 ZEND_API bool ZEND_FASTCALL zend_is_true(const zval *op); 461 ZEND_API extern const unsigned char zend_tolower_map[256]; 515 ZEND_API void zend_update_current_locale(void); [all …]
|
H A D | zend_alloc.h | 111 ZEND_API void ZEND_FASTCALL _efree_ ## _size(void *); 116 ZEND_API void ZEND_FASTCALL _efree_huge(void *, size_t size); 221 ZEND_API void start_memory_manager(void); 223 ZEND_API bool is_zend_mm(void); 224 ZEND_API bool is_zend_ptr(const void *ptr); 226 ZEND_API size_t zend_memory_usage(bool real_usage); 227 ZEND_API size_t zend_memory_peak_usage(bool real_usage); 228 ZEND_API void zend_memory_reset_peak_usage(void); 246 ZEND_API zend_mm_heap *zend_mm_startup(void); 267 ZEND_API zend_mm_heap *zend_mm_get_heap(void); [all …]
|
H A D | zend_enum.h | 29 extern ZEND_API zend_class_entry *zend_ce_unit_enum; 30 extern ZEND_API zend_class_entry *zend_ce_backed_enum; 31 extern ZEND_API zend_object_handlers zend_enum_object_handlers; 41 ZEND_API zend_class_entry *zend_register_internal_enum( 43 ZEND_API void zend_enum_add_case(zend_class_entry *ce, zend_string *case_name, zval *value); 44 ZEND_API void zend_enum_add_case_cstr(zend_class_entry *ce, const char *name, zval *value); 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…
|
H A D | zend_highlight.h | 42 ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini); 43 ZEND_API void zend_strip(void); 44 ZEND_API zend_result highlight_file(const char *filename, zend_syntax_highlighter_ini *syntax_highl… 45 ZEND_API void highlight_string(zend_string *str, zend_syntax_highlighter_ini *syntax_highlighter_in… 46 ZEND_API void zend_html_putc(char c); 47 ZEND_API void zend_html_puts(const char *s, size_t len);
|
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);
|