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.cpp1073 …UChar windowsLocaleName[LOCALE_NAME_MAX_LENGTH]; // ULOC_FULLNAME_CAPACITY > LOCALE_NAME_MAX_LENG… in uprv_convertToPosix() local
1076 …tmpLen = LCIDToLocaleName(hostid, (PWSTR)windowsLocaleName, UPRV_LENGTHOF(windowsLocaleName), LOCA… in uprv_convertToPosix()
1083 locName[i] = (char)(windowsLocaleName[i]); in uprv_convertToPosix()
1088 if (windowsLocaleName[i] == L'_') in uprv_convertToPosix()
1097 else if (windowsLocaleName[i] == L'-') in uprv_convertToPosix()
1102 else if (windowsLocaleName[i] == L'\0') in uprv_convertToPosix()