Lines Matching refs:index
75 int index;
85 index = hash_tbl->hash_function(key) % hash_tbl->hash_size;
90 element->next = hash_tbl->hash_list[index];
91 hash_tbl->hash_list[index] = element;
99 int index;
101 index = hash_tbl->hash_function(key) % hash_tbl->hash_size;
102 element = hash_tbl->hash_list[index];
108 hash_tbl->hash_list[index] = element->next;
123 int index;
125 index = hash_tbl->hash_function(key) % hash_tbl->hash_size;
126 element = hash_tbl->hash_list[index];
143 int i, hash_size, index;
158 index = new_table->hash_function(key) % hash_size;
160 element->next = new_table->hash_list[index];
161 new_table->hash_list[index] = element;