Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp133 static UnicodeString &getWindowsFormat(int32_t lcid, UBool currency, UnicodeString &appendTo, const… in getWindowsFormat() argument
188 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
194 int newLength = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat()
198 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
202 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
208 int newLength = GetNumberFormatW(lcid, 0, nBuffer, NULL, NULL, 0); in getWindowsFormat()
212 GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
230 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestL… in testLocale() argument
239 getWindowsFormat(lcid, currency, wdBuffer, L"%.16f", d); in testLocale()
241 getWindowsFormat(lcid, currency, w3Buffer, L"%I32d", i32); in testLocale()
[all …]
Dwindttst.cpp121 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_SLONGDATE, longDateFormat, 81); in testLocales()
122 GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_STIMEFORMAT, longTimeFormat, 81); in testLocales()
123 …GetLocaleInfoW(lcidRecords[i].lcid, LOCALE_RETURN_NUMBER|LOCALE_ICALENDARTYPE, (LPWSTR) calType, s… in testLocales()
134 …wdLength = GetDateFormatW(lcidRecords[i].lcid, DATE_LONGDATE, &winNow, NULL, wdBuffer, UPRV_LENGTH… in testLocales()
135 …wtLength = GetTimeFormatW(lcidRecords[i].lcid, 0, &winNow, NULL, wtBuffer, UPRV_LENGTHOF(wtBuffer)… in testLocales()
Dwinutil.cpp57 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
59 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), … in EnumLocalesProc()
Dwinutil.h33 int32_t lcid; member
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp81 static void getNumberFormat(NUMBERFMTW *fmt, int32_t lcid) in getNumberFormat() argument
85 … GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); in getNumberFormat()
86 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)… in getNumberFormat()
88 GetLocaleInfoA(lcid, LOCALE_SGROUPING, buf, 10); in getNumberFormat()
92 GetLocaleInfoW(lcid, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6); in getNumberFormat()
95 GetLocaleInfoW(lcid, LOCALE_STHOUSAND, fmt->lpThousandSep, 6); in getNumberFormat()
97 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(… in getNumberFormat()
108 static void getCurrencyFormat(CURRENCYFMTW *fmt, int32_t lcid) in getCurrencyFormat() argument
112 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UIN… in getCurrencyFormat()
113 …GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); in getCurrencyFormat()
[all …]
/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/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/pdfium/xfa/fxfa/parser/
Dxfa_localemgr.h50 std::unique_ptr<IFX_Locale> GetLocale(uint16_t lcid) override;
Dxfa_localemgr.cpp1163 std::unique_ptr<IFX_Locale> CXFA_LocaleMgr::GetLocale(uint16_t lcid) { in GetLocale() argument
1164 switch (lcid) { in GetLocale()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c3225 uint32_t lcid; in TestGetLocaleForLCID() local
3227 lcid = uloc_getLCID("en_US"); in TestGetLocaleForLCID()
3228 if (lcid != 0x0409) { in TestGetLocaleForLCID()
3229 log_err(" uloc_getLCID(\"en_US\") = %d, expected 0x0409\n", lcid); in TestGetLocaleForLCID()
3232 lengthPre = uloc_getLocaleForLCID(lcid, temp2, 4, &status); in TestGetLocaleForLCID()
3240 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID()
3263 sscanf(rawData2[LCID][i], "%x", &lcid); in TestGetLocaleForLCID()
3264 length = uloc_getLocaleForLCID(lcid, temp2, UPRV_LENGTHOF(temp2), &status); in TestGetLocaleForLCID()
3266 …log_err(" unexpected failure of uloc_getLocaleForLCID(%#04x), status %s\n", lcid, u_errorName(sta… in TestGetLocaleForLCID()
3272 … %d not correct for uloc_getLocaleForLCID(%#04x), expected %d\n", length, lcid, uprv_strlen(temp2)… in TestGetLocaleForLCID()
[all …]
/external/pdfium/xfa/fgas/localization/
Dfgas_locale.h92 virtual std::unique_ptr<IFX_Locale> GetLocale(uint16_t lcid) = 0;
/external/libmtp/logs/
Dmtp-detect-nokia-3110c.txt34 00e0: 2828 2830 7830 3030 3021 3d6c 6369 6429 (((0x0000!=lcid)
37 0110: 3d6c 6369 6429 2026 2620 2830 7830 3030 =lcid) && (0x000
Dmtp-detect-nokia-3109c.txt70 00e0: 2828 2830 7830 3030 3021 3d6c 6369 6429 (((0x0000!=lcid)
73 0110: 3d6c 6369 6429 2026 2620 2830 7830 3030 =lcid) && (0x000
Dmtp-detect-nokia-5310.txt46 01a0: 3030 303d 3d6c 6369 6429 2026 2620 2830 000==lcid) && (0