Home | History | Annotate | Download | only in tinyxml

Lines Matching defs:file

34 FILE* TiXmlFOpen( const char* filename, const char* mode );
39 FILE* TiXmlFOpen( const char* filename, const char* mode )
42 FILE* fp = 0;
800 void TiXmlElement::Print( FILE* cfile, int depth ) const
971 FILE* file = TiXmlFOpen( value.c_str (), "rb" );
973 if ( file )
975 bool result = LoadFile( file, encoding );
976 fclose( file );
986 bool TiXmlDocument::LoadFile( FILE* file, TiXmlEncoding encoding )
988 if ( !file )
998 // Get the file size, so we can pre-allocate the string. HUGE speed impact.
1000 fseek( file, 0, SEEK_END );
1001 length = ftell( file );
1002 fseek( file, 0, SEEK_SET );
1026 while( fgets( buf, sizeof(buf), file ) )
1035 if ( fread( buf, length, 1, file ) != 1 ) {
1087 FILE* fp = TiXmlFOpen( filename, "w" );
1098 bool TiXmlDocument::SaveFile( FILE* fp ) const
1145 void TiXmlDocument::Print( FILE* cfile, int depth ) const
1210 void TiXmlAttribute::Print( FILE* cfile, int /*depth*/, TIXML_STRING* str ) const
1297 void TiXmlComment::Print( FILE* cfile, int depth ) const
1332 void TiXmlText::Print( FILE* cfile, int depth ) const
1418 void TiXmlDeclaration::Print( FILE* cfile, int /*depth*/, TIXML_STRING* str ) const
1468 void TiXmlUnknown::Print( FILE* cfile, int depth ) const