Lines Matching refs:aBreakIterator
69 if (icuBI && icuBI->aBreakIterator) { in ~BreakIterator_Unicode()
70 delete icuBI->aBreakIterator; in ~BreakIterator_Unicode()
71 icuBI->aBreakIterator=NULL; in ~BreakIterator_Unicode()
73 if (character.aBreakIterator) delete character.aBreakIterator; in ~BreakIterator_Unicode()
74 if (word.aBreakIterator) delete word.aBreakIterator; in ~BreakIterator_Unicode()
75 if (sentence.aBreakIterator) delete sentence.aBreakIterator; in ~BreakIterator_Unicode()
76 if (line.aBreakIterator) delete line.aBreakIterator; in ~BreakIterator_Unicode()
113 if (!icuBI->aBreakIterator || rWordType != aWordType || in loadICUBreakIterator()
116 if (icuBI->aBreakIterator) { in loadICUBreakIterator()
117 delete icuBI->aBreakIterator; in loadICUBreakIterator()
118 icuBI->aBreakIterator=NULL; in loadICUBreakIterator()
146 if (!U_SUCCESS(status) ) icuBI->aBreakIterator=NULL; in loadICUBreakIterator()
156 icuBI->aBreakIterator = rbi; in loadICUBreakIterator()
160 if (!icuBI->aBreakIterator) { in loadICUBreakIterator()
169 … icuBI->aBreakIterator = icu::BreakIterator::createCharacterInstance(icuLocale, status); in loadICUBreakIterator()
172 … icuBI->aBreakIterator = icu::BreakIterator::createWordInstance(icuLocale, status); in loadICUBreakIterator()
175 … icuBI->aBreakIterator = icu::BreakIterator::createSentenceInstance(icuLocale, status); in loadICUBreakIterator()
178 … icuBI->aBreakIterator = icu::BreakIterator::createLineInstance(icuLocale, status); in loadICUBreakIterator()
182 icuBI->aBreakIterator=NULL; in loadICUBreakIterator()
186 if (icuBI->aBreakIterator) { in loadICUBreakIterator()
198 icuBI->aBreakIterator->setText(icuBI->aICUText); in loadICUBreakIterator()
211 nStartPos = character.aBreakIterator->following(nStartPos); in nextCharacters()
230 nStartPos = character.aBreakIterator->preceding(nStartPos); in previousCharacters()
247 result.startPos = word.aBreakIterator->following(nStartPos); in nextWord()
254 result.startPos = word.aBreakIterator->following(result.startPos); in nextWord()
256 result.endPos = word.aBreakIterator->following(result.startPos); in nextWord()
269 result.startPos = word.aBreakIterator->preceding(nStartPos); in previousWord()
276 result.startPos = word.aBreakIterator->preceding(result.startPos); in previousWord()
278 result.endPos = word.aBreakIterator->following(result.startPos); in previousWord()
292 if(word.aBreakIterator->isBoundary(nPos)) { in getWordBoundary()
295 result.endPos = word.aBreakIterator->following(nPos); in getWordBoundary()
297 result.startPos = word.aBreakIterator->preceding(nPos); in getWordBoundary()
301 result.endPos = len ? word.aBreakIterator->following((sal_Int32)0) : 0; in getWordBoundary()
303 result.startPos = word.aBreakIterator->preceding(len); in getWordBoundary()
306 result.startPos = word.aBreakIterator->preceding(nPos); in getWordBoundary()
307 result.endPos = word.aBreakIterator->following(nPos); in getWordBoundary()
327 if (!sentence.aBreakIterator->isBoundary(nStartPos)) in beginOfSentence()
328 nStartPos = sentence.aBreakIterator->preceding(nStartPos); in beginOfSentence()
346 nStartPos = sentence.aBreakIterator->following(nStartPos); in endOfSentence()
372 if (line.aBreakIterator->preceding(nStartPos + 1) == nStartPos) { //Line boundary break in getLineBreak()
390 lbr.breakIndex = line.aBreakIterator->preceding(nStartPos); in getLineBreak()
394 lbr.breakIndex = line.aBreakIterator->preceding(nStartPos); in getLineBreak()