Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ducal.cpp148 char localeBuf[ULOC_LOCALE_IDENTIFIER_CAPACITY]; in ucal_open() local
152 uprv_strncpy(localeBuf, locale, ULOC_LOCALE_IDENTIFIER_CAPACITY); in ucal_open()
153 … uloc_setKeywordValue("calendar", "gregorian", localeBuf, ULOC_LOCALE_IDENTIFIER_CAPACITY, status); in ucal_open()
157 return (UCalendar*)Calendar::createInstance(zone, Locale(localeBuf), *status); in ucal_open()
/external/icu/icu4c/source/common/
Dputil.cpp1816 char localeBuf[100]; in getCodepageFromPOSIXID() local
1821 size_t localeCapacity = uprv_min(sizeof(localeBuf), (name-localeName)+1); in getCodepageFromPOSIXID()
1822 uprv_strncpy(localeBuf, localeName, localeCapacity); in getCodepageFromPOSIXID()
1823 localeBuf[localeCapacity-1] = 0; /* ensure NULL termination */ in getCodepageFromPOSIXID()
1829 name = remapPlatformDependentCodepage(localeBuf, name); in getCodepageFromPOSIXID()