Home
last modified time | relevance | path

Searched refs:uv__stream_fd (Results 1 – 7 of 7) sorted by relevance

/third_party/libuv/src/unix/
Dtcp.c52 if (getsockname(uv__stream_fd(handle), (struct sockaddr*) &saddr, &slen)) { in new_socket()
57 if (bind(uv__stream_fd(handle), (struct sockaddr*) &saddr, slen)) { in new_socket()
76 if (uv__stream_fd(handle) != -1) { in maybe_new_socket()
89 if (getsockname(uv__stream_fd(handle), (struct sockaddr*) &saddr, &slen)) in maybe_new_socket()
102 if (bind(uv__stream_fd(handle), (struct sockaddr*) &saddr, slen)) in maybe_new_socket()
228 r = connect(uv__stream_fd(handle), addr, addrlen); in uv__tcp_connect()
322 fd = uv__stream_fd(handle); in uv_tcp_close_reset()
416 if (uv__stream_fd(handle) != -1) { in uv_tcp_nodelay()
417 err = uv__tcp_nodelay(uv__stream_fd(handle), on); in uv_tcp_nodelay()
434 if (uv__stream_fd(handle) != -1) { in uv_tcp_keepalive()
[all …]
Dpipe.c52 if (uv__stream_fd(handle) >= 0) in uv_pipe_bind()
95 if (uv__stream_fd(handle) == -1) in uv__pipe_listen()
110 if (listen(uv__stream_fd(handle), backlog)) in uv__pipe_listen()
182 new_sock = (uv__stream_fd(handle) == -1); in uv_pipe_connect()
196 r = connect(uv__stream_fd(handle), in uv_pipe_connect()
217 uv__stream_fd(handle), in uv_pipe_connect()
333 if (handle == NULL || uv__stream_fd(handle) == -1) in uv_pipe_chmod()
Dstream.c528 while (uv__stream_fd(stream) != -1) { in uv__server_io()
536 err = uv__accept(uv__stream_fd(stream)); in uv__server_io()
545 err = uv__emfile_trick(loop, uv__stream_fd(stream)); in uv__server_io()
685 if (shutdown(uv__stream_fd(stream), SHUT_WR)) in uv__drain()
854 n = sendmsg(uv__stream_fd(stream), &msg, 0); in uv__try_write()
858 n = uv__writev(uv__stream_fd(stream), iov, iovcnt); in uv__try_write()
890 assert(uv__stream_fd(stream) >= 0); in uv__write()
1159 assert(uv__stream_fd(stream) >= 0); in uv__read()
1163 nread = read(uv__stream_fd(stream), buf.base, buf.len); in uv__read()
1178 nread = uv__recvmsg(uv__stream_fd(stream), &msg, 0); in uv__read()
[all …]
Dtty.c275 fd = uv__stream_fd(tty); in uv_tty_set_mode()
320 err = ioctl(uv__stream_fd(tty), TIOCGWINSZ, &ws); in uv_tty_get_winsize()
Dinternal.h295 #define uv__stream_fd(handle) (uv___stream_fd((const uv_stream_t*) (handle))) macro
297 #define uv__stream_fd(handle) ((handle)->io_watcher.fd) macro
Dcore.c194 fd = uv__stream_fd((uv_stream_t*) handle); in uv__socket_sockopt()
759 fd_out = uv__stream_fd((uv_stream_t*) handle); in uv_fileno()
Dprocess.c187 fd = uv__stream_fd(container->data.stream); in uv__process_init_stdio()