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