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()
530 std::string resource_type = parser->element_name(); in ParseResource()
585 << "<" << parser->element_name() in ParseResource()
612 << "<" << parser->element_name() in ParseResource()
628 << "<" << parser->element_name() << "> missing 'name' attribute"); in ParseResource()
655 << "<" << parser->element_name() << "> missing 'name' attribute"); in ParseResource()
678 << "<" << parser->element_name() in ParseResource()
952 const std::string& element_name = parser->element_name(); in ParsePublicGroup() local
953 if (element_namespace.empty() && element_name == "public") { in ParsePublicGroup()
989 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParsePublicGroup()
990 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParsePublicGroup()
1002 << "<" << parser->element_name() in ParseSymbolImpl()
1011 << parser->element_name() << ">"); in ParseSymbolImpl()
1028 << parser->element_name() << "> tag"); in ParseSymbol()
1092 const std::string& element_name = parser->element_name(); in ParseOverlayable() local
1094 if (element_namespace.empty() && element_name == "item") { in ParseOverlayable()
1139 } else if (element_namespace.empty() && element_name == "policy") { in ParseOverlayable()
1177 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseOverlayable()
1178 diag_->Error(DiagMessage(element_source) << "invalid element <" << element_name << "> " in ParseOverlayable()
1293 const std::string& element_name = parser->element_name(); in ParseAttrImpl() local
1294 if (element_namespace.empty() && (element_name == "flag" || element_name == "enum")) { in ParseAttrImpl()
1295 if (element_name == "enum") { in ParseAttrImpl()
1304 } else if (element_name == "flag") { in ParseAttrImpl()
1315 ParseEnumOrFlagItem(parser, element_name)) { in ParseAttrImpl()
1343 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseAttrImpl()
1344 diag_->Error(DiagMessage(item_source) << ":" << element_name << ">"); in ParseAttrImpl()
1466 const std::string& element_name = parser->element_name(); in ParseStyle() local
1467 if (element_namespace == "" && element_name == "item") { in ParseStyle()
1470 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseStyle()
1472 << ":" << element_name << ">"); in ParseStyle()
1535 const std::string& element_name = parser->element_name(); in ParseArrayImpl() local
1536 if (element_namespace.empty() && element_name == "item") { in ParseArrayImpl()
1546 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseArrayImpl()
1549 << element_name << ">"); in ParseArrayImpl()
1578 const std::string& element_name = parser->element_name(); in ParsePlural() local
1579 if (element_namespace.empty() && element_name == "item") { in ParsePlural()
1628 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParsePlural()
1631 << element_name << ">"); in ParsePlural()
1681 const std::string& element_name = parser->element_name(); in ParseDeclareStyleable() local
1682 if (element_namespace.empty() && element_name == "attr") { in ParseDeclareStyleable()
1733 } else if (!ShouldIgnoreElement(element_namespace, element_name)) { in ParseDeclareStyleable()
1736 << element_name << ">"); in ParseDeclareStyleable()