/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 | 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/compile/slang/StripUnkAttr/ |
H A D | strip_unknown_attributes.cpp | 31 B.addAttribute(llvm::Attribute::ReadNone); 32 B.addAttribute(llvm::Attribute::ReadOnly); 39 F.removeFnAttr(llvm::Attribute::ArgMemOnly);
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlPullParser.h | 129 // 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; 277 inline int XmlPullParser::Attribute::compare(const Attribute [all...] |
H A D | XmlDom.h | 68 explicit AaptAttribute(const ::aapt::Attribute& attr, const Maybe<ResourceId>& resid = {}) 72 aapt::Attribute attribute; 77 struct Attribute { struct in namespace:aapt::xml 94 std::vector<Attribute> attributes; 100 Attribute* FindAttribute(const android::StringPiece& ns, const android::StringPiece& name); 101 const Attribute* FindAttribute(const android::StringPiece& ns, 103 Attribute* FindOrCreateAttribute(const android::StringPiece& ns,
|
/frameworks/compile/slang/ |
H A D | legacy_bitcode.h | 23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) {
|
/frameworks/base/tools/aapt2/link/ |
H A D | XmlCompatVersioner.h | 37 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 D | ManifestFixer.cpp | 33 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); 49 static bool NameIsJavaClassName(xml::Element* el, xml::Attribute* attr, 71 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) { 78 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); 88 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name"); 118 xml::Attribute* attr = el->FindAttribute({}, kFeatureSplit); 125 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, kIsFeatureSplit); 138 el->attributes.push_back(xml::Attribute{xml::kSchemaAndroid, kIsFeatureSplit, "true"}); 145 xml::Attribute* attr = el->FindAttribute({}, "package"); 175 if (xml::Attribute* att [all...] |
H A D | XmlCompatVersioner_test.cpp | 58 util::make_unique<Attribute>(TYPE_DIMENSION)) 60 util::make_unique<Attribute>(TYPE_DIMENSION)) 62 util::make_unique<Attribute>(TYPE_DIMENSION)) 64 util::make_unique<Attribute>(TYPE_DIMENSION)) 66 util::make_unique<Attribute>(TYPE_DIMENSION)) 68 util::make_unique<Attribute>(TYPE_STRING)) 130 {ReplacementAttr{"paddingLeft", R::attr::paddingLeft, Attribute(TYPE_DIMENSION)}, 131 ReplacementAttr{"paddingRight", R::attr::paddingRight, Attribute(TYPE_DIMENSION)}})); 150 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "paddingLeft"); 190 {ReplacementAttr{"paddingLeft", R::attr::paddingLeft, Attribute(TYPE_DIMENSIO [all...] |
H A D | XmlNamespaceRemover.cpp | 36 for (xml::Attribute& attr : el->attributes) {
|
H A D | XmlCompatVersioner.cpp | 25 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 D | configdump.cpp | 25 struct Attribute { struct 31 Attribute attributes[] = { 81 for (unsigned attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Util.cpp | 133 return xml::AaptAttribute(Attribute(), id); 177 manifest_el->attributes.push_back(xml::Attribute{"", "package", app_info.package}); 181 manifest_el->attributes.push_back(xml::Attribute{ 189 manifest_el->attributes.push_back(xml::Attribute{ 205 manifest_el->attributes.push_back(xml::Attribute{"", "split", split_name.str()}); 209 xml::Attribute{"", "configForSplit", app_info.split_name.value()}); 217 manifest_el->attributes.push_back(xml::Attribute{"", "targetConfig", target_config_str.str()}); 222 xml::Attribute{xml::kSchemaAndroid, "hasCode", "false", CreateAttributeWithId(kHasCode), 232 static Maybe<std::string> ExtractCompiledString(const xml::Attribute& attr, 256 static Maybe<uint32_t> ExtractCompiledInt(const xml::Attribute [all...] |
/frameworks/rs/rsov/compiler/ |
H A D | InlinePreparationPass.cpp | 55 F.addFnAttr(Attribute::AlwaysInline);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues_test.cpp | 29 // Attribute types. 228 Attribute attr1(TYPE_DIMENSION); 233 Attribute attr2(TYPE_INTEGER | TYPE_ENUM); 235 attr2.symbols.push_back(Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), 242 Attribute attr3(TYPE_INTEGER | TYPE_FLAGS); 245 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/foo")), 0x01u}); 247 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/bar")), 0x02u}); 249 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/baz")), 0x04u}); 251 Attribute::Symbol{Reference(test::ParseNameOrDie("android:id/bat")), 0x80u}); 262 Attribute attr [all...] |
H A D | ResourceTable_test.cpp | 109 Attribute* attr = test::GetValue<Attribute>(&table, "android:attr/foo"); 114 util::make_unique<Attribute>(), test::GetDiagnostics())); 116 attr = test::GetValue<Attribute>(&table, "android:attr/foo"); 125 Attribute attr_one(android::ResTable_map::TYPE_STRING); 127 Attribute attr_two(android::ResTable_map::TYPE_STRING | android::ResTable_map::TYPE_REFERENCE); 131 util::make_unique<Attribute>(attr_one), test::GetDiagnostics())); 133 util::make_unique<Attribute>(attr_two), test::GetDiagnostics()));
|
H A D | ValueVisitor.h | 41 virtual void Visit(Attribute* value) { VisitAny(value); } 80 virtual void Visit(const Attribute* value) { 110 void VisitSubValues(Attribute* attribute) { 111 for (Attribute::Symbol& symbol : attribute->symbols) { 147 DECL_VISIT_COMPOUND_VALUE(Attribute);
|
/frameworks/av/media/libeffects/config/src/ |
H A D | EffectsConfig.cpp | 135 const char* name = xmlLibrary.Attribute("name"); 136 const char* path = xmlLibrary.Attribute("path"); 161 const char* name = xmlEffect.Attribute("name"); 171 const char* libraryName = xmlImpl.Attribute("library"); 172 const char* uuid = xmlImpl.Attribute("uuid"); 225 const char* streamType = xmlStream.Attribute("type"); 237 const char* effectName = xmlApply.get().Attribute("effect");
|
/frameworks/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/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) {
|