Home
last modified time | relevance | path

Searched refs:SymbolTable (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp43 SymbolTable::SymbolTable(NameMangler* mangler) in SymbolTable() function in aapt::SymbolTable
50 void SymbolTable::SetDelegate(std::unique_ptr<ISymbolTableDelegate> delegate) { in SetDelegate()
58 void SymbolTable::AppendSource(std::unique_ptr<ISymbolSource> source) { in AppendSource()
65 void SymbolTable::PrependSource(std::unique_ptr<ISymbolSource> source) { in PrependSource()
73 const SymbolTable::Symbol* SymbolTable::FindByName(const ResourceName& name) { in FindByName()
122 const SymbolTable::Symbol* SymbolTable::FindById(const ResourceId& id) { in FindById()
143 const SymbolTable::Symbol* SymbolTable::FindByReference(const Reference& ref) { in FindByReference()
151 const SymbolTable::Symbol* symbol = nullptr; in FindByReference()
162 std::unique_ptr<SymbolTable::Symbol> DefaultSymbolTableDelegate::FindByName( in FindByName()
165 std::unique_ptr<SymbolTable::Symbol> symbol = source->FindByName(name); in FindByName()
[all …]
DSymbolTable.h54 class SymbolTable {
75 explicit SymbolTable(NameMangler* mangler);
113 DISALLOW_COPY_AND_ASSIGN(SymbolTable);
124 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
127 virtual std::unique_ptr<SymbolTable::Symbol> FindById(
139 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
142 virtual std::unique_ptr<SymbolTable::Symbol> FindById(
155 virtual std::unique_ptr<SymbolTable::Symbol> FindByName(
157 virtual std::unique_ptr<SymbolTable::Symbol> FindById(ResourceId id) = 0;
160 virtual std::unique_ptr<SymbolTable::Symbol> FindByReference( in FindByReference()
[all …]
DSymbolTable_test.cpp44 std::unique_ptr<SymbolTable::Symbol> s = in TEST()
58 std::unique_ptr<SymbolTable::Symbol> s = in TEST()
72 SymbolTable symbol_table(&mangler); in TEST()
126 SymbolTable symbol_table(&name_mangler); in TEST_F()
DIResourceTableConsumer.h34 class SymbolTable; variable
47 virtual SymbolTable* GetExternalSymbols() = 0;
/frameworks/base/tools/aapt2/link/
DReferenceLinker.h34 ReferenceLinkerTransformer(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, in ReferenceLinkerTransformer()
60 SymbolTable* symbols_;
76 static const SymbolTable::Symbol* ResolveSymbol(const Reference& reference,
79 SymbolTable* symbols);
84 static const SymbolTable::Symbol* ResolveSymbolCheckVisibility(const Reference& reference,
87 SymbolTable* symbols,
92 static const SymbolTable::Symbol* ResolveAttributeCheckVisibility(const Reference& reference,
95 SymbolTable* symbols,
103 SymbolTable* symbols,
127 IAaptContext* context, SymbolTable* symbols,
DReferenceLinker.cpp115 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility( in TransformDerived()
227 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible()
253 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbol(const Reference& reference, in ResolveSymbol()
256 SymbolTable* symbols) { in ResolveSymbol()
261 const SymbolTable::Symbol* symbol = symbols->FindByName( in ResolveSymbol()
291 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbolCheckVisibility(const Reference& reference, in ResolveSymbolCheckVisibility()
294 SymbolTable* symbols, in ResolveSymbolCheckVisibility()
296 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, callsite, context, symbols); in ResolveSymbolCheckVisibility()
309 const SymbolTable::Symbol* ReferenceLinker::ResolveAttributeCheckVisibility( in ResolveAttributeCheckVisibility()
311 SymbolTable* symbols, std::string* out_error) { in ResolveAttributeCheckVisibility()
[all …]
DReferenceLinker_test.cpp256 SymbolTable table(&mangler); in TEST()
268 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveSymbolCheckVisibility( in TEST()
276 SymbolTable table(&mangler); in TEST()
305 SymbolTable table(&mangler); in TEST()
316 const SymbolTable::Symbol* s = ReferenceLinker::ResolveSymbol(*test::BuildReference("string/foo"), in TEST()
334 SymbolTable table(&mangler); in TEST()
347 const SymbolTable::Symbol* s = ReferenceLinker::ResolveSymbol(*test::BuildReference("string/bar"), in TEST()
DXmlReferenceLinker.cpp42 IAaptContext* context, ResourceTable* table, SymbolTable* symbols) in XmlVisitor()
124 SymbolTable* symbols_;
/frameworks/base/tools/aapt2/test/
DContext.h42 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
102 SymbolTable symbols_;
154 std::unique_ptr<SymbolTable::Symbol> symbol =
155 util::make_unique<SymbolTable::Symbol>(id, std::move(attr), true);
164 std::unique_ptr<SymbolTable::Symbol> symbol =
165 util::make_unique<SymbolTable::Symbol>(id, std::move(attr), false);
181 std::unique_ptr<SymbolTable::Symbol> FindByName(const ResourceName& name) override { in FindByName()
189 std::unique_ptr<SymbolTable::Symbol> FindById(ResourceId id) override { in FindById()
197 std::list<std::unique_ptr<SymbolTable::Symbol>> symbols_;
198 std::map<ResourceName, SymbolTable::Symbol*> name_map_;
[all …]
/frameworks/compile/mclinker/include/mcld/
DModule.h51 typedef SymbolCategory SymbolTable; typedef
52 typedef SymbolTable::iterator sym_iterator;
53 typedef SymbolTable::const_iterator const_sym_iterator;
128 const SymbolTable& getSymbolTable() const { return m_SymbolTable; } in getSymbolTable()
129 SymbolTable& getSymbolTable() { return m_SymbolTable; } in getSymbolTable()
171 SymbolTable m_SymbolTable;
/frameworks/compile/mclinker/include/mcld/LD/
DLDContext.h38 typedef std::vector<LDSymbol*> SymbolTable; typedef
39 typedef SymbolTable::iterator sym_iterator;
40 typedef SymbolTable::const_iterator const_sym_iterator;
86 SymbolTable m_SymTab;
DSectionSymbolSet.h28 typedef SymbolCategory SymbolTable; typedef
40 bool finalize(LDSection& pOutSect, SymbolTable& pSymTab, bool relocatable);
/frameworks/compile/mclinker/unittests/
DSymbolTableTest.cpp18 m_pTestee = new SymbolTable<>(m_StrTable); in SymbolTableTest()
37 mcld::SymbolTable<>::iterator it; in TEST_F()
DSymbolTableTest.h16 class SymbolTable; variable
41 mcld::SymbolTable<>* m_pTestee;
/frameworks/compile/mclinker/lib/LD/
DSectionSymbolSet.cpp62 SymbolTable& pSymTab, in finalize()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h86 bool SkipSymbol(const Maybe<SymbolTable::Symbol>& symbol);
DJavaClassGenerator.cpp207 bool JavaClassGenerator::SkipSymbol(const Maybe<SymbolTable::Symbol>& symbol) { in SkipSymbol()
215 Maybe<SymbolTable::Symbol> symbol;
277 const SymbolTable::Symbol* symbol = context_->GetExternalSymbols()->FindByReference(ref); in ProcessStyleable()
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp215 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
259 SymbolTable symbols_;
DLink.cpp141 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
177 SymbolTable symbols_;
200 virtual std::unique_ptr<SymbolTable::Symbol> FindByName( in FindByName()
203 std::unique_ptr<SymbolTable::Symbol> symbol = in FindByName()
383 SymbolTable* symm = context_->GetExternalSymbols(); in ResourceFileFlattener()
388 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::paddingHorizontal)) { in ResourceFileFlattener()
397 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::paddingVertical)) { in ResourceFileFlattener()
406 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::layout_marginHorizontal)) { in ResourceFileFlattener()
417 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::layout_marginVertical)) { in ResourceFileFlattener()
899 std::unique_ptr<SymbolTable::Symbol> symbol = asset_source->FindByName( in LoadSymbolsFromIncludePaths()
DDiff.cpp56 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
78 SymbolTable symbol_table_;
DDump.cpp104 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
/frameworks/compile/mclinker/include/mcld/Target/
DGNULDBackend.h129 virtual void emitELFHashTab(const Module::SymbolTable& pSymtab,
133 virtual void emitGNUHashTab(Module::SymbolTable& pSymtab,
/frameworks/base/tools/aapt2/
DAndroid.bp134 "process/SymbolTable.cpp",
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp64 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp731 Module::SymbolTable& symbols = pModule.getSymbolTable(); in sizeNamePools()
959 const Module::SymbolTable& symbols = pModule.getSymbolTable(); in emitRegNamePools()
1025 Module::SymbolTable& symbols = pModule.getSymbolTable(); in emitDynNamePools()
1099 void GNULDBackend::emitELFHashTab(const Module::SymbolTable& pSymtab, in emitELFHashTab()
1137 void GNULDBackend::emitGNUHashTab(Module::SymbolTable& pSymtab, in emitGNUHashTab()
1293 Module::SymbolTable& symbols = pModule.getSymbolTable(); in orderSymbolTable()

12