Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/libarchive/test/
H A Dmain.c1798 const char *pathname, long at, long at_nsec, long mt, long mt_nsec) in assertion_utimes() argument
1827 if (mt > 0 || mt_nsec > 0) { in assertion_utimes()
1828 wintm.QuadPart = WINTIME(mt, mt_nsec); in assertion_utimes()
1850 mt_nsec = at_nsec = 0; /* Generic POSIX only has whole seconds. */ in assertion_utimes()
1852 if (mt == 0 && mt_nsec == 0 && at == 0 && at_nsec == 0) in assertion_utimes()
1862 if (mt == 0 && mt_nsec == 0) { in assertion_utimes()
1865 mt_nsec = st.st_mtimespec.tv_nsec; in assertion_utimes()
1867 mt_nsec = (mt_nsec / 1000) * 1000; in assertion_utimes()
1880 times[1].tv_usec = mt_nsec / 1000; in assertion_utimes()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_main.c2101 time_t at, suseconds_t at_nsec, time_t mt, suseconds_t mt_nsec) in assertion_utimes() argument
2130 if (mt > 0 || mt_nsec > 0) { in assertion_utimes()
2131 wintm.QuadPart = WINTIME(mt, mt_nsec); in assertion_utimes()
2153 mt_nsec = at_nsec = 0; /* Generic POSIX only has whole seconds. */ in assertion_utimes()
2155 if (mt == 0 && mt_nsec == 0 && at == 0 && at_nsec == 0) in assertion_utimes()
2165 if (mt == 0 && mt_nsec == 0) { in assertion_utimes()
2168 mt_nsec = st.st_mtimespec.tv_nsec; in assertion_utimes()
2170 mt_nsec = (mt_nsec / 1000) * 1000; in assertion_utimes()
2183 times[1].tv_usec = mt_nsec / 1000; in assertion_utimes()