|
ReactOS 0.4.16-dev-1948-gd260c1d
|
#include "config.h"#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <ctype.h>#include "widl.h"#include "utils.h"#include "parser.h"
Go to the source code of this file.
Classes | |
| struct | resource |
Functions | |
| void | error_at (const struct location *where, const char *s,...) |
| void | error (const char *s,...) |
| void | warning (const char *s,...) |
| void | warning_at (const struct location *where, const char *s,...) |
| void | chat (const char *s,...) |
| size_t | widl_getline (char **linep, size_t *lenp, FILE *fp) |
| size_t | strappend (char **buf, size_t *len, size_t pos, const char *fmt,...) |
| static void | put_resource_id (const char *str) |
| void | add_output_to_resources (const char *type, const char *name) |
| void | flush_output_resources (const char *name) |
| void | put_pword (unsigned int val) |
| void | put_str (int indent, const char *format,...) |
Variables | |
| unsigned char * | output_buffer |
| size_t | output_buffer_pos |
| size_t | output_buffer_size |
| static struct resource | resources [16] |
| static unsigned int | nb_resources |
Definition at line 192 of file utils.c.
Referenced by output_typelib_regscript(), save_all_changes(), and write_regscript().
Definition at line 79 of file utils.c.
Referenced by add_block(), add_func_desc(), add_importlib(), add_index(), add_interface_typeinfo(), add_name(), add_structure_typeinfo(), add_type_typeinfo(), add_var_desc(), alloc_importinfo(), create_msft_typeinfo(), ctl2_alloc_guid(), dump_type(), dump_var_desc(), encode_type(), encode_var(), find_importinfo(), get_param_flags(), get_type_vt(), local_href(), save_all_changes(), sltg_add_typeinfo(), sltg_write_header(), sltg_write_helpstrings(), sltg_write_nametable(), sltg_write_typeinfo(), write_default_value(), and write_var_desc().
Definition at line 35 of file utils.c.
Referenced by append_type_signature(), check_apicontract_attrs(), check_arg_attrs(), check_arithmetic_type(), check_coclass_attrs(), check_dispiface_attrs(), check_enum_attrs(), check_enum_member_attrs(), check_field_attrs(), check_function_attrs(), check_integer_type(), check_interface_attrs(), check_library_attrs(), check_module_attrs(), check_runtimeclass_attrs(), check_scalar_type(), check_struct_attrs(), check_typedef_attrs(), check_union_attrs(), format_parameterized_type_signature(), replace_type_parameters_in_statement(), replace_type_parameters_in_type(), resolve_expression(), and type_runtimeclass_get_default_iface().
Definition at line 226 of file utils.c.
Referenced by save_all_changes(), write_regscript(), and write_typelib_regscript().
Definition at line 174 of file utils.c.
Referenced by add_output_to_resources().
Definition at line 261 of file utils.c.
Referenced by output_typelib_regscript(), write_coclass(), write_interface(), write_progid(), write_regscript(), write_runtimeclasses_registry(), and write_typelib_interface().
Definition at line 120 of file utils.c.
Referenced by append_namespace(), append_namespaces(), append_pointer_stars(), append_type_signature(), append_var_list_signature(), format_parameterized_type_args(), format_parameterized_type_c_name(), format_parameterized_type_impl_name(), format_parameterized_type_name(), format_parameterized_type_short_name(), and format_parameterized_type_signature().
Definition at line 67 of file utils.c.
Referenced by append_attr().
Definition at line 91 of file utils.c.
Referenced by write_dlldata().
Definition at line 172 of file utils.c.
Referenced by add_output_to_resources(), and flush_output_resources().
Definition at line 163 of file utils.c.
Referenced by add_output_to_resources().
| size_t output_buffer_pos |
Definition at line 164 of file utils.c.
Referenced by add_output_to_resources(), align_output(), check_output_buffer_space(), flush_output_buffer(), flush_output_resources(), init_output_buffer(), put_byte(), put_data(), put_dword(), put_str(), put_word(), save_all_changes(), sltg_write_header(), and write_regscript().
| size_t output_buffer_size |
Definition at line 165 of file utils.c.
Referenced by check_output_buffer_space(), init_output_buffer(), and put_str().