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

1234

/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 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/compile/slang/StripUnkAttr/
H A Dstrip_unknown_attributes.cpp31 B.addAttribute(llvm::Attribute::ReadNone);
32 B.addAttribute(llvm::Attribute::ReadOnly);
39 F.removeFnAttr(llvm::Attribute::ArgMemOnly);
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.h129 // of struct Attribute).
132 struct Attribute { struct in class:aapt::xml::XmlPullParser
137 int compare(const Attribute& rhs) const;
138 bool operator<(const Attribute& rhs) const;
139 bool operator==(const Attribute& rhs) const;
140 bool operator!=(const Attribute& rhs) const;
143 using const_iterator = std::vector<Attribute>::const_iterator;
169 std::vector<Attribute> attributes;
281 inline int XmlPullParser::Attribute::compare(const Attribute
[all...]
H A DXmlDom.h85 explicit AaptAttribute(const ::aapt::Attribute& attr, const Maybe<ResourceId>& resid = {})
89 aapt::Attribute attribute;
96 struct Attribute { struct in namespace:aapt::xml
112 std::vector<Attribute> attributes;
114 Attribute* FindAttribute(const android::StringPiece& ns, const android::StringPiece& name);
115 const Attribute* FindAttribute(const android::StringPiece& ns,
/frameworks/compile/slang/
H A Dlegacy_bitcode.h23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) {
/frameworks/base/tools/aapt2/link/
H A DXmlCompatVersioner.h37 xml::Attribute attr;
47 const xml::Attribute& src_attr,
70 void ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr,
81 Attribute attr;
89 std::vector<DegradeResult> Degrade(const xml::Element& src_el, const xml::Attribute& src_attr,
H A DXmlCompatVersioner_test.cpp51 util::make_unique<Attribute>(false, TYPE_DIMENSION))
53 util::make_unique<Attribute>(false, TYPE_DIMENSION))
55 util::make_unique<Attribute>(false, TYPE_DIMENSION))
57 util::make_unique<Attribute>(false, TYPE_DIMENSION))
59 util::make_unique<Attribute>(false, TYPE_DIMENSION))
61 util::make_unique<Attribute>(false, TYPE_STRING))
123 {ReplacementAttr{"paddingLeft", R::attr::paddingLeft, Attribute(false, TYPE_DIMENSION)},
125 Attribute(false, TYPE_DIMENSION)}}));
144 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "paddingLeft");
184 {ReplacementAttr{"paddingLeft", R::attr::paddingLeft, Attribute(fals
[all...]
H A DManifestFixer.cpp33 static bool NameIsJavaClassName(xml::Element* el, xml::Attribute* attr,
55 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) {
62 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) {
71 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) {
94 xml::Attribute* attr = el->FindAttribute({}, kFeatureSplit);
101 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, kIsFeatureSplit);
114 el->attributes.push_back(xml::Attribute{xml::kSchemaAndroid, kIsFeatureSplit, "true"});
121 xml::Attribute* attr = el->FindAttribute({}, "package");
151 if (xml::Attribute* attr = el->FindAttribute("", "coreApp")) {
165 if (xml::Attribute* att
[all...]
H A DXmlCompatVersioner.cpp25 static xml::Attribute CopyAttr(const xml::Attribute& src, StringPool* out_string_pool) {
26 xml::Attribute dst{src.namespace_uri, src.name, src.value, src.compiled_attribute};
35 static bool CopyAttribute(const xml::Attribute& src_attr, bool generated, xml::Element* dst_el,
37 xml::Attribute* dst_attr = dst_el->FindAttribute(src_attr.namespace_uri, src_attr.name);
54 void XmlCompatVersioner::ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr,
165 const xml::Attribute& src_attr,
171 DegradeResult{xml::Attribute{xml::kSchemaAndroid, attr.name, src_attr.value,
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp25 struct Attribute { struct
31 Attribute attributes[] = {
82 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
/frameworks/rs/rsov/compiler/
H A DInlinePreparationPass.cpp55 F.addFnAttr(Attribute::AlwaysInline);
/frameworks/base/tools/aapt2/cmd/
H A DUtil.cpp134 return xml::AaptAttribute(Attribute(), id);
151 manifest_el->attributes.push_back(xml::Attribute{"", "package", app_info.package});
155 manifest_el->attributes.push_back(xml::Attribute{
163 manifest_el->attributes.push_back(xml::Attribute{
175 manifest_el->attributes.push_back(xml::Attribute{"", "split", split_name.str()});
179 xml::Attribute{"", "configForSplit", app_info.split_name.value()});
185 xml::Attribute{xml::kSchemaAndroid, "hasCode", "false", CreateAttributeWithId(kHasCode),
194 static Maybe<std::string> ExtractCompiledString(xml::Attribute* attr, std::string* out_error) {
217 static Maybe<uint32_t> ExtractCompiledInt(xml::Attribute* attr, std::string* out_error) {
241 static Maybe<int> ExtractSdkVersion(xml::Attribute* att
[all...]
/frameworks/base/tools/aapt2/
H A DResourceTable_test.cpp103 util::make_unique<Attribute>(true), test::GetDiagnostics()));
105 Attribute* attr = test::GetValue<Attribute>(&table, "android:attr/foo");
111 util::make_unique<Attribute>(false), test::GetDiagnostics()));
113 attr = test::GetValue<Attribute>(&table, "android:attr/foo");
H A DResourceUtils.h178 std::unique_ptr<BinaryPrimitive> TryParseEnumSymbol(const Attribute* enum_attr,
185 std::unique_ptr<BinaryPrimitive> TryParseFlagSymbol(const Attribute* enum_attr,
195 const android::StringPiece& value, const Attribute* attr,
H A DValueVisitor.h42 virtual void Visit(Attribute* value) { VisitAny(value); }
65 void VisitSubValues(Attribute* attribute) {
66 for (Attribute::Symbol& symbol : attribute->symbols) {
102 DECL_VISIT_COMPOUND_VALUE(Attribute);
H A DResourceParser_test.cpp233 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo");
237 attr = test::GetValue<Attribute>(&table_, "attr/bar");
255 EXPECT_EQ(nullptr, test::GetValueForConfig<Attribute>(&table_, "attr/foo", watch_config));
256 EXPECT_EQ(nullptr, test::GetValueForConfig<Attribute>(&table_, "attr/baz", watch_config));
259 EXPECT_NE(nullptr, test::GetValue<Attribute>(&table_, "attr/foo"));
260 EXPECT_NE(nullptr, test::GetValue<Attribute>(&table_, "attr/baz"));
269 Attribute* attr = test::GetValue<Attribute>(&table_, "attr/foo");
290 Attribute* att
[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.cpp126 xml::Attribute* attr =
150 xml::Attribute* attr = node->FindAttribute({}, "class");
172 xml::Attribute* attr = node->FindAttribute({}, "package");
178 xml::Attribute* attr =
188 xml::Attribute* default_process =
199 xml::Attribute* component_process =
211 xml::Attribute* attr = node->FindAttribute(xml::kSchemaAndroid, "name");

Completed in 969 milliseconds

1234