Searched refs:matchedindex (Results 1 – 2 of 2) sorted by relevance
112 int32_t matchedindex = m_search_->matchedIndex; in getMatchedText() local114 if (matchedindex != USEARCH_DONE && matchedlength != 0) { in getMatchedText()115 result.setTo(m_search_->text + matchedindex, matchedlength); in getMatchedText()
3312 int32_t matchedindex = search->matchedIndex; in usearch_previous() local3320 if (matchedindex != USEARCH_DONE) { in usearch_previous()3321 return matchedindex; in usearch_previous()3326 if (offset == 0 || matchedindex == 0 || in usearch_previous()3329 (matchedindex != USEARCH_DONE && in usearch_previous()3330 matchedindex < strsrch->pattern.defaultShiftSize)))) { in usearch_previous()3338 if (offset == 0 || matchedindex == 0) { in usearch_previous()3348 (matchedindex == USEARCH_DONE ? offset : matchedindex); in usearch_previous()