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.h41 static const SymbolTable::Symbol* ResolveSymbol(const Reference& reference,
44 SymbolTable* symbols);
49 static const SymbolTable::Symbol* ResolveSymbolCheckVisibility(const Reference& reference,
52 SymbolTable* symbols,
57 static const SymbolTable::Symbol* ResolveAttributeCheckVisibility(const Reference& reference,
60 SymbolTable* symbols,
68 SymbolTable* symbols,
85 SymbolTable* symbols, const xml::IPackageDeclStack* decls);
DReferenceLinker.cpp53 ReferenceLinkerVisitor(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, in ReferenceLinkerVisitor()
85 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility( in Visit()
157 SymbolTable* symbols_;
180 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible()
206 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbol(const Reference& reference, in ResolveSymbol()
209 SymbolTable* symbols) { in ResolveSymbol()
214 const SymbolTable::Symbol* symbol = symbols->FindByName( in ResolveSymbol()
246 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbolCheckVisibility(const Reference& reference, in ResolveSymbolCheckVisibility()
249 SymbolTable* symbols, in ResolveSymbolCheckVisibility()
251 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, callsite, context, symbols); in ResolveSymbolCheckVisibility()
[all …]
DXmlReferenceLinker.cpp43 ReferenceVisitor(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, in ReferenceVisitor()
62 SymbolTable* symbols_;
73 SymbolTable* symbols) in XmlVisitor()
155 SymbolTable* symbols_;
DReferenceLinker_test.cpp262 SymbolTable table(&mangler); in TEST()
274 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveSymbolCheckVisibility( in TEST()
282 SymbolTable table(&mangler); in TEST()
311 SymbolTable table(&mangler); in TEST()
322 const SymbolTable::Symbol* s = ReferenceLinker::ResolveSymbol(*test::BuildReference("string/foo"), in TEST()
340 SymbolTable table(&mangler); in TEST()
353 const SymbolTable::Symbol* s = ReferenceLinker::ResolveSymbol(*test::BuildReference("string/bar"), in TEST()
/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;
271 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.cpp123 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
159 SymbolTable symbols_;
182 virtual std::unique_ptr<SymbolTable::Symbol> FindByName( in FindByName()
185 std::unique_ptr<SymbolTable::Symbol> symbol = in FindByName()
365 SymbolTable* symm = context_->GetExternalSymbols(); in ResourceFileFlattener()
370 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::paddingHorizontal)) { in ResourceFileFlattener()
379 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::paddingVertical)) { in ResourceFileFlattener()
388 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::layout_marginHorizontal)) { in ResourceFileFlattener()
399 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::layout_marginVertical)) { in ResourceFileFlattener()
891 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.bp124 "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