Home
last modified time | relevance | path

Searched refs:getElementName (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tools/aapt2/xml/
DXmlPullParser_test.cpp35 EXPECT_EQ(StringPiece16(u"a"), StringPiece16(parser.getElementName())); in TEST()
40 EXPECT_EQ(StringPiece16(u"b"), StringPiece16(parser.getElementName())); in TEST()
45 EXPECT_EQ(StringPiece16(u"c"), StringPiece16(parser.getElementName())); in TEST()
49 EXPECT_EQ(StringPiece16(u"e"), StringPiece16(parser.getElementName())); in TEST()
DXmlPullParser.h104 const std::u16string& getElementName() const;
DXmlPullParser.cpp163 const std::u16string& XmlPullParser::getElementName() const { in getElementName() function in aapt::xml::XmlPullParser
DXmlDom.cpp272 str16 = tree.getElementName(&len); in inflate()
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener_test.cpp92 const char16_t* tagName = tree.getElementName(&len); in TEST_F()
105 tagName = tree.getElementName(&len); in TEST_F()
119 tagName = tree.getElementName(&len); in TEST_F()
129 tagName = tree.getElementName(&len); in TEST_F()
134 tagName = tree.getElementName(&len); in TEST_F()
/frameworks/base/tools/aapt2/
DResourceParser.cpp169 << parser->getElementName() in flattenXmlSubtree()
179 std::u16string spanName = parser->getElementName(); in flattenXmlSubtree()
217 if (!parser->getElementNamespace().empty() || parser->getElementName() != u"resources") { in parse()
264 std::u16string elementName = parser->getElementName(); in parseResources()
342 std::u16string resourceType = parser->getElementName(); in parseResource()
376 << "<" << parser->getElementName() << "> missing 'name' attribute"); in parseResource()
392 << "<" << parser->getElementName() << "> missing 'name' attribute"); in parseResource()
417 << "<" << parser->getElementName() << "> missing 'name' attribute"); in parseResource()
438 << "<" << parser->getElementName() << "> missing 'name' attribute"); in parseResource()
454 << "unknown resource type '" << parser->getElementName() << "'"); in parseResource()
[all …]
/frameworks/base/tools/aapt/
DResourceTable.cpp437 if (strcmp16(block.getElementName(&len), enum16.string()) == 0) { in compileAttribute()
439 } else if (strcmp16(block.getElementName(&len), flag16.string()) == 0) { in compileAttribute()
444 String8(block.getElementName(&len)).string()); in compileAttribute()
541 if (strcmp16(block.getElementName(&len), attr16.string()) == 0) { in compileAttribute()
545 if (strcmp16(block.getElementName(&len), enum16.string()) != 0) { in compileAttribute()
548 String8(block.getElementName(&len)).string()); in compileAttribute()
552 if (strcmp16(block.getElementName(&len), flag16.string()) != 0) { in compileAttribute()
555 String8(block.getElementName(&len)).string()); in compileAttribute()
864 if (strcmp16(block.getElementName(&len), resources16.string()) != 0) { in compileResourceFile()
866 "Invalid start tag %s\n", String8(block.getElementName(&len)).string()); in compileResourceFile()
[all …]
DResource.cpp253 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) { in parsePackage()
256 String8(block.getElementName(&len)).string()); in parsePackage()
278 if (strcmp16(block.getElementName(&len), uses_sdk16.string()) == 0) { in parsePackage()
493 String8(parser.getElementName(&len)).string(), attr, in validateAttr()
509 String8(parser.getElementName(&len)).string(), attr, in validateAttr()
518 String8(parser.getElementName(&len)).string(), attr); in validateAttr()
524 String8(parser.getElementName(&len)).string(), attr); in validateAttr()
530 String8(parser.getElementName(&len)).string(), attr, in validateAttr()
549 String8(parser.getElementName(&len)).string(), attr, (char)str[i]); in validateAttr()
557 String8(parser.getElementName(&len)).string(), attr); in validateAttr()
[all …]
DXMLNode.cpp246 const String16 element16(inXml->getElementName(&len)); in parseStyledString()
327 if (strcmp16(inXml->getElementName(&len), endTag.string()) != 0) { in parseStyledString()
330 String8(inXml->getElementName(&len)).string(), in parseStyledString()
344 if (strcmp16(inXml->getElementName(&len), spanTag.string()) != 0) { in parseStyledString()
347 String8(inXml->getElementName(&len)).string(), in parseStyledString()
459 String8(block->getElementName(&len)).string(), in printXMLBlock()
686 const String16& XMLNode::getElementName() const in getElementName() function in XMLNode
881 String8(getElementName()).string(), in setAttributeResID()
1029 String8(getElementName()).string(), in assignResourceIds()
1162 elemNs.string(), String8(getElementName()).string()); in print()
[all …]
DXMLNode.h71 const String16& getElementName() const;
DCommand.cpp346 const char16_t* ctag16 = tree.getElementName(&len); in printCompatibleScreens()
426 const char16_t* ctag16 = tree.getElementName(&len); in getNfcAidCategories()
439 const char16_t* ctag16 = tree.getElementName(&len); in getNfcAidCategories()
851 const char16_t* ctag16 = tree.getElementName(&len); in doDump()
1164 const char16_t* ctag16 = tree.getElementName(&len); in doDump()
/frameworks/compile/slang/
Dslang_rs_export_type.h303 virtual std::string getElementName() const { in getElementName() function
392 std::string getElementName() const { in getElementName() function
458 std::string getElementName() const { in getElementName() function
529 std::string getElementName() const { in getElementName() function
530 return mElementType->getElementName(); in getElementName()
616 virtual std::string getElementName() const { in getElementName() function
Dslang_rs_reflection.cpp203 return PointeeType->getElementName(); in GetTypeName()
233 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME; in GetTypeName()
293 return std::string("Element.") + ET->getElementName(); in GetBuiltinElementConstruct()
697 << " = new " << ERT->getElementName() in genInitExportVariable()
1222 << RS_ELEM_PREFIX << InTypes[InIdx]->getElementName() << ", " in genExportReduceArrayVariant()
1313 << RS_ELEM_PREFIX << ResultType->getElementName() << ", " in genExportReduceAllocationVariant()
1578 std::string TypeName = ET->getElementName(); in genTypeInstance()
1587 std::string ClassName = ET->getElementName(); in genTypeInstance()
1606 std::string TypeName = ET->getElementName(); in genFieldPackerInstance()
1632 TypeName = ET->getElementName(); in genTypeCheck()
[all …]
Dslang_rs_reflection_cpp.cpp84 return PointeeType->getElementName(); in GetTypeName()
111 return ET->getElementName() + "." + kRsTypeItemClassName; in GetTypeName()
868 TypeName = ET->getElementName(); in genTypeCheck()
906 std::string TypeName = ET->getElementName(); in genTypeInstance()
/frameworks/base/cmds/idmap/
Dscan.cpp111 String16 tag(parser.getElementName(&len)); in parse_manifest()
/frameworks/base/tools/split-select/
DMain.cpp158 const char16_t* name = xml.getElementName(&len); in getAppInfo()
/frameworks/base/include/androidfw/
DResourceTypes.h741 const char16_t* getElementName(size_t* outLen) const;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1145 const char16_t* ResXMLParser::getElementName(size_t* outLen) const in getElementName() function in android::ResXMLParser