Lines Matching refs:elt
32 typedef struct elt {
36 LINK(struct elt) link;
100 elt_t *elt, *nelt;
107 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
108 nelt = NEXT(elt, link);
110 (symtab->undefine_action)(elt->key,
111 elt->type,
112 elt->value,
114 isc_mem_put(symtab->mctx, elt, sizeof(*elt));
172 elt_t *elt;
177 FIND(symtab, key, type, bucket, elt);
179 if (elt == NULL)
183 *value = elt->value;
207 elt_t *elt, *nelt;
209 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
212 nelt = NEXT(elt, link);
214 UNLINK(symtab->table[i], elt, link);
215 hv = hash(elt->key, symtab->case_sensitive);
216 APPEND(newtable[hv % newsize], elt, link);
233 elt_t *elt;
239 FIND(symtab, key, type, bucket, elt);
241 if (exists_policy != isc_symexists_add && elt != NULL) {
245 UNLINK(symtab->table[bucket], elt, link);
247 (symtab->undefine_action)(elt->key, elt->type,
248 elt->value,
251 elt = (elt_t *)isc_mem_get(symtab->mctx, sizeof(*elt));
252 if (elt == NULL)
254 ISC_LINK_INIT(elt, link);
265 DE_CONST(key, elt->key);
266 elt->type = type;
267 elt->value = value;
272 PREPEND(symtab->table[bucket], elt, link);
283 elt_t *elt;
288 FIND(symtab, key, type, bucket, elt);
290 if (elt == NULL)
294 (symtab->undefine_action)(elt->key, elt->type,
295 elt->value, symtab->undefine_arg);
296 UNLINK(symtab->table[bucket], elt, link);
297 isc_mem_put(symtab->mctx, elt, sizeof(*elt));