Searched refs:initialEntryIndex (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | MutableCodePointTrie.java | 869 int initialEntryIndex = modulo(hashCode, length - 1) + 1; // 1..length-1 in findEntry() local 870 for (int entryIndex = initialEntryIndex;;) { in findEntry() 885 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry() 891 int initialEntryIndex = modulo(hashCode, length - 1) + 1; // 1..length-1 in findEntry() local 892 for (int entryIndex = initialEntryIndex;;) { in findEntry() 903 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry() 907 private int nextIndex(int initialEntryIndex, int entryIndex) { in nextIndex() argument 909 return (entryIndex + initialEntryIndex) % length; in nextIndex()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | MutableCodePointTrie.java | 862 int initialEntryIndex = modulo(hashCode, length - 1) + 1; // 1..length-1 in findEntry() local 863 for (int entryIndex = initialEntryIndex;;) { in findEntry() 878 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry() 884 int initialEntryIndex = modulo(hashCode, length - 1) + 1; // 1..length-1 in findEntry() local 885 for (int entryIndex = initialEntryIndex;;) { in findEntry() 896 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry() 900 private int nextIndex(int initialEntryIndex, int entryIndex) { in nextIndex() argument 902 return (entryIndex + initialEntryIndex) % length; in nextIndex()
|
/external/icu/icu4c/source/common/ |
D | umutablecptrie.cpp | 870 int32_t initialEntryIndex = (hashCode % (length - 1)) + 1; // 1..length-1 in findEntry() local 871 for (int32_t entryIndex = initialEntryIndex;;) { in findEntry() 882 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry() 888 int32_t initialEntryIndex = (hashCode % (length - 1)) + 1; // 1..length-1 in findEntry() local 889 for (int32_t entryIndex = initialEntryIndex;;) { in findEntry() 900 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry() 904 inline int32_t nextIndex(int32_t initialEntryIndex, int32_t entryIndex) const { in nextIndex() argument 906 return (entryIndex + initialEntryIndex) % length; in nextIndex()
|