Lines Matching refs:nErrorPos

394 sal_Bool GSIBlock::IsUTF8( const ByteString &aTestee, sal_Bool bFixTags, sal_uInt16 &nErrorPos, Byt…  in IsUTF8()  argument
398 …if ( STRING_MATCH != (nErrorPos = ByteString( aUTF8Tester, RTL_TEXTENCODING_UTF8 ).Match( aTestee … in IsUTF8()
400 aUTF8Tester = String( aTestee.GetBuffer(), nErrorPos, RTL_TEXTENCODING_UTF8 ); in IsUTF8()
401 nErrorPos = aUTF8Tester.Len(); in IsUTF8()
406nErrorPos = aUTF8Tester.SearchChar( String::CreateFromAscii( "\x01\x02\x03\x04\x05\x06\x07\x08\x09… in IsUTF8()
408 if ( nErrorPos != STRING_NOTFOUND ) in IsUTF8()
434 nErrorPos = nTagEnd+1; in IsUTF8()
445 nErrorPos = 1; in IsUTF8()
453 nErrorPos = 1; in IsUTF8()
461 nErrorPos = 1; in IsUTF8()
514 sal_uInt16 nErrorPos = 0; in TestUTF8() local
519 if ( !IsUTF8( pTestee->GetText(), bFixTags, nErrorPos, aErrorMsg, bHasBeenFixed, aFixed ) ) in TestUTF8()
521 ByteString aContext( pTestee->GetText().Copy( nErrorPos, 20 ) ); in TestUTF8()
522 …g.Append(" in Text at Position " ).Append( ByteString::CreateFromInt32( nErrorPos ) ), "Text forma… in TestUTF8()
530 …if ( !IsUTF8( pTestee->GetQuickHelpText(), bFixTags, nErrorPos, aErrorMsg, bHasBeenFixed, aFixed )… in TestUTF8()
532 ByteString aContext( pTestee->GetQuickHelpText().Copy( nErrorPos, 20 ) ); in TestUTF8()
533 …" in QuickHelpText at Position " ).Append( ByteString::CreateFromInt32( nErrorPos ) ), "Text forma… in TestUTF8()
541 if ( !IsUTF8( pTestee->GetTitle(), bFixTags, nErrorPos, aErrorMsg, bHasBeenFixed, aFixed ) ) in TestUTF8()
543 ByteString aContext( pTestee->GetTitle().Copy( nErrorPos, 20 ) ); in TestUTF8()
544 ….Append(" in Title at Position " ).Append( ByteString::CreateFromInt32( nErrorPos ) ), "Text forma… in TestUTF8()
567 sal_uInt16 nErrorPos = aUTF8Tester.Len(); in HasSuspiciousChars() local
569 …n encoding problem at Position " ).Append( ByteString::CreateFromInt32( nErrorPos ) ), "Text forma… in HasSuspiciousChars()