Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener_test.cpp96 EXPECT_THAT(tree.getElementName(&len), StrEq(u"View")); in TEST_F()
107 EXPECT_THAT(tree.getElementName(&len), StrEq(u"Layout")); in TEST_F()
117 EXPECT_THAT(tree.getElementName(&len), StrEq(u"Layout")); in TEST_F()
125 EXPECT_THAT(tree.getElementName(&len), StrEq(u"Layout")); in TEST_F()
129 EXPECT_THAT(tree.getElementName(&len), StrEq(u"View")); in TEST_F()
307 EXPECT_THAT(tree.getElementName(&len), StrEq(u"item")); in TEST_F()
313 EXPECT_THAT(tree.getElementName(&len), StrEq(u"item")); in TEST_F()
320 EXPECT_THAT(tree.getElementName(&len), StrEq(u"item")); in TEST_F()
326 EXPECT_THAT(tree.getElementName(&len), StrEq(u"item")); in TEST_F()
332 EXPECT_THAT(tree.getElementName(&len), StrEq(u"item")); in TEST_F()
[all …]
/frameworks/base/tools/aapt/
DResourceTable.cpp445 if (strcmp16(block.getElementName(&len), enum16.string()) == 0) { in compileAttribute()
447 } else if (strcmp16(block.getElementName(&len), flag16.string()) == 0) { in compileAttribute()
452 String8(block.getElementName(&len)).string()); in compileAttribute()
549 if (strcmp16(block.getElementName(&len), attr16.string()) == 0) { in compileAttribute()
553 if (strcmp16(block.getElementName(&len), enum16.string()) != 0) { in compileAttribute()
556 String8(block.getElementName(&len)).string()); in compileAttribute()
560 if (strcmp16(block.getElementName(&len), flag16.string()) != 0) { in compileAttribute()
563 String8(block.getElementName(&len)).string()); in compileAttribute()
872 if (strcmp16(block.getElementName(&len), resources16.string()) != 0) { in compileResourceFile()
874 "Invalid start tag %s\n", String8(block.getElementName(&len)).string()); in compileResourceFile()
[all …]
DResource.cpp249 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) { in parsePackage()
252 String8(block.getElementName(&len)).string()); in parsePackage()
274 if (strcmp16(block.getElementName(&len), uses_sdk16.string()) == 0) { in parsePackage()
494 String8(parser.getElementName(&len)).string(), attr, in validateAttr()
510 String8(parser.getElementName(&len)).string(), attr, in validateAttr()
519 String8(parser.getElementName(&len)).string(), attr); in validateAttr()
525 String8(parser.getElementName(&len)).string(), attr); in validateAttr()
531 String8(parser.getElementName(&len)).string(), attr, in validateAttr()
550 String8(parser.getElementName(&len)).string(), attr, (char)str[i]); in validateAttr()
558 String8(parser.getElementName(&len)).string(), attr); in validateAttr()
[all …]
DXMLNode.cpp243 const String16 element16(inXml->getElementName(&len)); in parseStyledString()
324 if (strcmp16(inXml->getElementName(&len), endTag.string()) != 0) { in parseStyledString()
327 String8(inXml->getElementName(&len)).string(), in parseStyledString()
341 if (strcmp16(inXml->getElementName(&len), spanTag.string()) != 0) { in parseStyledString()
344 String8(inXml->getElementName(&len)).string(), in parseStyledString()
456 String8(block->getElementName(&len)).string(), in printXMLBlock()
683 const String16& XMLNode::getElementName() const in getElementName() function in XMLNode
878 String8(getElementName()).string(), in setAttributeResID()
1026 String8(getElementName()).string(), in assignResourceIds()
1159 elemNs.string(), String8(getElementName()).string()); in print()
[all …]
DXMLNode.h71 const String16& getElementName() const;
DCommand.cpp332 const char16_t* ctag16 = tree.getElementName(&len); in printCompatibleScreens()
424 const char16_t* ctag16 = tree.getElementName(&len); in getNfcAidCategories()
437 const char16_t* ctag16 = tree.getElementName(&len); in getNfcAidCategories()
884 const char16_t* ctag16 = tree.getElementName(&len); in doDump()
1205 const char16_t* ctag16 = tree.getElementName(&len); in doDump()
/frameworks/compile/slang/
Dslang_rs_export_type.h305 virtual std::string getElementName() const { in getElementName() function
446 std::string getElementName() const { in getElementName() function
512 std::string getElementName() const { in getElementName() function
584 std::string getElementName() const { in getElementName() function
585 return mElementType->getElementName(); in getElementName()
675 virtual std::string getElementName() const { in getElementName() function
Dslang_rs_reflection.cpp249 return std::string("Element.") + ET->getElementName(); in GetBuiltinElementConstruct()
358 return PointeeType->getElementName(); in GetTypeName()
393 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME; in GetTypeName()
835 << " = new " << ERT->getElementName() in genInitExportVariable()
1427 << RS_ELEM_PREFIX << InTypes[InIdx]->getElementName() << ", " in genExportReduceArrayVariant()
1518 << RS_ELEM_PREFIX << ResultType->getElementName() << ", " in genExportReduceAllocationVariant()
1783 std::string TypeName = ET->getElementName(); in genTypeInstance()
1792 std::string ClassName = ET->getElementName(); in genTypeInstance()
1811 std::string TypeName = ET->getElementName(); in genFieldPackerInstance()
1837 TypeName = ET->getElementName(); in genTypeCheck()
[all …]
Dslang_rs_reflection_cpp.cpp84 return PointeeType->getElementName(); in GetTypeName()
111 return ET->getElementName() + "." + kRsTypeItemClassName; in GetTypeName()
870 TypeName = ET->getElementName(); in genTypeCheck()
908 std::string TypeName = ET->getElementName(); in genTypeInstance()
/frameworks/base/cmds/idmap2/libidmap2/
DXml.cpp42 const String16 tag(xml_.getElementName(&len)); in FindTag()
/frameworks/base/startop/view_compiler/
Dapk_layout_compiler.cc57 const char16_t* name = parser_->getElementName(&name_length); in Accept()
/frameworks/base/cmds/idmap/
Dscan.cpp164 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/tools/aapt2/xml/
DXmlDom.cpp329 str16 = tree.getElementName(&len); in Inflate()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h748 const char16_t* getElementName(size_t* outLen) const;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1209 const char16_t* ResXMLParser::getElementName(size_t* outLen) const in getElementName() function in android::ResXMLParser