Searched refs:backupPosition (Results 1 – 6 of 6) sorted by relevance
494 int32_t backupPosition = fromPosition; in populatePreceding() local498 backupPosition = backupPosition - 30; in populatePreceding()499 if (backupPosition <= 0) { in populatePreceding()500 backupPosition = 0; in populatePreceding()502 backupPosition = fBI->handleSafePrevious(backupPosition); in populatePreceding()504 if (backupPosition == UBRK_DONE || backupPosition == 0) { in populatePreceding()514 fBI->fPosition = backupPosition; in populatePreceding()516 if (position <= backupPosition + 4) { in populatePreceding()520 if (backupPosition == utext_getPreviousNativeIndex(&fBI->fText)) { in populatePreceding()
497 int32_t backupPosition = fromPosition; in populatePreceding() local501 backupPosition = backupPosition - 30; in populatePreceding()502 if (backupPosition <= 0) { in populatePreceding()503 backupPosition = 0; in populatePreceding()505 backupPosition = fBI->handleSafePrevious(backupPosition); in populatePreceding()507 if (backupPosition == UBRK_DONE || backupPosition == 0) { in populatePreceding()517 fBI->fPosition = backupPosition; in populatePreceding()519 if (position <= backupPosition + 4) { in populatePreceding()523 if (backupPosition == utext_getPreviousNativeIndex(&fBI->fText)) { in populatePreceding()
1569 int backupPosition = fromPosition; in populatePreceding() local1573 backupPosition = backupPosition - 30; in populatePreceding()1574 if (backupPosition <= textBegin) { in populatePreceding()1575 backupPosition = textBegin; in populatePreceding()1577 backupPosition = handleSafePrevious(backupPosition); in populatePreceding()1579 if (backupPosition == BreakIterator.DONE || backupPosition == textBegin) { in populatePreceding()1589 fPosition = backupPosition; // TODO: pass starting position in a clearer way. in populatePreceding()1591 if (position == backupPosition + 1 || in populatePreceding()1592 (position == backupPosition + 2 && in populatePreceding()1593 Character.isHighSurrogate(fText.setIndex(backupPosition)) && in populatePreceding()
1543 int backupPosition = fromPosition; in populatePreceding() local1547 backupPosition = backupPosition - 30; in populatePreceding()1548 if (backupPosition <= textBegin) { in populatePreceding()1549 backupPosition = textBegin; in populatePreceding()1551 backupPosition = handleSafePrevious(backupPosition); in populatePreceding()1553 if (backupPosition == BreakIterator.DONE || backupPosition == textBegin) { in populatePreceding()1563 fPosition = backupPosition; // TODO: pass starting position in a clearer way. in populatePreceding()1565 if (position == backupPosition + 1 || in populatePreceding()1566 (position == backupPosition + 2 && in populatePreceding()1567 Character.isHighSurrogate(fText.setIndex(backupPosition)) && in populatePreceding()