Lines Matching refs:pBuf
52 static void Impl_toAsciiLower( const sal_Char* pName, sal_Char* pBuf ) in Impl_toAsciiLower() argument
58 *pBuf = (*pName)+0x20; /* toAsciiLower */ in Impl_toAsciiLower()
60 *pBuf = *pName; in Impl_toAsciiLower()
62 pBuf++; in Impl_toAsciiLower()
66 *pBuf = '\0'; in Impl_toAsciiLower()
71 static void Impl_toAsciiLowerAndRemoveNonAlphanumeric( const sal_Char* pName, sal_Char* pBuf ) in Impl_toAsciiLowerAndRemoveNonAlphanumeric() argument
78 *pBuf = (*pName)+0x20; /* toAsciiLower */ in Impl_toAsciiLowerAndRemoveNonAlphanumeric()
79 pBuf++; in Impl_toAsciiLowerAndRemoveNonAlphanumeric()
85 *pBuf = *pName; in Impl_toAsciiLowerAndRemoveNonAlphanumeric()
86 pBuf++; in Impl_toAsciiLowerAndRemoveNonAlphanumeric()
92 *pBuf = '\0'; in Impl_toAsciiLowerAndRemoveNonAlphanumeric()
582 sal_Char* pBuf; in rtl_getTextEncodingFromUnixCharset() local
589 pBuf = (char*)rtl_allocateMemory( nBufLen ); in rtl_getTextEncodingFromUnixCharset()
590 Impl_toAsciiLower( pUnixCharset, pBuf ); in rtl_getTextEncodingFromUnixCharset()
593 pFirstPart = pBuf; in rtl_getTextEncodingFromUnixCharset()
595 pTempBuf = pBuf; in rtl_getTextEncodingFromUnixCharset()
639 rtl_freeMemory( pBuf ); in rtl_getTextEncodingFromUnixCharset()
916 sal_Char* pBuf; in rtl_getTextEncodingFromMimeCharset() local
921 pBuf = (char*)rtl_allocateMemory( nBufLen ); in rtl_getTextEncodingFromMimeCharset()
922 Impl_toAsciiLowerAndRemoveNonAlphanumeric( pMimeCharset, pBuf ); in rtl_getTextEncodingFromMimeCharset()
927 if ( strcmp( pBuf, pData->mpCharsetStr ) == 0 ) in rtl_getTextEncodingFromMimeCharset()
942 if ( Impl_matchString( pBuf, pData->mpCharsetStr ) ) in rtl_getTextEncodingFromMimeCharset()
952 rtl_freeMemory( pBuf ); in rtl_getTextEncodingFromMimeCharset()