Lines Matching refs:c_str

93 #define REPORT_SERVER	(g_strReportServer.c_str())
197 pszUserType ? xml_encode( pszUserType ).c_str() : "", in write_report()
198 xml_encode(rSettings.find( "CONTACT" )->second).c_str(), in write_report()
199 xml_encode(rSettings.find( "EMAIL" )->second).c_str(), in write_report()
200 xml_encode(rSettings.find( "TITLE" )->second).c_str(), in write_report()
201 g_buildid.length() ? xml_encode( g_buildid ).c_str() : "unknown", in write_report()
203 g_strDefaultLanguage.c_str(), in write_report()
205 g_strProductKey.length() ? xml_encode(g_strProductKey).c_str() : "unknown", in write_report()
206 xml_encode(getprogramdir()).c_str() in write_report()
218 xml_encode( info.sysname ).c_str(), in write_report()
219 xml_encode( info.version ).c_str(), in write_report()
220 xml_encode( info.release ).c_str(), in write_report()
221 xml_encode( getlocale() ).c_str() in write_report()
223 fprintf( fp, "<systeminfo:CPU type=\"%s\"/>\n", xml_encode( info.machine ).c_str() ); in write_report()
226 FILE *fpxml = fopen( g_strXMLFileName.c_str(), "r" ); in write_report()
233 FILE *fpchk = fopen( g_strChecksumFileName.c_str(), "r" ); in write_report()
257 fprintf( fp, "%s\n", rSettings.find( "DESCRIPTION" )->second.c_str() ); in write_description()
271 printf( "%s=\"%s\"\n", it->first.c_str(), it->second.c_str() );
279 FILE *fpout = fopen( rFileName.c_str(), "w" ); in save_crash_report()
494 if ( 0 == strcasecmp( rSettings.find( "CONTACT" )->second.c_str(), "true" ) && in send_crash_report()
502 const char *pProxyServer = rSettings.find( "SERVER" )->second.c_str(); in send_crash_report()
503 …unsigned short uProxyPort = (unsigned short)strtoul( rSettings.find( "PORT" )->second.c_str(), &en… in send_crash_report()
505 bool bUseProxy = !strcasecmp( "true", rSettings.find( "USEPROXY" )->second.c_str() ); in send_crash_report()
563 aRet.append( rSettings.find( "TITLE" )->second.c_str() ); in crash_get_details()
594 chdir( aDir.c_str() ); in setup_program_dir()
733 if ( 0 == strcasecmp( keyname.c_str(), pKeyName ) ) in get_script_string()
783 0 == strcasecmp( section.c_str(), pSectionName ) && in get_profile_string()
784 0 == strcasecmp( keyname.c_str(), pKeyName ) in get_profile_string()
813 FILE *fp = fopen( rFileName.c_str(), "r" ); in read_from_file()
857 FILE *fp = fopen( sFile.c_str(), "w" ); in write_crash_data()
861 FILE *fpin = fopen( g_strXMLFileName.c_str(), "r" ); in write_crash_data()
877 fp = fopen( sFile.c_str(), "w" ); in write_crash_data()
881 FILE *fpin = fopen( g_strChecksumFileName.c_str(), "r" ); in write_crash_data()
897 fp = fopen( sFile.c_str(), "w" ); in write_crash_data()
918 FILE *fp = fopen( sRCFile.c_str(), "w" );
923 fprintf( fp, "UseProxy=%s\n", rSettings.find( "USEPROXY" )->second.c_str() );
924 fprintf( fp, "ProxyServer=%s\n", rSettings.find( "SERVER" )->second.c_str() );
925 fprintf( fp, "ProxyPort=%s\n", rSettings.find( "PORT" )->second.c_str() );
926 fprintf( fp, "ReturnAddress=%s\n", rSettings.find( "EMAIL" )->second.c_str() );
927 fprintf( fp, "AllowContact=%s\n", rSettings.find( "CONTACT" )->second.c_str() );
942 rSettings[ "EMAIL" ] = get_profile_string( sRCFile.c_str(), "Options", "ReturnAddress" ); in read_settings()
943 rSettings[ "SERVER" ] = get_profile_string( sRCFile.c_str(), "Options", "ProxyServer" ); in read_settings()
944 rSettings[ "PORT" ] = get_profile_string( sRCFile.c_str(), "Options", "ProxyPort" ); in read_settings()
945 rSettings[ "USEPROXY" ] = get_profile_string( sRCFile.c_str(), "Options", "UseProxy" ); in read_settings()
946 rSettings[ "CONTACT" ] = get_profile_string( sRCFile.c_str(), "Options", "AllowContact" ); in read_settings()
976 rSettings[ "USEPROXY" ] = 0 == strcasecmp( strEnv.c_str(), "MANUALPROXY" ) ? "true" : "false"; in read_settings_from_environment()
1010 putenv( (char *)productname.c_str() ); in setup_version()
1013 putenv( (char *)productversion.c_str() ); in setup_version()
1024 unsigned short uReportPort = (unsigned short)strtoul( strReportPort.c_str(), &endptr, 10 ); in setup_version()
1091 FILE *fpout = fopen( sPreviewFile.c_str(), "w+" ); in main()
1108 unlink( g_strXMLFileName.c_str() ); in main()
1109 unlink( g_strChecksumFileName.c_str() ); in main()