Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ducal.cpp151 char localeBuf[ULOC_LOCALE_IDENTIFIER_CAPACITY]; in ucal_open() local
155 uprv_strncpy(localeBuf, locale, ULOC_LOCALE_IDENTIFIER_CAPACITY); in ucal_open()
156 … uloc_setKeywordValue("calendar", "gregorian", localeBuf, ULOC_LOCALE_IDENTIFIER_CAPACITY, status); in ucal_open()
160 return (UCalendar*)Calendar::createInstance(zone, Locale(localeBuf), *status); in ucal_open()
/external/icu/icu4c/source/common/
Dputil.cpp2040 char localeBuf[100]; local
2045 size_t localeCapacity = uprv_min(sizeof(localeBuf), (name-localeName)+1);
2046 uprv_strncpy(localeBuf, localeName, localeCapacity);
2047 localeBuf[localeCapacity-1] = 0; /* ensure NULL termination */
2053 name = remapPlatformDependentCodepage(localeBuf, name);