Lines Matching defs:matchStart
2179 int matchStart = usearch_next(searcher, &status);
2183 if (!(matchStart >= 0 && static_cast<size_t>(matchStart) < size)) {
2184 ASSERT(matchStart == USEARCH_DONE);
2191 if (!m_atBreak && static_cast<size_t>(matchStart) >= size - m_overlap) {
2194 // Ensure that there is sufficient context before matchStart the next time around for
2196 int wordBoundaryContextStart = matchStart;
2208 ASSERT(matchStart + matchedLength <= size);
2211 if (isBadMatch(m_buffer.data() + matchStart, matchedLength) || ((m_options & AtWordStarts) && !isWordStartMatch(matchStart, matchedLength))) {
2212 matchStart = usearch_next(searcher, &status);
2217 size_t newSize = size - (matchStart + 1);
2218 memmove(m_buffer.data(), m_buffer.data() + matchStart + 1, newSize * sizeof(UChar));
2219 m_prefixLength -= min<size_t>(m_prefixLength, matchStart + 1);
2222 start = size - matchStart;
2585 static size_t findPlainText(CharacterIterator& it, const String& target, FindOptions options, size_t& matchStart)
2587 matchStart = 0;
2612 matchStart = lastCharacterInBufferOffset - matchStartOffset;
2632 size_t matchStart;
2636 matchLength = findPlainText(findIterator, target, options, matchStart);
2643 return characterSubrange(computeRangeIterator, matchStart, matchLength);