Searched defs:afterThis (Results 1 - 2 of 2) sorted by relevance

/external/tinyxml/
H A Dtinyxml.cpp246 TiXmlNode* TiXmlNode::InsertAfterChild( TiXmlNode* afterThis, const TiXmlNode& addThis ) argument
248 if ( !afterThis || afterThis->parent != this )
256 node->prev = afterThis;
257 node->next = afterThis->next;
258 if ( afterThis->next )
260 afterThis->next->prev = node;
264 assert( lastChild == afterThis );
267 afterThis->next = node;
/external/tinyxml2/
H A Dtinyxml2.cpp654 XMLNode* XMLNode::InsertAfterChild( XMLNode* afterThis, XMLNode* addThis ) argument
656 TIXMLASSERT( afterThis->parent == this );
657 if ( afterThis->parent != this )
660 if ( afterThis->next == 0 ) {
664 addThis->prev = afterThis;
665 addThis->next = afterThis->next;
666 afterThis->next->prev = addThis;
667 afterThis->next = addThis;

Completed in 306 milliseconds