Lines Matching defs:matchCount
826 unsigned matchCount = 0;
830 ++matchCount;
835 if (!matchCount)
838 if (repStrLength && matchCount > numeric_limits<unsigned>::max() / repStrLength)
841 unsigned replaceSize = matchCount * repStrLength;
842 unsigned newSize = m_length - matchCount;
885 unsigned matchCount = 0;
889 ++matchCount;
894 if (!matchCount)
897 unsigned newSize = m_length - matchCount * patternLength;
898 if (repStrLength && matchCount > numeric_limits<unsigned>::max() / repStrLength)
901 if (newSize > (numeric_limits<unsigned>::max() - matchCount * repStrLength))
904 newSize += matchCount * repStrLength;