• Home
  • Raw
  • Download

Lines Matching refs:fCachedBreakPositions

194     if (fCachedBreakPositions) {  in ~RuleBasedBreakIterator()
195 uprv_free(fCachedBreakPositions); in ~RuleBasedBreakIterator()
196 fCachedBreakPositions = NULL; in ~RuleBasedBreakIterator()
273 fCachedBreakPositions = NULL; in init()
569 if (fCachedBreakPositions != NULL) { in next()
572 int32_t pos = fCachedBreakPositions[fPositionInCache]; in next()
600 if (fCachedBreakPositions != NULL) { in previous()
608 int32_t pos = fCachedBreakPositions[fPositionInCache]; in previous()
711 if (fCachedBreakPositions != NULL) { in following()
712 if (offset >= fCachedBreakPositions[0] in following()
713 && offset < fCachedBreakPositions[fNumCachedBreakPositions - 1]) { in following()
716 while (offset >= fCachedBreakPositions[fPositionInCache]) { in following()
719 int32_t pos = fCachedBreakPositions[fPositionInCache]; in following()
820 if (fCachedBreakPositions != NULL) { in preceding()
823 if (offset > fCachedBreakPositions[0] in preceding()
824 && offset <= fCachedBreakPositions[fNumCachedBreakPositions - 1]) { in preceding()
827 && offset > fCachedBreakPositions[fPositionInCache]) in preceding()
835 utext_setNativeIndex(fText, fCachedBreakPositions[fPositionInCache]); in preceding()
836 return fCachedBreakPositions[fPositionInCache]; in preceding()
1403 if (fCachedBreakPositions) { in reset()
1404 uprv_free(fCachedBreakPositions); in reset()
1406 fCachedBreakPositions = NULL; in reset()
1685 fCachedBreakPositions = (int32_t *)uprv_malloc(totalBreaks * sizeof(int32_t)); in checkDictionary()
1686 if (fCachedBreakPositions != NULL) { in checkDictionary()
1690 fCachedBreakPositions[out++] = startPos; in checkDictionary()
1693 fCachedBreakPositions[out++] = breaks.elementAti(i); in checkDictionary()
1695 if (endPos > fCachedBreakPositions[out-1]) { in checkDictionary()
1696 fCachedBreakPositions[out] = endPos; in checkDictionary()