Home
last modified time | relevance | path

Searched refs:function_decl (Results 1 - 25 of 28) sorted by relevance

12

/third_party/libabigail/src/
H A Dabg-corpus-priv.h41 /// data is a vector of abigail::ir::function_decl*
42 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* f
[all...]
H A 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;
1151 /// "Less than" functor to compare instances of @ref function_decl.
1155 /// function_decl
[all...]
H A Dabg-hash.cc386 /// Compute a hash value for an instance of @ref function_decl.
390 /// function_decl, and just returns if it is already calculated.
396 function_decl::hash::operator()(const function_decl& t) const in operator ()()
429 /// Compute a hash for a pointer to @ref function_decl.
431 /// @param t the pointer to @ref function_decl to compute the hash for.
435 function_decl::hash::operator()(const function_decl* t) const in operator ()()
439 function_decl::parameter::hash::operator() in operator ()()
440 (const function_decl in operator ()()
[all...]
H A Dabg-ir.cc5130 const function_decl *f1 = is_function_decl(&l), in equals()
6153 /// Test whether a function_decl is a member function.
6155 /// @param f the function_decl to test.
6159 is_member_function(const function_decl& f) in is_member_function()
6162 /// Test whether a function_decl is a member function.
6164 /// @param f the function_decl to test.
6168 is_member_function(const function_decl* f) in is_member_function()
6171 /// Test whether a function_decl is a member function.
6173 /// @param f the function_decl to test.
6186 get_member_function_is_ctor(const function_decl
20084 function_decl::function_decl(const string& name, function_decl() function in abigail::ir::function_decl
20122 function_decl::function_decl(const string& name, function_decl() function in abigail::ir::function_decl
[all...]
H A Dabg-corpus.cc136 corpus::exported_decls_builder::maybe_add_fn_to_exported_fns(const function_decl* fn) in maybe_add_fn_to_exported_fns()
178 /// Convenience typedef for a hash map of pointer to function_decl and
180 typedef unordered_map<const function_decl*,
182 function_decl::hash,
183 function_decl::ptr_equal> fn_ptr_map_type;
186 /// function_decl.
187 typedef unordered_map<string, const function_decl*> str_fn_ptr_map_type;
196 /// function_decl.
199 /// The comparisong operator for pointers to @ref function_decl. It
211 operator()(const function_decl* firs
[all...]
H A 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*> in dump_function_names()
[all...]
H A 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()
H A 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()
H A Dabg-comparison.cc170 /// resulting sorted vector of pointers to function_decl.
177 vector<function_decl*>& sorted) in sort_string_function_ptr_map()
479 /// @ref vector<function_decl::parameter_sptr>
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()
6569 /// @return the first function_decl
[all...]
H A 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()
H A Dabg-fe-iface.cc308 fe_iface::maybe_add_fn_to_exported_decls(const function_decl* fn) in maybe_add_fn_to_exported_decls()
H A 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()
3313 /// Build a function_decl from a 'function-decl' xml node.
3317 /// @param node the xml node to build the function_decl fro
[all...]
H A 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()
3322 /// Serialize a pointer to a function_decl.
3324 /// @param decl the pointer to function_decl to serialize.
3374 vector<shared_ptr<function_decl::parameter> >::const_iterator pi = in write_function_decl()
3472 for (vector<function_decl in write_function_type()
[all...]
H A Dabg-dwarf-reader.cc113 /// and which value is the corresponding function_decl.
4388 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()
4457 // The function_decl now has an associated (public) ELF symbol so in fixup_functions_with_no_symbols()
12322 /// Once a function_decl has been built and added to a class as a
12324 /// function_decl concerning the properties of its relationship with
12328 /// @param die the DIE of the function_decl that has been just built.
12330 /// @param f the function_decl that has just been built from @p die.
12369 function_decl
[all...]
H A 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()
/third_party/libabigail/include/
H A Dabg-ir.h1735 get_member_function_is_virtual(const function_decl& f);
1738 set_member_function_is_virtual(function_decl&, bool);
2440 /// function_decl::subrange
2980 equals(const function_decl&, const function_decl&, change_kind*);
2983 class function_decl : public virtual decl_base class
2988 // function_decl shows up on performance profiles when dealing with
2997 /// Hasher for function_decl
3000 /// Equality functor to compare pointers to function_decl
3007 /// function_decl
[all...]
H A Dabg-fwd.h230 class function_decl;
232 /// Convenience typedef for a shared pointer on a @ref function_decl
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
[all...]
H A Dabg-corpus.h30 /// Convenience typedef for std::vector<abigail::ir::function_decl*>
31 typedef vector<function_decl*> functions;
214 const vector<function_decl*>*
330 maybe_add_fn_to_exported_fns(const function_decl*);
H A Dabg-comparison.h92 /// Convenience typedef for a shared pointer to a @ref function_decl type.
160 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
[all...]
H A Dabg-fe-iface.h141 maybe_add_fn_to_exported_decls(const function_decl* fn);
H A Dabg-suppression.h548 suppresses_function(const function_decl* fn,
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A 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/
H A 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/
H A Dabicompat.cc277 using abigail::ir::function_decl;
438 function_decl* decl;
445 fn_change(function_decl* decl, in fn_change()
H A Dabilint.cc405 if (abigail::ir::function_decl* f = is_function_decl(artifact)) in emit_artifact_use_trace()

Completed in 80 milliseconds

12