Lines Matching refs:result

81       return req->result;                                                     \
88 req->result = (result_value); \
89 assert(req->result != -1); \
95 req->result = uv_translate_sys_error(req->sys_errno_); \
100 req->result = (uv_errno); \
106 req->result = UV_EBADF; \
392 req->result = 0; in uv__fs_req_init()
657 int result; in fs__close() local
669 result = _close(fd); in fs__close()
671 result = 0; in fs__close()
676 if (result == -1) { in fs__close()
810 int result; in fs__read() local
855 result = ReadFile(handle, in fs__read()
862 } while (result && index < req->fs.info.nbufs); in fs__read()
867 if (result || bytes > 0) { in fs__read()
1016 int result; in fs__write() local
1060 result = WriteFile(handle, in fs__write()
1067 } while (result && index < req->fs.info.nbufs); in fs__write()
1072 if (result || bytes > 0) { in fs__write()
1226 req->result = UV_EINVAL; in fs__mkdir()
1266 if (req->result >= 0) { in fs__mktemp()
2089 int result; in fs__sync_impl() local
2093 result = FlushFileBuffers(uv__get_osfhandle(fd)) ? 0 : -1; in fs__sync_impl()
2094 if (result == -1) { in fs__sync_impl()
2097 SET_REQ_RESULT(req, result); in fs__sync_impl()
2209 if (req->result != UV_EBUSY) in fs__copyfile()
2231 int n, result = 0; in fs__sendfile() local
2243 result = -1; in fs__sendfile()
2250 result = -1; in fs__sendfile()
2258 result = -1; in fs__sendfile()
2262 result += n; in fs__sendfile()
2268 SET_REQ_RESULT(req, result); in fs__sendfile()
2299 int result = _wchmod(req->file.pathw, req->fs.info.mode); in fs__chmod() local
2300 if (result == -1) in fs__chmod()
2736 req->result = UV_EINVAL; in fs__readlink()
2980 assert(req->result == 0); in uv__fs_done()
3028 return req->result; in uv_fs_open()
3118 return req->result; in uv_fs_unlink()
3133 return req->result; in uv_fs_mkdir()
3151 return req->result; in uv_fs_mkdtemp()
3168 return req->result; in uv_fs_mkstemp()
3182 return req->result; in uv_fs_rmdir()
3197 return req->result; in uv_fs_scandir()
3214 return req->result; in uv_fs_opendir()
3257 return req->result; in uv_fs_link()
3272 return req->result; in uv_fs_symlink()
3288 return req->result; in uv_fs_readlink()
3309 return req->result; in uv_fs_realpath()
3324 return req->result; in uv_fs_chown()
3346 return req->result; in uv_fs_lchown()
3360 return req->result; in uv_fs_stat()
3374 return req->result; in uv_fs_lstat()
3396 return req->result; in uv_fs_rename()
3446 return req->result; in uv_fs_copyfile()
3476 return req->result; in uv_fs_access()
3492 return req->result; in uv_fs_chmod()
3517 return req->result; in uv_fs_utime()
3543 return req->result; in uv_fs_lutime()
3562 return req->result; in uv_fs_statfs()