Lines Matching refs:err
68 int err; in uv_pipe_bind2() local
120 err = uv__socket(AF_UNIX, SOCK_STREAM, 0); in uv_pipe_bind2()
121 if (err < 0) in uv_pipe_bind2()
123 sockfd = err; in uv_pipe_bind2()
130 err = UV__ERR(errno); in uv_pipe_bind2()
132 if (err == UV_ENOENT) in uv_pipe_bind2()
133 err = UV_EACCES; in uv_pipe_bind2()
147 return err; in uv_pipe_bind2()
197 int err; in uv_pipe_open() local
210 err = uv__nonblock(fd, 1); in uv_pipe_open()
211 if (err) in uv_pipe_open()
212 return err; in uv_pipe_open()
215 err = uv__stream_try_select((uv_stream_t*) handle, &fd); in uv_pipe_open()
216 if (err) in uv_pipe_open()
217 return err; in uv_pipe_open()
234 int err; in uv_pipe_connect() local
236 err = uv_pipe_connect2(req, handle, name, strlen(name), 0, cb); in uv_pipe_connect()
238 if (err) { in uv_pipe_connect()
239 handle->delayed_error = err; in uv_pipe_connect()
261 int err; in uv_pipe_connect2() local
288 err = uv__socket(AF_UNIX, SOCK_STREAM, 0); in uv_pipe_connect2()
289 if (err < 0) in uv_pipe_connect2()
291 handle->io_watcher.fd = err; in uv_pipe_connect2()
309 err = UV__ERR(errno); in uv_pipe_connect2()
315 if (err == UV_EBADF) in uv_pipe_connect2()
316 err = UV_ENOTSOCK; in uv_pipe_connect2()
321 err = 0; in uv_pipe_connect2()
323 err = uv__stream_open((uv_stream_t*)handle, in uv_pipe_connect2()
328 if (err == 0) in uv_pipe_connect2()
332 handle->delayed_error = err; in uv_pipe_connect2()
341 if (err) in uv_pipe_connect2()
361 int err; in uv__pipe_getsockpeername() local
368 err = uv__getsockpeername((const uv_handle_t*) handle, in uv__pipe_getsockpeername()
372 if (err < 0) { in uv__pipe_getsockpeername()
374 return err; in uv__pipe_getsockpeername()
492 int err; in uv_pipe() local
515 if ((err = uv__cloexec(temp[0], 1))) in uv_pipe()
518 if ((err = uv__cloexec(temp[1], 1))) in uv_pipe()
523 if ((err = uv__nonblock(temp[0], 1))) in uv_pipe()
527 if ((err = uv__nonblock(temp[1], 1))) in uv_pipe()
537 return err; in uv_pipe()