Lines Matching refs:nEncoding
52 SalConverterCache::GetU2TConverter( rtl_TextEncoding nEncoding ) in GetU2TConverter() argument
54 if( rtl_isOctetTextEncoding( nEncoding ) ) in GetU2TConverter()
56 ConverterT& rConverter( m_aConverters[ nEncoding ] ); in GetU2TConverter()
60 rtl_createUnicodeToTextConverter( nEncoding ); in GetU2TConverter()
63 fprintf( stderr, "failed to create Unicode -> %i converter\n", nEncoding); in GetU2TConverter()
72 SalConverterCache::GetT2UConverter( rtl_TextEncoding nEncoding ) in GetT2UConverter() argument
74 if( rtl_isOctetTextEncoding( nEncoding ) ) in GetT2UConverter()
76 ConverterT& rConverter( m_aConverters[ nEncoding ] ); in GetT2UConverter()
80 rtl_createTextToUnicodeConverter( nEncoding ); in GetT2UConverter()
83 fprintf( stderr, "failed to create %i -> Unicode converter\n", nEncoding ); in GetT2UConverter()
92 SalConverterCache::IsSingleByteEncoding( rtl_TextEncoding nEncoding ) in IsSingleByteEncoding() argument
94 if( rtl_isOctetTextEncoding( nEncoding ) ) in IsSingleByteEncoding()
96 ConverterT& rConverter( m_aConverters[ nEncoding ] ); in IsSingleByteEncoding()
103 rtl_getTextEncodingInfo( nEncoding, &aTextEncInfo ); in IsSingleByteEncoding()
121 SalConverterCache::EncodingHasChar( rtl_TextEncoding nEncoding, in EncodingHasChar() argument
126 switch ( nEncoding ) in EncodingHasChar()
281 aConverter = GetU2TConverter(nEncoding); in EncodingHasChar()
315 sal_Char *pBuffer, sal_Size nBufferSize, rtl_TextEncoding nEncoding ) in ConvertStringUTF16() argument
317 rtl_UnicodeToTextConverter aConverter = GetU2TConverter(nEncoding); in ConvertStringUTF16()