Home
last modified time | relevance | path

Searched refs:blockValue (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java822 int findAllSameBlock(int[] data, int blockValue) { in findAllSameBlock() argument
823 int hashCode = makeHashCode(blockValue); in findAllSameBlock()
824 int entryIndex = findEntry(data, blockValue, hashCode); in findAllSameBlock()
850 private int makeHashCode(int blockValue) { in makeHashCode() argument
851 int hashCode = blockValue; in makeHashCode()
853 hashCode = 37 * hashCode + blockValue; in makeHashCode()
889 private int findEntry(int[] data, int blockValue, int hashCode) { in findEntry() argument
899 if (allValuesSameAs(data, dataIndex, blockLength, blockValue)) { in findEntry()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java815 int findAllSameBlock(int[] data, int blockValue) { in findAllSameBlock() argument
816 int hashCode = makeHashCode(blockValue); in findAllSameBlock()
817 int entryIndex = findEntry(data, blockValue, hashCode); in findAllSameBlock()
843 private int makeHashCode(int blockValue) { in makeHashCode() argument
844 int hashCode = blockValue; in makeHashCode()
846 hashCode = 37 * hashCode + blockValue; in makeHashCode()
882 private int findEntry(int[] data, int blockValue, int hashCode) { in findEntry() argument
892 if (allValuesSameAs(data, dataIndex, blockLength, blockValue)) { in findEntry()
/external/icu/icu4c/source/common/
Dumutablecptrie.cpp828 int32_t findAllSameBlock(const uint32_t *data, uint32_t blockValue) const { in findAllSameBlock()
829 uint32_t hashCode = makeHashCode(blockValue); in findAllSameBlock()
830 int32_t entryIndex = findEntry(data, blockValue, hashCode); in findAllSameBlock()
849 uint32_t makeHashCode(uint32_t blockValue) const { in makeHashCode()
850 uint32_t hashCode = blockValue; in makeHashCode()
852 hashCode = 37 * hashCode + blockValue; in makeHashCode()
886 int32_t findEntry(const uint32_t *data, uint32_t blockValue, uint32_t hashCode) const { in findEntry() argument
896 if (allValuesSameAs(data + dataIndex, blockLength, blockValue)) { in findEntry()