Lines Matching defs:tv_sec
52 int64_t tv_sec;
79 ret.tv_sec = li.QuadPart / 10000000 - FILE_TIME_OFFSET_SECS;
93 li.QuadPart = ts.tv_nsec / 100 + (ts.tv_sec + FILE_TIME_OFFSET_SECS) * 10000000;
113 TV.tv_sec = ts.tv_sec;
215 if (tm.tv_sec >= 0) {
216 return tm.tv_sec < max_seconds || (tm.tv_sec == max_seconds && tm.tv_nsec <= max_nsec);
217 } else if (tm.tv_sec == (min_seconds - 1)) {
220 return tm.tv_sec >= min_seconds;
238 if (tm.tv_sec >= 0 || tm.tv_nsec == 0) {
239 return FileTimeT(fs_seconds(tm.tv_sec) + duration_cast<fs_duration>(fs_nanoseconds(tm.tv_nsec)));
240 } else { // tm.tv_sec < 0
242 auto Dur = fs_seconds(tm.tv_sec + 1) - adj_subsec;
266 return set_times_checked(&dest.tv_sec, &dest.tv_nsec, tp);