Lines Matching defs:error
430 void uv__stream_flush_write_queue(uv_stream_t* stream, int error) {
438 req->error = error;
530 return; /* Not an error. */
583 /* TODO handle error */
752 /* Only free when there was no error. On error, we touch up write_queue_size
755 * they should stop writing - which they should if we got an error. Something
758 if (req->error == 0) {
871 * ECONNRESET. Previously, libuv retried until the EPROTOTYPE error went
872 * away but some VPN software causes the same behavior except the error is
926 req->error = n;
959 req->cb(req, req->error);
1309 int error;
1321 error = stream->delayed_error;
1324 /* Normal situation: we need to get the socket error from the kernel. */
1329 &error,
1331 error = UV__ERR(error);
1334 if (error == UV__ERR(EINPROGRESS))
1340 if (error < 0 || QUEUE_EMPTY(&stream->write_queue)) {
1345 req->cb(req, error);
1350 if (error < 0) {
1409 * it means there are error-state requests in the write_completed_queue that
1412 * a write() syscall when we know that the handle is in error mode.
1420 req->error = 0;