Home
last modified time | relevance | path

Searched refs:windowsLocaleName (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp83 static void getNumberFormat(NUMBERFMTW *fmt, const wchar_t *windowsLocaleName) in getNumberFormat() argument
87 …GetLocaleInfoEx(windowsLocaleName, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, … in getNumberFormat()
88 …GetLocaleInfoEx(windowsLocaleName, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero… in getNumberFormat()
90 GetLocaleInfoEx(windowsLocaleName, LOCALE_SGROUPING, (LPWSTR)buf, 10); in getNumberFormat()
94 GetLocaleInfoEx(windowsLocaleName, LOCALE_SDECIMAL, fmt->lpDecimalSep, 6); in getNumberFormat()
97 GetLocaleInfoEx(windowsLocaleName, LOCALE_STHOUSAND, fmt->lpThousandSep, 6); in getNumberFormat()
99 …GetLocaleInfoEx(windowsLocaleName, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->Negative… in getNumberFormat()
110 static void getCurrencyFormat(CURRENCYFMTW *fmt, const wchar_t *windowsLocaleName) in getCurrencyFormat() argument
114 …GetLocaleInfoEx(windowsLocaleName, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigi… in getCurrencyFormat()
115 …GetLocaleInfoEx(windowsLocaleName, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero,… in getCurrencyFormat()
[all …]
Dwindtfmt.cpp138 wchar_t windowsLocaleName[LOCALE_NAME_MAX_LENGTH] = {}; in GetEquivalentWindowsLocaleName() local
147 … int length = ResolveLocaleName(bcp47Tag, windowsLocaleName, UPRV_LENGTHOF(windowsLocaleName)); in GetEquivalentWindowsLocaleName()
151 *buffer = new UnicodeString(windowsLocaleName); in GetEquivalentWindowsLocaleName()
/external/icu/icu4c/source/common/
Dlocmap.cpp1067 char16_t windowsLocaleName[LOCALE_NAME_MAX_LENGTH] = {}; in uprv_convertToPosix() local
1070 …tmpLen = LCIDToLocaleName(hostid, (PWSTR)windowsLocaleName, UPRV_LENGTHOF(windowsLocaleName), LOCA… in uprv_convertToPosix()
1077 locName[i] = (char)(windowsLocaleName[i]); in uprv_convertToPosix()
1082 if (windowsLocaleName[i] == L'_') in uprv_convertToPosix()
1091 else if (windowsLocaleName[i] == L'-') in uprv_convertToPosix()
1096 else if (windowsLocaleName[i] == L'\0') in uprv_convertToPosix()