Searched refs:mtime_ns (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_os.py | 635 mtime_ns = 4005006000 # 4.005006 seconds 639 mtime_ns = 8 * 10**9 641 set_time(filename, (atime_ns, mtime_ns)) 646 self.assertAlmostEqual(st.st_mtime, mtime_ns * 1e-9, delta=1e-6) 649 self.assertEqual(st.st_mtime, mtime_ns * 1e-9) 651 self.assertEqual(st.st_mtime_ns, mtime_ns) 669 atime_ns, mtime_ns = ns 671 mtime = self.ns_to_sec(mtime_ns) 679 atime_ns, mtime_ns = ns 681 mtime = self.ns_to_sec(mtime_ns)
|
D | test_zipfile.py | 622 mtime_ns = os.stat(TESTFN).st_mtime_ns 623 if mtime_ns != (4386268800 * 10**9):
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 4976 long mtime_ns; member 4992 ts[1].tv_nsec = ut->mtime_ns; \ 5005 tv[1].tv_usec = ut->mtime_ns / 1000; \ 5279 utime.mtime_ns = m_nsec; in os_utime_impl() 5291 &utime.mtime_s, &utime.mtime_ns)) { in os_utime_impl() 5341 _Py_time_t_to_FILE_TIME(utime.mtime_s, utime.mtime_ns, &mtime); in os_utime_impl()
|
/external/python/cpython3/Doc/library/ |
D | os.rst | 2951 it must be a 2-tuple of the form ``(atime_ns, mtime_ns)`` 2957 this is equivalent to specifying ``ns=(atime_ns, mtime_ns)``
|