Lines Matching refs:err
31 int err; in uv_listen() local
35 err = ERROR_INVALID_PARAMETER; in uv_listen()
38 err = uv__tcp_listen((uv_tcp_t*)stream, backlog, cb); in uv_listen()
41 err = uv__pipe_listen((uv_pipe_t*)stream, backlog, cb); in uv_listen()
47 return uv_translate_sys_error(err); in uv_listen()
52 int err; in uv_accept() local
54 err = ERROR_INVALID_PARAMETER; in uv_accept()
57 err = uv__tcp_accept((uv_tcp_t*)server, (uv_tcp_t*)client); in uv_accept()
60 err = uv__pipe_accept((uv_pipe_t*)server, client); in uv_accept()
66 return uv_translate_sys_error(err); in uv_accept()
73 int err; in uv__read_start() local
75 err = ERROR_INVALID_PARAMETER; in uv__read_start()
78 err = uv__tcp_read_start((uv_tcp_t*)handle, alloc_cb, read_cb); in uv__read_start()
81 err = uv__pipe_read_start((uv_pipe_t*)handle, alloc_cb, read_cb); in uv__read_start()
84 err = uv__tty_read_start((uv_tty_t*) handle, alloc_cb, read_cb); in uv__read_start()
90 return uv_translate_sys_error(err); in uv__read_start()
95 int err; in uv_read_stop() local
100 err = 0; in uv_read_stop()
102 err = uv__tty_read_stop((uv_tty_t*) handle); in uv_read_stop()
110 return uv_translate_sys_error(err); in uv_read_stop()
120 int err; in uv_write() local
126 err = ERROR_INVALID_PARAMETER; in uv_write()
129 err = uv__tcp_write(loop, req, (uv_tcp_t*) handle, bufs, nbufs, cb); in uv_write()
132 err = uv__pipe_write( in uv_write()
134 return uv_translate_write_sys_error(err); in uv_write()
136 err = uv__tty_write(loop, req, (uv_tty_t*) handle, bufs, nbufs, cb); in uv_write()
142 return uv_translate_sys_error(err); in uv_write()
153 int err; in uv_write2() local
165 err = uv__pipe_write( in uv_write2()
167 return uv_translate_write_sys_error(err); in uv_write2()