Lines Matching refs:result
96 req->result = 0; \
152 return req->result; \
1249 int result; in uv__fs_copyfile() local
1352 result = fchown(dstfd, src_statsbuf.st_uid, src_statsbuf.st_gid); in uv__fs_copyfile()
1401 bytes_written = fs_req.result; in uv__fs_copyfile()
1415 result = err; in uv__fs_copyfile()
1417 result = 0; in uv__fs_copyfile()
1423 if (err != 0 && result == 0) in uv__fs_copyfile()
1424 result = err; in uv__fs_copyfile()
1431 if (err != 0 && result == 0) in uv__fs_copyfile()
1432 result = err; in uv__fs_copyfile()
1435 if (result != 0) { in uv__fs_copyfile()
1442 if (result == 0) in uv__fs_copyfile()
1445 errno = UV__ERR(result); in uv__fs_copyfile()
1654 ssize_t result; in uv__fs_write_all() local
1667 result = uv__fs_write(req); in uv__fs_write_all()
1668 while (result < 0 && errno == EINTR); in uv__fs_write_all()
1670 if (result <= 0) { in uv__fs_write_all()
1672 total = result; in uv__fs_write_all()
1677 req->off += result; in uv__fs_write_all()
1679 req->nbufs = uv__fs_buf_offset(req->bufs, result); in uv__fs_write_all()
1682 total += result; in uv__fs_write_all()
1755 req->result = UV__ERR(errno); in uv__fs_work()
1757 req->result = r; in uv__fs_work()
1774 assert(req->result == 0); in uv__fs_done()
1775 req->result = UV_ECANCELED; in uv__fs_done()
2318 return -req->result; in uv_fs_get_system_error()