Lines Matching defs:statbuf

1707 INLINE static int fs__stat_handle(HANDLE handle, uv_stat_t* statbuf,
1734 statbuf->st_dev = 0;
1739 statbuf->st_dev = volume_info.VolumeSerialNumber;
1761 statbuf->st_mode = 0;
1779 if (fs__readlink_handle(handle, NULL, &statbuf->st_size) != 0)
1781 statbuf->st_mode |= S_IFLNK;
1784 if (statbuf->st_mode == 0) {
1786 statbuf->st_mode |= _S_IFDIR;
1787 statbuf->st_size = 0;
1789 statbuf->st_mode |= _S_IFREG;
1790 statbuf->st_size = file_info.StandardInformation.EndOfFile.QuadPart;
1795 statbuf->st_mode |= _S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6);
1797 statbuf->st_mode |= (_S_IREAD | _S_IWRITE) | ((_S_IREAD | _S_IWRITE) >> 3) |
1800 uv__filetime_to_timespec(&statbuf->st_atim,
1802 uv__filetime_to_timespec(&statbuf->st_ctim,
1804 uv__filetime_to_timespec(&statbuf->st_mtim,
1806 uv__filetime_to_timespec(&statbuf->st_birthtim,
1809 statbuf->st_ino = file_info.InternalInformation.IndexNumber.QuadPart;
1812 statbuf->st_blocks =
1815 statbuf->st_nlink = file_info.StandardInformation.NumberOfLinks;
1833 statbuf->st_blksize = 4096;
1838 statbuf->st_flags = 0;
1843 statbuf->st_gid = 0;
1844 statbuf->st_uid = 0;
1845 statbuf->st_rdev = 0;
1846 statbuf->st_gen = 0;
1865 uv_stat_t* statbuf) {
1885 if (fs__stat_handle(handle, statbuf, do_lstat) != 0)
1898 error = fs__stat_impl_from_path(req->file.pathw, do_lstat, &req->statbuf);
1913 req->ptr = &req->statbuf;
1943 if (fs__stat_handle(handle, &req->statbuf, 0) != 0) {
1948 req->ptr = &req->statbuf;
2067 uv_stat_t statbuf;
2089 if (fs__stat_impl_from_path(req->file.pathw, 0, &statbuf) != 0 ||
2094 if (statbuf.st_dev == new_statbuf.st_dev &&
2095 statbuf.st_ino == new_statbuf.st_ino) {