Home
last modified time | relevance | path

Searched refs:backupPosition (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/icu-small/source/common/
Drbbi_cache.cpp494 int32_t backupPosition = fromPosition; in populatePreceding() local
498 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()
/third_party/icu/icu4c/source/common/
Drbbi_cache.cpp494 int32_t backupPosition = fromPosition; in populatePreceding() local
498 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()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Drbbi_cache.cpp497 int32_t backupPosition = fromPosition; in populatePreceding() local
501 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()
/third_party/skia/third_party/externals/icu/source/common/
Drbbi_cache.cpp494 int32_t backupPosition = fromPosition; in populatePreceding() local
498 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRuleBasedBreakIterator.java1569 int backupPosition = fromPosition; in populatePreceding() local
1573 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java1543 int backupPosition = fromPosition; in populatePreceding() local
1547 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()