Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dputil.cpp1636 char *correctedPOSIXLocale = 0; local
1654 correctedPOSIXLocale = static_cast<char *>(uprv_malloc(uprv_strlen(posixID)+1));
1656 if (correctedPOSIXLocale == NULL) {
1659 uprv_strncpy(correctedPOSIXLocale, posixID, p-posixID);
1660 correctedPOSIXLocale[p-posixID] = 0;
1663 if ((p = uprv_strchr(correctedPOSIXLocale, '@')) != NULL) {
1664 correctedPOSIXLocale[p-correctedPOSIXLocale] = 0;
1670 if (correctedPOSIXLocale == NULL) {
1672 correctedPOSIXLocale = static_cast<char *>(uprv_malloc(uprv_strlen(posixID)+2));
1674 if (correctedPOSIXLocale == NULL) {
[all …]