Lines Matching refs:fds
284 int fds[2]; in uv__stream_try_select() local
323 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in uv__stream_try_select()
327 if (fds[1] > max_fd) in uv__stream_try_select()
328 max_fd = fds[1]; in uv__stream_try_select()
361 s->fake_fd = fds[0]; in uv__stream_try_select()
362 s->int_fd = fds[1]; in uv__stream_try_select()
386 uv__close(fds[0]); in uv__stream_try_select()
387 uv__close(fds[1]); in uv__stream_try_select()
395 uv__close(fds[0]); in uv__stream_try_select()
396 uv__close(fds[1]); in uv__stream_try_select()
579 server->accepted_fd = queued_fds->fds[0]; in uv_accept()
588 memmove(queued_fds->fds, in uv_accept()
589 queued_fds->fds + 1, in uv_accept()
590 queued_fds->offset * sizeof(*queued_fds->fds)); in uv_accept()
949 queued_fds = uv__malloc((queue_size - 1) * sizeof(*queued_fds->fds) + in uv__stream_queue_fd()
961 (queue_size - 1) * sizeof(*queued_fds->fds) + in uv__stream_queue_fd()
975 queued_fds->fds[queued_fds->offset++] = fd; in uv__stream_queue_fd()
1553 uv__close(queued_fds->fds[i]); in uv__stream_close()