Searched refs:Attribute (Results 1 - 25 of 54) 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/
H A DXmlPullParser.h108 // of struct Attribute).
111 struct Attribute { struct in class:aapt::XmlPullParser
116 int compare(const Attribute& rhs) const;
117 bool operator<(const Attribute& rhs) const;
118 bool operator==(const Attribute& rhs) const;
119 bool operator!=(const Attribute& rhs) const;
122 using const_iterator = std::vector<Attribute>::const_iterator;
172 inline int XmlPullParser::Attribute::compare(const Attribute& rhs) const {
178 inline bool XmlPullParser::Attribute
[all...]
H A DResolver.h48 * to a valid Attribute object, or else it will be
51 const Attribute* attr;
H A DLinker.h89 virtual const Attribute* doResolveAttribute(Reference& attribute, const SourceLine& source);
105 void visit(Attribute& attribute, ValueVisitorArgs& args) override;
112 const Attribute& attr, std::unique_ptr<Item>& value);
H A DXmlDom.h86 struct Attribute { struct in namespace:aapt::xml
98 std::vector<Attribute> attributes;
102 Attribute* findAttribute(const StringPiece16& ns, const StringPiece16& name);
105 const xml::Attribute* reqAttr);
H A DManifestMerger.cpp39 xml::Attribute* attrKey = src->findAttribute(kSchemaAndroid, u"name");
46 static bool attrLess(const xml::Attribute& lhs, const xml::Attribute& rhs) {
57 std::set<xml::Attribute, decltype(&attrLess)> lhsAttrs(&attrLess);
139 xml::Attribute* reqA = elA->findAttribute(kSchemaAndroid, u"required");
140 xml::Attribute* reqB = elB->findAttribute(kSchemaAndroid, u"required");
145 *reqA = xml::Attribute{ kSchemaAndroid, u"required", u"true" };
147 elA->attributes.push_back(xml::Attribute{ kSchemaAndroid, u"required", u"true" });
153 static int findIntegerValue(xml::Attribute* attr, int defaultValue) {
165 xml::Attribute* minAttr
[all...]
H A DResourceParser.h119 static std::unique_ptr<BinaryPrimitive> tryParseEnumSymbol(const Attribute& enumAttr,
126 static std::unique_ptr<BinaryPrimitive> tryParseFlagSymbol(const Attribute& enumAttr,
135 const StringPiece16& value, const Attribute& attr,
175 std::unique_ptr<Attribute> parseAttrImpl(XmlPullParser* parser,
179 Attribute::Symbol* outSymbol);
H A DBindingXmlPullParser.h73 std::vector<XmlPullParser::Attribute> expressions;
82 std::vector<XmlPullParser::Attribute> mAttributes;
H A DLinker_test.cpp41 util::make_unique<Attribute>(false, android::ResTable_map::TYPE_INTEGER));
44 util::make_unique<Attribute>(false, android::ResTable_map::TYPE_STRING));
50 std::unique_ptr<Attribute> flagAttr = util::make_unique<Attribute>(
52 flagAttr->symbols.push_back(Attribute::Symbol{
54 flagAttr->symbols.push_back(Attribute::Symbol{
H A DResourceParser_test.cpp225 const Attribute* attr = findResource<Attribute>(ResourceName{
230 attr = findResource<Attribute>(ResourceName{
243 const Attribute* attr = findResource<Attribute>(ResourceName{
258 const Attribute* attr = findResource<Attribute>(ResourceName{
272 const Attribute* enumAttr = findResource<Attribute>(ResourceName{
296 const Attribute* flagAtt
[all...]
H A DResourceValues.cpp220 Attribute::Attribute(bool w, uint32_t t) : weak(w), typeMask(t) { function in class:aapt::Attribute
223 bool Attribute::isWeak() const {
227 Attribute* Attribute::clone(StringPool* /*newPool*/) const {
228 Attribute* attr = new Attribute(weak);
234 void Attribute::printMask(std::ostream& out) const {
332 void Attribute::print(std::ostream& out) const {
H A DProguardRules.cpp116 xml::Attribute* attr = node->findAttribute(kSchemaAndroid, u"fragment");
134 xml::Attribute* attr = node->findAttribute({}, u"class");
152 xml::Attribute* attr = node->findAttribute({}, u"package");
158 xml::Attribute* attr = node->findAttribute(kSchemaAndroid, u"backupAgent");
173 xml::Attribute* attr = node->findAttribute(kSchemaAndroid, u"name");
H A DBindingXmlPullParser.cpp70 std::vector<XmlPullParser::Attribute> expressions;
83 expressions.push_back(XmlPullParser::Attribute{
109 mAttributes.push_back(XmlPullParser::Attribute{
183 for (const XmlPullParser::Attribute& a : t.expressions) {
H A DLinker.cpp142 const Attribute* Linker::doResolveAttribute(Reference& attribute, const SourceLine& source) {
187 const Attribute& attr, std::unique_ptr<Item>& value) {
245 const Attribute* attr = doResolveAttribute(styleEntry.key, args.source);
252 void Linker::visit(Attribute& attr, ValueVisitorArgs& a) {
/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/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/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitor.java23 import org.objectweb.asm.Attribute;
61 public void visitAttribute(Attribute attr) {

Completed in 6247 milliseconds

123