Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/common/unicode/
Ducurr.h84 int32_t buffCapacity,
427 int32_t buffCapacity,
Dunistr.h2067 int32_t buffCapacity);
3117 UnicodeString(char16_t *buffer, int32_t buffLength, int32_t buffCapacity);
3128 UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3129 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3142 UnicodeString(wchar_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3143 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3154 inline UnicodeString(std::nullptr_t buffer, int32_t buffLength, int32_t buffCapacity);
/third_party/skia/third_party/externals/icu/source/common/unicode/
Ducurr.h84 int32_t buffCapacity,
429 int32_t buffCapacity,
Dunistr.h2067 int32_t buffCapacity);
3117 UnicodeString(char16_t *buffer, int32_t buffLength, int32_t buffCapacity);
3128 UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3129 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3142 UnicodeString(wchar_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3143 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3154 inline UnicodeString(std::nullptr_t buffer, int32_t buffLength, int32_t buffCapacity);
/third_party/node/deps/icu-small/source/common/unicode/
Ducurr.h84 int32_t buffCapacity,
427 int32_t buffCapacity,
Dunistr.h2067 int32_t buffCapacity);
3117 UnicodeString(char16_t *buffer, int32_t buffLength, int32_t buffCapacity);
3128 UnicodeString(uint16_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3129 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3142 UnicodeString(wchar_t *buffer, int32_t buffLength, int32_t buffCapacity) : in UnicodeString() argument
3143 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} in UnicodeString()
3154 inline UnicodeString(std::nullptr_t buffer, int32_t buffLength, int32_t buffCapacity);
/third_party/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.cpp515 int32_t buffCapacity, in ucurr_forLocale() argument
518 if (buffCapacity < 0 || (buff == nullptr && buffCapacity > 0)) { in ucurr_forLocale()
528 if (resLen < buffCapacity) { in ucurr_forLocale()
532 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
545 if(buffCapacity > u_strlen(result)) { in ucurr_forLocale()
549 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
604 return ucurr_forLocale(id, buff, buffCapacity, ec); in ucurr_forLocale()
611 if(buffCapacity > resLen) { in ucurr_forLocale()
615 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
2403 int32_t buffCapacity, in ucurr_forLocaleAndDate() argument
[all …]
Dputil.cpp2085 getCodepageFromPOSIXID(const char *localeName, char * buffer, int32_t buffCapacity) argument
2095 name = uprv_strncpy(buffer, name+1, buffCapacity);
2096 buffer[buffCapacity-1] = 0; /* ensure NULL termination */
/third_party/skia/third_party/externals/icu/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()
1297 int32_t buffCapacity) { in setTo() argument
1310 if(buffLength < -1 || buffCapacity < 0 || buffLength > buffCapacity) { in setTo()
1315 const UChar *p = buffer, *limit = buffer + buffCapacity; in setTo()
1325 setArray(buffer, buffLength, buffCapacity); in setTo()
Ducurr.cpp515 int32_t buffCapacity, in ucurr_forLocale() argument
518 if (buffCapacity < 0 || (buff == nullptr && buffCapacity > 0)) { in ucurr_forLocale()
528 if (resLen < buffCapacity) { in ucurr_forLocale()
532 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
545 if(buffCapacity > u_strlen(result)) { in ucurr_forLocale()
549 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
581 return ucurr_forLocale(id, buff, buffCapacity, ec); in ucurr_forLocale()
588 if(buffCapacity > resLen) { in ucurr_forLocale()
592 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
2377 int32_t buffCapacity, in ucurr_forLocaleAndDate() argument
[all …]
Dputil.cpp2076 getCodepageFromPOSIXID(const char *localeName, char * buffer, int32_t buffCapacity) argument
2086 name = uprv_strncpy(buffer, name+1, buffCapacity);
2087 buffer[buffCapacity-1] = 0; /* ensure NULL termination */
/third_party/node/deps/icu-small/source/common/
Dunistr.cpp245 int32_t buffCapacity) { in UnicodeString() argument
250 } else if(buffLength < -1 || buffCapacity < 0 || buffLength > buffCapacity) { in UnicodeString()
255 const char16_t *p = buff, *limit = buff + buffCapacity; in UnicodeString()
261 setArray(buff, buffLength, buffCapacity); in UnicodeString()
1340 int32_t buffCapacity) { in setTo() argument
1353 if(buffLength < -1 || buffCapacity < 0 || buffLength > buffCapacity) { in setTo()
1358 const char16_t *p = buffer, *limit = buffer + buffCapacity; in setTo()
1368 setArray(buffer, buffLength, buffCapacity); in setTo()
Ducurr.cpp518 int32_t buffCapacity, in ucurr_forLocale() argument
521 if (buffCapacity < 0 || (buff == nullptr && buffCapacity > 0)) { in ucurr_forLocale()
535 if (resLen < buffCapacity) { in ucurr_forLocale()
539 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
552 if(buffCapacity > u_strlen(result)) { in ucurr_forLocale()
556 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
615 return ucurr_forLocale(parent.data(), buff, buffCapacity, ec); in ucurr_forLocale()
622 if(buffCapacity > resLen) { in ucurr_forLocale()
626 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
2429 int32_t buffCapacity, in ucurr_forLocaleAndDate() argument
[all …]
Dputil.cpp2100 getCodepageFromPOSIXID(const char *localeName, char * buffer, int32_t buffCapacity) argument
2110 name = uprv_strncpy(buffer, name+1, buffCapacity);
2111 buffer[buffCapacity-1] = 0; /* ensure NUL termination */
/third_party/icu/tools/colprobe/
Dcolprobe.h10 …edef int (*GetSortKeyFn) (const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity);
DcolprobeNew.cpp211 int UNIXgetSortKey(const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity) { in UNIXgetSortKey() argument
216 return (strxfrm((char *)buffer, compUTF8A, buffCapacity)+1); in UNIXgetSortKey()
240 int WingetSortKey(const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity) { in WingetSortKey() argument
243 …WinLCID, LCMAP_SORTKEY | SORT_STRINGSORT, compA, compALen, (unsigned short *)buffer, buffCapacity); in WingetSortKey()
282 int ICUgetSortKey(const UChar *string, int32_t len, uint8_t *buffer, int32_t buffCapacity) { in ICUgetSortKey() argument
283 return ucol_getSortKey(gCol, string, len, buffer, buffCapacity); in ICUgetSortKey()