Home
last modified time | relevance | path

Searched refs:function_decl (Results 1 – 25 of 30) sorted by relevance

12

/third_party/libabigail/src/
Dabg-corpus-priv.h42 typedef unordered_map<string, vector<function_decl*> > str_fn_ptrs_map_type;
249 get_id(const function_decl& fn) in get_id()
270 vector<function_decl*>*
289 vector<function_decl*>*
290 fn_id_is_in_id_fns_map(const function_decl* fn) in fn_id_is_in_id_fns_map()
305 fn_is_in_fns(const function_decl* fn, const vector<function_decl*>& fns) in fn_is_in_fns()
311 for (vector<function_decl*>::const_iterator i = fns.begin(); in fn_is_in_fns()
327 fn_is_in_id_fns_map(const function_decl* fn) in fn_is_in_id_fns_map()
329 vector<function_decl*>* fns = fn_id_is_in_id_fns_map(fn); in fn_is_in_id_fns_map()
340 add_fn_to_id_fns_map(function_decl* fn) in add_fn_to_id_fns_map()
[all …]
Dabg-comparison-priv.h867 vector<function_decl::parameter_sptr> sorted_deleted_parms_;
869 vector<function_decl::parameter_sptr> sorted_added_parms_;
928 operator()(const function_decl::parameter& l, in operator()
929 const function_decl::parameter& r) in operator()
942 operator()(const function_decl::parameter_sptr& l, in operator()
943 const function_decl::parameter_sptr& r) in operator()
1089 deleted_function_is_suppressed(const function_decl* fn) const;
1092 added_function_is_suppressed(const function_decl* fn) const;
1164 operator()(const function_decl& f, const function_decl& s) in operator()
1177 operator()(const function_decl* f, const function_decl* s) in operator()
[all …]
Dabg-hash.cc396 function_decl::hash::operator()(const function_decl& t) const in operator ()()
435 function_decl::hash::operator()(const function_decl* t) const in operator ()()
439 function_decl::parameter::hash::operator() in operator ()()
440 (const function_decl::parameter& p) const in operator ()()
452 function_decl::parameter::hash::operator() in operator ()()
453 (const function_decl::parameter* p) const in operator ()()
457 function_decl::parameter::hash::operator() in operator ()()
458 (const function_decl::parameter_sptr p) const in operator ()()
469 function_decl::parameter::hash hash_parameter; in operator ()()
475 vector<shared_ptr<function_decl::parameter> >::const_iterator i = in operator ()()
[all …]
Dabg-ir.cc5130 const function_decl *f1 = is_function_decl(&l), in equals()
6159 is_member_function(const function_decl& f) in is_member_function()
6168 is_member_function(const function_decl* f) in is_member_function()
6186 get_member_function_is_ctor(const function_decl& f) in get_member_function_is_ctor()
6216 set_member_function_is_ctor(function_decl& f, bool c) in set_member_function_is_ctor()
6245 get_member_function_is_dtor(const function_decl& f) in get_member_function_is_dtor()
6273 set_member_function_is_dtor(function_decl& f, bool d) in set_member_function_is_dtor()
6301 get_member_function_is_const(const function_decl& f) in get_member_function_is_const()
6329 set_member_function_is_const(function_decl& f, bool is_const) in set_member_function_is_const()
6358 member_function_has_vtable_offset(const function_decl& f) in member_function_has_vtable_offset()
[all …]
Dabg-corpus.cc136 corpus::exported_decls_builder::maybe_add_fn_to_exported_fns(const function_decl* fn) in maybe_add_fn_to_exported_fns()
180 typedef unordered_map<const function_decl*,
182 function_decl::hash,
183 function_decl::ptr_equal> fn_ptr_map_type;
187 typedef unordered_map<string, const function_decl*> str_fn_ptr_map_type;
211 operator()(const function_decl* first, in operator ()()
212 const function_decl* second) const in operator ()()
1281 const vector<function_decl*>*
1483 vector<function_decl*> fns_to_keep; in maybe_drop_some_exported_decls()
1485 for (vector<function_decl*>::iterator f = priv_->fns.begin(); in maybe_drop_some_exported_decls()
[all …]
Dabg-tools-utils.cc2884 using abigail::ir::function_decl;
2901 dump_functions_as_string(std::vector<function_decl*>::const_iterator a_begin, in dump_functions_as_string()
2902 std::vector<function_decl*>::const_iterator a_end, in dump_functions_as_string()
2903 std::vector<function_decl*>::const_iterator b_begin, in dump_functions_as_string()
2904 std::vector<function_decl*>::const_iterator b_end) in dump_functions_as_string()
2918 dump_function_names(std::vector<function_decl*>::const_iterator a_begin, in dump_function_names()
2919 std::vector<function_decl*>::const_iterator a_end, in dump_function_names()
2920 std::vector<function_decl*>::const_iterator b_begin, in dump_function_names()
2921 std::vector<function_decl*>::const_iterator b_end) in dump_function_names()
2923 std::vector<function_decl*>::const_iterator i; in dump_function_names()
[all …]
Dabg-ctf-reader.cc487 func_declaration.reset(new function_decl(func_name, in process_ctf_archive()
895 function_decl::parameters function_parms; in process_ctf_function_type()
903 function_decl::parameter_sptr parm in process_ctf_function_type()
904 (new function_decl::parameter(arg_type, "", in process_ctf_function_type()
916 function_decl::parameter_sptr parm in process_ctf_function_type()
917 (new function_decl::parameter(arg_type, "", in process_ctf_function_type()
Dabg-comparison.cc177 vector<function_decl*>& sorted) in sort_string_function_ptr_map()
482 vector<function_decl::parameter_sptr>& sorted) in sort_string_parm_map()
3105 ((d = try_to_diff<function_decl>(first, second, ctxt)) in compute_diff_for_decls()
5287 compute_diff(static_pointer_cast<function_decl>(j->second), in ensure_lookup_tables_populated()
5288 static_pointer_cast<function_decl>(mem_fn), in ensure_lookup_tables_populated()
6554 fn_parm_diff::fn_parm_diff(const function_decl::parameter_sptr first, in fn_parm_diff()
6555 const function_decl::parameter_sptr second, in fn_parm_diff()
6571 const function_decl::parameter_sptr
6573 {return dynamic_pointer_cast<function_decl::parameter>(first_subject());} in first_parameter()
6579 const function_decl::parameter_sptr
[all …]
Dabg-leaf-reporter.cc265 function_decl::parameter_sptr f = d.first_parameter(); in report()
1029 vector<function_decl*>sorted_deleted_fns; in report()
1031 for (vector<function_decl*>::const_iterator i = in report()
1075 vector<function_decl*> sorted_added_fns; in report()
1077 for (vector<function_decl*>::const_iterator i = sorted_added_fns.begin(); in report()
Dabg-default-reporter.cc506 function_decl::parameter_sptr f = d.first_parameter(), in report()
586 for (vector<function_decl::parameter_sptr>::const_iterator i = in report_local_function_type_changes()
597 for (vector<function_decl::parameter_sptr>::const_iterator i = in report_local_function_type_changes()
1732 vector<function_decl*>sorted_deleted_fns; in report()
1734 for (vector<function_decl*>::const_iterator i = in report()
1778 vector<function_decl*> sorted_added_fns; in report()
1780 for (vector<function_decl*>::const_iterator i = sorted_added_fns.begin(); in report()
Dabg-reader.cc674 record_artifacts_as_used_in_fn_decl(const function_decl *fn) in record_artifacts_as_used_in_fn_decl()
680 record_artifact_as_used_by(t.get(), const_cast<function_decl*>(fn)); in record_artifacts_as_used_in_fn_decl()
685 record_artifact_as_used_by(t.get(), const_cast<function_decl*>(fn)); in record_artifacts_as_used_in_fn_decl()
1317 static function_decl::parameter_sptr
3265 static shared_ptr<function_decl::parameter>
3268 shared_ptr<function_decl::parameter> nil; in build_function_parameter()
3306 function_decl::parameter_sptr p in build_function_parameter()
3307 (new function_decl::parameter(type, name, loc, in build_function_parameter()
3369 std::vector<function_decl::parameter_sptr> parms; in build_function_decl()
3378 if (function_decl::parameter_sptr p = in build_function_decl()
[all …]
Dabg-fe-iface.cc308 fe_iface::maybe_add_fn_to_exported_decls(const function_decl* fn) in maybe_add_fn_to_exported_decls()
Dabg-writer.cc1112 vector<shared_ptr<function_decl::parameter> >::const_iterator pi = in annotate()
1164 vector<function_decl::parameter_sptr>::const_iterator pi = in annotate()
1190 annotate(const function_decl::parameter_sptr& parm, in annotate()
1342 shared_ptr<function_decl> fun = in write_binding()
1343 dynamic_pointer_cast<function_decl>(decl); in write_binding()
1944 || write_function_decl(dynamic_pointer_cast<function_decl>(decl), in write_decl()
3374 vector<shared_ptr<function_decl::parameter> >::const_iterator pi = in write_function_decl()
3472 for (vector<function_decl::parameter_sptr>::const_iterator pi = in write_function_type()
Dabg-comp-filter.cc1387 function_decl::parameter_sptr first_parm = parm_diff->first_parameter(); in has_fn_parm_type_top_cv_qual_change()
1388 function_decl::parameter_sptr second_parm = parm_diff->second_parameter(); in has_fn_parm_type_top_cv_qual_change()
Dabg-dwarf-reader.cc4388 const vector<function_decl*> *fns = corp->lookup_functions(id); in symbol_already_belongs_to_a_function()
4392 for (vector<function_decl*>::const_iterator i = fns->begin(); in symbol_already_belongs_to_a_function()
4396 function_decl* f = *i; in symbol_already_belongs_to_a_function()
12369 function_decl::parameter_sptr first_parm; in finish_member_function_reading()
13314 function_decl_sptr f = dynamic_pointer_cast<function_decl>(r); in add_or_update_union_type()
13861 function_decl::parameters function_parms; in build_function_type()
13887 function_decl::parameter_sptr p in build_function_type()
13888 (new function_decl::parameter(parm_type, name, loc, in build_function_type()
13900 function_decl::parameter_sptr p in build_function_type()
13901 (new function_decl::parameter(parm_type, in build_function_type()
[all …]
/third_party/libabigail/include/
Dabg-ir.h1735 get_member_function_is_virtual(const function_decl& f);
1738 set_member_function_is_virtual(function_decl&, bool);
2980 equals(const function_decl&, const function_decl&, change_kind*);
2983 class function_decl : public virtual decl_base
3013 function_decl(const string& name,
3021 function_decl(const string& name,
3095 virtual ~function_decl();
3105 function_decls_alias(const function_decl& f1, const function_decl& f2);
3108 equals(const function_decl::parameter&,
3109 const function_decl::parameter&,
[all …]
Dabg-fwd.h230 class function_decl; variable
233 typedef shared_ptr<function_decl> function_decl_sptr;
236 function_decl*,
370 function_decl*
754 is_member_function(const function_decl&);
757 is_member_function(const function_decl*);
763 get_member_function_is_ctor(const function_decl&);
769 set_member_function_is_ctor(const function_decl&, bool);
775 get_member_function_is_dtor(const function_decl&);
781 set_member_function_is_dtor(function_decl&, bool);
[all …]
Dabg-comparison.h160 function_decl::parameter_sptr> unsigned_parm_map;
194 typedef unordered_map<string, function_decl::parameter_sptr> string_parm_map;
214 typedef unordered_map<string, function_decl*> string_function_ptr_map;
1966 fn_parm_diff(const function_decl::parameter_sptr first,
1967 const function_decl::parameter_sptr second,
1972 compute_diff(const function_decl::parameter_sptr first,
1973 const function_decl::parameter_sptr second,
1976 const function_decl::parameter_sptr
1979 const function_decl::parameter_sptr
2002 compute_diff(const function_decl::parameter_sptr first,
[all …]
Dabg-corpus.h31 typedef vector<function_decl*> functions;
214 const vector<function_decl*>*
330 maybe_add_fn_to_exported_fns(const function_decl*);
Dabg-fe-iface.h141 maybe_add_fn_to_exported_decls(const function_decl* fn);
Dabg-suppression.h548 suppresses_function(const function_decl* fn,
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_function_decl_test.cc29 auto f = p->function_decl(decos.value); in TEST_F()
57 auto f = p->function_decl(decos.value); in TEST_F()
96 auto f = p->function_decl(decos.value); in TEST_F()
140 auto f = p->function_decl(decorations.value); in TEST_F()
181 auto f = p->function_decl(decos.value); in TEST_F()
212 auto f = p->function_decl(decos.value); in TEST_F()
226 auto f = p->function_decl(decos.value); in TEST_F()
240 auto f = p->function_decl(decos.value); in TEST_F()
/third_party/libabigail/tests/
Dtest-ir-walker.cc120 visit_begin(abigail::function_decl* f) in visit_begin()
129 visit_end(abigail::function_decl*) in visit_end()
/third_party/libabigail/tools/
Dabicompat.cc277 using abigail::ir::function_decl;
438 function_decl* decl;
445 fn_change(function_decl* decl, in fn_change()
/third_party/libabigail/
DChangeLog867 union_decl_sptr, scope_decl_sptr, function_decl::parameter_sptr,
972 (function_decl::get_pretty_representation_of_declarator)
973 (function_decl::set_symbol): Likewise.
974 (function_decl::get_id, function_decl::parameter::get_type)
975 (function_decl::parameter::get_type_name)
976 (function_decl::parameter::get_type_pretty_representation)
977 (function_decl::parameter::get_name_id)
1274 (function_decl::get_pretty_representation_of_declarator): A
2156 (function_decl::get_pretty_representation_of_declarator): Strip
2158 (equals): In the overload for function_decl::parameter, strip
[all …]

12