Lines Matching refs:element_name
278 span_node->name = parser->element_name(); in FlattenXmlSubtree()
292 if (parser->element_name() == "g") { in FlattenXmlSubtree()
312 << "ignoring element '" << parser->element_name() in FlattenXmlSubtree()
392 if (!parser->element_namespace().empty() || parser->element_name() != "resources") { in Parse()
439 std::string element_name = parser->element_name(); in ParseResources() local
440 if (element_name == "skip" || element_name == "eat-comment") { in ParseResources()
529 std::string resource_type = parser->element_name(); in ParseResource()
584 << "<" << parser->element_name() in ParseResource()
611 << "<" << parser->element_name() in ParseResource()
627 << "<" << parser->element_name() << "> missing 'name' attribute"); in ParseResource()
654 << "<" << parser->element_name() << "> missing 'name' attribute"); in ParseResource()
677 << "<" << parser->element_name() in ParseResource()
951 const std::string& element_name = parser->element_name(); in ParsePublicGroup() local
952 if (element_namespace.empty() && element_name == "public") { in ParsePublicGroup()
987 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParsePublicGroup()
988 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParsePublicGroup()
1000 << "<" << parser->element_name() in ParseSymbolImpl()
1009 << parser->element_name() << ">"); in ParseSymbolImpl()
1026 << parser->element_name() << "> tag"); in ParseSymbol()
1090 const std::string& element_name = parser->element_name(); in ParseOverlayable() local
1092 if (element_namespace.empty() && element_name == "item") { in ParseOverlayable()
1137 } else if (element_namespace.empty() && element_name == "policy") { in ParseOverlayable()
1175 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseOverlayable()
1176 diag_->Error(DiagMessage(element_source) << "invalid element <" << element_name << "> " in ParseOverlayable()
1291 const std::string& element_name = parser->element_name(); in ParseAttrImpl() local
1292 if (element_namespace.empty() && (element_name == "flag" || element_name == "enum")) { in ParseAttrImpl()
1293 if (element_name == "enum") { in ParseAttrImpl()
1302 } else if (element_name == "flag") { in ParseAttrImpl()
1313 ParseEnumOrFlagItem(parser, element_name)) { in ParseAttrImpl()
1341 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseAttrImpl()
1342 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParseAttrImpl()
1464 const std::string& element_name = parser->element_name(); in ParseStyle() local
1465 if (element_namespace == "" && element_name == "item") { in ParseStyle()
1468 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseStyle()
1470 << ":" << element_name << ">"); in ParseStyle()
1533 const std::string& element_name = parser->element_name(); in ParseArrayImpl() local
1534 if (element_namespace.empty() && element_name == "item") { in ParseArrayImpl()
1544 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseArrayImpl()
1547 << element_name << ">"); in ParseArrayImpl()
1576 const std::string& element_name = parser->element_name(); in ParsePlural() local
1577 if (element_namespace.empty() && element_name == "item") { in ParsePlural()
1626 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParsePlural()
1629 << element_name << ">"); in ParsePlural()
1673 const std::string& element_name = parser->element_name(); in ParseDeclareStyleable() local
1674 if (element_namespace.empty() && element_name == "attr") { in ParseDeclareStyleable()
1724 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseDeclareStyleable()
1727 << element_name << ">"); in ParseDeclareStyleable()