Home
last modified time | relevance | path

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

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp38 using TimeSpec = struct ::timespec; typedef
49 TimeSpec extract_mtime(StatT const& st) { return st.st_mtimespec; } in extract_mtime()
50 TimeSpec extract_atime(StatT const& st) { return st.st_atimespec; } in extract_atime()
52 TimeSpec extract_mtime(StatT const& st) { return st.st_mtim; } in extract_mtime()
53 TimeSpec extract_atime(StatT const& st) { return st.st_atim; } in extract_atime()
56 bool ConvertToTimeSpec(TimeSpec& ts, file_time_type ft) { in ConvertToTimeSpec()
57 using SecFieldT = decltype(TimeSpec::tv_sec); in ConvertToTimeSpec()
58 using NSecFieldT = decltype(TimeSpec::tv_nsec); in ConvertToTimeSpec()
81 bool ConvertFromTimeSpec(file_time_type& ft, TimeSpec ts) { in ConvertFromTimeSpec()
93 bool CompareTimeExact(TimeSpec ts, TimeSpec ts2) { in CompareTimeExact()
[all …]
/external/libcxx/src/filesystem/
Dfilesystem_common.h201 using TimeSpec = struct ::timespec;
381 using fs_time = time_util<file_time_type, time_t, TimeSpec>;
384 TimeSpec extract_mtime(StatT const& st) { return st.st_mtimespec; }
385 TimeSpec extract_atime(StatT const& st) { return st.st_atimespec; }
387 TimeSpec extract_mtime(StatT const& st) { return st.st_mtim; }
388 TimeSpec extract_atime(StatT const& st) { return st.st_atim; }
394 bool posix_utimes(const path& p, std::array<TimeSpec, 2> const& TS,
412 bool posix_utimensat(const path& p, std::array<TimeSpec, 2> const& TS,
422 bool set_file_times(const path& p, std::array<TimeSpec, 2> const& TS,
Doperations.cpp480 using detail::TimeSpec;
1021 array<TimeSpec, 2> tbuf; in __last_write_time()
/external/libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/
Dlast_write_time.sh.cpp40 TimeSpec ToTime; in TEST_CASE()
44 std::array<TimeSpec, 2> TS = {ToTime, ToTime}; in TEST_CASE()
/external/grpc-grpc/src/ruby/lib/grpc/core/
Dtime_consts.rb37 if timeish.is_a? TimeSpec
/external/libcxx/test/libcxx/input.output/filesystems/
Dconvert_file_time.sh.cpp253 template <class FileTimeT, class TimeT, class TimeSpec, class Base,
255 struct test_case<FileTimeT, TimeT, TimeSpec, Base, TK_FloatingPoint,