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()
1553 if (destIdx == *destCapacity) { in appendReplacement()
1563 if (destIdx > 0 && *destCapacity > 0) { in appendReplacement()
1566 *destCapacity -= destIdx; in appendReplacement()
1569 *destCapacity = 0; in appendReplacement()
1591 int32_t *destCapacity, in uregex_appendReplacement() argument
1596 regexp, replacementText, replacementLength,destBuf, destCapacity, status); in uregex_appendReplacement()
1619 int32_t *destCapacity, in appendTail() argument
1627 if (*status == U_BUFFER_OVERFLOW_ERROR && destCapacity != NULL && *destCapacity == 0) { in appendTail()
1636 if (destCapacity == NULL || destBuf == NULL || in appendTail()
1637 (*destBuf == NULL && *destCapacity > 0) || in appendTail()
1638 *destCapacity < 0) in appendTail()
1647 int32_t destCap = *destCapacity; in appendTail()
1725 *destCapacity -= destIdx; in appendTail()
1728 *destCapacity = 0; in appendTail()
1745 int32_t *destCapacity, in uregex_appendTail() argument
1748 return RegexCImpl::appendTail(regexp, destBuf, destCapacity, status); in uregex_appendTail()
1774 int32_t destCapacity, // Total capacity of dest buffer
1786 if (di < destCapacity) {
1794 if (di<destCapacity) {
1809 int32_t destCapacity, in split() argument
1850 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1861 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), &tStatus); in split()
1885 REMAINING_CAPACITY(destIdx, destCapacity), in split()
1899 if (destIdx < destCapacity) { in split()
1905 if (destIdx < destCapacity) { in split()
1919 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1933 if (destIdx > destCapacity) { in split()
1945 int32_t destCapacity, in uregex_split() argument
1954 if ((destBuf == NULL && destCapacity > 0) || in uregex_split()
1955 destCapacity < 0 || in uregex_split()
1962 …return RegexCImpl::split(regexp, destBuf, destCapacity, requiredCapacity, destFields, destFieldsCa… in uregex_split()