Home
last modified time | relevance | path

Searched refs:repr (Results 1 – 25 of 58) sorted by relevance

123

/development/vndk/tools/header-checker/src/linker/
Dmodule_merger.h44 : module_(new repr::ModuleIR(exported_headers)) {} in ModuleMerger()
46 const repr::ModuleIR &GetModule() { in GetModule()
50 void MergeGraphs(const repr::ModuleIR &addend);
54 const repr::ModuleIR &addend, repr::CFunctionLikeIR *cfunction_like_ir,
55 repr::AbiElementMap<MergeStatus> *local_to_global_type_id_map);
58 const repr::FunctionTypeIR *addend_node, const repr::ModuleIR &addend,
59 repr::AbiElementMap<MergeStatus> *local_to_global_type_id_map);
62 MergeEnumType(const repr::EnumTypeIR *addend_node,
63 const repr::ModuleIR &addend,
64 repr::AbiElementMap<MergeStatus> *local_to_global_type_id_map);
[all …]
Dmodule_merger.cpp29 const repr::BuiltinTypeIR *builtin_type, const repr::ModuleIR &addend, in MergeBuiltinType()
30 repr::AbiElementMap<MergeStatus> *local_to_global_type_id_map) { in MergeBuiltinType()
49 const repr::TypeIR *ud_type, const repr::ModuleIR &addend, in LookupUserDefinedType()
51 repr::AbiElementMap<MergeStatus> *local_to_global_type_id_map_) { in LookupUserDefinedType()
64 repr::DiffPolicyOptions diff_policy_options(false); in LookupUserDefinedType()
65 repr::AbiDiffHelper diff_helper(module_->type_graph_, addend.type_graph_, in LookupUserDefinedType()
71 const repr::TypeIR *contender_ud = definition.type_ir_; in LookupUserDefinedType()
72 repr::DiffStatus result = diff_helper.CompareAndDumpTypeDiff( in LookupUserDefinedType()
90 const repr::TypeIR *addend_node, const repr::ModuleIR &addend, in LookupType()
91 repr::AbiElementMap<MergeStatus> *local_to_global_type_id_map) { in LookupType()
[all …]
Dheader_abi_linker.cpp40 using header_checker::repr::ModeTagPolicy;
41 using header_checker::repr::TextFormatIR;
156 repr::VersionScriptParser &version_script_parser, in HeaderAbiLinker()
170 bool LinkDecl(repr::ModuleIR *dst,
171 const repr::AbiElementMap<T> &src,
182 bool LinkTypes(const repr::ModuleIR &module, repr::ModuleIR *linked_module);
184 bool LinkFunctions(const repr::ModuleIR &module,
185 repr::ModuleIR *linked_module);
187 bool LinkGlobalVars(const repr::ModuleIR &module,
188 repr::ModuleIR *linked_module);
[all …]
/development/vndk/tools/header-checker/src/diff/
Dabi_diff.h29 using repr::AbiElementMap;
30 using repr::DiffPolicyOptions;
42 bool check_all_apis, repr::TextFormatIR text_format_old, in HeaderAbiDiff()
43 repr::TextFormatIR text_format_new, in HeaderAbiDiff()
44 repr::TextFormatIR text_format_diff) in HeaderAbiDiff()
55 repr::CompatibilityStatusIR GenerateCompatibilityReport();
58 repr::CompatibilityStatusIR CompareTUs(
59 const repr::ModuleIR &old_tu,
60 const repr::ModuleIR &new_tu,
61 repr::IRDiffDumper *ir_diff_dumper);
[all …]
Dabi_diff.cpp33 repr::CompatibilityStatusIR HeaderAbiDiff::GenerateCompatibilityReport() { in GenerateCompatibilityReport()
34 std::unique_ptr<repr::IRReader> old_reader = in GenerateCompatibilityReport()
35 repr::IRReader::CreateIRReader(text_format_old_); in GenerateCompatibilityReport()
41 std::unique_ptr<repr::IRReader> new_reader = in GenerateCompatibilityReport()
42 repr::IRReader::CreateIRReader(text_format_new_); in GenerateCompatibilityReport()
48 std::unique_ptr<repr::IRDiffDumper> ir_diff_dumper = in GenerateCompatibilityReport()
49 repr::IRDiffDumper::CreateIRDiffDumper(text_format_diff_, cr_); in GenerateCompatibilityReport()
50 repr::CompatibilityStatusIR status = in GenerateCompatibilityReport()
60 repr::CompatibilityStatusIR HeaderAbiDiff::CompareTUs( in CompareTUs()
61 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CompareTUs()
[all …]
Dabi_diff_wrappers.cpp26 using repr::AbiElementMap;
27 using repr::DiffStatus;
28 using repr::TypeStackGuard;
31 bool DiffWrapper<repr::RecordTypeIR>::DumpDiff( in DumpDiff()
32 repr::DiffMessageIR::DiffKind diff_kind) { in DumpDiff()
42 bool DiffWrapper<repr::EnumTypeIR>::DumpDiff( in DumpDiff()
43 repr::DiffMessageIR::DiffKind diff_kind) { in DumpDiff()
53 bool DiffWrapper<repr::GlobalVarIR>::DumpDiff( in DumpDiff()
54 repr::DiffMessageIR::DiffKind diff_kind) { in DumpDiff()
60 repr::GlobalVarIR old_global_var = *oldp_; in DumpDiff()
[all …]
Dabi_diff_wrappers.h26 using repr::AbiDiffHelper;
27 using repr::AbiElementMap;
28 using repr::DiffStatus;
42 repr::IRDiffDumper *ir_diff_dumper, in DiffWrapper()
43 const AbiElementMap<const repr::TypeIR *> &old_types, in DiffWrapper()
44 const AbiElementMap<const repr::TypeIR *> &new_types, in DiffWrapper()
45 const repr::DiffPolicyOptions &diff_policy_options, in DiffWrapper()
52 bool DumpDiff(repr::IRDiffDumper::DiffKind diff_kind);
/development/vndk/tools/header-checker/src/dumper/
Dabi_wrappers.h33 std::unique_ptr<repr::TypeIR> typep_;
35 TypeAndCreationStatus(std::unique_ptr<repr::TypeIR> &&typep,
46 repr::ModuleIR *module,
65 repr::TemplatedArtifactIR *ta,
70 bool SetupFunctionParameter(repr::CFunctionLikeIR *functionp,
84 repr::TypeIR *typep,
88 repr::TypeIR *typep);
102 repr::ModuleIR *module_;
112 const clang::RecordDecl *record_decl, repr::ModuleIR *module,
121 bool SetupRecordInfo(repr::RecordTypeIR *type,
[all …]
Dabi_wrappers.cpp38 static repr::AccessSpecifierIR AccessClangToIR( in AccessClangToIR()
42 return repr::AccessSpecifierIR::PrivateAccess; in AccessClangToIR()
45 return repr::AccessSpecifierIR::ProtectedAccess; in AccessClangToIR()
48 return repr::AccessSpecifierIR::PublicAccess; in AccessClangToIR()
62 repr::ModuleIR *module, in ABIWrapper()
110 repr::TemplatedArtifactIR *ta, in SetupTemplateArguments()
112 repr::TemplateInfoIR template_info; in SetupTemplateArguments()
121 repr::TemplateElementIR(GetTypeUniqueId(type))); in SetupTemplateArguments()
132 repr::CFunctionLikeIR *functionp, const clang::QualType qual_type, in SetupFunctionParameter()
138 functionp->AddParameter(repr::ParamIR( in SetupFunctionParameter()
[all …]
Dast_processing.cpp50 const clang::Decl *tu_decl, repr::ModuleIR *module, in HeaderASTVisitor()
85 static bool MutateFunctionWithLinkageName(const repr::FunctionIR *function, in MutateFunctionWithLinkageName()
86 repr::ModuleIR *module, in MutateFunctionWithLinkageName()
88 auto added_function = std::make_unique<repr::FunctionIR>(); in MutateFunctionWithLinkageName()
94 static bool AddMangledFunctions(const repr::FunctionIR *function, in AddMangledFunctions()
95 repr:: ModuleIR *module, in AddMangledFunctions()
224 std::unique_ptr<repr::ModuleIR> module( in HandleTranslationUnit()
225 new repr::ModuleIR(nullptr /*FIXME*/)); in HandleTranslationUnit()
234 std::unique_ptr<repr::IRDumper> ir_dumper = in HandleTranslationUnit()
235 repr::IRDumper::CreateIRDumper(options_.text_format_, in HandleTranslationUnit()
Dheader_checker.h35 repr::TextFormatIR text_format_;
43 repr::TextFormatIR text_format, bool dump_exported_only, in HeaderCheckerOptions()
Dast_processing.h43 repr::ModuleIR *module,
68 repr::ModuleIR *module_;
/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_parser.py77 self.assertEqual(repr(parser.var_defs[0][1]), repr('example'))
86 self.assertEqual(repr(parser.var_defs[0][1]), repr([]))
95 self.assertEqual(repr(parser.var_defs[0][1]), repr(['x']))
104 self.assertEqual(repr(parser.var_defs[0][1]), repr(['x']))
113 self.assertEqual(repr(parser.var_defs[0][1]), repr(['x', 'y']))
122 self.assertEqual(repr(parser.var_defs[0][1]), repr(['x', 'y']))
131 self.assertEqual(repr(parser.var_defs[0][1]), repr({}))
140 self.assertEqual(repr(parser.var_defs[0][1]), '{x: \'1\'}')
149 self.assertEqual(repr(parser.var_defs[0][1]), '{x: \'1\'}')
158 self.assertEqual(repr(parser.var_defs[0][1]), '{x: \'1\', y: \'2\'}')
[all …]
Dtest_ast.py90 self.assertEqual('False', repr(Bool(False)))
91 self.assertEqual('True', repr(Bool(True)))
149 self.assertEqual('0', repr(Integer(0)))
150 self.assertEqual('1', repr(Integer(1)))
/development/vndk/tools/header-checker/
DAndroid.bp141 "src/repr/abi_diff_helpers.cpp",
142 "src/repr/ir_diff_dumper.cpp",
143 "src/repr/ir_dumper.cpp",
144 "src/repr/ir_reader.cpp",
145 "src/repr/ir_representation.cpp",
146 "src/repr/json/converter.cpp",
147 "src/repr/json/ir_dumper.cpp",
148 "src/repr/json/ir_reader.cpp",
149 "src/repr/protobuf/converter.cpp",
150 "src/repr/protobuf/ir_diff_dumper.cpp",
[all …]
/development/vndk/tools/header-checker/src/repr/
Dir_diff_dumper.cpp27 namespace repr { namespace
Dir_reader.cpp30 namespace repr { namespace
Dir_dumper.h24 namespace repr {
Dir_reader.h26 namespace repr {
Dir_diff_dumper.h24 namespace repr {
/development/vndk/tools/header-checker/src/repr/symbol/
Dso_file_parser.h26 namespace repr {
/development/vndk/tools/header-checker/src/repr/json/
Dapi.h24 namespace repr {
/development/vndk/tools/header-checker/src/repr/protobuf/
Dapi.h24 namespace repr {
Dir_dumper.h25 namespace repr {
/development/vndk/tools/sourcedr/blueprint/
Danalyze_manifest_split.py111 'system_only=' + repr(self.system_only) + ', '
112 'vendor_only=' + repr(self.vendor_only) + ', '
113 'both=' + repr(self.both) + ')')

123