Lines Matching defs:elt
27 typedef struct elt {
31 LINK(struct elt) link;
88 elt_t *elt, *nelt;
96 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
97 nelt = NEXT(elt, link);
99 (symtab->undefine_action)(elt->key, elt->type,
100 elt->value,
103 isc_mem_put(symtab->mctx, elt, sizeof(*elt));
155 elt_t *elt;
160 FIND(symtab, key, type, bucket, elt);
162 if (elt == NULL) {
166 SET_IF_NOT_NULL(value, elt->value);
189 elt_t *elt, *nelt;
191 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
194 nelt = NEXT(elt, link);
196 UNLINK(symtab->table[i], elt, link);
197 hv = hash(elt->key, symtab->case_sensitive);
198 APPEND(newtable[hv % newsize], elt, link);
214 elt_t *elt;
220 FIND(symtab, key, type, bucket, elt);
222 if (exists_policy != isc_symexists_add && elt != NULL) {
227 UNLINK(symtab->table[bucket], elt, link);
229 (symtab->undefine_action)(elt->key, elt->type,
230 elt->value,
234 elt = isc_mem_get(symtab->mctx, sizeof(*elt));
235 ISC_LINK_INIT(elt, link);
246 elt->key = UNCONST(key);
247 elt->type = type;
248 elt->value = value;
253 PREPEND(symtab->table[bucket], elt, link);
265 elt_t *elt;
270 FIND(symtab, key, type, bucket, elt);
272 if (elt == NULL) {
277 (symtab->undefine_action)(elt->key, elt->type, elt->value,
280 UNLINK(symtab->table[bucket], elt, link);
281 isc_mem_put(symtab->mctx, elt, sizeof(*elt));