Home
last modified time | relevance | path

Searched refs:indexOfAttribute (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tools/aapt/
DAaptXml.cpp69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { in indexOfAttribute() function
81 ssize_t idx = tree.indexOfAttribute(ns, attr); in getAttribute()
89 ssize_t idx = indexOfAttribute(tree, attrRes); in getAttribute()
98 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedAttribute()
125 ssize_t idx = tree.indexOfAttribute(ns, attr); in getIntegerAttribute()
134 ssize_t idx = indexOfAttribute(tree, attrRes); in getIntegerAttribute()
143 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedIntegerAttribute()
165 ssize_t idx = indexOfAttribute(tree, attrRes); in getResolvedResourceAttribute()
DResourceTable.cpp339 ssize_t identIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
353 ssize_t typeIdx = block.indexOfAttribute(NULL, "format"); in compileAttribute()
371 ssize_t minIdx = block.indexOfAttribute(NULL, "min"); in compileAttribute()
389 ssize_t maxIdx = block.indexOfAttribute(NULL, "max"); in compileAttribute()
410 ssize_t l10nIdx = block.indexOfAttribute(NULL, "localization"); in compileAttribute()
482 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
492 ssize_t valueIdx = block.indexOfAttribute(NULL, "value"); in compileAttribute()
938 ssize_t typeIdx = block.indexOfAttribute(NULL, "type"); in compileResourceFile()
946 ssize_t nameIdx = block.indexOfAttribute(NULL, "name"); in compileResourceFile()
954 ssize_t identIdx = block.indexOfAttribute(NULL, "id"); in compileResourceFile()
[all …]
DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
DResource.cpp260 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); in parsePackage()
269 ssize_t revisionCodeIndex = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "revisionCode"); in parsePackage()
279 ssize_t minSdkIndex = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, in parsePackage()
487 ssize_t index = parser.indexOfAttribute(ns, attr); in validateAttr()
588 ssize_t index = parser.indexOfAttribute(NULL, "id"); in checkForIds()
1851 ssize_t index = block.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "name"); in buildResources()
2004 ssize_t idx = block.indexOfAttribute( in buildResources()
3033 ssize_t attrIndex = tree.indexOfAttribute(nsAttr.ns, nsAttr.attr); in writeProguardForXml()
3047 ssize_t attrIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, "onClick"); in writeProguardForXml()
DCommand.cpp1353 int32_t multiArchIndex = tree.indexOfAttribute(RESOURCES_ANDROID_NAMESPACE, in doDump()
/frameworks/base/tools/split-select/
DMain.cpp161 ssize_t idx = xml.indexOfAttribute( in getAppInfo()
169 ssize_t idx = xml.indexOfAttribute( in getAppInfo()
177 ssize_t idx = xml.indexOfAttribute( in getAppInfo()
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener_test.cpp100 EXPECT_EQ(0, tree.indexOfAttribute(nullptr, 0, u"attr", StringPiece16(u"attr").size())); in TEST_F()
207 EXPECT_GE(tree.indexOfAttribute(nullptr, 0, kPackage.data(), kPackage.size()), 0); in TEST_F()
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp278 jint idx = static_cast<jint>(st->indexOfAttribute(ns16, nsLen, name16, nameLen)); in android_content_XmlBlock_nativeGetAttributeIndex()
/frameworks/base/include/androidfw/
DResourceTypes.h767 ssize_t indexOfAttribute(const char* ns, const char* attr) const;
768 ssize_t indexOfAttribute(const char16_t* ns, size_t nsLen,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1331 ssize_t ResXMLParser::indexOfAttribute(const char* ns, const char* attr) const in indexOfAttribute() function in android::ResXMLParser
1335 return indexOfAttribute(ns ? nsStr.string() : NULL, ns ? nsStr.size() : 0, in indexOfAttribute()
1339 ssize_t ResXMLParser::indexOfAttribute(const char16_t* ns, size_t nsLen, in indexOfAttribute() function in android::ResXMLParser