Lines Matching refs:fCachedBreakPositions

207     if (fCachedBreakPositions) {  in ~RuleBasedBreakIterator()
208 uprv_free(fCachedBreakPositions); in ~RuleBasedBreakIterator()
209 fCachedBreakPositions = NULL; in ~RuleBasedBreakIterator()
286 fCachedBreakPositions = NULL; in init()
582 if (fCachedBreakPositions != NULL) { in next()
585 int32_t pos = fCachedBreakPositions[fPositionInCache]; in next()
613 if (fCachedBreakPositions != NULL) { in previous()
621 int32_t pos = fCachedBreakPositions[fPositionInCache]; in previous()
724 if (fCachedBreakPositions != NULL) { in following()
725 if (offset >= fCachedBreakPositions[0] in following()
726 && offset < fCachedBreakPositions[fNumCachedBreakPositions - 1]) { in following()
729 while (offset >= fCachedBreakPositions[fPositionInCache]) { in following()
732 int32_t pos = fCachedBreakPositions[fPositionInCache]; in following()
833 if (fCachedBreakPositions != NULL) { in preceding()
836 if (offset > fCachedBreakPositions[0] in preceding()
837 && offset <= fCachedBreakPositions[fNumCachedBreakPositions - 1]) { in preceding()
840 && offset > fCachedBreakPositions[fPositionInCache]) in preceding()
848 utext_setNativeIndex(fText, fCachedBreakPositions[fPositionInCache]); in preceding()
849 return fCachedBreakPositions[fPositionInCache]; in preceding()
1416 if (fCachedBreakPositions) { in reset()
1417 uprv_free(fCachedBreakPositions); in reset()
1419 fCachedBreakPositions = NULL; in reset()
1698 fCachedBreakPositions = (int32_t *)uprv_malloc(totalBreaks * sizeof(int32_t)); in checkDictionary()
1699 if (fCachedBreakPositions != NULL) { in checkDictionary()
1703 fCachedBreakPositions[out++] = startPos; in checkDictionary()
1706 fCachedBreakPositions[out++] = breaks.elementAti(i); in checkDictionary()
1708 if (endPos > fCachedBreakPositions[out-1]) { in checkDictionary()
1709 fCachedBreakPositions[out] = endPos; in checkDictionary()