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()
1552 if (destIdx == *destCapacity) { in appendReplacement()
1562 if (destIdx > 0 && *destCapacity > 0) { in appendReplacement()
1565 *destCapacity -= destIdx; in appendReplacement()
1568 *destCapacity = 0; in appendReplacement()
1590 int32_t *destCapacity, in uregex_appendReplacement() argument
1595 regexp, replacementText, replacementLength,destBuf, destCapacity, status); in uregex_appendReplacement()
1618 int32_t *destCapacity, in appendTail() argument
1626 if (*status == U_BUFFER_OVERFLOW_ERROR && destCapacity != NULL && *destCapacity == 0) { in appendTail()
1635 if (destCapacity == NULL || destBuf == NULL || in appendTail()
1636 (*destBuf == NULL && *destCapacity > 0) || in appendTail()
1637 *destCapacity < 0) in appendTail()
1646 int32_t destCap = *destCapacity; in appendTail()
1724 *destCapacity -= destIdx; in appendTail()
1727 *destCapacity = 0; in appendTail()
1744 int32_t *destCapacity, in uregex_appendTail() argument
1747 return RegexCImpl::appendTail(regexp, destBuf, destCapacity, status); in uregex_appendTail()
1773 int32_t destCapacity, // Total capacity of dest buffer
1785 if (di < destCapacity) {
1793 if (di<destCapacity) {
1808 int32_t destCapacity, in split() argument
1849 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1860 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), &tStatus); in split()
1884 REMAINING_CAPACITY(destIdx, destCapacity), in split()
1898 if (destIdx < destCapacity) { in split()
1904 if (destIdx < destCapacity) { in split()
1918 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1932 if (destIdx > destCapacity) { in split()
1944 int32_t destCapacity, in uregex_split() argument
1953 if ((destBuf == NULL && destCapacity > 0) || in uregex_split()
1954 destCapacity < 0 || in uregex_split()
1961 …return RegexCImpl::split(regexp, destBuf, destCapacity, requiredCapacity, destFields, destFieldsCa… in uregex_split()