Searched refs:pUTF16 (Results 1 – 3 of 3) sorted by relevance
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | CharacterHelper.cpp | 6 str_utf16 * pUTF16 = GetUTF16FromUTF8(pUTF8); in GetANSIFromUTF8() local 7 str_ansi * pANSI = GetANSIFromUTF16(pUTF16); in GetANSIFromUTF8() 8 delete [] pUTF16; in GetANSIFromUTF8() 12 str_ansi * GetANSIFromUTF16(const str_utf16 * pUTF16) in GetANSIFromUTF16() argument 14 const int nCharacters = pUTF16 ? wcslen(pUTF16) : 0; in GetANSIFromUTF16() 19 if (pUTF16) in GetANSIFromUTF16() 20 WideCharToMultiByte(CP_ACP, 0, pUTF16, -1, pANSI, nANSICharacters, NULL, NULL); in GetANSIFromUTF16() 26 memcpy(pANSI, pUTF16, nCharacters + 1); in GetANSIFromUTF16() 35 str_utf16 * pUTF16 = new str_utf16 [nCharacters + 1]; in GetUTF16FromANSI() local 38 memset(pUTF16, 0, sizeof(str_utf16) * (nCharacters + 1)); in GetUTF16FromANSI() [all …]
|
H A D | CharacterHelper.h | 9 str_ansi * GetANSIFromUTF16(const str_utf16 * pUTF16); 13 str_utf8 * GetUTF8FromUTF16(const str_utf16 * pUTF16);
|
H A D | APETag.cpp | 333 str_utf16 * pUTF16 = new str_utf16 [*pBufferCharacters + 1]; 334 pUTF16[0] = 0; 336 int nRetVal = GetFieldString(pFieldName, pUTF16, pBufferCharacters); 339 …tr_ansi> spANSI(bUTF8Encode ? (str_ansi *) GetUTF8FromUTF16(pUTF16) : GetANSIFromUTF16(pUTF16), TR… 353 delete [] pUTF16;
|