Lines Matching refs:ByteString
46 ByteString sLine; in GetGSIFileType()
63 ByteString GetGSILineId( const ByteString &rLine, sal_uInt16 nFileType ) in GetGSILineId()
66 ByteString sId; in GetGSILineId()
88 ByteString GetGSILineLangId( const ByteString &rLine, sal_uInt16 nFileType ) in GetGSILineLangId()
91 ByteString sLangId; in GetGSILineLangId()
107 void ConvertGSILine( sal_Bool bToUTF8, ByteString &rLine, in ConvertGSILine()
120 ByteString sConverted; in ConvertGSILine()
122 ByteString sToken = rLine.GetToken( i, '\t' ); in ConvertGSILine()
210 if ( ByteString( argv[ 1 ] ) == "-p" ) { in main()
214 fprintf( stderr, "\nERROR: GSI-File %s not found!\n\n", ByteString( argv[ 3 ] ).GetBuffer()); in main()
226 … fprintf( stderr, "\nERROR: Could not open GSI-File %s!\n\n", ByteString( argv[ 3 ] ).GetBuffer()); in main()
232 sal_uLong nMaxLines = (sal_uLong) ByteString( argv[ 2 ] ).ToInt64(); in main()
238 ByteString sGSILine; in main()
239 ByteString sOldId; in main()
258 ByteString sId( GetGSILineId( sGSILine, nFileType )); in main()
265 ByteString sText( aOutput.GetFull(), gsl_getSystemTextEncoding()); in main()
267 sText += ByteString::CreateFromInt64( nLine ); in main()
294 ByteString sText( aOutput.GetFull(), RTL_TEXTENCODING_ASCII_US ); in main()
296 sText += ByteString::CreateFromInt64( nLine ); in main()
305 if ( ByteString( argv[ 1 ] ) == "-t" || ByteString( argv[ 1 ] ) == "-f" ) { in main()
308 ByteString sCurLangId( argv[ 2 ] ); in main()
310 ByteString sCharset( argv[ 3 ] ); in main()
334 fprintf( stderr, "\nERROR: GSI-File %s not found!\n\n", ByteString( argv[ 3 ] ).GetBuffer()); in main()
341 … fprintf( stderr, "\nERROR: Could not open GSI-File %s!\n\n", ByteString( argv[ 3 ] ).GetBuffer()); in main()
346 ByteString sGSILine; in main()
350 ByteString sLangId( GetGSILineLangId( sGSILine, nFileType )); in main()
352 ConvertGSILine(( ByteString( argv[ 1 ] ) == "-t" ), sGSILine, nEncoding, nFileType ); in main()