Lines Matching refs:destCapacity
1358 static void _appendUChars(UChar *dest, int32_t destCapacity, in _appendUChars() argument
1360 if (destCapacity < 0) { in _appendUChars()
1361 destCapacity = 0; in _appendUChars()
1363 if (srcLen > destCapacity) { in _appendUChars()
1364 srcLen = destCapacity; in _appendUChars()
1371 u_unescape(const char *src, UChar *dest, int32_t destCapacity) { in u_unescape() argument
1385 _appendUChars(dest + i, destCapacity - i, in u_unescape()
1396 if (dest != NULL && U16_LENGTH(c32) <= (destCapacity - i)) { in u_unescape()
1408 _appendUChars(dest + i, destCapacity - i, in u_unescape()
1413 if (dest != NULL && i < destCapacity) { in u_unescape()
1419 if (dest != NULL && destCapacity > 0) { in u_unescape()
1431 #define __TERMINATE_STRING(dest, destCapacity, length, pErrorCode) \ argument
1437 } else if(length<destCapacity) { \
1444 } else if(length==destCapacity) { \
1454 u_terminateUChars(UChar *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) { in u_terminateUChars() argument
1455 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode); in u_terminateUChars()
1460 u_terminateChars(char *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) { in u_terminateChars() argument
1461 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode); in u_terminateChars()
1466 u_terminateUChar32s(UChar32 *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) { in u_terminateUChar32s() argument
1467 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode); in u_terminateUChar32s()
1472 u_terminateWChars(wchar_t *dest, int32_t destCapacity, int32_t length, UErrorCode *pErrorCode) { in u_terminateWChars() argument
1473 __TERMINATE_STRING(dest, destCapacity, length, pErrorCode); in u_terminateWChars()