Lines Matching refs:boundary
57 boundary(), in xdictionary()
178 sal_Bool WordBreakCache::equals(const sal_Unicode* str, Boundary& boundary) { in equals() argument
180 if (length != boundary.endPos - boundary.startPos) return sal_False; in equals()
183 if (contents[i] != str[i + boundary.startPos]) return sal_False; in equals()
334 boundary = getWordBoundary(rText, anyPos, wordType, true); in nextWord()
335 anyPos = boundary.endPos; in nextWord()
351 boundary.startPos = boundary.endPos = anyPos < 0 ? 0 : len; in getWordBoundary()
352 } else if (seekSegment(rText, anyPos, boundary)) { // character in dict in getWordBoundary()
353 WordBreakCache& aCache = getCache(text, boundary); in getWordBoundary()
356 while (aCache.wordboundary[i] <= anyPos - boundary.startPos) i++; in getWordBoundary()
360 if (!bDirection && startPos > 0 && startPos == (anyPos - boundary.startPos)) in getWordBoundary()
367 boundary.endPos = boundary.startPos; in getWordBoundary()
368 rText.iterateCodePoints(&boundary.endPos, aCache.wordboundary[i]); in getWordBoundary()
369 rText.iterateCodePoints(&boundary.startPos, aCache.wordboundary[i-1]); in getWordBoundary()
371 boundary.startPos = anyPos; in getWordBoundary()
373 boundary.endPos = anyPos < len ? anyPos : len; in getWordBoundary()
377 while (boundary.endPos < len) in getWordBoundary()
379 sal_Int32 indexUtf16 = boundary.endPos; in getWordBoundary()
381 boundary.endPos = indexUtf16; in getWordBoundary()
387 return boundary; in getWordBoundary()