Home
last modified time | relevance | path

Searched refs:hashindex (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/top/
H A Dusername.c59 int hashindex; in username() local
61 hashindex = hashit(uid); in username()
62 if (is_empty_hash(hashindex) || (hash_table[hashindex].uid != uid)) in username()
65 hashindex = get_user(uid); in username()
67 return(hash_table[hashindex].name); in username()
95 int hashindex; in enter_user() local
101 hashindex = hashit(uid); in enter_user()
103 if (!is_empty_hash(hashindex)) in enter_user()
107 if (hash_table[hashindex].uid == uid) in enter_user()
108 return(hashindex); /* Fortuitous find */ in enter_user()
[all …]
/freebsd/contrib/elftoolchain/libelftc/
H A Delftc_string_table.c80 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()
[all …]