Lines Matching refs:srcString
12 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage) in MultiByteToUnicodeString() argument
15 if (!srcString.IsEmpty()) in MultiByteToUnicodeString()
17 int numChars = MultiByteToWideChar(codePage, 0, srcString, in MultiByteToUnicodeString()
18 srcString.Len(), resultString.GetBuffer(srcString.Len()), in MultiByteToUnicodeString()
19 srcString.Len() + 1); in MultiByteToUnicodeString()
27 void MultiByteToUnicodeString2(UString &dest, const AString &srcString, UINT codePage) in MultiByteToUnicodeString2() argument
30 if (!srcString.IsEmpty()) in MultiByteToUnicodeString2()
32 wchar_t *destBuf = dest.GetBuffer(srcString.Len()); in MultiByteToUnicodeString2()
33 const char *sp = (const char *)srcString; in MultiByteToUnicodeString2()
43 if (i != srcString.Len()) in MultiByteToUnicodeString2()
46 srcString.Len() - i, destBuf + i, in MultiByteToUnicodeString2()
47 srcString.Len() + 1 - i); in MultiByteToUnicodeString2()
89 void UnicodeStringToMultiByte2(AString &dest, const UString &srcString, UINT codePage) in UnicodeStringToMultiByte2() argument
92 UnicodeStringToMultiByte2(dest, srcString, codePage, '_', defaultCharWasUsed); in UnicodeStringToMultiByte2()
114 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage) in UnicodeStringToMultiByte() argument
117 return UnicodeStringToMultiByte(srcString, codePage, '_', defaultCharWasUsed); in UnicodeStringToMultiByte()
121 AString SystemStringToOemString(const CSysString &srcString) in SystemStringToOemString() argument
124 CharToOem(srcString, result.GetBuffer(srcString.Len() * 2)); in SystemStringToOemString()
132 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage) in MultiByteToUnicodeString() argument
135 for (unsigned i = 0; i < srcString.Len(); i++) in MultiByteToUnicodeString()
136 resultString += (wchar_t)srcString[i]; in MultiByteToUnicodeString()
148 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage) in UnicodeStringToMultiByte() argument
151 for (unsigned i = 0; i < srcString.Len(); i++) in UnicodeStringToMultiByte()
152 resultString += (char)srcString[i]; in UnicodeStringToMultiByte()