|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>

Go to the source code of this file.
Typedefs | |
| typedef int(* | type_pred_t) (const type_t *) |
Enumerations | |
| enum | pass { PASS_IN , PASS_OUT , PASS_RETURN } |
| enum | remoting_phase { PHASE_BUFFERSIZE , PHASE_MARSHAL , PHASE_UNMARSHAL , PHASE_FREE } |
| enum | typegen_detect_flags { TDT_ALL_TYPES = 1 << 0 , TDT_IGNORE_STRINGS = 1 << 1 , TDT_IGNORE_RANGES = 1 << 2 } |
| enum | typegen_type { TGT_INVALID , TGT_USER_TYPE , TGT_CTXT_HANDLE , TGT_CTXT_HANDLE_POINTER , TGT_STRING , TGT_POINTER , TGT_ARRAY , TGT_IFACE_POINTER , TGT_BASIC , TGT_ENUM , TGT_STRUCT , TGT_UNION , TGT_RANGE } |
| Enumerator | |
|---|---|
| PASS_IN | |
| PASS_OUT | |
| PASS_RETURN | |
| Enumerator | |
|---|---|
| PHASE_BUFFERSIZE | |
| PHASE_MARSHAL | |
| PHASE_UNMARSHAL | |
| PHASE_FREE | |
| Enumerator | |
|---|---|
| TDT_ALL_TYPES | |
| TDT_IGNORE_STRINGS | |
| TDT_IGNORE_RANGES | |
| Enumerator | |
|---|---|
| TGT_INVALID | |
| TGT_USER_TYPE | |
| TGT_CTXT_HANDLE | |
| TGT_CTXT_HANDLE_POINTER | |
| TGT_STRING | |
| TGT_POINTER | |
| TGT_ARRAY | |
| TGT_IFACE_POINTER | |
| TGT_BASIC | |
| TGT_ENUM | |
| TGT_STRUCT | |
| TGT_UNION | |
| TGT_RANGE | |
Definition at line 46 of file typegen.h.
| void assign_stub_out_args | ( | FILE * | file, |
| int | indent, | ||
| const var_t * | func, | ||
| const char * | local_var_prefix | ||
| ) |
Definition at line 4922 of file typegen.c.
Referenced by gen_stub(), and write_function_stub().
Definition at line 1053 of file typegen.c.
Referenced by declare_stub_args(), gen_proxy(), print_phase_function(), write_function_stub(), and write_var_init().
Definition at line 4856 of file typegen.c.
Referenced by gen_stub(), and write_function_stub().
Definition at line 195 of file typegen.c.
Referenced by get_correlation_type(), get_parameter_fc(), get_required_buffer_size_type(), print_phase_basetype(), type_buffer_alignment(), type_memsize_and_alignment(), write_branch_type(), write_range_tfs(), write_simple_pointer(), write_string_tfs(), write_union_tfs(), and write_user_tfs().
Definition at line 4350 of file typegen.c.
Referenced by write_remoting_arg().
| unsigned int get_size_procformatstring | ( | const statement_list_t * | stmts, |
| type_pred_t | pred | ||
| ) |
Definition at line 4843 of file typegen.c.
Referenced by write_formatstringsdecl().
Definition at line 4825 of file typegen.c.
Referenced by get_size_procformatstring_iface(), write_function_stubs(), and write_proxy().
| unsigned int get_size_typeformatstring | ( | const statement_list_t * | stmts, |
| type_pred_t | pred | ||
| ) |
Definition at line 4850 of file typegen.c.
Referenced by write_formatstringsdecl().
Definition at line 520 of file typegen.c.
Referenced by get_array_fc(), get_parameter_fc(), get_required_buffer_size_type(), get_struct_fc(), is_non_complex_struct(), user_type_has_variable_size(), write_pointer_description(), write_remoting_arg(), and write_struct_tfs().
Definition at line 2343 of file typegen.c.
Referenced by gen_proxy(), gen_stub(), write_function_stub(), and write_proc_func_interp().
Definition at line 1352 of file typegen.c.
Referenced by gen_proxy(), gen_stub(), need_inline_stubs(), need_proxy_and_inline_stubs(), write_conf_or_var_desc(), write_dispatchtable(), write_function_stub(), write_nonsimple_pointer(), write_procformatstring_func(), write_proxy(), write_proxy_methods(), write_simple_pointer(), write_stub_methods(), and write_thunk_methods().
Definition at line 984 of file typegen.c.
Referenced by print_file().
| void print_phase_basetype | ( | FILE * | file, |
| int | indent, | ||
| const char * | local_var_prefix, | ||
| enum remoting_phase | phase, | ||
| enum pass | pass, | ||
| const var_t * | var, | ||
| const char * | varname | ||
| ) |
Definition at line 4225 of file typegen.c.
Referenced by write_remoting_arg().
Definition at line 2238 of file typegen.c.
Referenced by assign_stub_out_args(), get_array_fc(), get_parameter_fc(), write_array_tfs(), write_conformant_array_pointer_descriptions(), write_fixed_array_pointer_descriptions(), write_func_param_struct(), write_no_repeat_pointer_descriptions(), write_pointer_description(), write_pointer_description_offsets(), write_proc_func_interp(), write_string_tfs(), write_struct_tfs(), write_user_tfs(), and write_varying_array_pointer_descriptions().
Definition at line 2124 of file typegen.c.
Referenced by add_typedef_typeinfo(), add_var_desc(), field_memsize(), fields_memsize(), get_padding(), get_stack_size(), type_memsize(), type_memsize_and_alignment(), union_memsize(), write_fixed_array_pointer_descriptions(), write_func_param_struct(), write_no_repeat_pointer_descriptions(), write_pointer_description_offsets(), write_struct_members(), write_union_tfs(), and write_varying_array_pointer_descriptions().
| enum typegen_type typegen_detect_type | ( | const type_t * | type, |
| const attr_list_t * | attrs, | ||
| unsigned int | flags | ||
| ) |
Definition at line 324 of file typegen.c.
Referenced by assign_stub_out_args(), cant_be_null(), free_variable(), get_array_fc(), get_parameter_fc(), get_required_buffer_size_type(), get_stack_size(), get_struct_fc(), is_embedded_complex(), type_has_full_pointer_recurse(), type_has_pointers(), write_nonsimple_pointer(), write_parameter_conf_or_var_exprs(), write_pointer_tfs(), write_remoting_arg(), write_struct_tfs(), and write_type_tfs().
| void write_client_call_routine | ( | FILE * | file, |
| const type_t * | iface, | ||
| const var_t * | func, | ||
| const char * | prefix, | ||
| unsigned int | proc_offset | ||
| ) |
Definition at line 5218 of file typegen.c.
Referenced by gen_proxy(), and write_function_stub().
Definition at line 5184 of file typegen.c.
Referenced by write_clientinterfacedecl(), and write_serverinterfacedecl().
Definition at line 5277 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 5140 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 5100 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
| void write_formatstringsdecl | ( | FILE * | f, |
| int | indent, | ||
| const statement_list_t * | stmts, | ||
| type_pred_t | pred | ||
| ) |
Definition at line 1034 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 2363 of file typegen.c.
Referenced by gen_proxy(), gen_stub(), and write_function_stub().
Definition at line 2356 of file typegen.c.
Referenced by gen_proxy(), gen_stub(), and write_function_stub().
| void write_func_param_struct | ( | FILE * | file, |
| const type_t * | iface, | ||
| const type_t * | func, | ||
| const char * | var_decl, | ||
| int | add_retval | ||
| ) |
Definition at line 5035 of file typegen.c.
Referenced by gen_stub_thunk(), write_client_call_routine(), and write_expr_eval_routines().
| void write_parameter_conf_or_var_exprs | ( | FILE * | file, |
| int | indent, | ||
| const char * | local_var_prefix, | ||
| enum remoting_phase | phase, | ||
| const var_t * | var, | ||
| int | valid_variance | ||
| ) |
Definition at line 4369 of file typegen.c.
Referenced by free_variable(), and write_remoting_arg().
| void write_parameters_init | ( | FILE * | file, |
| int | indent, | ||
| const var_t * | func, | ||
| const char * | local_var_prefix | ||
| ) |
Definition at line 1008 of file typegen.c.
Referenced by gen_stub(), and write_function_stub().
Definition at line 5088 of file typegen.c.
Referenced by gen_proxy(), and write_function_stub().
| void write_procformatstring | ( | FILE * | file, |
| const statement_list_t * | stmts, | ||
| type_pred_t | pred | ||
| ) |
Definition at line 1770 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 1792 of file typegen.c.
Referenced by write_server_stmts().
| void write_remoting_arguments | ( | FILE * | file, |
| int | indent, | ||
| const var_t * | func, | ||
| const char * | local_var_prefix, | ||
| enum pass | pass, | ||
| enum remoting_phase | phase | ||
| ) |
Definition at line 4800 of file typegen.c.
Referenced by gen_proxy(), gen_stub(), and write_function_stub().
| void write_typeformatstring | ( | FILE * | file, |
| const statement_list_t * | stmts, | ||
| type_pred_t | pred | ||
| ) |
Definition at line 4003 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 5162 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().