Home
last modified time | relevance | path

Searched refs:atime_ns (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_os.py485 atime_ns = 1002003000 # 1.002003 seconds
489 atime_ns = 5 * 10**9
492 set_time(filename, (atime_ns, mtime_ns))
496 self.assertAlmostEqual(st.st_atime, atime_ns * 1e-9, delta=1e-6)
499 self.assertEqual(st.st_atime, atime_ns * 1e-9)
501 self.assertEqual(st.st_atime_ns, atime_ns)
520 atime_ns, mtime_ns = ns
521 atime = self.ns_to_sec(atime_ns)
530 atime_ns, mtime_ns = ns
531 atime = self.ns_to_sec(atime_ns)
/external/python/cpython3/Modules/
Dposixmodule.c4438 long atime_ns; member
4454 ts[0].tv_nsec = ut->atime_ns; \
4467 tv[0].tv_usec = ut->atime_ns / 1000; \
4689 utime.atime_ns = a_nsec; in os_utime_impl()
4701 &utime.atime_s, &utime.atime_ns) || in os_utime_impl()
4747 _Py_time_t_to_FILE_TIME(utime.atime_s, utime.atime_ns, &atime); in os_utime_impl()
/external/python/cpython3/Doc/library/
Dos.rst2780 it must be a 2-tuple of the form ``(atime_ns, mtime_ns)``
2786 this is equivalent to specifying ``ns=(atime_ns, mtime_ns)``