/third_party/icu/icu4c/source/test/intltest/ |
H A D | winnmtst.cpp | 137 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const wchar_t *fmt, ...) in getWindowsFormat() argument 192 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat() 198 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat() 202 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat() 206 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat() 212 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat() 216 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat() 234 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) in testLocale() argument 243 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); in testLocale() 245 getWindowsFormat(lcid, currenc in testLocale() [all...] |
H A D | windttst.cpp | 136 bool skip = (std::find(std::begin(failingLocaleLCIDs), std::end(failingLocaleLCIDs), lcidRecords[i].lcid) != std::end(failingLocaleLCIDs)); in testLocales() 138 log->logln("ticket:13119 - Skipping LCID = 0x%04x", lcidRecords[i].lcid); in testLocales() 142 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); in testLocales() 143 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); in testLocales() 144 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR)&value, sizeof(value)/sizeof(WCHAR)); in testLocales() 156 wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, UPRV_LENGTHOF(wdBuffer)); in testLocales() 157 wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, UPRV_LENGTHOF(wtBuffer)); in testLocales()
|
H A D | winutil.cpp | 58 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc() 60 localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), &status); in EnumLocalesProc()
|
H A D | winutil.h | 33 int32_t lcid; member
|
/third_party/skia/tools/ |
H A D | win_lcid.cpp | 21 LCID lcid = LocaleNameToLCID(pStr, nullptr); in MyFuncLocaleEx() local 22 if (lcid == 0) { in MyFuncLocaleEx() 27 if (lcid > 0x8000) { in MyFuncLocaleEx() 30 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer); in MyFuncLocaleEx()
|
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
H A D | Find-VisualStudio.cs | 99 string GetDisplayName([MarshalAs(UnmanagedType.U4), In] int lcid); in GetDisplayName() argument 102 string GetDescription([MarshalAs(UnmanagedType.U4), In] int lcid); in GetDescription() argument
|
/third_party/icu/icu4c/source/common/ |
H A D | locmap.cpp | 1169 // The purpose of this function is to leverage the Windows platform name->lcid in uprv_convertToLCIDPlatform() 1228 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform() local 1229 if (lcid > 0) in uprv_convertToLCIDPlatform() 1234 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform() 1236 return lcid; in uprv_convertToLCIDPlatform() 1252 // This function does the table lookup when native platform name->lcid conversion isn't available, in uprv_convertToLCID()
|
H A D | uloc.cpp | 2023 uint32_t lcid = 0; in uloc_getLCID() local 2032 lcid = uprv_convertToLCIDPlatform(localeID, &status); in uloc_getLCID() 2036 if (lcid > 0) { in uloc_getLCID() 2038 return lcid; in uloc_getLCID()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | locmap.cpp | 1169 // The purpose of this function is to leverage the Windows platform name->lcid in uprv_convertToLCIDPlatform() 1232 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform() local 1233 if (lcid > 0) in uprv_convertToLCIDPlatform() 1238 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform() 1240 return lcid; in uprv_convertToLCIDPlatform() 1256 // This function does the table lookup when native platform name->lcid conversion isn't available, in uprv_convertToLCID()
|
H A D | uloc.cpp | 2027 uint32_t lcid = 0; in uloc_getLCID() local 2036 lcid = uprv_convertToLCIDPlatform(localeID, &status); in uloc_getLCID() 2040 if (lcid > 0) { in uloc_getLCID() 2042 return lcid; in uloc_getLCID()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | locmap.cpp | 1169 // The purpose of this function is to leverage the Windows platform name->lcid in uprv_convertToLCIDPlatform() 1228 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform() local 1229 if (lcid > 0) in uprv_convertToLCIDPlatform() 1234 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform() 1236 return lcid; in uprv_convertToLCIDPlatform() 1252 // This function does the table lookup when native platform name->lcid conversion isn't available, in uprv_convertToLCID()
|
H A D | uloc.cpp | 1990 uint32_t lcid = 0; in uloc_getLCID() local 1999 lcid = uprv_convertToLCIDPlatform(localeID, &status); in uloc_getLCID() 2003 if (lcid > 0) { in uloc_getLCID() 2005 return lcid; in uloc_getLCID()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cloctst.c | 3588 uint32_t lcid; in TestGetLocaleForLCID() local 3590 lcid = uloc_getLCID("en_US"); in TestGetLocaleForLCID() 3591 if (lcid != 0x0409) { in TestGetLocaleForLCID() 3592 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid); in TestGetLocaleForLCID() 3595 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status); in TestGetLocaleForLCID() 3603 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID() 3626 sscanf(rawData2[LCID][i], "%x", &lcid); in TestGetLocaleForLCID() 3627 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID() 3629 log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(status)); in TestGetLocaleForLCID() 3635 log_err(" returned length %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strle in TestGetLocaleForLCID() 6932 uint32_t lcid = uloc_getLCID(localeID); TestBug20370() local [all...] |