Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/libarchive/libarchive/test/
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-12-stable/contrib/libarchive/test_utils/
Dtest_main.c2072 const char *pathname, long at, long at_nsec, long mt, long mt_nsec) in assertion_utimes() argument
2094 if (at > 0 || at_nsec > 0) { in assertion_utimes()
2095 wintm.QuadPart = WINTIME(at, at_nsec); in assertion_utimes()
2124 mt_nsec = at_nsec = 0; /* Generic POSIX only has whole seconds. */ in assertion_utimes()
2126 if (mt == 0 && mt_nsec == 0 && at == 0 && at_nsec == 0) in assertion_utimes()
2144 if (at == 0 && at_nsec == 0) { in assertion_utimes()
2147 at_nsec = st.st_atimespec.tv_nsec; in assertion_utimes()
2149 at_nsec = (at_nsec / 1000) * 1000; in assertion_utimes()
2157 times[0].tv_usec = at_nsec / 1000; in assertion_utimes()