Searched refs:NodeCast (Results 1 – 7 of 7) sorted by relevance
299 const T* NodeCast(const Node* node) { in NodeCast() function306 T* NodeCast(Node* node) { in NodeCast() function307 return const_cast<T*>(NodeCast<T>(static_cast<const T*>(node))); in NodeCast()
402 return NodeCast<Element>(node); in FindRootElement()466 if (const Element* el = NodeCast<Element>(child.get())) { in FindChildWithAttribute()485 if (Element* child = NodeCast<Element>(child_node.get())) { in GetChildElements()
75 using ::aapt::xml::NodeCast;524 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ArtifactFormatTagHandler()566 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in AbiGroupTagHandler()627 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ScreenDensityGroupTagHandler()694 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in LocaleGroupTagHandler()810 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in GlTextureGroupTagHandler()847 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in DeviceFeatureGroupTagHandler()
76 using ::aapt::xml::NodeCast;
140 if (xml::Text* t = xml::NodeCast<xml::Text>(child.get())) { in Consume()
257 const xml::Text* child_text = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()259 const xml::Element* child_el = xml::NodeCast<xml::Element>(actual_el.children[1].get()); in TEST()269 child_text = xml::NodeCast<xml::Text>(child_el->children[0].get()); in TEST()305 const xml::Text* child_text_keep = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()
715 if (const xml::Element* child_el = xml::NodeCast<xml::Element>(child.get())) { in SerializeXmlToPb()717 } else if (const xml::Text* text_el = xml::NodeCast<xml::Text>(child.get())) { in SerializeXmlToPb()