Home
last modified time | relevance | path

Searched refs:codePage (Results 1 – 15 of 15) sorted by relevance

/external/lzma/CPP/Common/
DStringConvert.cpp42 void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT codePage) in MultiByteToUnicodeString2() argument
74 unsigned len = MultiByteToWideChar(codePage, 0, src, src.Len(), NULL, 0); in MultiByteToUnicodeString2()
82 len = MultiByteToWideChar(codePage, 0, src, src.Len(), dest.GetBuf(len), len); in MultiByteToUnicodeString2()
108 static void UnicodeStringToMultiByte2(AString &dest, const UString &src, UINT codePage, char defaul… in UnicodeStringToMultiByte2() argument
178 unsigned len = WideCharToMultiByte(codePage, 0, src, src.Len(), NULL, 0, NULL, NULL); in UnicodeStringToMultiByte2()
187 bool isUtf = (codePage == CP_UTF8 || codePage == CP_UTF7); in UnicodeStringToMultiByte2()
189 len = WideCharToMultiByte(codePage, 0, src, src.Len(), in UnicodeStringToMultiByte2()
287 UString MultiByteToUnicodeString(const AString &src, UINT codePage) in MultiByteToUnicodeString() argument
290 MultiByteToUnicodeString2(dest, src, codePage); in MultiByteToUnicodeString()
294 UString MultiByteToUnicodeString(const char *src, UINT codePage) in MultiByteToUnicodeString() argument
[all …]
DStringConvert.h9 UString MultiByteToUnicodeString(const AString &src, UINT codePage = CP_ACP);
10 UString MultiByteToUnicodeString(const char *src, UINT codePage = CP_ACP);
13 void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT codePage = CP_ACP);
15 void UnicodeStringToMultiByte2(AString &dest, const UString &src, UINT codePage);
17 AString UnicodeStringToMultiByte(const UString &src, UINT codePage, char defaultChar, bool &default…
18 AString UnicodeStringToMultiByte(const UString &src, UINT codePage = CP_ACP);
26 inline UString GetUnicodeString(const AString &a, UINT codePage) in GetUnicodeString() argument
27 { return MultiByteToUnicodeString(a, codePage); } in GetUnicodeString()
28 inline UString GetUnicodeString(const char *a, UINT codePage) in GetUnicodeString() argument
29 { return MultiByteToUnicodeString(a, codePage); } in GetUnicodeString()
[all …]
DStdOutStream.cpp50 int codePage = g_CodePage; in operator <<() local
51 if (codePage == -1) in operator <<()
52 codePage = CP_OEMCP; in operator <<()
54 if (codePage == CP_UTF8) in operator <<()
57 UnicodeStringToMultiByte2(dest, s, (UINT)codePage); in operator <<()
63 int codePage = g_CodePage; in StdOut_Convert_UString_to_AString() local
64 if (codePage == -1) in StdOut_Convert_UString_to_AString()
65 codePage = CP_OEMCP; in StdOut_Convert_UString_to_AString()
66 if (codePage == CP_UTF8) in StdOut_Convert_UString_to_AString()
69 UnicodeStringToMultiByte2(temp, s, (UINT)codePage); in StdOut_Convert_UString_to_AString()
DStdInStream.cpp59 int codePage = g_CodePage; in ScanUStringUntilNewLine() local
60 if (codePage == -1) in ScanUStringUntilNewLine()
61 codePage = CP_OEMCP; in ScanUStringUntilNewLine()
62 if (codePage == CP_UTF8) in ScanUStringUntilNewLine()
65 MultiByteToUnicodeString2(dest, s, (UINT)codePage); in ScanUStringUntilNewLine()
DListFileUtils.cpp28 bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePage, DWORD &lastError) in ReadNamesFromListFile2() argument
46 if (codePage == MY__CP_UTF16 || codePage == MY__CP_UTF16BE) in ReadNamesFromListFile2()
62 if (codePage == MY__CP_UTF16) in ReadNamesFromListFile2()
99 if (codePage == CP_UTF8) in ReadNamesFromListFile2()
106 MultiByteToUnicodeString2(u, s, codePage); in ReadNamesFromListFile2()
DListFileUtils.h15 bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePage,
/external/lzma/CPP/7zip/Archive/Common/
DItemNameUtils.cpp63 codePage in HasTailSlash()
71 *CharPrevExA((WORD)codePage, name, name.Ptr(name.Len()), 0); in HasTailSlash()
DItemNameUtils.h18 bool HasTailSlash(const AString &name, UINT codePage);
/external/lzma/CPP/7zip/UI/Common/
DArchiveCommandLine.cpp411 … LPCWSTR fileName, bool include, NRecursedType::EEnum type, bool wildcardMatching, Int32 codePage) in AddToCensorFromListFile() argument
417 if (!ReadNamesFromListFile2(us2fs(fileName), names, codePage, lastError)) in AddToCensorFromListFile()
452 bool thereAreSwitchIncludes, Int32 codePage) in AddToCensorFromNonSwitchesStrings() argument
470 … AddToCensorFromListFile(renamePairs, censor, s.Ptr(1), true, type, wildcardMatching, codePage); in AddToCensorFromNonSwitchesStrings()
572 Int32 codePage) in AddSwitchWildcardsToCensor() argument
613 … AddToCensorFromListFile(NULL, censor, tail, include, recursedType, wildcardMatching, codePage); in AddSwitchWildcardsToCensor()
1027 Int32 codePage = FindCharset(parser, NKey::kListfileCharSet, false, CP_UTF8); in Parse2() local
1035 parser[NKey::kInclude].PostStrings, true, recursedType, wildcardMatching, codePage); in Parse2()
1040 parser[NKey::kExclude].PostStrings, false, recursedType, wildcardMatching, codePage); in Parse2()
1074 thereAreSwitchIncludes, codePage); in Parse2()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddatadrivennumberformattestsuite.cpp34 const char *codePage = "UTF-8"; in run() local
35 LocalUCHARBUFPointer f(ucbuf_open(path.data(), &codePage, TRUE, FALSE, &status)); in run()
Drbbimonkeytest.cpp649 const char *codePage = "UTF-8"; in openBreakRules() local
650 fRuleCharBuffer.adoptInstead(ucbuf_open(path.data(), &codePage, TRUE, FALSE, &status)); in openBreakRules()
Dcollationtest.cpp1817 const char *codePage = "UTF-8"; in TestDataDriven() local
1818 LocalUCHARBUFPointer f(ucbuf_open(path.data(), &codePage, TRUE, FALSE, errorCode)); in TestDataDriven()
/external/lzma/C/Util/7z/
D7zMain.c160 , UINT codePage in Utf16_To_Char() argument
179 …numChars = WideCharToMultiByte(codePage, 0, s, len, (char *)buf->data, size, &defaultChar, &defUse… in Utf16_To_Char()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp126 int codePage = CP_OEMCP; in Convert_UString_to_AString() local
136 UnicodeStringToMultiByte2(temp, s, (UINT)codePage); in Convert_UString_to_AString()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp70 int codePage = CP_OEMCP; in Convert_UString_to_AString() local
80 UnicodeStringToMultiByte2(temp, s, (UINT)codePage); in Convert_UString_to_AString()