Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DStringConvert.cpp12 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage) in MultiByteToUnicodeString() argument
17 int numChars = MultiByteToWideChar(codePage, 0, srcString, in MultiByteToUnicodeString()
27 void MultiByteToUnicodeString2(UString &dest, const AString &srcString, UINT codePage) in MultiByteToUnicodeString2() argument
45 unsigned numChars = MultiByteToWideChar(codePage, 0, sp + i, in MultiByteToUnicodeString2()
56 void UnicodeStringToMultiByte2(AString &dest, const UString &s, UINT codePage, char defaultChar, bo… in UnicodeStringToMultiByte2() argument
77 unsigned numChars = WideCharToMultiByte(codePage, 0, sp + i, s.Len() - i, in UnicodeStringToMultiByte2()
89 void UnicodeStringToMultiByte2(AString &dest, const UString &srcString, UINT codePage) in UnicodeStringToMultiByte2() argument
92 UnicodeStringToMultiByte2(dest, srcString, codePage, '_', defaultCharWasUsed); in UnicodeStringToMultiByte2()
95 AString UnicodeStringToMultiByte(const UString &s, UINT codePage, char defaultChar, bool &defaultCh… in UnicodeStringToMultiByte() argument
103 int numChars = WideCharToMultiByte(codePage, 0, s, s.Len(), in UnicodeStringToMultiByte()
[all …]
DStringConvert.h9 UString MultiByteToUnicodeString(const AString &srcString, UINT codePage = CP_ACP);
12 void MultiByteToUnicodeString2(UString &dest, const AString &srcString, UINT codePage = CP_ACP);
13 void UnicodeStringToMultiByte2(AString &dest, const UString &s, UINT codePage, char defaultChar, bo…
14 void UnicodeStringToMultiByte2(AString &dest, const UString &srcString, UINT codePage);
16 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage, char defaultChar, bool &d…
17 AString UnicodeStringToMultiByte(const UString &srcString, UINT codePage = CP_ACP);
25 inline UString GetUnicodeString(const AString &multiByteString, UINT codePage) in GetUnicodeString() argument
26 { return MultiByteToUnicodeString(multiByteString, codePage); } in GetUnicodeString()
56 inline UString GetSystemString(const AString &multiByteString, UINT codePage) in GetSystemString() argument
57 { return MultiByteToUnicodeString(multiByteString, codePage);} in GetSystemString()
[all …]
DStdOutStream.cpp52 int codePage = g_CodePage; in operator <<() local
53 if (codePage == -1) in operator <<()
54 codePage = CP_OEMCP; in operator <<()
56 if (codePage == CP_UTF8) in operator <<()
59 UnicodeStringToMultiByte2(dest, s, (UINT)codePage); in operator <<()
65 int codePage = g_CodePage; in StdOut_Convert_UString_to_AString() local
66 if (codePage == -1) in StdOut_Convert_UString_to_AString()
67 codePage = CP_OEMCP; in StdOut_Convert_UString_to_AString()
68 if (codePage == CP_UTF8) in StdOut_Convert_UString_to_AString()
71 UnicodeStringToMultiByte2(temp, s, (UINT)codePage); in StdOut_Convert_UString_to_AString()
DStdInStream.cpp64 int codePage = g_CodePage; in ScanUStringUntilNewLine() local
65 if (codePage == -1) in ScanUStringUntilNewLine()
66 codePage = CP_OEMCP; in ScanUStringUntilNewLine()
68 if (codePage == CP_UTF8) in ScanUStringUntilNewLine()
71 dest = MultiByteToUnicodeString(s, (UINT)codePage); in ScanUStringUntilNewLine()
DListFileUtils.cpp28 bool ReadNamesFromListFile(CFSTR fileName, UStringVector &strings, UINT codePage) in ReadNamesFromListFile() argument
39 if (codePage == MY__CP_UTF16 || codePage == MY__CP_UTF16BE) in ReadNamesFromListFile()
52 if (codePage == MY__CP_UTF16) in ReadNamesFromListFile()
86 if (codePage == CP_UTF8) in ReadNamesFromListFile()
93 MultiByteToUnicodeString2(u, s, codePage); in ReadNamesFromListFile()
DListFileUtils.h12 bool ReadNamesFromListFile(CFSTR fileName, UStringVector &strings, UINT codePage = CP_OEMCP);
/external/lzma/CPP/7zip/Archive/Common/
DItemNameUtils.cpp64 codePage in HasTailSlash()
72 CharPrevExA((WORD)codePage, name, &name[name.Len()], 0); in HasTailSlash()
DItemNameUtils.h17 bool HasTailSlash(const AString &name, UINT codePage);
/external/lzma/CPP/7zip/UI/Common/
DArchiveCommandLine.cpp367 … LPCWSTR fileName, bool include, NRecursedType::EEnum type, bool wildcardMatching, Int32 codePage) in AddToCensorFromListFile() argument
372 if (!ReadNamesFromListFile(us2fs(fileName), names, codePage)) in AddToCensorFromListFile()
395 bool thereAreSwitchIncludes, Int32 codePage) in AddToCensorFromNonSwitchesStrings() argument
410 … AddToCensorFromListFile(renamePairs, censor, s.Ptr(1), true, type, wildcardMatching, codePage); in AddToCensorFromNonSwitchesStrings()
512 Int32 codePage) in AddSwitchWildcardsToCensor() argument
553 … AddToCensorFromListFile(NULL, censor, tail, include, recursedType, wildcardMatching, codePage); in AddSwitchWildcardsToCensor()
1000 Int32 codePage = FindCharset(parser, NKey::kListfileCharSet, false, CP_UTF8); in Parse2() local
1008 parser[NKey::kInclude].PostStrings, true, recursedType, wildcardMatching, codePage); in Parse2()
1013 parser[NKey::kExclude].PostStrings, false, recursedType, wildcardMatching, codePage); in Parse2()
1043 thereAreSwitchIncludes, codePage); in Parse2()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddatadrivennumberformattestsuite.cpp32 const char *codePage = "UTF-8"; in run() local
33 LocalUCHARBUFPointer f(ucbuf_open(path.data(), &codePage, TRUE, FALSE, &status)); in run()
Dcollationtest.cpp1821 const char *codePage = "UTF-8"; in TestDataDriven() local
1822 LocalUCHARBUFPointer f(ucbuf_open(path.data(), &codePage, TRUE, FALSE, errorCode)); in TestDataDriven()
/external/lzma/C/Util/7z/
D7zMain.c106 , UINT codePage in Utf16_To_Char() argument
125 …numChars = WideCharToMultiByte(codePage, 0, s, len, (char *)buf->data, size, &defaultChar, &defUse… in Utf16_To_Char()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...