Home
last modified time | relevance | path

Searched refs:TimeSpec (Results 1 – 6 of 6) sorted by relevance

/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.cpp56 struct TimeSpec { struct
61 TimeSpec st_atim; argument
62 TimeSpec st_mtim;
68 TimeSpec ret; in filetime_to_timespec()
146 bool CompareTimeExact(TimeSpec ts, TimeSpec ts2) { in CompareTimeExact()
150 TimeSpec ts2 = {}; in CompareTimeExact()
221 TimeSpec max_ts = {}; in __anonc8913b790302()
291 TimeSpec ts = {}; in __anonc8913b790702()
302 static bool CompareTime(TimeSpec t1, TimeSpec t2) { in CompareTime()
315 TimeSpec ts1 = {}; in CompareTime()
[all …]
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Dfilesystem_common.h257 struct TimeSpec { struct
263 TimeSpec st_atim; argument
264 TimeSpec st_mtim;
280 using TimeSpec = struct timespec;
470 inline TimeSpec extract_mtime(StatT const& st) {
471 TimeSpec TS = {st.st_mtime, 0};
474 inline TimeSpec extract_atime(StatT const& st) {
475 TimeSpec TS = {st.st_atime, 0};
479 inline TimeSpec extract_mtime(StatT const& st) {
480 TimeSpec TS = {st.st_mtime, st.st_mtime_n};
[all …]
H A Dposix_compat.h126 TimeSpec filetime_to_timespec(LARGE_INTEGER li) { in filetime_to_timespec()
127 TimeSpec ret; in filetime_to_timespec()
133 TimeSpec filetime_to_timespec(FILETIME ft) { in filetime_to_timespec()
140 FILETIME timespec_to_filetime(TimeSpec ts) { in timespec_to_filetime()
H A Doperations.cpp640 using detail::TimeSpec;
653 TimeSpec tp = detail::filetime_to_timespec(time); in now()
1225 TimeSpec ts; in __last_write_time()
1236 array<TimeSpec, 2> tbuf; in __last_write_time()
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/
H A Dlast_write_time.pass.cpp46 TimeSpec ToTime; in TEST_CASE()
50 std::array<TimeSpec, 2> TS = {ToTime, ToTime}; in TEST_CASE()
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/
H A Dconvert_file_time.pass.cpp252 template <class FileTimeT, class TimeT, class TimeSpec, class Base,
254 struct test_case<FileTimeT, TimeT, TimeSpec, Base, TK_FloatingPoint,