Home
last modified time | relevance | path

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

123456789

/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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dconcurrency-mt-unsafe-any.cpp4 extern int *gmtime (const int *__timer);
14 auto tm = gmtime(nullptr); in foo()
16 tm = ::gmtime(nullptr); in foo()
Dconcurrency-mt-unsafe-posix.cpp4 extern int *gmtime (const int *__timer);
12 auto tm = gmtime(nullptr); in foo()
14 tm = ::gmtime(nullptr); in foo()
Dconcurrency-mt-unsafe-glibc.cpp4 extern int *gmtime (const int *__timer);
/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/llvm-project/libcxx/include/
Dctime39 tm* gmtime(const time_t* timer);
85 using ::gmtime;
/external/libcxx/test/libcxx/utilities/time/date.time/
Dgmtime.thread-unsafe.fail.cpp17 std::gmtime(&t); in main()
/external/llvm-project/libcxx/test/libcxx/utilities/time/date.time/
Dgmtime.thread-unsafe.compile.fail.cpp16 std::gmtime(&t); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D20-1-buildonly.c20 dummyvar = gmtime; in dummyfcn()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dconcurrency-mt-unsafe.rst8 synchronization (e.g. gmtime(3)) or utilize signals in a racy way.
31 tm = gmtime(timep); // uses a global buffer
/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/toolchain-utils/cros_utils/
Dmanifest_versions.py70 cur_time = time.mktime(time.gmtime())
119 cur_time = time.mktime(time.gmtime())
/external/python/cpython2/Demo/pdist/
Dcvslib.py337 return time.asctime(time.gmtime(t))
341 t = time.gmtime(now)
348 gu = time.gmtime(u)
/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
240 .. function:: gmtime([secs])
252 Like :func:`gmtime` but converts to local time. If *secs* is not provided or
350 :func:`gmtime` or :func:`localtime` to a string as specified by the *format*
463 >>> from time import gmtime, strftime
464 >>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
[all …]
/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/tcpdump/
Dgmt2local.c50 *gmt = *gmtime(&t); in gmt2local()

123456789