Home
last modified time | relevance | path

Searched refs:ToElement (Results 1 – 10 of 10) sorted by relevance

/external/tinyxml/
Dtinyxml.cpp482 if ( node->ToElement() ) in FirstChildElement()
483 return node->ToElement(); in FirstChildElement()
496 if ( node->ToElement() ) in FirstChildElement()
497 return node->ToElement(); in FirstChildElement()
510 if ( node->ToElement() ) in FirstChildElement()
511 return node->ToElement(); in FirstChildElement()
524 if ( node->ToElement() ) in FirstChildElement()
525 return node->ToElement(); in FirstChildElement()
538 if ( node->ToElement() ) in NextSiblingElement()
539 return node->ToElement(); in NextSiblingElement()
[all …]
Dxmltest.cpp163 todoElement = node->ToElement(); in main()
170 itemElement = node->ToElement(); in main()
225 itemElement = node->ToElement(); in main()
257 XmlTest( "Root element exists.", true, ( node != 0 && node->ToElement() ) ); in main()
263 XmlTest( "Sibling element exists & is an element.", true, ( node != 0 && node->ToElement() ) ); in main()
Dtinyxml.h637 …const TiXmlElement* ToElement() const { return ( this && type == ELEMENT ) ? (const TiXmlEleme… in ToElement() function
644 …TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } … in ToElement() function
1496 TiXmlElement* Element() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); } in Element()
Dtinyxmlparser.cpp657 bool isElement = node->ToElement() != 0; in StreamIn()
/external/tinyxml2/
Dtinyxml2.h444 …virtual XMLElement* ToElement() { return 0; } ///< Safely cast to an Element, or … in ToElement() function
451 virtual const XMLElement* ToElement() const { return 0; } in ToElement() function
850 virtual XMLElement* ToElement() { return this; } in ToElement() function
851 virtual const XMLElement* ToElement() const { return this; } in ToElement() function
1290 …XMLElement* ToElement() { return ( ( node && node->ToElement() ) ? node->ToEle… in ToElement() function
1327 …const XMLElement* ToElement() const { return ( ( node && node->ToElement() ) ? node->To… in ToElement() function
Dtinyxml2.cpp678 XMLElement* element = node->ToElement(); in FirstChildElement()
692 XMLElement* element = node->ToElement(); in LastChildElement()
706 if ( element->ToElement() in NextSiblingElement()
709 return element->ToElement(); in NextSiblingElement()
719 if ( element->ToElement() in PreviousSiblingElement()
722 return element->ToElement(); in PreviousSiblingElement()
768 if ( node->ToElement() && node->ToElement()->ClosingType() == XMLElement::CLOSING ) { in ParseDeep()
778 XMLElement* ele = node->ToElement(); in ParseDeep()
1381 const XMLElement* other = compare->ToElement(); in ShallowEqual()
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.h698 …virtual const TiXmlElement* ToElement() const { return 0; } ///< Cast to a more defined ty… in ToElement() function
705 …virtual TiXmlElement* ToElement() { return 0; } ///< Cast to a more defined type. Wi… in ToElement() function
1133 …virtual const TiXmlElement* ToElement() const { return this; } ///< Cast to a more defined… in ToElement() function
1134 …virtual TiXmlElement* ToElement() { return this; } ///< Cast to a more defined… in ToElement() function
1688 …TiXmlElement* ToElement() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 … in ToElement() function
1703 TiXmlElement* Element() const { return ToElement(); } in Element()
Dtinyxml.cpp460 if ( node->ToElement() ) in FirstChildElement()
461 return node->ToElement(); in FirstChildElement()
475 if ( node->ToElement() ) in FirstChildElement()
476 return node->ToElement(); in FirstChildElement()
490 if ( node->ToElement() ) in NextSiblingElement()
491 return node->ToElement(); in NextSiblingElement()
505 if ( node->ToElement() ) in NextSiblingElement()
506 return node->ToElement(); in NextSiblingElement()
Dtinyxmlparser.cpp680 bool isElement = node->ToElement() != 0; in StreamIn()
/external/sfntly/cpp/src/test/
Dtest_xml_utils.cc42 for (const TiXmlAttribute* attribute = node->ToElement()->FirstAttribute(); in GetAttribute()