Searched refs:Attribute (Results 1 - 25 of 71) sorted by relevance

123

/frameworks/compile/mclinker/lib/MC/
H A DAttribute.cpp9 #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 DAttributeSet.cpp11 #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 DAndroid.mk4 Attribute.cpp \
H A DInput.cpp11 #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 DAttributeOption.h11 #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 DAttributeSet.h17 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 DAttribute.h1 //===- 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 DInput.h21 class Attribute;
79 const Attribute* attribute() const { return m_pAttr; }
113 Attribute* m_pAttr;
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.h125 // 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 DXmlDom.h72 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 Dlegacy_bitcode.h23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) {
H A Dstrip_unknown_attributes.cpp33 B.addAttribute(llvm::Attribute::ReadNone);
34 B.addAttribute(llvm::Attribute::ReadOnly);
/frameworks/base/tools/aapt2/
H A DResourceUtils.h134 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 DResourceTable_test.cpp108 "", 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 DValueVisitor.h41 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 DResourceParser_test.cpp134 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 DResourceValues.h258 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 Dconfigdump.cpp24 struct Attribute { struct
29 Attribute attributes[] = {
79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp28 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 DLayoutParserWrapper.java49 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 DClassHasNativeVisitor.java23 import org.objectweb.asm.Attribute;
61 public void visitAttribute(Attribute attr) {
/frameworks/base/tools/aapt2/java/
H A DProguardRules.cpp114 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 DSymbolTable.h60 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 DContext.h107 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 DXmlIdCollector.cpp42 for (xml::Attribute& attr : element->attributes) {

Completed in 224 milliseconds

123