Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/unicode/
Ducurr.h84 int32_t buffCapacity,
395 int32_t buffCapacity,
Dunistr.h2078 int32_t buffCapacity);
3132 UnicodeString(char16_t *buffer, int32_t buffLength, int32_t buffCapacity);
3143 UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3144 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3157 UnicodeString(wchar_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3158 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3169 inline UnicodeString(std::nullptr_t buffer, int32_t buffLength, int32_t buffCapacity);
/external/icu/libandroidicu/include/unicode/
Ducurr.h84 int32_t buffCapacity,
395 int32_t buffCapacity,
/external/icu/icu4c/source/common/
Dunistr.cpp245 int32_t buffCapacity) { in UnicodeString() argument
250 } else if(buffLength < -1 || buffCapacity < 0 || buffLength > buffCapacity) { in UnicodeString()
255 const UChar *p = buff, *limit = buff + buffCapacity; in UnicodeString()
261 setArray(buff, buffLength, buffCapacity); in UnicodeString()
1298 int32_t buffCapacity) { in setTo() argument
1311 if(buffLength < -1 || buffCapacity < 0 || buffLength > buffCapacity) { in setTo()
1316 const UChar *p = buffer, *limit = buffer + buffCapacity; in setTo()
1326 setArray(buffer, buffLength, buffCapacity); in setTo()
Ducurr.cpp549 int32_t buffCapacity, in ucurr_forLocale() argument
552 if (buffCapacity < 0 || (buff == nullptr && buffCapacity > 0)) { in ucurr_forLocale()
562 if (resLen < buffCapacity) { in ucurr_forLocale()
566 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
579 if(buffCapacity > u_strlen(result)) { in ucurr_forLocale()
583 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
629 return ucurr_forLocale(id, buff, buffCapacity, ec); in ucurr_forLocale()
636 if(buffCapacity > resLen) { in ucurr_forLocale()
640 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
2406 int32_t buffCapacity, in ucurr_forLocaleAndDate() argument
[all …]
Dputil.cpp2038 getCodepageFromPOSIXID(const char *localeName, char * buffer, int32_t buffCapacity) argument
2048 name = uprv_strncpy(buffer, name+1, buffCapacity);
2049 buffer[buffCapacity-1] = 0; /* ensure NULL termination */
/external/icu/libandroidicu/static_shim/
Dshim.cpp1318 int32_t ucurr_forLocale_android(const char * locale, UChar * buff, int32_t buffCapacity, UErrorCode… in ucurr_forLocale_android() argument
1319 return ucurr_forLocale(locale, buff, buffCapacity, ec); in ucurr_forLocale_android()
1321 …const char * locale, UDate date, int32_t index, UChar * buff, int32_t buffCapacity, UErrorCode * e… in ucurr_forLocaleAndDate_android() argument
1322 return ucurr_forLocaleAndDate(locale, date, index, buff, buffCapacity, ec); in ucurr_forLocaleAndDate_android()