Home
last modified time | relevance | path

Searched refs:at_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
1820 if (at > 0 || at_nsec > 0) { in assertion_utimes()
1821 wintm.QuadPart = WINTIME(at, at_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()
1870 if (at == 0 && at_nsec == 0) { in assertion_utimes()
1873 at_nsec = st.st_atimespec.tv_nsec; in assertion_utimes()
1875 at_nsec = (at_nsec / 1000) * 1000; in assertion_utimes()
1883 times[0].tv_usec = at_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
2123 if (at > 0 || at_nsec > 0) { in assertion_utimes()
2124 wintm.QuadPart = WINTIME(at, at_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()
2173 if (at == 0 && at_nsec == 0) { in assertion_utimes()
2176 at_nsec = st.st_atimespec.tv_nsec; in assertion_utimes()
2178 at_nsec = (at_nsec / 1000) * 1000; in assertion_utimes()
2186 times[0].tv_usec = at_nsec / 1000; in assertion_utimes()