Lines Matching refs:_document
765 _document( doc ), in XMLNode()
829 TIXMLASSERT( child->_document == _document ); in Unlink()
853 TIXMLASSERT( node->_document == _document ); in DeleteChild()
866 if ( addThis->_document != _document ) { in InsertEndChild()
896 if ( addThis->_document != _document ) { in InsertFirstChild()
927 if ( addThis->_document != _document ) { in InsertAfterChild()
1029 XMLDocument::DepthTracker tracker(_document); in ParseDeep()
1030 if (_document->Error()) in ParseDeep()
1036 p = _document->Identify( p, &node ); in ParseDeep()
1048 if ( !_document->Error() ) { in ParseDeep()
1049 _document->SetError( XML_ERROR_PARSING, initialLineNum, 0); in ParseDeep()
1079 …_document->SetError( XML_ERROR_PARSING_DECLARATION, initialLineNum, "XMLDeclaration value=%s", dec… in ParseDeep()
1114 …_document->SetError( XML_ERROR_MISMATCHED_ELEMENT, initialLineNum, "XMLElement name=%s", ele->Name… in ParseDeep()
1129 TIXMLASSERT(node->_document); in DeleteNode()
1131 node->_document->MarkInUse(node); in DeleteNode()
1142 TIXMLASSERT( insertThis->_document == _document ); in InsertChildPreamble()
1148 insertThis->_document->MarkInUse(insertThis); in InsertChildPreamble()
1174 _document->SetError( XML_ERROR_PARSING_CDATA, _parseLineNum, 0 ); in ParseDeep()
1179 …int flags = _document->ProcessEntities() ? StrPair::TEXT_ELEMENT : StrPair::TEXT_ELEMENT_LEAVE_ENT… in ParseDeep()
1180 if ( _document->WhitespaceMode() == COLLAPSE_WHITESPACE ) { in ParseDeep()
1189 _document->SetError( XML_ERROR_PARSING_TEXT, _parseLineNum, 0 ); in ParseDeep()
1199 doc = _document; in ShallowClone()
1239 _document->SetError( XML_ERROR_PARSING_COMMENT, _parseLineNum, 0 ); in ParseDeep()
1248 doc = _document; in ShallowClone()
1288 _document->SetError( XML_ERROR_PARSING_DECLARATION, _parseLineNum, 0 ); in ParseDeep()
1297 doc = _document; in ShallowClone()
1336 _document->SetError( XML_ERROR_PARSING_UNKNOWN, _parseLineNum, 0 ); in ParseDeep()
1345 doc = _document; in ShallowClone()
1893 … _document->SetError( XML_ERROR_PARSING_ELEMENT, _parseLineNum, "XMLElement name=%s", Name() ); in ParseAttributes()
1901 attrib->_parseLineNum = _document->_parseCurLineNum; in ParseAttributes()
1905 p = attrib->ParseDeep( p, _document->ProcessEntities(), curLineNumPtr ); in ParseAttributes()
1908 … _document->SetError( XML_ERROR_PARSING_ATTRIBUTE, attrLineNum, "XMLElement name=%s", Name() ); in ParseAttributes()
1937 _document->SetError( XML_ERROR_PARSING_ELEMENT, _parseLineNum, 0 ); in ParseAttributes()
1956 TIXMLASSERT( sizeof( XMLAttribute ) == _document->_attributePool.ItemSize() ); in CreateAttribute()
1957 XMLAttribute* attrib = new (_document->_attributePool.Alloc() ) XMLAttribute(); in CreateAttribute()
1959 attrib->_memPool = &_document->_attributePool; in CreateAttribute()
1967 XMLElement* node = _document->NewElement(name); in InsertNewChildElement()
1973 XMLComment* node = _document->NewComment(comment); in InsertNewComment()
1979 XMLText* node = _document->NewText(text); in InsertNewText()
1985 XMLDeclaration* node = _document->NewDeclaration(text); in InsertNewDeclaration()
1991 XMLUnknown* node = _document->NewUnknown(text); in InsertNewUnknown()
2033 doc = _document; in ShallowClone()
2127 _document = this; in XMLDocument()
2254 TIXMLASSERT(node->_document == this ); in DeleteNode()