Home
last modified time | relevance | path

Searched refs:lcid (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp137 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const… 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, TestL… in testLocale() argument
243 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); in testLocale()
245 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32); in testLocale()
[all …]
Dwindttst.cpp136 …::begin(failingLocaleLCIDs), std::end(failingLocaleLCIDs), lcidRecords[i].lcid) != std::end(failin… 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, siz… in testLocales()
156 …wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, UPRV_LENGTH… in testLocales()
157 …wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, UPRV_LENGTHOF(wtBuffer)… in testLocales()
Dwinutil.cpp58 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
60 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), … in EnumLocalesProc()
Dwinutil.h33 int32_t lcid; member
/external/skia/tools/
Dwin_lcid.cpp21 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()
/external/skqp/tools/
Dwin_lcid.cpp21 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()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_localemgr.cpp1160 std::unique_ptr<LocaleIface> CXFA_LocaleMgr::GetLocale(uint16_t lcid) { in GetLocale() argument
1161 switch (lcid) { in GetLocale()
Dcxfa_localemgr.h32 std::unique_ptr<LocaleIface> GetLocale(uint16_t lcid);
/external/e2fsprogs/intl/
Dlocalename.c741 LCID lcid; in _nl_locale_name() local
758 lcid = GetThreadLocale (); in _nl_locale_name()
761 langid = LANGIDFROMLCID (lcid); in _nl_locale_name()
/external/icu/icu4c/source/common/
Dlocmap.cpp1222 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform() local
1223 if (lcid > 0) in uprv_convertToLCIDPlatform()
1228 if (lcid != LOCALE_CUSTOM_UNSPECIFIED) in uprv_convertToLCIDPlatform()
1230 return lcid; in uprv_convertToLCIDPlatform()
Duloc.cpp2019 uint32_t lcid = 0; in uloc_getLCID() local
2028 lcid = uprv_convertToLCIDPlatform(localeID, &status); in uloc_getLCID()
2032 if (lcid > 0) { in uloc_getLCID()
2034 return lcid; in uloc_getLCID()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c3432 uint32_t lcid; in TestGetLocaleForLCID() local
3434 lcid = uloc_getLCID("en_US"); in TestGetLocaleForLCID()
3435 if (lcid != 0x0409) { in TestGetLocaleForLCID()
3436 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid); in TestGetLocaleForLCID()
3439 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status); in TestGetLocaleForLCID()
3447 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID()
3470 sscanf(rawData2[LCID][i], "%x", &lcid); in TestGetLocaleForLCID()
3471 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID()
3473 …log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(sta… in TestGetLocaleForLCID()
3479 … %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2)… in TestGetLocaleForLCID()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dyarn.lock917 lcid@^2.0.0:
919 …resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f39725…
1188 lcid "^2.0.0"
/external/angle/third_party/spirv-tools/src/tools/sva/
Dyarn.lock917 lcid@^2.0.0:
919 …resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f39725…
1188 lcid "^2.0.0"
/external/deqp-deps/SPIRV-Tools/tools/sva/
Dyarn.lock917 lcid@^2.0.0:
919 …resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f39725…
1188 lcid "^2.0.0"
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/
Dpdbdump-yaml-types.test632 YAML: Name: lcid
Dpdbdump-headers.test322 ALL-NEXT: - LF_MEMBER [name = `lcid`, Type = 0x0074 (int), offset = 16, attrs = public]