Lines Matching refs:hashindex
80 int hashindex; in elftc_string_table_find_hash_entry() local
83 hashindex = libelftc_hash_string(string) % st->st_nbuckets; in elftc_string_table_find_hash_entry()
86 *rhashindex = hashindex; in elftc_string_table_find_hash_entry()
88 SLIST_FOREACH(ste, &st->st_buckets[hashindex], ste_next) { in elftc_string_table_find_hash_entry()
239 int hashindex; in elftc_string_table_image() local
268 &hashindex); in elftc_string_table_image()
269 head = &st->st_buckets[hashindex]; in elftc_string_table_image()
309 int hashindex; in elftc_string_table_insert() local
311 hashindex = 0; in elftc_string_table_insert()
313 ste = elftc_string_table_find_hash_entry(st, string, &hashindex); in elftc_string_table_insert()
315 assert(hashindex >= 0 && hashindex < st->st_nbuckets); in elftc_string_table_insert()
326 SLIST_INSERT_HEAD(&st->st_buckets[hashindex], ste, ste_next); in elftc_string_table_insert()
341 int hashindex; in elftc_string_table_lookup() local
343 ste = elftc_string_table_find_hash_entry(st, string, &hashindex); in elftc_string_table_lookup()
345 assert(hashindex >= 0 && hashindex < st->st_nbuckets); in elftc_string_table_lookup()