Home
last modified time | relevance | path

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

/iconv/
A Dgconv_cache.c116 || __builtin_expect (header->hash_size == 0, 0) in __gconv_load_cache()
118 + header->hash_size * sizeof (struct hash_entry)) in __gconv_load_cache()
159 idx = hval % header->hash_size; in find_module_idx()
160 hval2 = 1 + hval % (header->hash_size - 2); in find_module_idx()
171 if ((idx += hval2) >= header->hash_size) in find_module_idx()
172 idx -= header->hash_size; in find_module_idx()
A Diconvconfig.h29 gidx_t hash_size; member
A Diconvconfig.c974 static size_t hash_size; variable
987 idx = name->hashval % hash_size; in name_insert()
988 hval2 = 1 + name->hashval % (hash_size - 2); in name_insert()
991 if ((idx += hval2) >= hash_size) in name_insert()
992 idx -= hash_size; in name_insert()
1041 hash_size = next_prime (nnames + (nnames >> 1)); in write_output()
1042 hash_table = (struct hash_entry *) xcalloc (hash_size, in write_output()
1163 header.hash_size = hash_size; in write_output()
1165 iov[idx].iov_len = hash_size * sizeof (struct hash_entry); in write_output()
A Diconv_prog.c725 for (cnt = 0; cnt < header->hash_size; ++cnt) in insert_cache()

Completed in 11 milliseconds