Home
last modified time | relevance | path

Searched refs:var_t (Results 1 – 16 of 16) sorted by relevance

/reactos/sdk/tools/widl/
H A Dtypegen.h70 enum pass pass, const var_t *var, const char *varname);
75 unsigned int get_size_procformatstring_func(const type_t *iface, const var_t *func);
78 void assign_stub_out_args( FILE *file, int indent, const var_t *func, const char *local_var_prefix …
79 void declare_stub_args( FILE *file, int indent, const var_t *func );
82 void write_pointer_checks( FILE *file, int indent, const var_t *func );
87 void write_client_call_routine( FILE *file, const type_t *iface, const var_t *func,
92 int is_interpreted_func(const type_t *iface, const var_t *func);
93 void write_parameters_init(FILE *file, int indent, const var_t *func, const char *local_var_prefix);
96 int is_full_pointer_function(const var_t *func);
97 void write_full_pointer_init(FILE *file, int indent, const var_t *func, int is_server);
[all …]
H A Dheader.h26 extern int is_ptrchain_attr(const var_t *var, enum attr_type t);
31 extern const char* get_name(const var_t *v);
49 extern const var_t *is_callas(const attr_list_t *list);
51 extern const type_t* get_explicit_generic_handle_type(const var_t* var);
52 extern const var_t *get_func_handle_var( const type_t *iface, const var_t *func,
54 extern int has_out_arg_or_return(const var_t *func);
55 extern int is_const_decl(const var_t *var);
H A Dtypegen.c400 const var_t *f; in get_padding()
483 var_t *field; in get_struct_fc()
1117 const var_t *var; in get_func_oi2_flags()
1243 const var_t *var; in is_interpreted_func()
1294 var_t *var; in write_proc_func_header()
1827 const var_t *v; in fields_memsize()
1850 const var_t *v; in union_memsize()
2427 var_t *f; in write_descriptors()
3148 var_t *f; in write_struct_tfs()
3313 var_t *f; in write_union_tfs()
[all …]
H A Dheader.c181 const char *get_name(const var_t *v) in get_name()
202 var_t *v; in write_fields()
262 var_t *v; in write_enums()
642 const var_t *v; in check_for_additional_prototype_types()
867 const var_t *get_func_handle_var( const type_t *iface, const var_t *func, in get_func_handle_var()
870 const var_t *var; in get_func_handle_var()
910 const var_t *var; in has_out_arg_or_return()
1035 const var_t *arg; in write_method_macro()
1060 const var_t *arg; in write_args()
1124 const var_t *arg; in write_cpp_method_def()
[all …]
H A Dproxy.c107 const var_t *arg; in clear_output_vars()
186 const var_t *arg; in proxy_free_variables()
328 const var_t *arg; in gen_stub()
474 const var_t *func = stmt->u.var; in count_methods()
507 const var_t *func = stmt->u.var; in write_proxy_procformatstring_offsets()
539 const var_t *func = stmt->u.var; in write_proxy_methods()
566 const var_t *func = stmt->u.var; in write_stub_methods()
599 var_t *func = stmt->u.var; in write_thunk_methods()
621 var_t *func = stmt->u.var; in write_proxy()
827 const var_t *func = stmt->u.var; in need_inline_stubs()
[all …]
H A Dparser.y92 static var_t *reg_const(var_t *var);
149 var_t *var;
1560 var_t *v = decl->var; in declare_var()
1811 var_t *v = xmalloc(sizeof(var_t)); in make_var()
1823 var_t *v = xmalloc(sizeof(var_t)); in copy_var()
2042 var_t *name; in reg_typedefs()
2134 var_t *var;
2140 static var_t *reg_const(var_t *var) in reg_const()
2725 const var_t *field; in check_remoting_fields()
2753 const var_t *arg; in check_remoting_args()
[all …]
H A Dtypetree.h46 type_t *type_new_encapsulated_union(char *name, var_t *switch_field, var_t *union_field, var_list_t…
101 static inline var_t *type_function_get_retval(const type_t *type) in type_function_get_retval()
120 static inline var_t *type_union_get_switch_value(const type_t *type) in type_union_get_switch_value()
124 return LIST_ENTRY(list_head(type->details.structure->fields), var_t, entry); in type_union_get_switch_value()
144 … const var_t *uv = LIST_ENTRY(list_tail(type->details.structure->fields), const var_t, entry); in type_union_get_cases()
H A Dwidltypes.h42 typedef struct _var_t var_t; typedef
467 var_t *var;
539 var_t *var;
571 var_t *find_const(const char *name, int f);
578 var_t *make_var(char *name);
579 var_list_t *append_var(var_list_t *list, var_t *var);
H A Dtypetree.c68 static const var_t *find_arg(const var_list_t *args, const char *name) in find_arg()
70 const var_t *arg; in find_arg()
72 if (args) LIST_FOR_EACH_ENTRY(arg, args, const var_t, entry) in find_arg()
133 var_t *arg; in type_new_function()
139 arg = LIST_ENTRY(list_head(args), var_t, entry); in type_new_function()
148 if (args) LIST_FOR_EACH_ENTRY(arg, args, var_t, entry) in type_new_function()
353 type_t *type_new_encapsulated_union(char *name, var_t *switch_field, var_t *union_field, var_list_t… in type_new_encapsulated_union()
431 var_t *func = stmt->u.var; in compute_method_indexes()
H A Dclient.c53 static void write_client_func_decl( const type_t *iface, const var_t *func ) in write_client_func_decl()
72 static void write_function_stub( const type_t *iface, const var_t *func, in write_function_stub()
77 var_t *retval = type_function_get_retval(func->type); in write_function_stub()
78 const var_t *handle_var = get_func_handle_var( iface, func, &explicit_fc, &implicit_fc ); in write_function_stub()
355 const var_t *implicit_handle = get_attrp(iface->attrs, ATTR_IMPLICIT_HANDLE); in write_function_stubs()
367 const var_t *func = stmt->u.var; in write_function_stubs()
398 const var_t *implicit_handle = get_attrp(iface->attrs, ATTR_IMPLICIT_HANDLE); in write_stubdescriptor()
487 const var_t *implicit_handle = get_attrp(iface->attrs, ATTR_IMPLICIT_HANDLE); in write_implicithandledecl()
H A Dserver.c52 static void write_function_stub(const type_t *iface, const var_t *func, unsigned int proc_offset) in write_function_stub()
54 const var_t *var; in write_function_stub()
57 const var_t *handle_var = get_func_handle_var( iface, func, &explicit_fc, &implicit_fc ); in write_function_stub()
167 LIST_FOR_EACH_ENTRY( var, type_get_function_args(func->type), const var_t, entry ) in write_function_stub()
247 var_t *func = stmt->u.var; in write_function_stubs()
270 var_t *func = stmt->u.var; in write_dispatchtable()
300 var_t *func = stmt->u.var; in write_routinetable()
H A Dexpr.h24 const var_t *v;
32 extern expr_t *make_exprt(enum expr_type type, var_t *var, expr_t *expr);
H A Dwrite_msft.c1045 var_t *var, /* [I] The var to encode. */ in encode_var()
1285 var_t *arg; in add_func_desc()
1987 var_t *func; in add_dispinterface_typeinfo()
1988 var_t *var; in add_dispinterface_typeinfo()
2030 var_t *func = stmt_func->u.var; in add_dispinterface_typeinfo()
2117 var_t *func = stmt_func->u.var; in add_interface_typeinfo()
2125 var_t *func = stmt_func->u.var; in add_interface_typeinfo()
2134 var_t *cur; in add_structure_typeinfo()
2152 var_t *cur; in add_enum_typeinfo()
2170 var_t *cur; in add_union_typeinfo()
[all …]
H A Dwrite_sltg.c985 var_t *var; in add_structure_typeinfo()
992 LIST_FOR_EACH_ENTRY(var, type_struct_get_fields(type), var_t, entry) in add_structure_typeinfo()
1035 var_t *var; in add_structure_typeinfo()
1037 LIST_FOR_EACH_ENTRY(var, type_struct_get_fields(type), var_t, entry) in add_structure_typeinfo()
1105 static int get_func_flags(const var_t *func, int *dispid, int *invokekind, int *helpcontext, const … in get_func_flags()
1186 static int get_param_flags(const var_t *param) in get_param_flags()
1232 static int add_func_desc(struct sltg_typelib *typelib, struct sltg_data *data, var_t *func, in add_func_desc()
1239 const var_t *arg; in add_func_desc()
1272 LIST_FOR_EACH_ENTRY(arg, type_get_function_args(func->type), const var_t, entry) in add_func_desc()
1359 LIST_FOR_EACH_ENTRY(arg, type_get_function_args(func->type), const var_t, entry) in add_func_desc()
H A Dexpr.c165 var_t *c = find_const(val, 0); in make_exprs()
192 expr_t *make_exprt(enum expr_type type, var_t *var, expr_t *expr) in make_exprt()
437 const var_t *field; in find_identifier()
474 if (fields) LIST_FOR_EACH_ENTRY( field, fields, const var_t, entry ) in find_identifier()
484 var_t *const_var = find_const(identifier, 0); in find_identifier()
H A Dwidl_ros.diff34 const var_t *arg;