Home | History | Annotate | Download | only in libevent

Lines Matching refs:nentries

206 	if (map->nentries <= slot) {
207 int nentries = map->nentries ? map->nentries : 32;
210 while (nentries <= slot)
211 nentries <<= 1;
213 tmp = (void **)mm_realloc(map->entries, nentries * msize);
217 memset(&tmp[map->nentries], 0,
218 (nentries - map->nentries) * msize);
220 map->nentries = nentries;
230 ctx->nentries = 0;
239 for (i = 0; i < ctx->nentries; ++i) {
246 ctx->nentries = 0;
281 if (fd >= io->nentries) {
361 if (fd >= io->nentries)
419 if (fd < 0 || fd >= io->nentries)
448 if (sig >= map->nentries) {
474 if (sig >= map->nentries)
496 if (sig < 0 || sig >= map->nentries)
548 for (fd = 0; fd < iomap->nentries; ++fd) {
582 for (signum = 0; signum < sigmap->nentries; ++signum) {