Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Drbbi_cache.cpp291 fBufIdx = modChunkSize(fBufIdx - 1); in previous()
321 probe = modChunkSize(probe); in seek()
325 min = modChunkSize(probe + 1); in seek()
329 fBufIdx = modChunkSize(max - 1); in seek()
596 int32_t nextIdx = modChunkSize(fEndBufIdx + 1); in addFollowing()
598 fStartBufIdx = modChunkSize(fStartBufIdx + 6); // TODO: experiment. Probably revert to 1. in addFollowing()
618 int32_t nextIdx = modChunkSize(fStartBufIdx - 1); in addPreceding()
626 fEndBufIdx = modChunkSize(fEndBufIdx - 1); in addPreceding()
642 for (int32_t i=fStartBufIdx; ; i=modChunkSize(i+1)) { in dumpCache()
Drbbi_cache.h94 fBufIdx = modChunkSize(fBufIdx + 1); in next()
181 static inline int32_t modChunkSize(int index) { return index & (CACHE_SIZE - 1); } in modChunkSize() function
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java1351 fBufIdx = modChunkSize(fBufIdx + 1); in next()
1364 fBufIdx = modChunkSize(fBufIdx - 1); in previous()
1697 int nextIdx = modChunkSize(fEndBufIdx + 1); in addFollowing()
1699 … fStartBufIdx = modChunkSize(fStartBufIdx + 6); // TODO: experiment. Probably revert to 1. in addFollowing()
1726 int nextIdx = modChunkSize(fStartBufIdx - 1); in addPreceding()
1734 fEndBufIdx = modChunkSize(fEndBufIdx - 1); in addPreceding()
1775 probe = modChunkSize(probe);
1779 min = modChunkSize(probe + 1);
1783 fBufIdx = modChunkSize(max - 1);
1808 for (int i=fStartBufIdx; ; i=modChunkSize(i+1)) { in dumpCache()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java1330 fBufIdx = modChunkSize(fBufIdx + 1); in next()
1343 fBufIdx = modChunkSize(fBufIdx - 1); in previous()
1676 int nextIdx = modChunkSize(fEndBufIdx + 1); in addFollowing()
1678 … fStartBufIdx = modChunkSize(fStartBufIdx + 6); // TODO: experiment. Probably revert to 1. in addFollowing()
1705 int nextIdx = modChunkSize(fStartBufIdx - 1); in addPreceding()
1713 fEndBufIdx = modChunkSize(fEndBufIdx - 1); in addPreceding()
1754 probe = modChunkSize(probe);
1758 min = modChunkSize(probe + 1);
1762 fBufIdx = modChunkSize(max - 1);
1787 for (int i=fStartBufIdx; ; i=modChunkSize(i+1)) { in dumpCache()
[all …]