Home | History | Annotate | Download | only in tinyxml

Lines Matching defs:file

766 void TiXmlElement::Print( FILE* cfile, int depth ) const
975 FILE* file = fopen( value.c_str (), "rb" );
977 if ( file )
979 // Get the file size, so we can pre-allocate the string. HUGE speed impact.
981 fseek( file, 0, SEEK_END );
982 length = ftell( file );
983 fseek( file, 0, SEEK_SET );
988 fclose( file );
992 // If we have a file, assume it is all one big XML file, and read it in.
993 // The document parser may decide the document ends sooner than the entire file, however.
1012 while( fgets( buf, sizeof(buf), file ) )
1021 if ( fread( buf, length, 1, file ) != 1 ) {
1022 //if ( fread( buf, 1, length, file ) != (size_t)length ) {
1024 fclose( file );
1027 fclose( file );
1089 FILE* fp = fopen( filename, "w" );
1136 void TiXmlDocument::Print( FILE* cfile, int depth ) const
1198 void TiXmlAttribute::Print( FILE* cfile, int /*depth*/ ) const
1290 void TiXmlComment::Print( FILE* cfile, int depth ) const
1326 void TiXmlText::Print( FILE* cfile, int depth ) const
1425 void TiXmlDeclaration::Print( FILE* cfile, int /*depth*/ ) const
1486 void TiXmlUnknown::Print( FILE* cfile, int depth ) const