Lines Matching refs:entries
158 if there are no entries for 'slot'. Does no bounds-checking. */
160 (x) = (struct type *)((map)->entries[slot])
168 if ((map)->entries[slot] == NULL) { \
169 (map)->entries[slot] = \
171 if (EVUTIL_UNLIKELY((map)->entries[slot] == NULL)) \
173 (ctor)((struct type *)(map)->entries[slot]); \
175 (x) = (struct type *)((map)->entries[slot]); \
198 /** Expand 'map' with new entries of width 'msize' until it is big enough
211 tmp = (void **)mm_realloc(map->entries, nentries * msize);
219 map->entries = tmp;
229 ctx->entries = NULL;
235 if (ctx->entries != NULL) {
238 if (ctx->entries[i] != NULL)
239 mm_free(ctx->entries[i]);
241 mm_free(ctx->entries);
242 ctx->entries = NULL;
543 struct evmap_io *io = base->io.entries[i];
756 struct evmap_io *ctx = io->entries[i];
771 struct evmap_signal *ctx = sigmap->entries[i];