Home
last modified time | relevance | path

Searched refs:gmtime (Results 1 – 25 of 153) sorted by relevance

1234567

/external/python/cpython2/Lib/test/
Dtest_structseq.py9 t = time.gmtime()
30 t = time.gmtime()
32 t = time.gmtime(0)
38 t1 = time.gmtime()
44 t1 = time.gmtime()
51 t1 = time.gmtime()
57 t1 = time.gmtime()
61 t1 = time.gmtime()
71 t = time.gmtime()
101 t = time.gmtime()
[all …]
Dtest_time.py31 tt = time.gmtime(self.t)
110 tt = time.gmtime(self.t)
123 time.asctime(time.gmtime(self.t))
165 time.gmtime(xmas2002), time.localtime(xmas2002)
174 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
186 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
214 for func in time.ctime, time.gmtime, time.localtime:
226 gt0 = time.gmtime()
227 gt1 = time.gmtime(None)
/external/python/cpython3/Lib/test/
Dtest_structseq.py9 t = time.gmtime()
31 t = time.gmtime()
33 t = time.gmtime(0)
46 t1 = time.gmtime()
52 t1 = time.gmtime()
59 t1 = time.gmtime()
65 t1 = time.gmtime()
69 t1 = time.gmtime()
79 t = time.gmtime()
110 t = time.gmtime()
[all …]
Dtest_time.py119 tt = time.gmtime(self.t)
215 tt = time.gmtime(self.t)
243 time.asctime(time.gmtime(self.t))
304 time.gmtime(xmas2002), time.localtime(xmas2002)
313 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
325 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
355 for func in time.ctime, time.gmtime, time.localtime:
367 gt0 = time.gmtime()
368 gt1 = time.gmtime(None)
405 tt = time.gmtime(self.t)
/external/scapy/scapy/contrib/
Dppi_geotag.uts38 utc_time_clock = time.gmtime(time.mktime(local_time))
49 assert time.mktime(time.gmtime(utc_time.delta)) == time.mktime(local_time)
59 assert time.mktime(time.gmtime(lme_time.delta)) == time.mktime(local_time)
/external/fonttools/Lib/fontTools/ttLib/tables/
DF_F_T_M_.py34 value = time.asctime(time.gmtime(max(0, value + mac_epoch_diff)))
36 value = time.asctime(time.gmtime(0))
D_h_e_a_d.py55 value = time.asctime(time.gmtime(max(0, value + mac_epoch_diff)))
57 value = time.asctime(time.gmtime(0))
/external/icu/icu4c/source/tools/tzcode/
Dprivate.h264 # undef gmtime
265 # define gmtime tz_gmtime macro
284 struct tm *gmtime(time_t const *);
/external/libcxx/include/
Dctime38 tm* gmtime(const time_t* timer);
67 using ::gmtime;
/external/python/cpython2/Doc/library/
Dtime.rst24 1970. To find out what the epoch is, look at ``gmtime(0)``.
79 * The time value as returned by :func:`gmtime`, :func:`localtime`, and
82 values of :func:`gmtime`, :func:`localtime`, and :func:`strptime` also offer
96 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
130 :func:`gmtime` or :func:`localtime` to a 24-character string of the following
180 .. function:: gmtime([secs])
198 Like :func:`gmtime` but converts to local time. If *secs* is not provided or
235 :func:`gmtime` or :func:`localtime` to a string as specified by the *format*
350 >>> from time import gmtime, strftime
351 >>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
[all …]
/external/python/cpython3/Doc/library/
Dtime.rst27 ``time.gmtime(0)``.
85 * The time value as returned by :func:`gmtime`, :func:`localtime`, and
88 :func:`gmtime`, :func:`localtime`, and :func:`strptime` also offer attribute
107 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
133 :func:`gmtime` or :func:`localtime` to a string of the following
290 .. function:: gmtime([secs])
302 Like :func:`gmtime` but converts to local time. If *secs* is not provided or
379 :func:`gmtime` or :func:`localtime` to a string as specified by the *format*
492 >>> from time import gmtime, strftime
493 >>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
[all …]
/external/tensorflow/tensorflow/python/training/
Devaluation.py195 time.gmtime()))
215 time.gmtime()))
/external/libcxx/test/libcxx/utilities/time/date.time/
Dgmtime.thread-unsafe.fail.cpp17 std::gmtime(&t); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D20-1-buildonly.c20 dummyvar = gmtime; in dummyfcn()
/external/python/cpython2/Demo/pdist/
Dcvslib.py337 return time.asctime(time.gmtime(t))
341 t = time.gmtime(now)
348 gu = time.gmtime(u)
/external/toolchain-utils/cros_utils/
Dmanifest_versions.py66 cur_time = time.mktime(time.gmtime())
114 cur_time = time.mktime(time.gmtime())
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
Dcoverage.txt1 This file defines the coverage for the gmtime() function testing.
D2-1.c24 tm_ptr = gmtime(&the_time); in main()
D1-1.c24 tm_ptr = gmtime(&the_time); in main()
/external/wpa_supplicant_8/src/utils/
Dos_win32.c88 tm1 = gmtime(&t_local); in os_mktime()
107 tm2 = gmtime(&t2); in os_gmtime()
/external/tensorflow/tensorflow/contrib/training/python/training/
Devaluation.py449 '%Y-%m-%d-%H:%M:%S', time.gmtime()))
455 '%Y-%m-%d-%H:%M:%S', time.gmtime()))
/external/toolchain-utils/
Dsetup_chromeos.py182 version = manifests.TimeToVersionChromeOS(time.mktime(time.gmtime()))
203 version = TimeToCommonVersion(time.mktime(time.gmtime()))
/external/tcpdump/
Dgmt2local.c50 *gmt = *gmtime(&t); in gmt2local()
/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc140 time_t local_delta = before - ::mktime(::gmtime(&before)); // NOLINT in TEST()
249 std::tm* tm = std::gmtime(&t); in TestTmToSeconds()
/external/libcxx/test/std/depr/depr.c.headers/
Dtime_h.pass.cpp35 static_assert((std::is_same<decltype(gmtime(&t)), tm*>::value), ""); in main()

1234567