/frameworks/compile/mclinker/lib/MC/ |
H A D | Attribute.cpp | 9 #include "mcld/MC/Attribute.h" 19 bool AttrConstraint::isLegal(const Attribute& pAttr) const { 52 const Attribute& pBase, 96 const Attribute*& pBase, 97 Attribute*& pCopy) { 98 Attribute* result = pParent.exists(*pCopy); 109 Attribute* copy = new Attribute(*m_pBase); 115 Attribute* copy = new Attribute(*m_pBas [all...] |
H A D | AttributeSet.cpp | 11 #include "mcld/MC/Attribute.h" 20 AttributeSet::AttributeSet(unsigned int pNum, const Attribute& pPredefined) 35 Attribute* AttributeSet::exists(const Attribute& pAttr) const { 37 return const_cast<Attribute*>(&m_Predefined); 50 void AttributeSet::record(mcld::Attribute& pAttr) {
|
H A D | Android.mk | 4 Attribute.cpp \
|
H A D | Input.cpp | 11 #include "mcld/MC/Attribute.h" 35 m_pAttr(const_cast<Attribute*>(pProxy.attr())), 66 m_pAttr(const_cast<Attribute*>(pProxy.attr())), 75 // Attribute is deleted by AttributeFactory
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | AttributeOption.h | 11 #include "mcld/MC/Attribute.h" 20 const Attribute& predefined() const { return m_Predefined; } 21 Attribute& predefined() { return m_Predefined; } 27 Attribute m_Predefined;
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | AttributeSet.h | 17 class Attribute; 20 * \brief AttributeSet is a set of Attribute. 27 typedef std::vector<Attribute*> AttrSet; 34 AttributeSet(unsigned int pNum, const Attribute& pPredefined); 46 Attribute* exists(const Attribute& pAttr) const; 49 void record(Attribute& pAttr); 53 const Attribute& m_Predefined;
|
H A D | Attribute.h | 1 //===- Attribute.h --------------------------------------------------------===// 70 /** \class Attribute 75 * onto AttributeBase, and modifiers remains with the class Attribute. 77 class Attribute : public AttributeBase { class in namespace:mcld 131 bool isLegal(const Attribute& pAttr) const; 152 const Attribute& pBase, 168 const Attribute* attr() const { return m_pBase; } 180 AttributeProxy& assign(Attribute* pBase); 184 const Attribute* m_pBase; 189 inline bool operator==(const Attribute [all...] |
H A D | Input.h | 21 class Attribute; 79 const Attribute* attribute() const { return m_pAttr; } 113 Attribute* m_pAttr;
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlPullParser.h | 125 // of struct Attribute). 128 struct Attribute { struct in class:aapt::xml::XmlPullParser 133 int compare(const Attribute& rhs) const; 134 bool operator<(const Attribute& rhs) const; 135 bool operator==(const Attribute& rhs) const; 136 bool operator!=(const Attribute& rhs) const; 139 using const_iterator = std::vector<Attribute>::const_iterator; 160 std::vector<Attribute> attributes; 255 inline int XmlPullParser::Attribute::compare(const Attribute [all...] |
H A D | XmlDom.h | 72 aapt::Attribute attribute; 78 struct Attribute { struct in namespace:aapt::xml 93 std::vector<Attribute> attributes; 95 Attribute* findAttribute(const StringPiece16& ns, const StringPiece16& name);
|
/frameworks/compile/slang/ |
H A D | legacy_bitcode.h | 23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) {
|
H A D | strip_unknown_attributes.cpp | 33 B.addAttribute(llvm::Attribute::ReadNone); 34 B.addAttribute(llvm::Attribute::ReadOnly);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.h | 134 std::unique_ptr<BinaryPrimitive> tryParseEnumSymbol(const Attribute* enumAttr, 141 std::unique_ptr<BinaryPrimitive> tryParseFlagSymbol(const Attribute* enumAttr, 150 const StringPiece16& value, const Attribute* attr,
|
H A D | ResourceTable_test.cpp | 108 "", util::make_unique<Attribute>(true), test::getDiagnostics())); 110 Attribute* attr = test::getValue<Attribute>(&table, u"@android:attr/foo"); 115 "", util::make_unique<Attribute>(false), test::getDiagnostics())); 117 attr = test::getValue<Attribute>(&table, u"@android:attr/foo");
|
H A D | ValueVisitor.h | 41 virtual void visit(Attribute* value) {} 62 void visitSubValues(Attribute* attribute) { 63 for (Attribute::Symbol& symbol : attribute->symbols) { 99 DECL_VISIT_COMPOUND_VALUE(Attribute);
|
H A D | ResourceParser_test.cpp | 134 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); 138 attr = test::getValue<Attribute>(&mTable, u"@attr/bar"); 154 EXPECT_EQ(nullptr, test::getValueForConfig<Attribute>(&mTable, u"@attr/foo", watchConfig)); 155 EXPECT_EQ(nullptr, test::getValueForConfig<Attribute>(&mTable, u"@attr/baz", watchConfig)); 158 EXPECT_NE(nullptr, test::getValue<Attribute>(&mTable, u"@attr/foo")); 159 EXPECT_NE(nullptr, test::getValue<Attribute>(&mTable, u"@attr/baz")); 167 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); 186 Attribute* att [all...] |
H A D | ResourceValues.h | 258 struct Attribute : public BaseValue<Attribute> { struct in namespace:aapt 269 Attribute(bool w, uint32_t t = 0u); 271 Attribute* clone(StringPool* newPool) const override; 336 inline ::std::ostream& operator<<(::std::ostream& out, const Attribute::Symbol& s) {
|
/frameworks/native/opengl/tests/configdump/ |
H A D | configdump.cpp | 24 struct Attribute { struct 29 Attribute attributes[] = { 79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
|
/frameworks/base/tools/aapt2/link/ |
H A D | ManifestFixer.cpp | 28 static bool nameIsJavaClassName(xml::Element* el, xml::Attribute* attr, 55 if (xml::Attribute* attr = el->findAttribute(xml::kSchemaAndroid, u"name")) { 62 if (xml::Attribute* attr = el->findAttribute(xml::kSchemaAndroid, u"name")) { 71 xml::Attribute* attr = el->findAttribute({}, u"package"); 121 el->attributes.push_back(xml::Attribute{ 130 el->attributes.push_back(xml::Attribute{ 147 el->attributes.push_back(xml::Attribute{ 155 el->attributes.push_back(xml::Attribute{ 168 if (xml::Attribute* attr = el->findAttribute(xml::kSchemaAndroid, u"targetPackage")) { 227 for (xml::Attribute [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | LayoutParserWrapper.java | 49 private List<Attribute> mAttributes; 112 mAttributes = count > 0 ? new ArrayList<Attribute>(count) : 113 Collections.<Attribute>emptyList(); 115 mAttributes.add(new Attribute(mDelegate.getAttributeNamespace(i), 184 for (Attribute attribute : mAttributes) { 206 private static class Attribute { class in class:LayoutParserWrapper 212 public Attribute(@Nullable String namespace, String name, String value) { method in class:LayoutParserWrapper.Attribute
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | ClassHasNativeVisitor.java | 23 import org.objectweb.asm.Attribute; 61 public void visitAttribute(Attribute attr) {
|
/frameworks/base/tools/aapt2/java/ |
H A D | ProguardRules.cpp | 114 xml::Attribute* attr = node->findAttribute(xml::kSchemaAndroid, u"fragment"); 132 xml::Attribute* attr = node->findAttribute({}, u"class"); 150 xml::Attribute* attr = node->findAttribute({}, u"package"); 156 xml::Attribute* attr = node->findAttribute(xml::kSchemaAndroid, u"backupAgent"); 171 xml::Attribute* attr = node->findAttribute(xml::kSchemaAndroid, u"name");
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.h | 60 Symbol(const Maybe<ResourceId>& i, const std::shared_ptr<Attribute>& attr) : 64 Symbol(const Maybe<ResourceId>& i, const std::shared_ptr<Attribute>& attr, bool pub) : 74 std::shared_ptr<Attribute> attribute;
|
/frameworks/base/tools/aapt2/test/ |
H A D | Context.h | 107 std::unique_ptr<Attribute> attr = {}) { 117 std::unique_ptr<Attribute> attr = {}) { 160 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->clone(nullptr));
|
/frameworks/base/tools/aapt2/compile/ |
H A D | XmlIdCollector.cpp | 42 for (xml::Attribute& attr : element->attributes) {
|