Home
last modified time | relevance | path

Searched refs:FileStat (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/nix/src/sys/
Dstat.rs2 pub use libc::stat as FileStat;
79 pub fn stat<P: ?Sized + NixPath>(path: &P) -> Result<FileStat> { in stat() argument
92 pub fn lstat<P: ?Sized + NixPath>(path: &P) -> Result<FileStat> { in lstat() argument
105 pub fn fstat(fd: RawFd) -> Result<FileStat> { in fstat() argument
115 pub fn fstatat<P: ?Sized + NixPath>(dirfd: RawFd, pathname: &P, f: AtFlags) -> Result<FileStat> { in fstatat() argument
/external/rust/crates/nix/test/
Dtest_stat.rs36 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() argument
72 fn assert_lstat_results(stat_result: Result<FileStat>) { in assert_lstat_results() argument
/external/llvm-project/clang-tools-extra/clangd/unittests/
DClangdTests.cpp682 struct FileStat { in TEST() struct
690 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()