Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dputil.cpp1706 char *correctedPOSIXLocale = static_cast<char *>(uprv_malloc(uprv_strlen(posixID) + 10 + 1)); local
1707 if (correctedPOSIXLocale == nullptr) {
1710 uprv_strcpy(correctedPOSIXLocale, posixID);
1713 if ((limit = uprv_strchr(correctedPOSIXLocale, '.')) != nullptr) {
1716 if ((limit = uprv_strchr(correctedPOSIXLocale, '@')) != nullptr) {
1720 if ((uprv_strcmp("C", correctedPOSIXLocale) == 0) // no @ variant
1721 || (uprv_strcmp("POSIX", correctedPOSIXLocale) == 0)) {
1724 uprv_strcpy(correctedPOSIXLocale, "en_US_POSIX");
1738 if (uprv_strchr(correctedPOSIXLocale,'_') == nullptr) {
1739 …uprv_strcat(correctedPOSIXLocale, "__"); /* aa@b -> aa__b (note this can make the new locale 1 cha…
[all …]