Lines Matching defs:times
362 # one of the few times we lie about this name!
403 # include <sys/times.h>
1833 - file modification times suffer from forth-and-back conversions between
5470 times: object = None
5476 # "utime(path, times=None, *[, ns], dir_fd=None, follow_symlinks=True)\n\
5484 If times is not None, it must be a tuple (atime, mtime);
5489 If times is None and ns is unspecified, utime uses the current time.
5490 Specifying tuples for both times and ns is an error.
5505 os_utime_impl(PyObject *module, path_t *path, PyObject *times, PyObject *ns,
5520 if (times != Py_None && ns) {
5522 "utime: you may specify either 'times'"
5527 if (times != Py_None) {
5530 if (!PyTuple_CheckExact(times) || (PyTuple_Size(times) != 2)) {
5532 "utime: 'times' must be either"
5537 if (_PyTime_ObjectToTimespec(PyTuple_GET_ITEM(times, 0),
5539 _PyTime_ObjectToTimespec(PyTuple_GET_ITEM(times, 1),
5563 /* times and ns are both None/unspecified. use "now". */
5586 if (PySys_Audit("os.utime", "OOOi", path->object, times, ns ? ns : Py_None,
9036 "times_result: Result from os.times().\n\n\
9042 See os.times for more information.");
9095 os.times
9134 c = times(&t);