Lines Matching refs:entryIndex
825 int32_t entryIndex = findEntry(data, blockData, blockStart, hashCode); in findBlock() local
826 if (entryIndex >= 0) { in findBlock()
827 return (table[entryIndex] & mask) - 1; in findBlock()
835 int32_t entryIndex = findEntry(data, blockValue, hashCode); in findAllSameBlock() local
836 if (entryIndex >= 0) { in findAllSameBlock()
837 return (table[entryIndex] & mask) - 1; in findAllSameBlock()
865 int32_t entryIndex = findEntry(data, data, blockStart, hashCode); in addEntry() local
866 if (entryIndex < 0) { in addEntry()
867 table[~entryIndex] = (hashCode << shift) | (dataIndex + 1); in addEntry()
876 for (int32_t entryIndex = initialEntryIndex;;) { in findEntry() local
877 uint32_t entry = table[entryIndex]; in findEntry()
879 return ~entryIndex; in findEntry()
884 return entryIndex; in findEntry()
887 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry()
894 for (int32_t entryIndex = initialEntryIndex;;) { in findEntry() local
895 uint32_t entry = table[entryIndex]; in findEntry()
897 return ~entryIndex; in findEntry()
902 return entryIndex; in findEntry()
905 entryIndex = nextIndex(initialEntryIndex, entryIndex); in findEntry()
909 inline int32_t nextIndex(int32_t initialEntryIndex, int32_t entryIndex) const { in nextIndex()
911 return (entryIndex + initialEntryIndex) % length; in nextIndex()