Home
last modified time | relevance | path

Searched refs:fs_seconds (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/src/filesystem/
Dfilesystem_common.h209 using fs_seconds = duration<rep>; member
214 duration_cast<fs_seconds>(FileTimeT::duration::max()).count();
218 fs_seconds(max_seconds))
222 duration_cast<fs_seconds>(FileTimeT::duration::min()).count();
226 (FileTimeT::duration::min() - fs_seconds(min_seconds)) +
227 fs_seconds(1))
235 duration_cast<fs_nanoseconds>(fs_seconds(1))); in get_min_nsecs()
238 static_assert(fs_seconds(min_seconds) + get_min_nsecs() ==
246 return duration_cast<Years>(fs_seconds(max_seconds)) > Years(250) && in check_range()
247 duration_cast<Years>(fs_seconds(min_seconds)) < Years(-250); in check_range()
[all …]
/external/libcxx/docs/DesignDocs/
DFileTimeType.rst219 using fs_seconds = chrono::duration<file_time_type::rep>;
221 auto dur = fs_seconds(ts.tv_sec) + fs_nanoseconds(tv.tv_nsec);
227 using fs_seconds = duration<file_time_type::rep, ratio<1, 1> >;
232 return duration_cast<fs_seconds>().count();
345 fs_nsec nsecs(fs_seconds::max()); // Truncates