Home | History | Annotate | Download | only in editing

Lines Matching defs:matchStart

2184     int matchStart = usearch_next(searcher, &status);
2188 if (!(matchStart >= 0 && static_cast<size_t>(matchStart) < size)) {
2189 ASSERT(matchStart == USEARCH_DONE);
2196 if (!m_atBreak && static_cast<size_t>(matchStart) >= size - m_overlap) {
2199 // Ensure that there is sufficient context before matchStart the next time around for
2201 int wordBoundaryContextStart = matchStart;
2213 ASSERT_WITH_SECURITY_IMPLICATION(matchStart + matchedLength <= size);
2216 if (isBadMatch(m_buffer.data() + matchStart, matchedLength) || ((m_options & AtWordStarts) && !isWordStartMatch(matchStart, matchedLength))) {
2217 matchStart = usearch_next(searcher, &status);
2222 size_t newSize = size - (matchStart + 1);
2223 memmove(m_buffer.data(), m_buffer.data() + matchStart + 1, newSize * sizeof(UChar));
2224 m_prefixLength -= std::min<size_t>(m_prefixLength, matchStart + 1);
2227 start = size - matchStart;
2331 static size_t findPlainTextInternal(CharacterIterator& it, const String& target, FindOptions options, size_t& matchStart)
2333 matchStart = 0;
2362 matchStart = lastCharacterInBufferOffset - matchStartOffset;
2384 size_t matchStart;
2388 matchLength = findPlainTextInternal(findIterator, target, options, matchStart);
2397 calculateCharacterSubrange(computeRangeIterator, matchStart, matchLength, resultStart, resultEnd);
2411 size_t matchStart;
2415 matchLength = findPlainTextInternal(findIterator, target, options, matchStart);
2425 calculateCharacterSubrange(computeRangeIterator, matchStart, matchLength, resultStart, resultEnd);