Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ducal.cpp169 char localeBuf[ULOC_LOCALE_IDENTIFIER_CAPACITY]; in ucal_open() local
178 uprv_strcpy(localeBuf, locale); in ucal_open()
179 … uloc_setKeywordValue("calendar", "gregorian", localeBuf, ULOC_LOCALE_IDENTIFIER_CAPACITY, status); in ucal_open()
183 return (UCalendar*)Calendar::createInstance(zone.orphan(), Locale(localeBuf), *status); in ucal_open()
/external/icu/icu4c/source/common/
Dputil.cpp2078 char localeBuf[100]; local
2083 size_t localeCapacity = uprv_min(sizeof(localeBuf), (name-localeName)+1);
2084 uprv_strncpy(localeBuf, localeName, localeCapacity);
2085 localeBuf[localeCapacity-1] = 0; /* ensure NULL termination */
2091 name = remapPlatformDependentCodepage(localeBuf, name);