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

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

Completed in 57 milliseconds