Home
last modified time | relevance | path

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

123

/development/vndk/tools/header-checker/src/diff/
Dabi_diff.h29 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 …]
Dabi_diff.cpp32 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 …]
Dabi_diff_wrappers.cpp26 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 …]
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()
51 bool DumpDiff(repr::IRDiffDumper::DiffKind diff_kind);
Dheader_abi_diff.cpp30 using header_checker::repr::CompatibilityStatusIR;
31 using header_checker::repr::DiffPolicyOptions;
32 using header_checker::repr::TextFormatIR;
/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,
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 …]
Dabi_wrappers.cpp38 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 …]
Dast_processing.cpp37 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()
Dheader_checker.h33 repr::TextFormatIR text_format_;
40 repr::TextFormatIR text_format, 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/src/linker/
Dheader_abi_linker.cpp38 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/
DAndroid.bp152 "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/
Dir_diff_dumper.cpp27 namespace repr { namespace
Dir_dumper.h24 namespace repr {
Dir_diff_dumper.h24 namespace repr {
/development/vndk/tools/header-checker/src/repr/symbol/
Dso_file_parser.h26 namespace repr {
Dexported_symbol_set.cpp26 namespace repr { namespace
Dexported_symbol_set.h27 namespace repr {
/development/vndk/tools/header-checker/src/repr/json/
Dapi.h24 namespace repr {
Dconverter.cpp19 namespace repr { namespace
/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