Home
last modified time | relevance | path

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

12

/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,
Dimaplib.py1417 elif isinstance(date_time, (tuple, time.struct_time)):
Dxmlrpclib.py370 if not isinstance(value, (TupleType, time.struct_time)):
/external/python/cpython3/Doc/library/
Dtime.rst91 See :class:`struct_time` for a description of these objects.
94 The :class:`struct_time` type was extended to provide the :attr:`tm_gmtoff`
99 The :class:`struct_time` attributes :attr:`tm_gmtoff` and :attr:`tm_zone`
107 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
110 | seconds since the epoch | :class:`struct_time` in | :func:`localtime` |
113 | :class:`struct_time` in | seconds since the epoch | :func:`calendar.timegm` |
116 | :class:`struct_time` in | seconds since the epoch | :func:`mktime` |
128 Convert a tuple or :class:`struct_time` representing a time as returned by
262 Convert a time expressed in seconds since the epoch to a :class:`struct_time` in
266 :class:`struct_time` object. See :func:`calendar.timegm` for the inverse of this
[all …]
Dimaplib.rst130 time. The return value is a :class:`time.struct_time` tuple or
151 an instance of :class:`time.struct_time` (as returned by
Ddatetime.rst553 Return a :class:`time.struct_time` such as returned by :func:`time.localtime`.
555 is equivalent to ``time.struct_time((d.year, d.month, d.day, 0, 0, 0,
1129 Return a :class:`time.struct_time` such as returned by :func:`time.localtime`.
1130 ``d.timetuple()`` is equivalent to ``time.struct_time((d.year, d.month, d.day,
1147 ``d.utcoffset()``, and a :class:`time.struct_time` for the
Dmailbox.rst1016 *time_* is specified, it should be a :class:`time.struct_time` instance, a
1387 *time_* is specified, it should be a :class:`time.struct_time` instance, a
/external/python/cpython3/Lib/
D_strptime.py112 time_tuple = time.struct_time((1999,3,17,hour,44,55,2,76,0))
124 time_tuple = time.struct_time((1999,3,17,22,44,55,2,76,0))
151 time_tuple = time.struct_time((1999,1,3,1,1,1,6,3,0))
572 return time.struct_time(tt[:time._STRUCT_TM_ITEMS])
Ddatetime.py154 return _time.struct_time((y, m, d, hh, mm, ss, wday, dnum, dstflag))
/external/python/cpython2/Lib/test/
Dtest_structseq.py76 t = time.struct_time
98 self.assertRaises(Exc, time.struct_time, C())
/external/python/cpython3/Lib/test/
Dtest_structseq.py85 t = time.struct_time
107 self.assertRaises(Exc, time.struct_time, C())
Dtest_xmlrpc.py466 time_struct = time.struct_time(
/external/scapy/scapy/contrib/
Dppi_geotag.uts42 return time.struct_time(tuple(utc_time_clock))
/external/python/cpython2/Misc/NEWS.d/
D2.7rc1.rst131 time.struct_time now has class and attribute docstrings.
D2.6a1.rst1784 of length six instead of time.struct_time object.
/external/python/cpython3/Lib/xmlrpc/
Dclient.py284 if not isinstance(value, (tuple, time.struct_time)):
/external/python/cpython2/Doc/
Dglossary.rst546 A named tuple can be a built-in type such as :class:`time.struct_time`,
/external/python/cpython3/Doc/
Dglossary.rst727 A named tuple can be a built-in type such as :class:`time.struct_time`,
/external/python/cpython3/Modules/
D_datetimemodule.c1662 _Py_IDENTIFIER(struct_time); in build_struct_time()
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1530 The :class:`~time.struct_time` attributes :attr:`tm_gmtoff` and

12