Searched refs:mtime_ns (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_os.py | 486 mtime_ns = 4005006000 # 4.005006 seconds 490 mtime_ns = 8 * 10**9 492 set_time(filename, (atime_ns, mtime_ns)) 497 self.assertAlmostEqual(st.st_mtime, mtime_ns * 1e-9, delta=1e-6) 500 self.assertEqual(st.st_mtime, mtime_ns * 1e-9) 502 self.assertEqual(st.st_mtime_ns, mtime_ns) 520 atime_ns, mtime_ns = ns 522 mtime = self.ns_to_sec(mtime_ns) 530 atime_ns, mtime_ns = ns 532 mtime = self.ns_to_sec(mtime_ns)
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 4440 long mtime_ns; member 4456 ts[1].tv_nsec = ut->mtime_ns; \ 4469 tv[1].tv_usec = ut->mtime_ns / 1000; \ 4691 utime.mtime_ns = m_nsec; in os_utime_impl() 4703 &utime.mtime_s, &utime.mtime_ns)) { in os_utime_impl() 4748 _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 | 2780 it must be a 2-tuple of the form ``(atime_ns, mtime_ns)`` 2786 this is equivalent to specifying ``ns=(atime_ns, mtime_ns)``
|