Searched refs:matchedindex (Results 1 – 2 of 2) sorted by relevance
114 int32_t matchedindex = m_search_->matchedIndex; in getMatchedText() local116 if (matchedindex != USEARCH_DONE && matchedlength != 0) { in getMatchedText()117 result.setTo(m_search_->text + matchedindex, matchedlength); in getMatchedText()
3314 int32_t matchedindex = search->matchedIndex; in usearch_previous() local3322 if (matchedindex != USEARCH_DONE) { in usearch_previous()3323 return matchedindex; in usearch_previous()3328 if (offset == 0 || matchedindex == 0 || in usearch_previous()3331 (matchedindex != USEARCH_DONE && in usearch_previous()3332 matchedindex < strsrch->pattern.defaultShiftSize)))) { in usearch_previous()3340 if (offset == 0 || matchedindex == 0) { in usearch_previous()3350 (matchedindex == USEARCH_DONE ? offset : matchedindex); in usearch_previous()