Lines Matching refs:Hash_table
69 typedef struct hash_table Hash_table; typedef
72 size_t hash_get_n_buckets (const Hash_table *) _GL_ATTRIBUTE_PURE;
73 size_t hash_get_n_buckets_used (const Hash_table *) _GL_ATTRIBUTE_PURE;
74 size_t hash_get_n_entries (const Hash_table *) _GL_ATTRIBUTE_PURE;
75 size_t hash_get_max_bucket_length (const Hash_table *) _GL_ATTRIBUTE_PURE;
76 bool hash_table_ok (const Hash_table *) _GL_ATTRIBUTE_PURE;
77 void hash_print_statistics (const Hash_table *, FILE *);
78 void *hash_lookup (const Hash_table *, const void *);
81 void *hash_get_first (const Hash_table *) _GL_ATTRIBUTE_PURE;
82 void *hash_get_next (const Hash_table *, const void *);
83 size_t hash_get_entries (const Hash_table *, void **, size_t);
84 size_t hash_do_for_each (const Hash_table *, Hash_processor, void *);
89 Hash_table *hash_initialize (size_t, const Hash_tuning *,
92 void hash_clear (Hash_table *);
93 void hash_free (Hash_table *);
96 bool hash_rehash (Hash_table *, size_t) _GL_ATTRIBUTE_WUR;
97 void *hash_insert (Hash_table *, const void *) _GL_ATTRIBUTE_WUR;
100 int hash_insert0 (Hash_table *table, /* FIXME: remove in 2013 */
103 int hash_insert_if_absent (Hash_table *table, const void *entry,
105 void *hash_delete (Hash_table *, const void *);