Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dputil.cpp1622 char *correctedPOSIXLocale = 0; local
1640 correctedPOSIXLocale = static_cast<char *>(uprv_malloc(uprv_strlen(posixID)+1));
1642 if (correctedPOSIXLocale == NULL) {
1645 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID);
1646 correctedPOSIXLocale[p-posixID] = 0;
1649 if ((p = uprv_strchr(correctedPOSIXLocale, '@')) != NULL) {
1650 correctedPOSIXLocale[p-correctedPOSIXLocale] = 0;
1656 if (correctedPOSIXLocale == NULL) {
1657 correctedPOSIXLocale = static_cast<char *>(uprv_malloc(uprv_strlen(posixID)+1));
1659 if (correctedPOSIXLocale == NULL) {
[all …]