Lines Matching refs:fp
49 static bool read_line( FILE *fp, string& rLine ) in read_line() argument
57 while ( !bEOL && fgets( szBuffer, sizeof(szBuffer), fp ) ) in read_line()
96 FILE *fp = fopen( pFileName, "r" ); in get_profile_string() local
99 if ( fp ) in get_profile_string()
104 while ( read_line( fp, line ) ) in get_profile_string()
141 fclose( fp ); in get_profile_string()
191 FILE *fp = fopen( sRCFile.c_str(), "w" ); in SaveParams() local
193 if ( fp ) in SaveParams()
195 fprintf( fp, "[Options]\n" ); in SaveParams()
196 fprintf( fp, "UseProxy=%s\n", 2 == maParams.miHTTPConnectionType ? "true" : "false" ); in SaveParams()
197 …fprintf( fp, "ProxyServer=%s\n", ByteString( maParams.maHTTPProxyServer, RTL_TEXTENCODING_UTF8 ).G… in SaveParams()
198 …fprintf( fp, "ProxyPort=%s\n", ByteString( maParams.maHTTPProxyPort, RTL_TEXTENCODING_UTF8 ).GetBu… in SaveParams()
199 …fprintf( fp, "ReturnAddress=%s\n", ByteString( GetEMailAddress(), RTL_TEXTENCODING_UTF8 ).GetBuffe… in SaveParams()
200 fprintf( fp, "AllowContact=%s\n", IsContactAllowed() ? "true" : "false" ); in SaveParams()
201 fclose( fp ); in SaveParams()
221 FILE *fp = fopen( tmpnam( szBodyFile ), "w" ); in SendReport() local
223 if ( fp ) in SendReport()
227 fwrite( strUTF8.GetBuffer(), 1, strUTF8.Len(), fp ); in SendReport()
228 fclose( fp ); in SendReport()