Home
last modified time | relevance | path

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

/external/libcxx/src/experimental/filesystem/
Doperations.cpp528 constexpr auto max_seconds = duration_cast<seconds>( variable
532 file_time_type::duration::max() - seconds(max_seconds)).count();
556 return (tm.tv_sec < max_seconds) || in is_representable()
557 (tm.tv_sec == max_seconds && tm.tv_nsec <= max_nsec); in is_representable()
566 static_assert(is_representable({max_seconds, max_nsec}), "");
567 static_assert(!is_representable({max_seconds + 1, 0}), "");
568 static_assert(!is_representable({max_seconds, max_nsec + 1}), "");
623 static_assert(convert_timespec({max_seconds, max_nsec}) == file_time_type::max(), "");
624 static_assert(convert_timespec({max_seconds, max_nsec - 1}) < file_time_type::max(), "");
625 static_assert(convert_timespec({max_seconds - 1, 999999999}) < file_time_type::max(), "");
/external/libchrome/base/time/
Dtime_posix.cc290 const int64_t max_seconds = (sizeof(SysTime) < sizeof(int64_t)) in FromExploded() local
296 milliseconds = max_seconds * kMillisecondsPerSecond; in FromExploded()