Home | History | Annotate | Download | only in i18n

Lines Matching refs:m_strsrch_

33         m_strsrch_ = NULL;
37 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(),
46 m_search_ = m_strsrch_->search;
59 m_strsrch_ = NULL;
64 m_strsrch_ = NULL;
67 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(),
78 m_search_ = m_strsrch_->search;
91 m_strsrch_ = NULL;
94 m_strsrch_ = usearch_open(m_pattern_.getBuffer(), m_pattern_.length(),
103 m_search_ = m_strsrch_->search;
116 m_strsrch_ = NULL;
121 m_strsrch_ = NULL;
124 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(),
135 m_search_ = m_strsrch_->search;
149 if (that.m_strsrch_ == NULL) {
151 m_strsrch_ = NULL;
155 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(),
159 that.m_strsrch_->collator,
164 m_search_ = m_strsrch_->search;
171 if (m_strsrch_ != NULL) {
172 usearch_close(m_strsrch_);
190 // all m_search_ in the parent class is linked up with m_strsrch_
191 usearch_close(m_strsrch_);
192 m_strsrch_ = usearch_openFromCollator(m_pattern_.getBuffer(),
196 that.m_strsrch_->collator,
199 if (m_strsrch_ != NULL) {
200 m_search_ = m_strsrch_->search;
214 this->m_strsrch_->collator == thatsrch.m_strsrch_->collator);
224 usearch_setOffset(m_strsrch_, position, &status);
229 return usearch_getOffset(m_strsrch_);
236 usearch_setText(m_strsrch_, text.getBuffer(), text.length(), &status);
244 usearch_setText(m_strsrch_, m_text_.getBuffer(), m_text_.length(), &status);
251 return RuleBasedCollator::rbcFromUCollator(const_cast<UCollator *>(m_strsrch_->collator));
257 usearch_setCollator(m_strsrch_, coll->toUCollator(), &status);
266 usearch_setPattern(m_strsrch_, m_pattern_.getBuffer(), m_pattern_.length(),
280 usearch_reset(m_strsrch_);
296 result->setMatchStart(m_strsrch_->search->matchedIndex);
297 result->setMatchLength(m_strsrch_->search->matchedLength);
310 if (m_strsrch_->pattern.cesLength == 0) {
315 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex,
323 // StringSearch instead of SearchIterator because m_strsrch_ is
326 if (position + m_strsrch_->pattern.defaultShiftSize
342 ucol_setOffset(m_strsrch_->textIter, position, &status);
348 usearch_handleNextCanonical(m_strsrch_, &status);
351 usearch_handleNextExact(m_strsrch_, &status);
366 ucol_setOffset(m_strsrch_->textIter,
370 ucol_setOffset(m_strsrch_->textIter,
377 // if m_strsrch_->breakIter is always the same as m_breakiterator_
382 usearch_handleNextCanonical(m_strsrch_, &status);
384 usearch_handleNextExact(m_strsrch_, &status);
392 ucol_setOffset(m_strsrch_->textIter, m_search_->textLength, &status);
394 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex, &status);
408 if (m_strsrch_->pattern.cesLength == 0) {
417 ucol_setOffset(m_strsrch_->textIter, m_search_->matchedIndex,
424 // StringSearch instead of SearchIterator because m_strsrch_ is
428 position - m_strsrch_->pattern.defaultShiftSize < 0) {
436 usearch_handlePreviousCanonical(m_strsrch_, &status);
439 usearch_handlePreviousExact(m_strsrch_, &status);
457 ucol_setOffset(m_strsrch_
461 usearch_handlePreviousCanonical(m_strsrch_, &status);
463 usearch_handlePreviousExact(m_strsrch_, &status);