Home
last modified time | relevance | path

Searched refs:struct_time (Results 1 – 11 of 11) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Dsfunc.c163 struct tm struct_time; in pMsg() local
181 memcpy(&struct_time, pstruct_time, sizeof(struct tm)); in pMsg()
183 memset(&struct_time, 0, sizeof(struct tm)); in pMsg()
223 sprintf(time_str, TIME_FORMAT, struct_time.tm_year + 1900, in pMsg()
224 struct_time.tm_mon + 1, in pMsg()
225 struct_time.tm_mday, in pMsg()
226 struct_time.tm_hour, struct_time.tm_min, struct_time.tm_sec); in pMsg()
/external/python/cpython2/Doc/library/
Dtime.rst41 :class:`struct_time` (see below) generally require a 4-digit year. For backward
85 See :class:`struct_time` for a description of these objects.
88 The time value sequence was changed from a tuple to a :class:`struct_time`, with
96 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
99 | seconds since the epoch | :class:`struct_time` in | :func:`localtime` |
102 | :class:`struct_time` in | seconds since the epoch | :func:`calendar.timegm` |
105 | :class:`struct_time` in | seconds since the epoch | :func:`mktime` |
129 Convert a tuple or :class:`struct_time` representing a time as returned by
182 Convert a time expressed in seconds since the epoch to a :class:`struct_time` in
186 :class:`struct_time` object. See :func:`calendar.timegm` for the inverse of this
[all …]
Ddatetime.rst484 Return a :class:`time.struct_time` such as returned by :func:`time.localtime`.
486 is equivalent to ``time.struct_time((d.year, d.month, d.day, 0, 0, 0,
966 Return a :class:`time.struct_time` such as returned by :func:`time.localtime`.
967 ``d.timetuple()`` is equivalent to ``time.struct_time((d.year, d.month, d.day,
984 ``d.utcoffset()``, and a :class:`time.struct_time` for the normalized time is
Dimaplib.rst92 time. The return value is a :class:`time.struct_time` instance or
Dmailbox.rst997 *time_* is specified, it should be a :class:`time.struct_time` instance, a
1368 *time_* is specified, it should be a :class:`time.struct_time` instance, a
/external/python/cpython2/Lib/
D_strptime.py113 time_tuple = time.struct_time((1999,3,17,hour,44,55,2,76,0))
125 time_tuple = time.struct_time((1999,3,17,22,44,55,2,76,0))
152 time_tuple = time.struct_time((1999,1,3,1,1,1,6,3,0))
473 return (time.struct_time((year, month, day,
Dxmlrpclib.py370 if not isinstance(value, (TupleType, time.struct_time)):
Dimaplib.py1414 elif isinstance(date_time, (tuple, time.struct_time)):
/external/python/cpython2/Lib/test/
Dtest_structseq.py76 t = time.struct_time
98 self.assertRaises(Exc, time.struct_time, C())
/external/python/cpython2/Doc/
Dglossary.rst545 A named tuple can be a built-in type such as :class:`time.struct_time`,
/external/python/cpython2/Misc/
DNEWS6154 - Issue #8899: time.struct_time now has class and attribute docstrings.
11031 expected a tuple type of length six instead of time.struct_time