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.cpp1214 wchar_t bcp47Tag[LOCALE_NAME_MAX_LENGTH] = {}; in uprv_convertToLCIDPlatform() local
1216 for (i = 0; i < UPRV_LENGTHOF(bcp47Tag); i++) in uprv_convertToLCIDPlatform()
1225 bcp47Tag[i] = static_cast<wchar_t>(asciiBCP47Tag[i]); in uprv_convertToLCIDPlatform()
1229 if (i < (UPRV_LENGTHOF(bcp47Tag) - 1)) in uprv_convertToLCIDPlatform()
1232 bcp47Tag[i] = L'\0'; in uprv_convertToLCIDPlatform()
1233 LCID lcid = LocaleNameToLCID(bcp47Tag, nameLCIDFlags); in uprv_convertToLCIDPlatform()