Lines Matching refs:m_strsrch_

35         m_strsrch_ = NULL;  in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
39 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 m_search_ = m_strsrch_->search; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 m_strsrch_ = NULL; in StringSearch()
66 m_strsrch_ = NULL; in StringSearch()
69 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
80 m_search_ = m_strsrch_->search; in StringSearch()
93 m_strsrch_ = NULL; in StringSearch()
96 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(), in StringSearch()
105 m_search_ = m_strsrch_->search; in StringSearch()
118 m_strsrch_ = NULL; in StringSearch()
123 m_strsrch_ = NULL; in StringSearch()
126 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
137 m_search_ = m_strsrch_->search; in StringSearch()
151 if (that.m_strsrch_ == NULL) { in StringSearch()
153 m_strsrch_ = NULL; in StringSearch()
157 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in StringSearch()
161 that.m_strsrch_->collator, in StringSearch()
166 m_search_ = m_strsrch_->search; in StringSearch()
173 if (m_strsrch_ != NULL) { in ~StringSearch()
174 usearch_close(m_strsrch_); in ~StringSearch()
193 usearch_close(m_strsrch_); in operator =()
194 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(), in operator =()
198 that.m_strsrch_->collator, in operator =()
201 if (m_strsrch_ != NULL) { in operator =()
202 m_search_ = m_strsrch_->search; in operator =()
216 this->m_strsrch_->collator == thatsrch.m_strsrch_->collator); in operator ==()
226 usearch_setOffset(m_strsrch_, position, &status); in setOffset()
231 return usearch_getOffset(m_strsrch_); in getOffset()
238 usearch_setText(m_strsrch_, text.getBuffer(), text.length(), &status); in setText()
246 usearch_setText(m_strsrch_, m_text_.getBuffer(), m_text_.length(), &status); in setText()
253 return RuleBasedCollator::rbcFromUCollator(const_cast<UCollator *>(m_strsrch_->collator)); in getCollator()
259 usearch_setCollator(m_strsrch_, coll->toUCollator(), &status); in setCollator()
268 usearch_setPattern(m_strsrch_, m_pattern_.getBuffer(), m_pattern_.length(), in setPattern()
282 usearch_reset(m_strsrch_); in reset()
298 result->setMatchStart(m_strsrch_->search->matchedIndex); in safeClone()
299 result->setMatchLength(m_strsrch_->search->matchedLength); in safeClone()
312 if (m_strsrch_->pattern.cesLength == 0) { in handleNext()
317 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex, in handleNext()
328 if (position + m_strsrch_->pattern.defaultShiftSize in handleNext()
344 ucol_setOffset(m_strsrch_->textIter, position, &status); in handleNext()
350 usearch_handleNextCanonical(m_strsrch_, &status); in handleNext()
353 usearch_handleNextExact(m_strsrch_, &status); in handleNext()
368 ucol_setOffset(m_strsrch_->textIter, in handleNext()
372 ucol_setOffset(m_strsrch_->textIter, in handleNext()
384 usearch_handleNextCanonical(m_strsrch_, &status); in handleNext()
386 usearch_handleNextExact(m_strsrch_, &status); in handleNext()
394 ucol_setOffset(m_strsrch_->textIter, m_search_->textLength, &status); in handleNext()
396 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex, &status); in handleNext()
410 if (m_strsrch_->pattern.cesLength == 0) { in handlePrev()
419 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex, in handlePrev()
430 position - m_strsrch_->pattern.defaultShiftSize < 0) { in handlePrev()
438 usearch_handlePreviousCanonical(m_strsrch_, &status); in handlePrev()
441 usearch_handlePreviousExact(m_strsrch_, &status); in handlePrev()
459 ucol_setOffset(m_strsrch_->textIter, position, &status); in handlePrev()
463 usearch_handlePreviousCanonical(m_strsrch_, &status); in handlePrev()
465 usearch_handlePreviousExact(m_strsrch_, &status); in handlePrev()