Searched refs:anyPos (Results 1 – 2 of 2) sorted by relevance
| /trunk/main/i18npool/source/breakiterator/ |
| H A D | xdictionary.cxx | 322 Boundary xdictionary::previousWord(const OUString& rText, sal_Int32 anyPos, sal_Int16 wordType) in previousWord() argument 325 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() 332 Boundary xdictionary::nextWord(const OUString& rText, sal_Int32 anyPos, sal_Int16 wordType) in nextWord() argument 334 boundary = getWordBoundary(rText, anyPos, wordType, true); in nextWord() 335 anyPos = boundary.endPos; in nextWord() 336 if (anyPos < rText.getLength()) { in nextWord() 338 sal_uInt32 ch = rText.iterateCodePoints(&anyPos, 1); in nextWord() 339 while (u_isWhitespace(ch)) ch=rText.iterateCodePoints(&anyPos, 1); in nextWord() [all …]
|
| H A D | breakiterator_cjk.cxx | 50 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 …]
|