/development/vndk/tools/header-checker/src/diff/ |
D | abi_diff.h | 29 using repr::AbiElementMap; 30 using repr::DiffPolicyOptions; 41 bool check_all_apis, repr::TextFormatIR text_format_old, in HeaderAbiDiff() 42 repr::TextFormatIR text_format_new, in HeaderAbiDiff() 43 repr::TextFormatIR text_format_diff) in HeaderAbiDiff() 53 repr::CompatibilityStatusIR GenerateCompatibilityReport(); 56 repr::CompatibilityStatusIR CompareTUs( 57 const repr::ModuleIR &old_tu, 58 const repr::ModuleIR &new_tu, 59 repr::IRDiffDumper *ir_diff_dumper); [all …]
|
D | abi_diff.cpp | 32 repr::CompatibilityStatusIR HeaderAbiDiff::GenerateCompatibilityReport() { in GenerateCompatibilityReport() 33 std::unique_ptr<repr::IRReader> old_reader = in GenerateCompatibilityReport() 34 repr::IRReader::CreateIRReader(text_format_old_); in GenerateCompatibilityReport() 35 std::unique_ptr<repr::IRReader> new_reader = in GenerateCompatibilityReport() 36 repr::IRReader::CreateIRReader(text_format_new_); in GenerateCompatibilityReport() 42 std::unique_ptr<repr::IRDiffDumper> ir_diff_dumper = in GenerateCompatibilityReport() 43 repr::IRDiffDumper::CreateIRDiffDumper(text_format_diff_, cr_); in GenerateCompatibilityReport() 44 repr::CompatibilityStatusIR status = in GenerateCompatibilityReport() 54 repr::CompatibilityStatusIR HeaderAbiDiff::CompareTUs( in CompareTUs() 55 const repr::ModuleIR &old_tu, const repr::ModuleIR &new_tu, in CompareTUs() [all …]
|
D | abi_diff_wrappers.cpp | 26 using repr::AbiElementMap; 27 using repr::DiffStatus; 28 using repr::Unwind; 32 bool DiffWrapper<repr::RecordTypeIR>::DumpDiff( in DumpDiff() 33 repr::DiffMessageIR::DiffKind diff_kind) { in DumpDiff() 48 bool DiffWrapper<repr::EnumTypeIR>::DumpDiff( in DumpDiff() 49 repr::DiffMessageIR::DiffKind diff_kind) { in DumpDiff() 64 bool DiffWrapper<repr::GlobalVarIR>::DumpDiff( in DumpDiff() 65 repr::DiffMessageIR::DiffKind diff_kind) { in DumpDiff() 74 repr::GlobalVarIR old_global_var = *oldp_; in DumpDiff() [all …]
|
D | abi_diff_wrappers.h | 26 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() 51 bool DumpDiff(repr::IRDiffDumper::DiffKind diff_kind);
|
D | header_abi_diff.cpp | 30 using header_checker::repr::CompatibilityStatusIR; 31 using header_checker::repr::DiffPolicyOptions; 32 using header_checker::repr::TextFormatIR;
|
/development/vndk/tools/header-checker/src/dumper/ |
D | abi_wrappers.h | 33 std::unique_ptr<repr::TypeIR> typep_; 35 TypeAndCreationStatus(std::unique_ptr<repr::TypeIR> &&typep, 46 repr::ModuleIR *module, 64 repr::TemplatedArtifactIR *ta, 67 bool SetupFunctionParameter(repr::CFunctionLikeIR *functionp, 81 repr::TypeIR *typep, 85 repr::TypeIR *typep); 100 repr::ModuleIR *module_; 110 const clang::RecordDecl *record_decl, repr::ModuleIR *module, 119 bool SetupRecordInfo(repr::RecordTypeIR *type, [all …]
|
D | abi_wrappers.cpp | 38 repr::ModuleIR *module, in ABIWrapper() 159 static repr::AccessSpecifierIR AccessClangToIR( in AccessClangToIR() 163 return repr::AccessSpecifierIR::PrivateAccess; in AccessClangToIR() 167 return repr::AccessSpecifierIR::ProtectedAccess; in AccessClangToIR() 171 return repr::AccessSpecifierIR::PublicAccess; in AccessClangToIR() 204 repr::TypeIR *typep) { in CreateExtendedType() 230 std::unique_ptr<repr::TypeIR> typep = std::move(type_and_status.typep_); in CreateBasicNamedAndTypedDecl() 273 clang::QualType canonical_type, repr::TypeIR *typep, in CreateBasicNamedAndTypedDecl() 319 std::make_unique<repr::QualifiedTypeIR>(); in SetTypeKind() 328 auto pointer_type_ir = std::make_unique<repr::PointerTypeIR>(); in SetTypeKind() [all …]
|
D | ast_processing.cpp | 37 const clang::Decl *tu_decl, repr::ModuleIR *module, in HeaderASTVisitor() 73 static bool MutateFunctionWithLinkageName(const repr::FunctionIR *function, in MutateFunctionWithLinkageName() 74 repr::ModuleIR *module, in MutateFunctionWithLinkageName() 76 auto added_function = std::make_unique<repr::FunctionIR>(); in MutateFunctionWithLinkageName() 82 static bool AddMangledFunctions(const repr::FunctionIR *function, in AddMangledFunctions() 83 repr:: ModuleIR *module, in AddMangledFunctions() 210 std::unique_ptr<repr::ModuleIR> module( in HandleTranslationUnit() 211 new repr::ModuleIR(nullptr /*FIXME*/)); in HandleTranslationUnit() 220 std::unique_ptr<repr::IRDumper> ir_dumper = in HandleTranslationUnit() 221 repr::IRDumper::CreateIRDumper(options_.text_format_, in HandleTranslationUnit()
|
D | header_checker.h | 33 repr::TextFormatIR text_format_; 40 repr::TextFormatIR text_format, in HeaderCheckerOptions()
|
D | ast_processing.h | 43 repr::ModuleIR *module, 68 repr::ModuleIR *module_;
|
/development/vndk/tools/sourcedr/blueprint/tests/ |
D | test_parser.py | 77 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 …]
|
D | test_ast.py | 90 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/src/linker/ |
D | header_abi_linker.cpp | 38 using header_checker::repr::TextFormatIR; 126 bool LinkDecl(repr::ModuleIR *dst, 127 const repr::AbiElementMap<T> &src, 130 std::unique_ptr<repr::IRReader> ReadInputDumpFiles(); 138 bool LinkTypes(repr::ModuleIR &module, repr::ModuleIR *linked_module); 140 bool LinkFunctions(repr::ModuleIR &module, repr::ModuleIR *linked_module); 142 bool LinkGlobalVars(repr::ModuleIR &module, repr::ModuleIR *linked_module); 144 bool LinkExportedSymbols(repr::ModuleIR *linked_module); 146 bool LinkExportedSymbols(repr::ModuleIR *linked_module, 147 const repr::ExportedSymbolSet &exported_symbols); [all …]
|
/development/vndk/tools/header-checker/ |
D | Android.bp | 152 "src/repr/abi_diff_helpers.cpp", 153 "src/repr/ir_diff_dumper.cpp", 154 "src/repr/ir_dumper.cpp", 155 "src/repr/ir_reader.cpp", 156 "src/repr/ir_representation.cpp", 157 "src/repr/json/converter.cpp", 158 "src/repr/json/ir_dumper.cpp", 159 "src/repr/json/ir_reader.cpp", 160 "src/repr/protobuf/converter.cpp", 161 "src/repr/protobuf/ir_diff_dumper.cpp", [all …]
|
/development/vndk/tools/header-checker/src/repr/ |
D | ir_diff_dumper.cpp | 27 namespace repr { namespace
|
D | ir_dumper.h | 24 namespace repr {
|
D | ir_diff_dumper.h | 24 namespace repr {
|
/development/vndk/tools/header-checker/src/repr/symbol/ |
D | so_file_parser.h | 26 namespace repr {
|
D | exported_symbol_set.cpp | 26 namespace repr { namespace
|
D | exported_symbol_set.h | 27 namespace repr {
|
/development/vndk/tools/header-checker/src/repr/json/ |
D | api.h | 24 namespace repr {
|
D | converter.cpp | 19 namespace repr { namespace
|
/development/vndk/tools/header-checker/src/repr/protobuf/ |
D | api.h | 24 namespace repr {
|
D | ir_dumper.h | 25 namespace repr {
|
/development/vndk/tools/sourcedr/blueprint/ |
D | analyze_manifest_split.py | 111 'system_only=' + repr(self.system_only) + ', ' 112 'vendor_only=' + repr(self.vendor_only) + ', ' 113 'both=' + repr(self.both) + ')')
|