Lines Matching refs:ret
750 int ret; in uv__fs_readlink() local
751 ret = uv__lstat(req->path, &st); in uv__fs_readlink()
752 if (ret != 0) in uv__fs_readlink()
1590 int ret; in uv__fs_stat() local
1592 ret = uv__fs_statx(-1, path, /* is_fstat */ 0, /* is_lstat */ 0, buf); in uv__fs_stat()
1593 if (ret != UV_ENOSYS) in uv__fs_stat()
1594 return ret; in uv__fs_stat()
1596 ret = uv__stat(path, &pbuf); in uv__fs_stat()
1597 if (ret == 0) in uv__fs_stat()
1600 return ret; in uv__fs_stat()
1606 int ret; in uv__fs_lstat() local
1608 ret = uv__fs_statx(-1, path, /* is_fstat */ 0, /* is_lstat */ 1, buf); in uv__fs_lstat()
1609 if (ret != UV_ENOSYS) in uv__fs_lstat()
1610 return ret; in uv__fs_lstat()
1612 ret = uv__lstat(path, &pbuf); in uv__fs_lstat()
1613 if (ret == 0) in uv__fs_lstat()
1616 return ret; in uv__fs_lstat()
1622 int ret; in uv__fs_fstat() local
1624 ret = uv__fs_statx(fd, "", /* is_fstat */ 1, /* is_lstat */ 0, buf); in uv__fs_fstat()
1625 if (ret != UV_ENOSYS) in uv__fs_fstat()
1626 return ret; in uv__fs_fstat()
1628 ret = uv__fstat(fd, &pbuf); in uv__fs_fstat()
1629 if (ret == 0) in uv__fs_fstat()
1632 return ret; in uv__fs_fstat()