/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.h | 56 struct Symbol { struct 57 Symbol() = default; 59 explicit Symbol(const std::optional<ResourceId>& i, const std::shared_ptr<Attribute>& attr = {}, 64 Symbol(const Symbol&) = default; argument 65 Symbol(Symbol&&) = default; 66 Symbol& operator=(const Symbol&) = default; argument 67 Symbol& operator=(Symbol&&) = default; argument 91 const Symbol* FindByName(const ResourceName& name); argument 95 const Symbol* FindById(const ResourceId& id); 101 const Symbol* FindByReference(const Reference& ref); [all …]
|
D | SymbolTable.cpp | 73 const SymbolTable::Symbol* SymbolTable::FindByName(const ResourceName& name) { in FindByName() 86 if (const std::shared_ptr<Symbol>& s = cache_.get(*name_with_package)) { in FindByName() 99 std::unique_ptr<Symbol> symbol = delegate_->FindByName(*mangled_name, sources_); in FindByName() 106 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindByName() 122 const SymbolTable::Symbol* SymbolTable::FindById(const ResourceId& id) { in FindById() 123 if (const std::shared_ptr<Symbol>& s = id_cache_.get(id)) { in FindById() 128 std::unique_ptr<Symbol> symbol = delegate_->FindById(id, sources_); in FindById() 135 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindById() 143 const SymbolTable::Symbol* SymbolTable::FindByReference(const Reference& ref) { in FindByReference() 151 const SymbolTable::Symbol* symbol = nullptr; in FindByReference() [all …]
|
D | SymbolTable_test.cpp | 44 std::unique_ptr<SymbolTable::Symbol> s = in TEST() 58 std::unique_ptr<SymbolTable::Symbol> s = in TEST()
|
/frameworks/base/tools/aapt/ |
D | Symbol.h | 29 struct Symbol { struct 30 inline Symbol(); 31 …inline Symbol(const android::String16& p, const android::String16& t, const android::String16& n, … 33 inline bool operator<(const Symbol& rhs) const; 47 inline SymbolDefinition(const Symbol& s, const ConfigDescription& c, const SourcePos& src); argument 50 Symbol symbol; 59 Symbol::Symbol() { in Symbol() function 62 Symbol::Symbol(const android::String16& p, const android::String16& t, const android::String16& n, … in Symbol() function 69 android::String8 Symbol::toString() const { in toString() 77 bool Symbol::operator<(const Symbol& rhs) const { [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Context.h | 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_; 199 std::map<ResourceId, SymbolTable::Symbol*> id_map_; 202 std::unique_ptr<SymbolTable::Symbol> CloneSymbol(SymbolTable::Symbol* sym) { in CloneSymbol() [all …]
|
/frameworks/base/errorprone/java/com/google/errorprone/matchers/android/ |
D | FieldMatchers.java | 24 import com.sun.tools.javac.code.Symbol; 25 import com.sun.tools.javac.code.Symbol.ClassSymbol; 45 boolean fieldSymbolIsAppropriate(Symbol symbol) { in anyFieldInClass() 60 boolean fieldSymbolIsAppropriate(Symbol symbol) { 76 boolean fieldSymbolIsAppropriate(Symbol symbol) { 92 private boolean isSymbolFieldInAppropriateClass(@Nullable Symbol symbol) { 101 abstract boolean fieldSymbolIsAppropriate(Symbol symbol);
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | Archive.h | 93 struct Symbol { struct 97 Symbol(const char* pName, uint32_t pOffset, enum Status pStatus) in Symbol() function 100 ~Symbol() {} in ~Symbol() argument 108 typedef std::vector<Symbol*> SymTabType; argument 187 enum Symbol::Status pStatus = Archive::Symbol::Unknown); 196 enum Symbol::Status getSymbolStatus(size_t pSymIdx) const; 199 void setSymbolStatus(size_t pSymIdx, enum Symbol::Status pStatus); 223 typedef GCFactory<Symbol, 0> SymbolFactory;
|
D | ELFReader.h | 41 typedef llvm::ELF::Elf32_Sym Symbol; typedef 126 typedef llvm::ELF::Elf64_Sym Symbol; typedef
|
D | GNUArchiveReader.h | 72 enum Archive::Symbol::Status shouldIncludeSymbol(
|
/frameworks/base/tools/processors/immutability/src/android/processor/immutability/ |
D | ImmutabilityProcessor.kt | 21 import com.sun.tools.javac.code.Symbol in <lambda>() 108 classType = it as Symbol.TypeSymbol, in <lambda>() 122 classType: Symbol.TypeSymbol, in <lambda>() 178 .map { it as Symbol.ClassSymbol } in <lambda>() 195 .map { it as Symbol.MethodSymbol } in <lambda>() 227 (classType as? Symbol.ClassSymbol)?.run { in <lambda>() 250 method: Symbol.MethodSymbol, in <lambda>() 322 symbol: Symbol, in <lambda>() 357 processingEnv.typeUtils.asElement(type) as Symbol.TypeSymbol, in <lambda>() 402 private fun isIgnored(symbol: Symbol) = when { in <lambda>()
|
/frameworks/compile/mclinker/lib/LD/ |
D | GNUArchiveReader.cpp | 114 if (Archive::Symbol::Unknown != pArchive.getSymbolStatus(idx)) in readArchive() 119 pArchive.setSymbolStatus(idx, Archive::Symbol::Include); in readArchive() 124 Archive::Symbol::Status status = in readArchive() 126 if (Archive::Symbol::Unknown != status) in readArchive() 129 if (Archive::Symbol::Include == status) { in readArchive() 330 enum Archive::Symbol::Status GNUArchiveReader::shouldIncludeSymbol( in shouldIncludeSymbol() 336 return Archive::Symbol::Exclude; in shouldIncludeSymbol() 338 return Archive::Symbol::Unknown; in shouldIncludeSymbol() 339 return Archive::Symbol::Include; in shouldIncludeSymbol() 341 return Archive::Symbol::Unknown; in shouldIncludeSymbol()
|
D | Archive.cpp | 171 enum Archive::Symbol::Status pStatus) { in addSymbol() 172 Symbol* entry = m_SymbolFactory.allocate(); in addSymbol() 173 new (entry) Symbol(pName, pFileOffset, pStatus); in addSymbol() 190 enum Archive::Symbol::Status Archive::getSymbolStatus(size_t pSymIdx) const { in getSymbolStatus() 197 enum Archive::Symbol::Status pStatus) { in setSymbolStatus()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFDynamic.h | 53 typedef llvm::ELF::Elf32_Sym Symbol; typedef 66 size_t symbolSize() const { return sizeof(Symbol); } in symbolSize() 84 typedef llvm::ELF::Elf64_Sym Symbol; typedef 97 size_t symbolSize() const { return sizeof(Symbol); } in symbolSize()
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 114 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility( in TransformDerived() 226 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible() 252 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbol(const Reference& reference, in ResolveSymbol() 260 const SymbolTable::Symbol* symbol = symbols->FindByName( in ResolveSymbol() 290 const SymbolTable::Symbol* ReferenceLinker::ResolveSymbolCheckVisibility(const Reference& reference, in ResolveSymbolCheckVisibility() 295 const SymbolTable::Symbol* symbol = ResolveSymbol(reference, callsite, context, symbols); in ResolveSymbolCheckVisibility() 308 const SymbolTable::Symbol* ReferenceLinker::ResolveAttributeCheckVisibility( in ResolveAttributeCheckVisibility() 311 const SymbolTable::Symbol* symbol = in ResolveAttributeCheckVisibility() 329 const SymbolTable::Symbol* symbol = in CompileXmlAttribute() 438 const SymbolTable::Symbol* s = in LinkReference()
|
D | ReferenceLinker.h | 76 static const SymbolTable::Symbol* ResolveSymbol(const Reference& reference, 84 static const SymbolTable::Symbol* ResolveSymbolCheckVisibility(const Reference& reference, 92 static const SymbolTable::Symbol* ResolveAttributeCheckVisibility(const Reference& reference,
|
D | ReferenceLinker_test.cpp | 268 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveSymbolCheckVisibility( in TEST() 316 const SymbolTable::Symbol* s = ReferenceLinker::ResolveSymbol(*test::BuildReference("string/foo"), in TEST() 347 const SymbolTable::Symbol* s = ReferenceLinker::ResolveSymbol(*test::BuildReference("string/bar"), in TEST()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 496 std::ostream& operator<<(std::ostream& out, const Attribute::Symbol& s) { in operator <<() 524 std::vector<const Symbol*> sorted_a; in Equals() 526 add_pointer<const Symbol>); in Equals() 527 std::sort(sorted_a.begin(), sorted_a.end(), [](const Symbol* a, const Symbol* b) -> bool { in Equals() 531 std::vector<const Symbol*> sorted_b; in Equals() 533 add_pointer<const Symbol>); in Equals() 534 std::sort(sorted_b.begin(), sorted_b.end(), [](const Symbol* a, const Symbol* b) -> bool { in Equals() 539 [](const Symbol* a, const Symbol* b) -> bool { in Equals() 751 for (const Symbol& s : symbols) { in Matches() 768 for (const Symbol& s : symbols) { in Matches() [all …]
|
D | ResourceValues_test.cpp | 239 attr2.symbols.push_back(Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), in TEST() 249 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), 0x01u}); in TEST() 251 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/bar")), 0x02u}); in TEST() 253 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/baz")), 0x04u}); in TEST() 255 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/bat")), 0x80u}); in TEST() 268 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), 0x01u}); in TEST()
|
D | ResourcesInternal.proto | 29 message Symbol { message 51 repeated Symbol exported_symbol = 5;
|
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
D | BluetoothPermissionChecker.java | 50 import com.sun.tools.javac.code.Symbol; 51 import com.sun.tools.javac.code.Symbol.MethodSymbol; 177 private static boolean isCallbackOrWrapper(Symbol symbol) { in isCallbackOrWrapper() 185 public boolean isSuppressed(Symbol symbol) { in isSuppressed()
|
D | RequiresPermissionChecker.java | 54 import com.sun.tools.javac.code.Symbol; 55 import com.sun.tools.javac.code.Symbol.ClassSymbol; 56 import com.sun.tools.javac.code.Symbol.MethodSymbol; 57 import com.sun.tools.javac.code.Symbol.VarSymbol; 468 public boolean isSuppressed(Symbol symbol) { in isSuppressed()
|
/frameworks/base/apct-tests/perftests/rubidium/assets/ |
D | turtledove_generate_bid.js | 10 p("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Arra… 11 …{a={next:a};a[Symbol.iterator]=function(){return this};return a},r=function(a){var b="undefined"!=… 20 h.call(l,m[1],m[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,l){var … 21 …++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function… 25 …Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.m.forEach(fu… 31 …ty values");};v(!0);var Fa={};var z="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol(… 33 …Symbol("exempted jspb subclass"),Ma=Symbol("generated by jspb"),Na=Object.freeze(B([])),Oa=functio… 39 …Symbol.hasInstance]=Qa(ib),jb));v(hb[Symbol.hasInstance]===ib,"broken defineProperties implementat… 42 …bject.defineProperties(Q,(ob[Symbol.hasInstance]=Qa(Object[Symbol.hasInstance]),ob));v(Q[Symbol.ha…
|
D | turtledove_parametrized_generateBid.js | 9 q("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Arra… 10 …{a={next:a};a[Symbol.iterator]=function(){return this};return a},r=function(a){var b="undefined"!=… 19 h.call(k,m[1],m[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,k){var … 20 …++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function… 24 …Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.m.forEach(fu… 30 …ty values");};v(!0);var Ea={};var z="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol(… 32 …Symbol("exempted jspb subclass"),La=Symbol("generated by jspb"),Ma=Object.freeze(B([])),Na=functio… 39 …Symbol.hasInstance]=Pa(gb),hb));v(fb[Symbol.hasInstance]===gb,"broken defineProperties implementat… 42 …bject.defineProperties(S,(lb[Symbol.hasInstance]=Pa(Object[Symbol.hasInstance]),lb));v(S[Symbol.ha…
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 177 for (const Attribute::Symbol& symbol : attr->symbols) { in AddAttributeFormatDoc() 207 bool JavaClassGenerator::SkipSymbol(const std::optional<SymbolTable::Symbol>& symbol) { in SkipSymbol() 215 std::optional<SymbolTable::Symbol> symbol; 276 const SymbolTable::Symbol* symbol = context_->GetExternalSymbols()->FindByReference(ref); in ProcessStyleable()
|
D | JavaClassGenerator.h | 86 bool SkipSymbol(const std::optional<SymbolTable::Symbol>& symbol);
|