Home
last modified time | relevance | path

Searched refs:repr (Results 1 – 25 of 61) 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()
74 if (result == repr::DiffStatus::no_diff) { in LookupUserDefinedType()
90 const repr::TypeIR *addend_node, const repr::ModuleIR &addend, in LookupType()
[all …]
Dheader_abi_linker.cpp41 using header_checker::repr::TextFormatIR;
141 bool LinkDecl(repr::ModuleIR *dst,
142 const repr::AbiElementMap<T> &src,
153 bool LinkTypes(const repr::ModuleIR &module, repr::ModuleIR *linked_module);
155 bool LinkFunctions(const repr::ModuleIR &module,
156 repr::ModuleIR *linked_module);
158 bool LinkGlobalVars(const repr::ModuleIR &module,
159 repr::ModuleIR *linked_module);
161 bool LinkExportedSymbols(repr::ModuleIR *linked_module);
163 bool LinkExportedSymbols(repr::ModuleIR *linked_module,
[all …]
/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.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::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,
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()
221 std::unique_ptr<repr::ModuleIR> module( in HandleTranslationUnit()
222 new repr::ModuleIR(nullptr /*FIXME*/)); in HandleTranslationUnit()
231 std::unique_ptr<repr::IRDumper> ir_dumper = in HandleTranslationUnit()
232 repr::IRDumper::CreateIRDumper(options_.text_format_, in HandleTranslationUnit()
Dheader_checker.h34 repr::TextFormatIR text_format_;
42 std::string root_dir, 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/
DAndroid.bp140 "src/repr/abi_diff_helpers.cpp",
141 "src/repr/ir_diff_dumper.cpp",
142 "src/repr/ir_dumper.cpp",
143 "src/repr/ir_reader.cpp",
144 "src/repr/ir_representation.cpp",
145 "src/repr/json/converter.cpp",
146 "src/repr/json/ir_dumper.cpp",
147 "src/repr/json/ir_reader.cpp",
148 "src/repr/protobuf/converter.cpp",
149 "src/repr/protobuf/ir_diff_dumper.cpp",
[all …]
/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) + ')')
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py234 return self.__internal_error(repr(ex))
244 log.debug('Error executing adb command: {}\n{}'.format(' '.join(command), repr(ex)))
245 raise AdbError('Error executing adb command: {}\n{}'.format(' '.join(command), repr(ex)))
263 log.debug('Error executing adb command: adb {}\n{}'.format(params, repr(ex)))
264 raise AdbError('Error executing adb command: adb {}\n{}'.format(params, repr(ex)))
344 raise AdbError('Error executing adb command: adb shell\n{}'.format(repr(ex)))
/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 {
/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 {

123