Lines Matching refs:entries
160 if there are no entries for 'slot'. Does no bounds-checking. */
162 (x) = (struct type *)((map)->entries[slot])
170 if ((map)->entries[slot] == NULL) { \
171 (map)->entries[slot] = \
173 if (EVUTIL_UNLIKELY((map)->entries[slot] == NULL)) \
175 (ctor)((struct type *)(map)->entries[slot]); \
177 (x) = (struct type *)((map)->entries[slot]); \
200 /** Expand 'map' with new entries of width 'msize' until it is big enough
213 tmp = (void **)mm_realloc(map->entries, nentries * msize);
221 map->entries = tmp;
231 ctx->entries = NULL;
237 if (ctx->entries != NULL) {
240 if (ctx->entries[i] != NULL)
241 mm_free(ctx->entries[i]);
243 mm_free(ctx->entries);
244 ctx->entries = NULL;
549 struct evmap_io *ctx = iomap->entries[fd];
583 struct evmap_signal *ctx = sigmap->entries[signum];