Home
last modified time | relevance | path

Searched refs:struct_time (Results 1 – 25 of 25) 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.py1417 elif isinstance(date_time, (tuple, time.struct_time)):
/external/python/cpython3/Doc/library/
Dtime.rst86 See :class:`struct_time` for a description of these objects.
89 The :class:`struct_time` type was extended to provide the :attr:`tm_gmtoff`
94 The :class:`struct_time` attributes :attr:`tm_gmtoff` and :attr:`tm_zone`
102 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
105 | seconds since the epoch | :class:`struct_time` in | :func:`localtime` |
108 | :class:`struct_time` in | seconds since the epoch | :func:`calendar.timegm` |
111 | :class:`struct_time` in | seconds since the epoch | :func:`mktime` |
123 Convert a tuple or :class:`struct_time` representing a time as returned by
242 Convert a time expressed in seconds since the epoch to a :class:`struct_time` in
246 :class:`struct_time` object. See :func:`calendar.timegm` for the inverse of this
[all …]
Dimaplib.rst141 time. The return value is a :class:`time.struct_time` tuple or
162 an instance of :class:`time.struct_time` (as returned by
Ddatetime.rst639 Return a :class:`time.struct_time` such as returned by :func:`time.localtime`.
645 time.struct_time((d.year, d.month, d.day, 0, 0, 0, d.weekday(), yday, -1))
1308 Return a :class:`time.struct_time` such as returned by :func:`time.localtime`.
1312 time.struct_time((d.year, d.month, d.day,
1332 ``d.utcoffset()``, and a :class:`time.struct_time` for the
Dmailbox.rst1013 *time_* is specified, it should be a :class:`time.struct_time` instance, a
1384 *time_* is specified, it should be a :class:`time.struct_time` instance, a
/external/python/cpython2/Lib/test/
Dtest_structseq.py76 t = time.struct_time
98 self.assertRaises(Exc, time.struct_time, C())
/external/python/cpython3/Lib/
D_strptime.py103 time_tuple = time.struct_time((1999,3,17,hour,44,55,2,76,0))
115 time_tuple = time.struct_time((1999,3,17,22,44,55,2,76,0))
142 time_tuple = time.struct_time((1999,1,3,1,1,1,6,3,0))
563 return time.struct_time(tt[:time._STRUCT_TM_ITEMS])
Ddatetime.py158 return _time.struct_time((y, m, d, hh, mm, ss, wday, dnum, dstflag))
/external/python/cpython3/Lib/test/
Dtest_structseq.py85 t = time.struct_time
107 self.assertRaises(Exc, time.struct_time, C())
Dtest_xmlrpc.py468 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.py283 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/Modules/
D_datetimemodule.c1682 _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
/external/python/cpython3/Misc/
DHISTORY7309 in struct tm, time.struct_time objects returned by time.gmtime(),
13329 - Issue #8899: time.struct_time now has class and attribute docstrings.