Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/link/
DReferenceLinker.h41 static const SymbolTable::Symbol* ResolveSymbol(const Reference& reference,
42 const CallSite& callsite, SymbolTable* symbols);
47 static const SymbolTable::Symbol* ResolveSymbolCheckVisibility(const Reference& reference,
49 SymbolTable* symbols,
54 static const SymbolTable::Symbol* ResolveAttributeCheckVisibility(const Reference& reference,
56 SymbolTable* symbols,
63 SymbolTable* symbols,
80 SymbolTable* symbols, const xml::IPackageDeclStack* decls);
DReferenceLinker.cpp51 ReferenceLinkerVisitor(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, in ReferenceLinkerVisitor()
83 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility( in Visit()
155 SymbolTable* symbols_;
178 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible()
204 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbol(const Reference& reference, in ResolveSymbol()
206 SymbolTable* symbols) { in ResolveSymbol()
221 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbolCheckVisibility(const Reference& reference, in ResolveSymbolCheckVisibility()
223 SymbolTable* symbols, in ResolveSymbolCheckVisibility()
225 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, callsite, symbols); in ResolveSymbolCheckVisibility()
238 const SymbolTable::Symbol* ReferenceLinker::ResolveAttributeCheckVisibility( in ResolveAttributeCheckVisibility()
[all …]
DXmlReferenceLinker.cpp43 ReferenceVisitor(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, in ReferenceVisitor()
62 SymbolTable* symbols_;
73 SymbolTable* symbols) in XmlVisitor()
146 SymbolTable* symbols_;
DReferenceLinker_test.cpp262 SymbolTable table(&mangler); in TEST()
269 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveSymbolCheckVisibility( in TEST()
277 SymbolTable table(&mangler); in TEST()
300 SymbolTable table(&mangler); in TEST()
306 const SymbolTable::Symbol* s = ReferenceLinker::ResolveSymbol(*test::BuildReference("string/foo"), in TEST()
/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.h33 class SymbolTable; variable
46 virtual SymbolTable* GetExternalSymbols() = 0;
/frameworks/base/tools/aapt2/test/
DContext.h42 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
94 SymbolTable symbols_;
140 std::unique_ptr<SymbolTable::Symbol> symbol =
141 util::make_unique<SymbolTable::Symbol>(id, std::move(attr), true);
150 std::unique_ptr<SymbolTable::Symbol> symbol =
151 util::make_unique<SymbolTable::Symbol>(id, std::move(attr), false);
167 std::unique_ptr<SymbolTable::Symbol> FindByName(const ResourceName& name) override { in FindByName()
175 std::unique_ptr<SymbolTable::Symbol> FindById(ResourceId id) override { in FindById()
183 std::list<std::unique_ptr<SymbolTable::Symbol>> symbols_;
184 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/
DLink.cpp123 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
151 SymbolTable symbols_;
173 virtual std::unique_ptr<SymbolTable::Symbol> FindByName( in FindByName()
176 std::unique_ptr<SymbolTable::Symbol> symbol = in FindByName()
338 SymbolTable* symm = context_->GetExternalSymbols(); in ResourceFileFlattener()
343 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::paddingHorizontal)) { in ResourceFileFlattener()
352 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::paddingVertical)) { in ResourceFileFlattener()
361 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::layout_marginHorizontal)) { in ResourceFileFlattener()
372 if (const SymbolTable::Symbol* s = symm->FindById(R::attr::layout_marginVertical)) { in ResourceFileFlattener()
883 std::unique_ptr<SymbolTable::Symbol> symbol = asset_source->FindByName( in LoadSymbolsFromIncludePaths()
DConvert.cpp215 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
253 SymbolTable symbols_;
DDiff.cpp56 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()
72 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/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h5978 namespace upb { class SymbolTable; }
5981 UPB_DECLARE_DERIVED_TYPE(upb::SymbolTable, upb::RefCounted,
5993 class upb::SymbolTable {
5997 static reffed_ptr<SymbolTable> New();
6076 UPB_DISALLOW_POD_OPS(SymbolTable, upb::SymbolTable)
6119 inline reffed_ptr<SymbolTable> SymbolTable::New() {
6121 return reffed_ptr<SymbolTable>(s, &s);
6124 inline void SymbolTable::Freeze() {
6127 inline const Def *SymbolTable::Resolve(const char *base,
6131 inline const Def* SymbolTable::Lookup(const char *sym) const {
[all …]
/frameworks/base/tools/aapt2/
DAndroid.bp123 "process/SymbolTable.cpp",
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp64 SymbolTable* GetExternalSymbols() override { in GetExternalSymbols()

12