Searched refs:localeBuf (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | ucal.cpp | 148 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/ |
D | putil.cpp | 1816 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()
|