Home
last modified time | relevance | path

Searched refs:ruleStatusIdx (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Drbbi_cache.cpp427 int32_t ruleStatusIdx = 0; in populateFollowing() local
429 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
430 addFollowing(pos, ruleStatusIdx, UpdateCachePosition); in populateFollowing()
440 ruleStatusIdx = fBI->fRuleStatusIndex; in populateFollowing()
444 … fBI->fDictionaryCache->populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
445 if (fBI->fDictionaryCache->following(fromPosition, &pos, &ruleStatusIdx)) { in populateFollowing()
446 addFollowing(pos, ruleStatusIdx, UpdateCachePosition); in populateFollowing()
457 addFollowing(pos, ruleStatusIdx, UpdateCachePosition); in populateFollowing()
593 void RuleBasedBreakIterator::BreakCache::addFollowing(int32_t position, int32_t ruleStatusIdx, Upda… in addFollowing() argument
595 U_ASSERT(ruleStatusIdx <= UINT16_MAX); in addFollowing()
[all …]
Drbbi_cache.h157 void addFollowing(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update);
165 bool addPreceding(int32_t position, int32_t ruleStatusIdx, UpdatePositionValues update);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java1520 int ruleStatusIdx = 0; in populateFollowing() local
1533 ruleStatusIdx = fRuleStatusIndex; in populateFollowing()
1537 … fDictionaryCache.populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
1550 addFollowing(pos, ruleStatusIdx, UpdateCachePosition); in populateFollowing()
1694 void addFollowing(int position, int ruleStatusIdx, boolean update) { in addFollowing() argument
1696 assert(ruleStatusIdx <= Short.MAX_VALUE); in addFollowing()
1702 fStatuses[nextIdx] = (short)ruleStatusIdx; in addFollowing()
1723 boolean addPreceding(int position, int ruleStatusIdx, boolean update) { in addPreceding() argument
1725 assert(ruleStatusIdx <= Short.MAX_VALUE); in addPreceding()
1737 fStatuses[nextIdx] = (short)ruleStatusIdx; in addPreceding()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java1499 int ruleStatusIdx = 0; in populateFollowing() local
1512 ruleStatusIdx = fRuleStatusIndex; in populateFollowing()
1516 … fDictionaryCache.populateDictionary(fromPosition, pos, fromRuleStatusIdx, ruleStatusIdx); in populateFollowing()
1529 addFollowing(pos, ruleStatusIdx, UpdateCachePosition); in populateFollowing()
1673 void addFollowing(int position, int ruleStatusIdx, boolean update) { in addFollowing() argument
1675 assert(ruleStatusIdx <= Short.MAX_VALUE); in addFollowing()
1681 fStatuses[nextIdx] = (short)ruleStatusIdx; in addFollowing()
1702 boolean addPreceding(int position, int ruleStatusIdx, boolean update) { in addPreceding() argument
1704 assert(ruleStatusIdx <= Short.MAX_VALUE); in addPreceding()
1716 fStatuses[nextIdx] = (short)ruleStatusIdx; in addPreceding()