Home
last modified time | relevance | path

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

/third_party/gettext/gettext-tools/src/
Dwrite-mo.c160 nls_uint32 hash_tab_size; in write_table() local
408 hash_tab_size = next_prime ((mlp->nitems * 4) / 3); in write_table()
410 if (hash_tab_size <= 2) in write_table()
411 hash_tab_size = 3; in write_table()
414 hash_tab_size = 0; in write_table()
445 header.hash_tab_size = hash_tab_size; in write_table()
448 offset += hash_tab_size * sizeof (nls_uint32); in write_table()
492 BSWAP32 (header.hash_tab_size); in write_table()
555 hash_tab = XNMALLOC (hash_tab_size, nls_uint32); in write_table()
556 memset (hash_tab, '\0', hash_tab_size * sizeof (nls_uint32)); in write_table()
[all …]
Dread-mo.c308 header.hash_tab_size = GET_HEADER_FIELD (hash_tab_size); in read_mo_file()
338 if (header.hash_tab_size > 0) in read_mo_file()
344 if (!(header.hash_tab_size > 2)) in read_mo_file()
352 for (j = 0; j < header.hash_tab_size; j++) in read_mo_file()
381 nls_uint32 idx = hash_val % header.hash_tab_size; in read_mo_file()
382 nls_uint32 incr = 1 + (hash_val % (header.hash_tab_size - 2)); in read_mo_file()
395 if (idx >= header.hash_tab_size - incr) in read_mo_file()
396 idx -= header.hash_tab_size - incr; in read_mo_file()
/third_party/gettext/gettext-runtime/intl/
Dgmo.h87 nls_uint32 hash_tab_size; member
Dloadmsgcat.c879 domain->hash_size = W (domain->must_swap, data->hash_tab_size); in _nl_load_domain()