Lines Matching refs:ByteString

38 void PrintMessage( ByteString aType, ByteString aMsg, ByteString aPrefix,  in PrintMessage()
39 ByteString aContext, sal_Bool bPrintContext, sal_uLong nLine, ByteString aUniqueId = ByteString() ) in PrintMessage()
53 void PrintError( ByteString aMsg, ByteString aPrefix, in PrintError()
54 ByteString aContext, sal_Bool bPrintContext, sal_uLong nLine, ByteString aUniqueId = ByteString() ) in PrintError()
60 sal_Bool LanguageOK( ByteString aLang ) in LanguageOK()
72 ByteString aTok0( aLang.GetToken( 0, '-' ) ); in LanguageOK()
73 ByteString aTok1( aLang.GetToken( 1, '-' ) ); in LanguageOK()
119 …fprintf( stderr, "\nERROR: Could not open Output-File %s!\n\n", ByteString( aFileName, RTL_TEXTENC… in LazyOpen()
132 GSILine::GSILine( const ByteString &rLine, sal_uLong nLine ) in GSILine()
134 : ByteString( rLine ) in GSILine()
164 …PrintError( ByteString("GID and LID may only be ").Append( ByteString::CreateFromInt32(MAX_GID_LID… in GSILine()
171 ByteString sTmp( rLine ); in GSILine()
220 ByteString aReassemble; in ReassembleLine()
241 *(ByteString*)this = aReassemble; in ReassembleLine()
270 *(ByteString*)this = aReassemble; in ReassembleLine()
309 void GSIBlock::InsertLine( GSILine* pLine, ByteString aSourceLang) in InsertLine()
354 void GSIBlock::PrintMessage( ByteString aType, ByteString aMsg, ByteString aPrefix, in PrintMessage()
355 ByteString aContext, sal_uLong nLine, ByteString aUniqueId ) in PrintMessage()
362 void GSIBlock::PrintError( ByteString aMsg, ByteString aPrefix, in PrintError()
363 ByteString aContext, sal_uLong nLine, ByteString aUniqueId ) in PrintError()
370 void GSIBlock::PrintList( ParserMessageList *pList, ByteString aPrefix, in PrintList()
378 ByteString aContext; in PrintList()
394 …::IsUTF8( const ByteString &aTestee, sal_Bool bFixTags, sal_uInt16 &nErrorPos, ByteString &aErrorM… in IsUTF8()
398 …if ( STRING_MATCH != (nErrorPos = ByteString( aUTF8Tester, RTL_TEXTENCODING_UTF8 ).Match( aTestee … in IsUTF8()
402 aErrorMsg = ByteString( "UTF8 Encoding seems to be broken" ); in IsUTF8()
410 aErrorMsg = ByteString( "String contains illegal character" ); in IsUTF8()
424 ByteString aID( aTestee ); in IsUTF8()
440 ByteString aDelimiter( (String)String( sal_Unicode(0x2016) ), RTL_TEXTENCODING_UTF8 ); in IsUTF8()
475 ByteString aDigits("0123456789abcdefghijklmnopqrstuvwxyz+-<=>"); in IsUTF8()
494 aErrorMsg = ByteString( "String contains KeyID" ); in IsUTF8()
499 aErrorMsg = ByteString( "FIXED String containing KeyID" ); in IsUTF8()
502 aErrorMsg = ByteString( "String contains KeyID" ); in IsUTF8()
515 ByteString aErrorMsg; in TestUTF8()
517 ByteString aFixed; in TestUTF8()
521 ByteString aContext( pTestee->GetText().Copy( nErrorPos, 20 ) ); in TestUTF8()
522 …PrintError( aErrorMsg.Append(" in Text at Position " ).Append( ByteString::CreateFromInt32( nError… in TestUTF8()
532 ByteString aContext( pTestee->GetQuickHelpText().Copy( nErrorPos, 20 ) ); in TestUTF8()
533 …PrintError( aErrorMsg.Append(" in QuickHelpText at Position " ).Append( ByteString::CreateFromInt3… in TestUTF8()
543 ByteString aContext( pTestee->GetTitle().Copy( nErrorPos, 20 ) ); in TestUTF8()
544 …PrintError( aErrorMsg.Append(" in Title at Position " ).Append( ByteString::CreateFromInt32( nErro… in TestUTF8()
568 ByteString aContext( pTestee->GetText().Copy( nPos, 20 ) ); in HasSuspiciousChars()
569 …PrintError( ByteString("Found double question mark in translation only. Looks like an encoding pro… in HasSuspiciousChars()
623 ByteString aContext( pReferenceLine->Copy( nPos - 5, 15) ); in CheckSyntax()
748 …fprintf( stdout, " checks for *new* KeyIDs and relax GID/LID length to %s\n", ByteString::… in Help()
798 ByteString aSourceLang( "en-US" ); // English is default in main()
799 ByteString aFilename; in main()
800 ByteString aReferenceFilename; in main()
878 aSourceLang = ByteString( argv[ i+1 ] ); in main()
928 aFilename = ByteString( argv[ i ] ); in main()
1029 ByteString sReferenceLine; in main()
1031 ByteString aOldReferenceId("No Valid ID"); // just set to something which can never be an ID in main()
1034 ByteString sGSILine; in main()
1036 ByteString aOldId("No Valid ID"); // just set to something which can never be an ID in main()
1071 ByteString aId = pGSILine->GetUniqId(); in main()