Home
last modified time | relevance | path

Searched refs:StatT (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/libcxx/src/filesystem/
H A Dfilesystem_common.h261 struct StatT { struct
282 using StatT = struct stat; argument
467 inline TimeSpec extract_mtime(StatT const& st) { return st.st_mtimespec; }
468 inline TimeSpec extract_atime(StatT const& st) { return st.st_atimespec; }
470 inline TimeSpec extract_mtime(StatT const& st) {
474 inline TimeSpec extract_atime(StatT const& st) {
479 inline TimeSpec extract_mtime(StatT const& st) {
483 inline TimeSpec extract_atime(StatT const& st) {
488 inline TimeSpec extract_mtime(StatT const& st) { return st.st_mtim; }
489 inline TimeSpec extract_atime(StatT const& st) { return st.st_atim; }
H A Doperations.cpp484 StatT m_stat;
585 StatT path_stat; in posix_stat()
597 StatT path_stat; in posix_lstat()
620 bool stat_equivalent(const StatT& st1, const StatT& st2) { in stat_equivalent()
1151 StatT st; in __file_size()
1168 StatT st; in __hard_link_count()
1179 StatT pst; in __fs_is_empty()
1213 StatT st; in __last_write_time()
1241 StatT st; in __last_write_time()
1317 StatT sb; in __read_symlink()
[all …]
H A Dposix_compat.h173 int stat_handle(HANDLE h, StatT *buf) { in stat_handle()
211 int stat_file(const wchar_t *path, StatT *buf, DWORD flags) { in stat_file()
219 int stat(const wchar_t *path, StatT *buf) { return stat_file(path, buf, 0); } in stat()
221 int lstat(const wchar_t *path, StatT *buf) { in lstat()
225 int fstat(int fd, StatT *buf) { in fstat()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
H A Dlast_write_time.pass.cpp60 struct StatT { struct
73 static int stat_file(const char *path, StatT *buf, int flags) { in stat_file() argument
90 static int stat(const char *path, StatT *buf) { in stat()
93 static int lstat(const char *path, StatT *buf) { in lstat()
98 using StatT = struct stat; typedef
102 TimeSpec extract_mtime(StatT const& st) { return st.st_mtimespec; } in extract_mtime()
103 TimeSpec extract_atime(StatT const& st) { return st.st_atimespec; } in extract_atime()
105 TimeSpec extract_mtime(StatT const& st) { return st.st_mtim; } in extract_mtime()
106 TimeSpec extract_atime(StatT const& st) { return st.st_atim; } in extract_atime()
164 StatT st; in GetTimes()
[all …]