Lines Matching refs:destIdx

1375     int32_t   destIdx          =  0;  in appendReplacement()  local
1400 appendToBuf(regexp->fText[i], &destIdx, dest, capacity); in appendReplacement()
1404 destIdx += utext_extract(m->fInputText, m->fLastMatchEnd, m->fMatchStart, in appendReplacement()
1405 … dest==NULL?NULL:&dest[destIdx], REMAINING_CAPACITY(destIdx, capacity), in appendReplacement()
1408 U_ASSERT(destIdx >= 0); in appendReplacement()
1418 appendToBuf(c, &destIdx, dest, capacity); in appendReplacement()
1443 appendToBuf((UChar)escapedChar, &destIdx, dest, capacity); in appendReplacement()
1445 appendToBuf(U16_LEAD(escapedChar), &destIdx, dest, capacity); in appendReplacement()
1446 appendToBuf(U16_TRAIL(escapedChar), &destIdx, dest, capacity); in appendReplacement()
1455 appendToBuf(c, &destIdx, dest, capacity); in appendReplacement()
1525 destIdx += uregex_group((URegularExpression*)regexp, groupNum, in appendReplacement()
1526 … dest==NULL?NULL:&dest[destIdx], REMAINING_CAPACITY(destIdx, capacity), status); in appendReplacement()
1545 if (destIdx < capacity) { in appendReplacement()
1546 dest[destIdx] = 0; in appendReplacement()
1548 if (destIdx == *destCapacity) { in appendReplacement()
1558 if (destIdx > 0 && *destCapacity > 0) { in appendReplacement()
1559 if (destIdx < capacity) { in appendReplacement()
1560 *destBuf += destIdx; in appendReplacement()
1561 *destCapacity -= destIdx; in appendReplacement()
1575 return destIdx; in appendReplacement()
1641 int32_t destIdx = 0; in appendTail() local
1658 U_ASSERT(destIdx >= 0); in appendTail()
1669 if (destIdx < destCap) { in appendTail()
1670 dest[destIdx] = c; in appendTail()
1676 destIdx += (regexp->fTextLength - srcIdx); in appendTail()
1681 destIdx++; in appendTail()
1699 destIdx = utext_extract(m->fInputText, srcIdx, m->fInputLength, dest, destCap, status); in appendTail()
1706 if (destIdx < destCap) { in appendTail()
1707 dest[destIdx] = 0; in appendTail()
1708 } else if (destIdx == destCap) { in appendTail()
1718 if (destIdx < destCap) { in appendTail()
1719 *destBuf += destIdx; in appendTail()
1720 *destCapacity -= destIdx; in appendTail()
1730 return destIdx; in appendTail()
1824 int32_t destIdx = 0; // Next available position in destBuf; in split() local
1840 destIdx = (int32_t)(destFields[i] - destFields[0]); in split()
1843 destFields[i] = &destBuf[destIdx]; in split()
1844 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
1845 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1853 destFields[i] = &destBuf[destIdx]; in split()
1855destIdx += 1 + utext_extract(inputText, nextOutputStringStart, regexp->fMatcher->fMatchStart, in split()
1856 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), &tStatus); in split()
1875 destFields[i] = &destBuf[destIdx]; in split()
1880 REMAINING_CAPACITY(destIdx, destCapacity), in split()
1882 destIdx += t + 1; // Record the space used in the output string buffer. in split()
1894 if (destIdx < destCapacity) { in split()
1895 destBuf[destIdx] = 0; in split()
1900 if (destIdx < destCapacity) { in split()
1901 destFields[i] = destBuf + destIdx; in split()
1903 ++destIdx; in split()
1912 destFields[i] = &destBuf[destIdx]; in split()
1913 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
1914 … &destBuf[destIdx], REMAINING_CAPACITY(destIdx, destCapacity), status); in split()
1926 *requiredCapacity = destIdx; in split()
1928 if (destIdx > destCapacity) { in split()