Searched refs:NodeCast (Results 1 – 8 of 8) sorted by relevance
29 using ::aapt::xml::NodeCast;53 if (const auto* el = NodeCast<Element>(node.get())) { in ShouldRemove()
294 const T* NodeCast(const Node* node) { in NodeCast() function301 T* NodeCast(Node* node) { in NodeCast() function302 return const_cast<T*>(NodeCast<T>(static_cast<const T*>(node))); in NodeCast()
407 return NodeCast<Element>(node); in FindRootElement()469 if (const Element* el = NodeCast<Element>(child.get())) { in FindChildWithAttribute()488 if (Element* child = NodeCast<Element>(child_node.get())) { in GetChildElements()
73 using ::aapt::xml::NodeCast;521 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ArtifactFormatTagHandler()563 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in AbiGroupTagHandler()623 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ScreenDensityGroupTagHandler()689 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in LocaleGroupTagHandler()808 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in GlTextureGroupTagHandler()845 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in DeviceFeatureGroupTagHandler()
57 using ::aapt::xml::NodeCast;
140 if (xml::Text* t = xml::NodeCast<xml::Text>(child.get())) { in Consume()
329 const xml::Text* child_text = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()331 const xml::Element* child_el = xml::NodeCast<xml::Element>(actual_el.children[1].get()); in TEST()341 child_text = xml::NodeCast<xml::Text>(child_el->children[0].get()); in TEST()377 const xml::Text* child_text_keep = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()
784 if (const xml::Element* child_el = xml::NodeCast<xml::Element>(child.get())) { in SerializeXmlToPb()786 } else if (const xml::Text* text_el = xml::NodeCast<xml::Text>(child.get())) { in SerializeXmlToPb()