Lines Matching defs:fds
277 * select(2) in separate thread for those fds
284 int fds[2];
320 * Create fds for io watcher and to interrupt the select() loop.
323 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds))
327 if (fds[1] > max_fd)
328 max_fd = fds[1];
361 s->fake_fd = fds[0];
362 s->int_fd = fds[1];
386 uv__close(fds[0]);
387 uv__close(fds[1]);
395 uv__close(fds[0]);
396 uv__close(fds[1]);
572 /* Process queued fds */
579 server->accepted_fd = queued_fds->fds[0];
588 memmove(queued_fds->fds,
589 queued_fds->fds + 1,
590 queued_fds->offset * sizeof(*queued_fds->fds));
948 queued_fds = uv__malloc((queue_size - 1) * sizeof(*queued_fds->fds) +
960 (queue_size - 1) * sizeof(*queued_fds->fds) +
974 queued_fds->fds[queued_fds->offset++] = fd;
1544 /* Close all queued fds */
1548 uv__close(queued_fds->fds[i]);