Home
last modified time | relevance | path

Searched refs:thash_size (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/msgfmt/
H A Dgnu_handle.c258 p->thash_size = find_prime(DEF_MSG_NUM); in catalog_init()
259 p->thash = Xcalloc(p->thash_size, sizeof (unsigned int)); in catalog_init()
282 tmp->thash_size = find_prime(DEF_MSG_NUM); in catalog_init()
283 tmp->thash = Xcalloc(tmp->thash_size, in catalog_init()
482 hash_val, cur_catalog->thash_size); in handle_message()
492 cur_catalog->thash_size = in handle_message()
495 cur_catalog->thash = Xcalloc(cur_catalog->thash_size, in handle_message()
501 cur_catalog->thash_size); in handle_message()
H A Dgnu_msgs.c38 idx = hash_val % p->thash_size; in search_msg()
39 inc = 1 + (hash_val % (p->thash_size - 2)); in search_msg()
45 idx = (idx + inc) % p->thash_size) { in search_msg()
H A Dgnu_msgs_rev.c48 idx = hash_val % p->thash_size; in search_msg()
49 inc = 1 + (hash_val % (p->thash_size - 2)); in search_msg()
55 idx = (idx + inc) % p->thash_size) { in search_msg()
H A Dgnu_msgfmt.h106 unsigned int thash_size; member