Home
last modified time | relevance | path

Searched refs:attrIter (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/
DBindingXmlPullParser.cpp40 for (auto attrIter = mParser->beginAttributes(); attrIter != endAttrIter; ++attrIter) { in readVariableDeclaration() local
41 if (!attrIter->namespaceUri.empty()) { in readVariableDeclaration()
45 if (attrIter->name == u"name") { in readVariableDeclaration()
46 var.name = util::utf16ToUtf8(attrIter->value); in readVariableDeclaration()
47 } else if (attrIter->name == u"type") { in readVariableDeclaration()
48 var.type = util::utf16ToUtf8(attrIter->value); in readVariableDeclaration()
DManifestParser.cpp75 auto attrIter = parser->findAttribute(u"", u"package"); in parseManifest() local
76 if (attrIter == parser->endAttributes() || attrIter->value.empty()) { in parseManifest()
80 outInfo->package = attrIter->value; in parseManifest()
DResourceParser.cpp531 for (auto attrIter = parser->beginAttributes(); attrIter != endAttrIter; ++attrIter) { in flattenXmlSubtree() local
533 spanName += attrIter->name; in flattenXmlSubtree()
535 spanName += attrIter->value; in flattenXmlSubtree()
636 auto attrIter = childParser.findAttribute(u"", u"name"); in parseResources() local
637 if (attrIter == endAttrIter || attrIter->value.empty()) { in parseResources()
647 std::u16string attributeName = attrIter->value; in parseResources()
807 auto attrIter = parser->findAttribute(u"", u"untranslateable"); in parseString() local
812 attrIter = parser->findAttribute(u"", u"product"); in parseString()
813 if (attrIter != endAttrIter) { in parseString()
814 if (attrIter->value != u"default" && attrIter->value != u"phone") { in parseString()
[all …]