Searched refs:FileStat (Results 1 – 3 of 3) sorted by relevance
2 pub use libc::stat as FileStat;79 pub fn stat<P: ?Sized + NixPath>(path: &P) -> Result<FileStat> { in stat() argument92 pub fn lstat<P: ?Sized + NixPath>(path: &P) -> Result<FileStat> { in lstat() argument105 pub fn fstat(fd: RawFd) -> Result<FileStat> { in fstat() argument115 pub fn fstatat<P: ?Sized + NixPath>(dirfd: RawFd, pathname: &P, f: AtFlags) -> Result<FileStat> { in fstatat() argument
36 use nix::sys::stat::FileStat;52 fn valid_uid_gid(stat: FileStat) -> bool { in valid_uid_gid()59 fn assert_stat_results(stat_result: Result<FileStat>) { in assert_stat_results() argument72 fn assert_lstat_results(stat_result: Result<FileStat>) { in assert_lstat_results() argument
682 struct FileStat { in TEST() struct690 TestDiagConsumer() : Stats(FilesCount, FileStat()) {} in TEST()709 std::vector<FileStat> takeFileStats() { in TEST()716 std::vector<FileStat> Stats; in TEST()851 std::vector<FileStat> Stats = DiagConsumer.takeFileStats(); in TEST()