ReactOS 0.4.16-dev-303-g11d5cb8
|
#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 4676 of file typegen.c.
Referenced by gen_stub(), and write_function_stub().
Definition at line 948 of file typegen.c.
Referenced by declare_stub_args(), gen_proxy(), print_phase_function(), write_function_stub(), and write_var_init().
Definition at line 4615 of file typegen.c.
Referenced by gen_stub(), and write_function_stub().
Definition at line 204 of file typegen.c.
Referenced by get_parameter_fc(), get_required_buffer_size_type(), print_phase_basetype(), type_buffer_alignment(), type_memsize_and_alignment(), write_branch_type(), write_conf_or_var_desc(), write_range_tfs(), write_simple_pointer(), write_string_tfs(), write_union_tfs(), and write_user_tfs().
Definition at line 258 of file typegen.c.
Referenced by cant_be_null(), get_array_fc(), get_parameter_fc(), get_pointer_fc_context(), get_required_buffer_size_type(), get_struct_fc(), type_has_full_pointer(), write_contexthandle_tfs(), write_remoting_arg(), write_type_tfs(), and write_user_tfs().
Definition at line 4110 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 4602 of file typegen.c.
Referenced by write_formatstringsdecl().
Definition at line 4584 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 4609 of file typegen.c.
Referenced by write_formatstringsdecl().
Definition at line 478 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 2075 of file typegen.c.
Referenced by gen_proxy(), gen_stub(), write_function_stub(), and write_proc_func_header().
Definition at line 1240 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 879 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 3986 of file typegen.c.
Referenced by write_remoting_arg().
Definition at line 1975 of file typegen.c.
Referenced by assign_stub_out_args(), get_array_fc(), get_parameter_fc(), get_stack_size(), 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_header(), write_string_tfs(), write_struct_tfs(), write_user_tfs(), and write_varying_array_pointer_descriptions().
Definition at line 1866 of file typegen.c.
Referenced by add_typedef_typeinfo(), add_var_desc(), field_memsize(), fields_memsize(), get_padding(), 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 329 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(), 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 4974 of file typegen.c.
Referenced by gen_proxy(), and write_function_stub().
Definition at line 4940 of file typegen.c.
Referenced by write_clientinterfacedecl(), and write_serverinterfacedecl().
Definition at line 5033 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 4896 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 4857 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 929 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 2095 of file typegen.c.
Referenced by gen_proxy(), gen_stub(), and write_function_stub().
Definition at line 2088 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 4789 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 4129 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 903 of file typegen.c.
Referenced by gen_stub(), and write_function_stub().
Definition at line 4845 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 1513 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 1535 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 4559 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 3761 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().
Definition at line 4918 of file typegen.c.
Referenced by write_client_routines(), write_proxy_routines(), and write_server_routines().