Lines Matching defs:str
34 void TiXmlBase::PutString( const std::string& str, std::ostream* stream )
39 while ( i < str.length() )
41 unsigned next = str.find( '&', i );
45 stream->write( &str.at( i ), str.length() - i );
51 stream->write( &str.at( i ), next - i );
55 if ( i < str.length() - 2
56 && str[i] == '&'
57 && str[i+1] == '#'
58 && str[i+2] == 'x' )
60 stream->put( str[i] );
66 if ( str[i] == entity[j].chr )
68 stream->write( entity[j].str, entity[j].strLength );
74 stream->put( str[i] );
737 stream.str().reserve( 500 );
740 fprintf( cfile, "%s", stream.str().c_str() );
768 SetValue( stream.str() );
777 SetValue( stream.str() );
802 stream.str().reserve( 1000 );
809 fprintf( cfile, "%s", stream.str().c_str() );
836 stream.str().reserve( 1000 );
838 fprintf( cfile, "%s", stream.str().c_str() );
875 stream.str().reserve( 200 );
877 fprintf( cfile, "%s", stream.str().c_str() );
925 stream.str().reserve( 200 );
930 fprintf( cfile, "%s", stream.str().c_str() );