Lines Matching refs:destCapacity
669 int32_t destCapacity, in uregex_group() argument
675 if (destCapacity < 0 || (destCapacity > 0 && dest == NULL)) { in uregex_group()
680 if (destCapacity == 0 || regexp->fText != NULL) { in uregex_group()
698 if (copyLength < destCapacity) { in uregex_group()
700 } else if (copyLength == destCapacity) { in uregex_group()
703 copyLength = destCapacity; in uregex_group()
723 …_t length = utext_extract(regexp->fMatcher->inputText(), start, limit, dest, destCapacity, status); in uregex_group()
1155 int32_t destCapacity, in uregex_replaceAll() argument
1162 (destBuf == NULL && destCapacity > 0) || in uregex_replaceAll()
1163 destCapacity < 0) { in uregex_replaceAll()
1180 &destBuf, &destCapacity, status); in uregex_replaceAll()
1182 len += uregex_appendTail(regexp2, &destBuf, &destCapacity, status); in uregex_replaceAll()
1229 int32_t destCapacity, in uregex_replaceFirst() argument
1236 (destBuf == NULL && destCapacity > 0) || in uregex_replaceFirst()
1237 destCapacity < 0) { in uregex_replaceFirst()
1248 &destBuf, &destCapacity, status); in uregex_replaceFirst()
1250 len += uregex_appendTail(regexp2, &destBuf, &destCapacity, status); in uregex_replaceFirst()
1297 int32_t *destCapacity,
1302 int32_t *destCapacity,
1307 int32_t destCapacity,
1343 int32_t *destCapacity, in appendReplacement() argument
1350 if (*status == U_BUFFER_OVERFLOW_ERROR && destCapacity != NULL && *destCapacity == 0) { in appendReplacement()
1362 destCapacity == NULL || destBuf == NULL || in appendReplacement()
1363 (*destBuf == NULL && *destCapacity > 0) || in appendReplacement()
1364 *destCapacity < 0) { in appendReplacement()
1376 int32_t capacity = *destCapacity; in appendReplacement()
1550 if (destIdx == *destCapacity) { in appendReplacement()
1560 if (destIdx > 0 && *destCapacity > 0) { in appendReplacement()
1563 *destCapacity -= destIdx; in appendReplacement()
1566 *destCapacity = 0; in appendReplacement()
1588 int32_t *destCapacity, in uregex_appendReplacement() argument
1593 regexp, replacementText, replacementLength,destBuf, destCapacity, status); in uregex_appendReplacement()
1616 int32_t *destCapacity, in appendTail() argument
1624 if (*status == U_BUFFER_OVERFLOW_ERROR && destCapacity != NULL && *destCapacity == 0) { in appendTail()
1633 if (destCapacity == NULL || destBuf == NULL || in appendTail()
1634 (*destBuf == NULL && *destCapacity > 0) || in appendTail()
1635 *destCapacity < 0) in appendTail()
1644 int32_t destCap = *destCapacity; in appendTail()
1722 *destCapacity -= destIdx; in appendTail()
1725 *destCapacity = 0; in appendTail()
1742 int32_t *destCapacity, in uregex_appendTail() argument
1745 return RegexCImpl::appendTail(regexp, destBuf, destCapacity, status); in uregex_appendTail()
1771 int32_t destCapacity, // Total capacity of dest buffer
1783 if (di < destCapacity) {
1791 if (di<destCapacity) {
1806 int32_t destCapacity, in split() argument
1847 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1858 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), &tStatus); in split()
1882 REMAINING_CAPACITY(destIdx, destCapacity), in split()
1896 if (destIdx < destCapacity) { in split()
1902 if (destIdx < destCapacity) { in split()
1916 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1930 if (destIdx > destCapacity) { in split()
1942 int32_t destCapacity, in uregex_split() argument
1951 if ((destBuf == NULL && destCapacity > 0) || in uregex_split()
1952 destCapacity < 0 || in uregex_split()
1959 …return RegexCImpl::split(regexp, destBuf, destCapacity, requiredCapacity, destFields, destFieldsCa… in uregex_split()