/third_party/lzma/CPP/Common/ |
D | StringConvert.h | 9 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 …]
|
D | StringConvert.cpp | 51 void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT codePage) in MultiByteToUnicodeString2() argument 83 unsigned len = (unsigned)MultiByteToWideChar(codePage, 0, src, (int)src.Len(), NULL, 0); in MultiByteToUnicodeString2() 91 … len = (unsigned)MultiByteToWideChar(codePage, 0, src, (int)src.Len(), dest.GetBuf(len), (int)len); in MultiByteToUnicodeString2() 117 static void UnicodeStringToMultiByte2(AString &dest, const UString &src, UINT codePage, char defaul… in UnicodeStringToMultiByte2() argument 187 …unsigned len = (unsigned)WideCharToMultiByte(codePage, 0, src, (int)src.Len(), NULL, 0, NULL, NULL… in UnicodeStringToMultiByte2() 196 bool isUtf = (codePage == CP_UTF8 || codePage == CP_UTF7); in UnicodeStringToMultiByte2() 198 len = (unsigned)WideCharToMultiByte(codePage, 0, src, (int)src.Len(), in UnicodeStringToMultiByte2() 262 void MultiByteToUnicodeString2(UString &dest, const AString &src, UINT codePage) in MultiByteToUnicodeString2() argument 268 if (codePage == CP_UTF8 || g_ForceToUTF8) in MultiByteToUnicodeString2() 393 static void UnicodeStringToMultiByte2(AString &dest, const UString &src2, UINT codePage, char defau… in UnicodeStringToMultiByte2() argument [all …]
|
D | StdInStream.cpp | 65 int codePage = CodePage; in ScanUStringUntilNewLine() local 66 if (codePage == -1) in ScanUStringUntilNewLine() 67 codePage = CP_OEMCP; in ScanUStringUntilNewLine() 68 if (codePage == CP_UTF8) in ScanUStringUntilNewLine() 71 MultiByteToUnicodeString2(dest, s, (UINT)codePage); in ScanUStringUntilNewLine()
|
D | ListFileUtils.cpp | 51 bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePage, DWORD &lastError) in ReadNamesFromListFile2() argument 69 if (codePage == MY__CP_UTF16 || codePage == MY__CP_UTF16BE) in ReadNamesFromListFile2() 81 if (codePage == MY__CP_UTF16) in ReadNamesFromListFile2() 114 if (codePage == CP_UTF8) in ReadNamesFromListFile2() 124 MultiByteToUnicodeString2(u, s, codePage); in ReadNamesFromListFile2()
|
D | StdOutStream.cpp | 64 int codePage = CodePage; in Convert_UString_to_AString() local 65 if (codePage == -1) in Convert_UString_to_AString() 66 codePage = CP_OEMCP; in Convert_UString_to_AString() 67 if (codePage == CP_UTF8) in Convert_UString_to_AString() 70 UnicodeStringToMultiByte2(dest, src, (UINT)codePage); in Convert_UString_to_AString()
|
D | ListFileUtils.h | 15 bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePage,
|
/third_party/lzma/CPP/7zip/Archive/Common/ |
D | ItemNameUtils.cpp | 107 codePage in HasTailSlash() 115 if (codePage != CP_UTF8) in HasTailSlash() 116 c = *CharPrevExA((WORD)codePage, name, name.Ptr(name.Len()), 0); in HasTailSlash()
|
D | ItemNameUtils.h | 20 bool HasTailSlash(const AString &name, UINT codePage);
|
/third_party/lzma/CPP/7zip/UI/Common/ |
D | ArchiveCommandLine.cpp | 488 const CNameOption &nop, LPCWSTR fileName, UInt32 codePage) in AddToCensorFromListFile() argument 496 if (!ReadNamesFromListFile2(us2fs(fileName), names, codePage, lastError)) in AddToCensorFromListFile() 530 bool thereAreSwitchIncludes, UInt32 codePage) in AddToCensorFromNonSwitchesStrings() argument 562 AddToCensorFromListFile(renamePairs, censor, nop, s.Ptr(1), codePage); in AddToCensorFromNonSwitchesStrings() 662 UInt32 codePage) in AddSwitchWildcardsToCensor() argument 783 AddToCensorFromListFile(NULL, censor, nop2, tail, codePage); in AddSwitchWildcardsToCensor() 1301 UInt32 codePage = (UInt32)FindCharset(parser, NKey::kListfileCharSet, false, CP_UTF8); in Parse2() local 1310 parser[NKey::kInclude].PostStrings, nop, codePage); in Parse2() 1317 parser[NKey::kExclude].PostStrings, nop, codePage); in Parse2() 1353 thereAreSwitchIncludes, codePage); in Parse2() [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxcapi.h | 355 _In_z_ LPCWSTR pFileName, _In_opt_ UINT32* codePage, 358 _In_bytecount_(size) LPCVOID pText, UINT32 size, UINT32 codePage, 361 _In_bytecount_(size) LPCVOID pText, UINT32 size, UINT32 codePage, 364 _In_bytecount_(size) LPCVOID pText, IMalloc *pIMalloc, UINT32 size, UINT32 codePage, 493 _In_bytecount_(size) LPCVOID pData, UINT32 size, UINT32 codePage, 499 _In_bytecount_(size) LPCVOID pData, IMalloc *pIMalloc, UINT32 size, UINT32 codePage, 508 _In_bytecount_(size) LPCVOID pData, UINT32 size, UINT32 codePage,
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberPermutationTest.java | 152 String codePage = "UTF-8"; in testPermutations() local 153 BufferedReader f = TestUtil.getDataReader("numberpermutationtest.txt", codePage); in testPermutations()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | NumberPermutationTest.java | 155 String codePage = "UTF-8"; in testPermutations() local 156 BufferedReader f = TestUtil.getDataReader("numberpermutationtest.txt", codePage); in testPermutations()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_permutation.cpp | 165 const char* codePage = "UTF-8"; in testPermutations() local 166 LocalUCHARBUFPointer f(ucbuf_open(goldenFilePath.data(), &codePage, true, false, status)); in testPermutations()
|
D | datadrivennumberformattestsuite.cpp | 34 const char *codePage = "UTF-8"; in run() local 35 LocalUCHARBUFPointer f(ucbuf_open(path.data(), &codePage, true, false, &status)); in run()
|
D | localematchertest.cpp | 648 const char *codePage = "UTF-8"; in testDataDriven() local 649 LocalUCHARBUFPointer f(ucbuf_open(path.data(), &codePage, true, false, errorCode)); in testDataDriven()
|
D | rbbimonkeytest.cpp | 649 const char *codePage = "UTF-8"; in openBreakRules() local 650 fRuleCharBuffer.adoptInstead(ucbuf_open(path.data(), &codePage, true, false, &status)); in openBreakRules()
|
D | collationtest.cpp | 1822 const char *codePage = "UTF-8"; in TestDataDriven() local 1823 LocalUCHARBUFPointer f(ucbuf_open(path.data(), &codePage, true, false, errorCode)); in TestDataDriven()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
D | UnitsTest.java | 555 String codePage = "UTF-8"; 557 try (BufferedReader f = TestUtil.getDataReader("cldr/units/unitsTest.txt", codePage)) { 678 String codePage = "UTF-8"; 681 … try (BufferedReader f = TestUtil.getDataReader("cldr/units/unitPreferencesTest.txt", codePage)) {
|
/third_party/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 134 int codePage = CP_OEMCP; in Convert_UString_to_AString() local 144 UnicodeStringToMultiByte2(temp, s, (UINT)codePage); in Convert_UString_to_AString()
|
/third_party/lzma/C/Util/7z/ |
D | 7zMain.c | 167 , UINT codePage in Utf16_To_Char() argument 186 … codePage, 0, (LPCWSTR)s, (int)len, (char *)buf->data, (int)size, &defaultChar, &defUsed); in Utf16_To_Char()
|
/third_party/lzma/CPP/7zip/UI/Client7z/ |
D | Client7z.cpp | 88 int codePage = CP_OEMCP; in Convert_UString_to_AString() local 98 UnicodeStringToMultiByte2(temp, s, (UINT)codePage); in Convert_UString_to_AString()
|