Home
last modified time | relevance | path

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

12345678

/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.py37 tt = time.gmtime(self.t)
176 tt = time.gmtime(self.t)
189 time.asctime(time.gmtime(self.t))
231 time.gmtime(xmas2002), time.localtime(xmas2002)
240 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
252 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
280 for func in time.ctime, time.gmtime, time.localtime:
292 gt0 = time.gmtime()
293 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.py157 tt = time.gmtime(self.t)
258 tt = time.gmtime(self.t)
286 time.asctime(time.gmtime(self.t))
347 time.gmtime(xmas2002), time.localtime(xmas2002)
356 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
368 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
398 for func in time.ctime, time.gmtime, time.localtime:
410 gt0 = time.gmtime()
411 gt1 = time.gmtime(None)
441 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/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/
Dctime40 tm* gmtime(const time_t* timer);
72 using ::gmtime;
/external/protobuf/benchmarks/util/
Dresult_uploader.py22 _INITIAL_TIME = calendar.timegm(time.gmtime())
32 utc_timestamp = str(calendar.timegm(time.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/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/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()
/external/python/cpython3/Doc/library/
Dtime.rst27 ``time.gmtime(0)``.
80 * The time value as returned by :func:`gmtime`, :func:`localtime`, and
83 :func:`gmtime`, :func:`localtime`, and :func:`strptime` also offer attribute
102 | seconds since the epoch | :class:`struct_time` in | :func:`gmtime` |
124 :func:`gmtime` or :func:`localtime` to a string of the following
241 .. function:: gmtime([secs])
253 Like :func:`gmtime` but converts to local time. If *secs* is not provided or
351 :func:`gmtime` or :func:`localtime` to a string as specified by the *format*
464 >>> from time import gmtime, strftime
465 >>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
[all …]
/external/toolchain-utils/cros_utils/
Dmanifest_versions.py68 cur_time = time.mktime(time.gmtime())
116 cur_time = time.mktime(time.gmtime())
/external/fonttools/Tests/misc/
DtimeTools_test.py11 assert asctime(time.gmtime(0)) == 'Thu Jan 1 00:00:00 1970'
/external/python/cpython2/Demo/pdist/
Dcvslib.py337 return time.asctime(time.gmtime(t))
341 t = time.gmtime(now)
348 gu = time.gmtime(u)
/external/tcpdump/
Dgmt2local.c50 *gmt = *gmtime(&t); in gmt2local()
/external/ImageMagick/MagickCore/
Dtimer-private.h34 my_time=gmtime(timep); in GetMagickUTCtime()
/external/toolchain-utils/
Dsetup_chromeos.py183 version = manifests.TimeToVersionChromeOS(time.mktime(time.gmtime()))
203 version = TimeToCommonVersion(time.mktime(time.gmtime()))
/external/wpa_supplicant_8/src/utils/
Dos_win32.c88 tm1 = gmtime(&t_local); in os_mktime()
107 tm2 = gmtime(&t2); in os_gmtime()
/external/skqp/tools/skqp/
Dget_gold_results.py33 now = time.strftime("%Y%m%d_%H%M%S", time.gmtime())
/external/fonttools/Lib/fontTools/misc/
DtimeTools.py45 return asctime(time.gmtime(max(0, value + epoch_diff)))
/external/python/httplib2/python2/
Dhttplib2test.py1510 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1511 "expires": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now + 4)),
1535 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime()),
1549 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime()),
1560 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1561 "expires": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now + 2)),
1575 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1586 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now + 3))
1603 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1614 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
[all …]
/external/python/httplib2/python3/
Dhttplib2test.py1465 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1466 "expires": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now + 4)),
1490 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime()),
1504 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime()),
1515 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1516 "expires": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now + 2)),
1530 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1541 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now + 3))
1558 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
1569 "date": time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(now)),
[all …]

12345678