Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp156 wchar_t bcp47Tag[LOCALE_NAME_MAX_LENGTH] = {}; in GetEquivalentWindowsLocaleName() local
158 for (i = 0; i < UPRV_LENGTHOF(bcp47Tag); i++) in GetEquivalentWindowsLocaleName()
167 bcp47Tag[i] = static_cast<wchar_t>(asciiBCP47Tag[i]); in GetEquivalentWindowsLocaleName()
172 if (i < (UPRV_LENGTHOF(bcp47Tag) - 1)) in GetEquivalentWindowsLocaleName()
174 bcp47Tag[i] = L'\0'; in GetEquivalentWindowsLocaleName()
179 bcp47Tag[UPRV_LENGTHOF(bcp47Tag) - 1] = L'\0'; in GetEquivalentWindowsLocaleName()
192 … int length = ResolveLocaleName(bcp47Tag, windowsLocaleName, UPRV_LENGTHOF(windowsLocaleName)); in GetEquivalentWindowsLocaleName()
Dwindtfmt.cpp111 wchar_t bcp47Tag[LOCALE_NAME_MAX_LENGTH] = {}; in GetEquivalentWindowsLocaleName() local
113 for (i = 0; i < UPRV_LENGTHOF(bcp47Tag); i++) in GetEquivalentWindowsLocaleName()
122 bcp47Tag[i] = static_cast<wchar_t>(asciiBCP47Tag[i]); in GetEquivalentWindowsLocaleName()
127 if (i < (UPRV_LENGTHOF(bcp47Tag) - 1)) in GetEquivalentWindowsLocaleName()
129 bcp47Tag[i] = L'\0'; in GetEquivalentWindowsLocaleName()
134 bcp47Tag[UPRV_LENGTHOF(bcp47Tag) - 1] = L'\0'; in GetEquivalentWindowsLocaleName()
147 … int length = ResolveLocaleName(bcp47Tag, windowsLocaleName, UPRV_LENGTHOF(windowsLocaleName)); in GetEquivalentWindowsLocaleName()
/external/icu/icu4c/source/common/
Dlocmap.cpp1209 wchar_t bcp47Tag[LOCALE_NAME_MAX_LENGTH] = {}; in uprv_convertToLCIDPlatform() local
1211 for (i = 0; i < UPRV_LENGTHOF(bcp47Tag); i++) in uprv_convertToLCIDPlatform()
1220 bcp47Tag[i] = static_cast<wchar_t>(asciiBCP47Tag[i]); in uprv_convertToLCIDPlatform()
1224 if (i < (UPRV_LENGTHOF(bcp47Tag) - 1)) in uprv_convertToLCIDPlatform()
1227 bcp47Tag[i] = L'\0'; in uprv_convertToLCIDPlatform()
1228 LCID lcid = LocaleNameToLCID(bcp47Tag, LOCALE_ALLOW_NEUTRAL_NAMES); in uprv_convertToLCIDPlatform()