Home
last modified time | relevance | path

Searched refs:anyPos (Results 1 – 2 of 2) sorted by relevance

/aoo41x/main/i18npool/source/breakiterator/
H A Dxdictionary.cxx325 sal_uInt32 ch = rText.iterateCodePoints(&anyPos, -1); in previousWord()
327 while (anyPos > 0 && u_isWhitespace(ch)) ch = rText.iterateCodePoints(&anyPos, -1); in previousWord()
329 return getWordBoundary(rText, anyPos, wordType, true); in previousWord()
335 anyPos = boundary.endPos; in nextWord()
336 if (anyPos < rText.getLength()) { in nextWord()
340 rText.iterateCodePoints(&anyPos, -1); in nextWord()
350 if (anyPos >= len || anyPos < 0) { in getWordBoundary()
362 sal_Int32 indexUtf16 = anyPos-1; in getWordBoundary()
371 boundary.startPos = anyPos; in getWordBoundary()
372 if (anyPos < len) rText.iterateCodePoints(&anyPos, 1); in getWordBoundary()
[all …]
H A Dbreakiterator_cjk.cxx50 BreakIterator_CJK::previousWord(const OUString& text, sal_Int32 anyPos, in previousWord() argument
54 result = dict->previousWord(text, anyPos, wordType); in previousWord()
60 if (result.endPos < anyPos) in previousWord()
63 return BreakIterator_Unicode::previousWord(text, anyPos, nLocale, wordType); in previousWord()
67 BreakIterator_CJK::nextWord(const OUString& text, sal_Int32 anyPos, in nextWord() argument
71 result = dict->nextWord(text, anyPos, wordType); in nextWord()
77 if (result.startPos > anyPos) in nextWord()
80 return BreakIterator_Unicode::nextWord(text, anyPos, nLocale, wordType); in nextWord()
84 BreakIterator_CJK::getWordBoundary( const OUString& text, sal_Int32 anyPos, in getWordBoundary() argument
89 result = dict->getWordBoundary(text, anyPos, wordType, bDirection); in getWordBoundary()
[all …]

Completed in 16 milliseconds