Lines Matching defs:document
171 // Only used by the document!
363 // At this scope, we can't get to a document. So fail silently.
379 if ( c <= 0 ) // Silent failure: can't get document at this scope
620 // The basic issue with a document is that we don't know what we're
685 // Parse away, at the document level. Since a document
694 // Note that, for a document, this needs to come
895 TiXmlDocument* document = GetDocument();
896 if ( document )
897 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
956 TiXmlDocument* document = GetDocument();
957 if ( document )
958 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
985 TiXmlDocument* document = GetDocument();
986 if ( document )
987 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
1017 TiXmlDocument* document = GetDocument();
1021 if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT, 0, 0, encoding );
1033 if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT, p, data, encoding );
1045 if ( document ) document->SetError( TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME, pErr, data, encoding );
1061 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, pErr, data, encoding );
1070 if ( document ) document->SetError( TIXML_ERROR_PARSING_EMPTY, p, data, encoding );
1093 if ( document ) document->SetError( TIXML_ERROR_READING_END_TAG, p, data, encoding );
1103 if ( document ) document->SetError( TIXML_ERROR_OUT_OF_MEMORY, pErr, data, encoding );
1107 attrib->SetDocument( document );
1113 if ( document ) document->SetError( TIXML_ERROR_PARSING_ELEMENT, pErr, data, encoding );
1136 TiXmlDocument* document = GetDocument();
1151 if ( document ) document->SetError( TIXML_ERROR_OUT_OF_MEMORY, 0, 0, encoding );
1200 if ( document ) document->SetError( TIXML_ERROR_READING_ELEMENT_VALUE, 0, 0, encoding );
1214 TiXmlDocument* document = GetDocument();
1215 if ( document )
1216 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
1233 TiXmlDocument* document = GetDocument();
1243 if ( document ) document->SetError( TIXML_ERROR_PARSING_UNKNOWN, p, data, encoding );
1257 if ( document ) document->SetError( TIXML_ERROR_PARSING_UNKNOWN, 0, 0, encoding );
1272 TiXmlDocument* document = GetDocument();
1273 if ( document )
1274 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
1294 TiXmlDocument* document = GetDocument();
1309 document->SetError( TIXML_ERROR_PARSING_COMMENT, p, data, encoding );
1324 if ( document )
1325 tabsize = document->TabSize();
1337 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, pErr, data, encoding );
1343 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, p, data, encoding );
1351 if ( document ) document->SetError( TIXML_ERROR_READING_ATTRIBUTES, p, data, encoding );
1394 TiXmlDocument* document = GetDocument();
1395 if ( document )
1396 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
1419 TiXmlDocument* document = GetDocument();
1420 if ( document )
1421 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
1435 TiXmlDocument* document = GetDocument();
1452 document->SetError( TIXML_ERROR_PARSING_CDATA, p, data, encoding );
1490 TiXmlDocument* document = GetDocument();
1491 if ( document )
1492 document->SetError( TIXML_ERROR_EMBEDDED_NULL, 0, 0, TIXML_ENCODING_UNKNOWN );
1511 TiXmlDocument* document = GetDocument();
1514 if ( document ) document->SetError( TIXML_ERROR_PARSING_DECLARATION, 0, 0, _encoding );