Lines Matching refs:strhash_entry_t
75 } strhash_entry_t;
80 strhash_entry_t **bins;
84 static strhash_entry_t *find_entry(strhash_entry_t *entry, const char *key,
86 static strhash_entry_t *new_entry(const char *key, void *value);
125 strhash_entry_t *bin = hash->bins[i];
126 strhash_entry_t *next;
143 strhash_entry_t *entry;
179 strhash_entry_t *entry;
214 static strhash_entry_t *
215 find_entry(strhash_entry_t *entry, const char *key, unsigned long hash) {
226 static strhash_entry_t *
228 strhash_entry_t *entry;
234 if ((entry = malloc(sizeof(strhash_entry_t) + len)) == NULL) {
248 strhash_entry_t **old_bins, **new_bins;
252 new_bins = malloc(sizeof(strhash_entry_t *) * new_size);
256 memset(new_bins, 0, sizeof(strhash_entry_t *) * new_size);
261 strhash_entry_t *entries = old_bins[old_index];
264 strhash_entry_t *e = entries;