ReactOS 0.4.16-dev-338-g34e76ad
|
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "widl.h"
#include "utils.h"
#include "parser.h"
#include "header.h"
#include "expr.h"
#include "typetree.h"
#include "typelib.h"
Go to the source code of this file.
Variables | |
static int | indentation = 0 |
static int | is_object_interface = 0 |
user_type_list_t | user_type_list = LIST_INIT(user_type_list) |
context_handle_list_t | context_handle_list = LIST_INIT(context_handle_list) |
generic_handle_list_t | generic_handle_list = LIST_INIT(generic_handle_list) |
void check_for_additional_prototype_types | ( | const var_list_t * | list | ) |
Definition at line 640 of file header.c.
Referenced by check_for_additional_prototype_types().
Definition at line 580 of file header.c.
Referenced by check_for_additional_prototype_types().
Definition at line 1240 of file header.c.
Referenced by do_write_c_method_def(), write_c_disp_method_def(), and write_c_method_def().
|
static |
Definition at line 730 of file header.c.
Referenced by write_header().
Definition at line 589 of file header.c.
Referenced by check_for_additional_prototype_types().
void * get_attrp | ( | const attr_list_t * | list, |
enum attr_type | t | ||
) |
Definition at line 107 of file header.c.
Referenced by add_typeinfo_block(), cmp_iid(), do_write_c_method_def(), gen_proxy(), get_aliaschain_attrp(), get_func_handle_var(), get_user_type(), is_callas(), is_interpreted_func(), output_typelib_regscript(), save_all_changes(), set_doc_string(), set_guid(), set_help_context(), set_help_file_name(), set_help_string_context(), set_help_string_dll(), set_lcid(), write_args(), write_client_func_decl(), write_clientinterfacedecl(), write_coclass(), write_com_interface_end(), write_cpp_method_def(), write_descriptors(), write_function_proto(), write_function_stubs(), write_id_data_stmts(), write_implicithandledecl(), write_interface(), write_ip_tfs(), write_library(), write_method_proto(), write_parameter_conf_or_var_exprs(), write_progid(), write_remoting_arg(), write_rpc_interface_start(), write_serverinterfacedecl(), write_stubdescriptor(), write_type_tfs(), write_type_v(), write_typelib_interface(), and write_union_tfs().
Definition at line 115 of file header.c.
Referenced by get_coclass_threading(), get_pointer_fc(), init_typeinfo(), output_typelib_regscript(), set_version(), write_array_tfs(), write_clientinterfacedecl(), write_coclass(), write_dispatchtable(), write_nonsimple_pointer(), write_rpc_interface_start(), write_serverinterfacedecl(), and write_typelib_interface().
Definition at line 598 of file header.c.
Referenced by write_contexthandle_tfs(), and write_proc_func_header().
Definition at line 855 of file header.c.
Referenced by get_func_handle_var(), and write_function_stub().
const var_t * get_func_handle_var | ( | const type_t * | iface, |
const var_t * | func, | ||
unsigned char * | explicit_fc, | ||
unsigned char * | implicit_fc | ||
) |
Definition at line 867 of file header.c.
Referenced by write_function_stub(), write_proc_func_header(), and write_procformatstring_func().
Definition at line 618 of file header.c.
Referenced by write_proc_func_header().
Definition at line 181 of file header.c.
Referenced by do_write_c_method_def(), get_vtbl_entry_name(), is_inherited_method(), is_override_method(), write_cpp_method_def(), write_enums(), write_function_proto(), write_inline_wrappers(), write_locals(), write_method_macro(), and write_method_proto().
Definition at line 1003 of file header.c.
Referenced by write_inline_wrappers(), and write_method_macro().
Definition at line 908 of file header.c.
Referenced by write_function_stub().
Definition at line 996 of file header.c.
Referenced by do_write_c_method_def(), write_cpp_method_def(), write_inline_wrappers(), and write_method_macro().
Definition at line 86 of file header.c.
Referenced by get_enum_fc(), is_string_type(), typegen_detect_type(), write_function_stub(), and write_remoting_arg().
int is_attr | ( | const attr_list_t * | list, |
enum attr_type | t | ||
) |
Definition at line 99 of file header.c.
Referenced by add_entry(), add_interface_typeinfo(), assign_stub_out_args(), check_for_additional_prototype_types(), clear_output_vars(), declare_stub_args(), encode_type(), for_each_serializable(), get_aliaschain_attrp(), get_context_handle_offset(), get_context_handle_type_name(), get_contexthandle_flags(), get_explicit_generic_handle_type(), get_func_handle_var(), get_generic_handle_offset(), get_name(), get_parameter_fc(), get_pointer_fc_context(), get_required_buffer_size(), get_rpc_flags(), get_type_vt(), has_out_arg_or_return(), is_aliaschain_attr(), is_const_decl(), is_context_handle(), is_local(), is_ptrchain_attr(), is_string_type(), need_proxy(), output_typelib_regscript(), process_tfs_iface(), proxy_free_variables(), typegen_detect_type(), write_client_ifaces(), write_com_interface_end(), write_com_interface_start(), write_descriptors(), write_forward_decls(), write_function_stub(), write_header_stmts(), write_id_data_stmts(), write_member_type(), write_nonsimple_pointer(), write_old_procformatstring_type(), write_proc_func_header(), write_remoting_arg(), write_serialize_functions(), write_simple_pointer(), write_type_left(), write_type_v(), write_typelib_interface(), and write_union_tfs().
const var_t * is_callas | ( | const attr_list_t * | a | ) |
Definition at line 943 of file header.c.
Referenced by compute_method_indexes(), count_methods(), do_write_c_method_def(), gen_proxy(), gen_stub_thunk(), get_callas_source(), is_inherited_method(), is_override_method(), write_cpp_method_def(), write_inline_wrappers(), write_locals(), write_method_macro(), write_method_proto(), write_proxy(), write_proxy_methods(), write_proxy_procformatstring_offsets(), write_stub_methods(), and write_thunk_methods().
Definition at line 801 of file header.c.
Referenced by write_declaration().
Definition at line 948 of file header.c.
Referenced by do_write_c_method_def(), and get_vtbl_entry_name().
int is_local | ( | const attr_list_t * | a | ) |
Definition at line 938 of file header.c.
Referenced by add_dispinterface_typeinfo(), add_func_desc(), add_interface_typeinfo(), codeview_add_variable(), get_size_procformatstring_iface(), need_delegation(), need_inline_stubs(), need_proxy(), need_proxy_and_inline_stubs(), need_stub(), process_tfs_iface(), write_iface_procformatstring(), write_interface(), write_procformatstring_offsets(), write_proxy(), write_proxy_methods(), write_proxy_procformatstring_offsets(), write_routinetable(), write_stub_methods(), and write_thunk_methods().
Definition at line 928 of file header.c.
Referenced by get_pointer_fc_context(), need_proxy(), need_stub(), write_client_call_routine(), write_conf_or_var_desc(), write_forward_decls(), write_func_param_struct(), write_header_stmts(), write_id_data_stmts(), write_interface(), write_locals(), write_proc_func_header(), write_procformatstring_func(), and write_typelib_interface().
|
static |
Definition at line 970 of file header.c.
Referenced by write_inline_wrappers(), and write_method_macro().
Definition at line 66 of file header.c.
Referenced by get_required_buffer_size().
Definition at line 282 of file header.c.
Referenced by write_func_param_struct(), write_pointer_left(), and write_type_v().
Definition at line 571 of file header.c.
Referenced by check_for_additional_prototype_types().
Definition at line 146 of file header.c.
Referenced by macho_map_file(), try_dsym(), write_coclass(), and write_com_interface_end().
Definition at line 1058 of file header.c.
Referenced by do_write_c_method_def(), gen_proxy(), nfs41_write(), write_client_func_decl(), write_cpp_method_def(), write_function_proto(), write_inline_wrappers(), write_locals(), write_method_proto(), and write_type_v().
Definition at line 1298 of file header.c.
Referenced by write_com_interface_end().
Definition at line 1581 of file header.c.
Referenced by write_header_stmts().
Definition at line 1462 of file header.c.
Referenced by write_header_stmts().
Definition at line 1452 of file header.c.
Referenced by write_header_stmts().
Definition at line 773 of file header.c.
Referenced by write_header().
Definition at line 1114 of file header.c.
Referenced by write_com_interface_end().
Definition at line 819 of file header.c.
Referenced by write_header_stmts().
|
static |
Definition at line 260 of file header.c.
Referenced by write_type_left().
|
static |
Definition at line 197 of file header.c.
Referenced by write_type_left().
Definition at line 1439 of file header.c.
Referenced by write_forward_decls(), and write_header_stmts().
|
static |
Definition at line 1660 of file header.c.
Referenced by write_forward_decls(), and write_header().
|
static |
Definition at line 1423 of file header.c.
Referenced by write_header_stmts().
Definition at line 783 of file header.c.
Referenced by write_header().
|
static |
Definition at line 123 of file header.c.
Referenced by write_coclass(), write_com_interface_end(), and write_library().
void write_header | ( | const statement_list_t * | stmts | ) |
Definition at line 1790 of file header.c.
|
static |
Definition at line 1700 of file header.c.
Referenced by write_header(), and write_header_stmts().
Definition at line 1616 of file header.c.
Referenced by write_imports().
|
static |
Definition at line 1628 of file header.c.
Referenced by write_header(), and write_imports().
|
static |
Definition at line 1184 of file header.c.
Referenced by write_com_interface_end(), and write_inline_wrappers().
Definition at line 56 of file header.c.
Referenced by write_com_interface_end(), write_forward(), write_namespace_end(), and write_namespace_start().
void write_local_stubs | ( | const statement_list_t * | stmts | ) |
Definition at line 1403 of file header.c.
|
static |
Definition at line 1393 of file header.c.
Referenced by write_local_stubs().
Definition at line 1334 of file header.c.
Referenced by write_com_interface_end(), and write_local_stubs_stmts().
|
static |
Definition at line 1013 of file header.c.
Referenced by write_com_interface_end(), and write_method_macro().
Definition at line 1308 of file header.c.
Referenced by write_com_interface_end().
Definition at line 169 of file header.c.
Referenced by write_com_interface_end(), write_forward(), write_namespace_end(), and write_type_definition().
Definition at line 157 of file header.c.
Referenced by write_com_interface_end(), write_forward(), write_namespace_start(), and write_type_definition().
Definition at line 1546 of file header.c.
Referenced by write_header_stmts().
Definition at line 719 of file header.c.
Referenced by write_header().
Definition at line 561 of file header.c.
Referenced by declare_stub_args(), gen_proxy(), print_phase_basetype(), print_start_tfs_comment(), write_args(), write_expr(), write_func_param_struct(), write_function_stub(), write_implicithandledecl(), write_locals(), write_remoting_arg(), and write_rpc_interface_start().
Definition at line 566 of file header.c.
Referenced by declare_stub_args(), do_write_c_method_def(), gen_proxy(), write_client_call_routine(), write_client_func_decl(), write_cpp_method_def(), write_function_proto(), write_function_stub(), write_inline_wrappers(), write_locals(), and write_method_proto().
Definition at line 532 of file header.c.
Referenced by write_declaration(), write_fields(), and write_typedef().
Definition at line 537 of file header.c.
Referenced by write_header_stmts().
Definition at line 297 of file header.c.
Referenced by write_expr_eval_routines(), write_func_param_struct(), write_type_decl_left(), write_type_definition(), write_type_left(), and write_type_v().
Definition at line 437 of file header.c.
Referenced by declare_stub_args(), write_type_right(), and write_type_v().
|
static |
Definition at line 488 of file header.c.
Referenced by write_type_decl(), and write_type_def_or_decl().
Definition at line 760 of file header.c.
Referenced by write_header().
Definition at line 133 of file header.c.
Referenced by write_coclass(), and write_com_interface_end().
generic_handle_list_t generic_handle_list = LIST_INIT(generic_handle_list) |
Definition at line 44 of file header.c.
Referenced by check_for_additional_prototype_types(), generic_handle_registered(), get_generic_handle_offset(), write_generic_handle_routine_list(), write_generic_handle_routines(), and write_stubdescriptor().
|
static |
Definition at line 40 of file header.c.
Referenced by do_write_c_method_def(), indent(), write_args(), write_cpp_method_def(), write_inline_wrappers(), and write_type_left().
|
static |
Definition at line 41 of file header.c.
Referenced by write_header_stmts(), and write_type_v().
user_type_list_t user_type_list = LIST_INIT(user_type_list) |
Definition at line 42 of file header.c.
Referenced by check_for_additional_prototype_types(), user_type_offset(), user_type_registered(), write_stubdesc(), write_stubdescriptor(), write_user_quad_list(), and write_user_types().