/external/python/cpython3/Lib/test/test_email/ |
D | test_utils.py | 56 t = utils.localtime() 61 t = utils.localtime() 67 t1 = utils.localtime(t0, isdst=-1) 68 t2 = utils.localtime(t1) 74 t1 = utils.localtime(t0, isdst=-1) 75 t2 = utils.localtime(t1) 82 t1 = utils.localtime(t0, isdst=1) 83 t2 = utils.localtime(t1) 90 t1 = utils.localtime(t0, isdst=1) 91 t2 = utils.localtime(t1) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_time.py | 29 == time.asctime(time.localtime(self.t))) 30 self.assertTrue(long(time.mktime(time.localtime(self.t))) 231 time.gmtime(xmas2002), time.localtime(xmas2002) 235 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0) 240 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002)) 246 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0) 252 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002)) 264 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1) 280 for func in time.ctime, time.gmtime, time.localtime: 299 lt0 = time.localtime() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_time.py | 150 time.asctime(time.localtime(self.t))) 151 self.assertEqual(int(time.mktime(time.localtime(self.t))), 349 time.gmtime(xmas2002), time.localtime(xmas2002) 353 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0) 358 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002)) 364 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0) 370 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002)) 384 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1) 400 for func in time.ctime, time.gmtime, time.localtime: 419 lt0 = time.localtime() [all …]
|
/external/scapy/scapy/contrib/ |
D | ppi_geotag.uts | 46 local_time = time.localtime() 48 assert time.localtime(utc_time.epoch) == local_time 56 local_time = time.localtime() 58 assert time.localtime(lme_time.epoch) == local_time
|
/external/python/cpython2/Lib/sqlite3/ |
D | dbapi2.py | 43 return Date(*time.localtime(ticks)[:3]) 46 return Time(*time.localtime(ticks)[3:6]) 49 return Timestamp(*time.localtime(ticks)[:6])
|
/external/python/cpython3/Lib/sqlite3/ |
D | dbapi2.py | 42 return Date(*time.localtime(ticks)[:3]) 45 return Time(*time.localtime(ticks)[3:6]) 48 return Timestamp(*time.localtime(ticks)[:6])
|
/external/python/cpython3/Lib/email/ |
D | utils.py | 126 def formatdate(timeval=None, localtime=False, usegmt=False): argument 146 if localtime or usegmt: 150 if localtime: 339 def localtime(dt=None, isdst=-1): function 362 localtm = time.localtime(seconds)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/ |
D | 1-1.c | 24 timeptr = localtime(¤t_time); in main() 27 printf("date: %s", (asctime(localtime((¤t_time))))); in main()
|
/external/ltp/testcases/kernel/fs/lftest/ |
D | lftest.c | 59 asctime(localtime(&time1))); in main() 86 asctime(localtime(&time2))); in main()
|
/external/toybox/toys/other/ |
D | uptime.c | 42 tm = localtime(&t); in uptime_main() 49 tm = localtime(&t); in uptime_main()
|
/external/bcc/ |
D | QUICKSTART.md | 11 -v /etc/localtime:/etc/localtime:ro \
|
/external/icu/icu4c/source/tools/tzcode/ |
D | private.h | 268 # undef localtime 269 # define localtime tz_localtime macro 286 struct tm *localtime(time_t const *);
|
/external/python/cpython3/Doc/includes/ |
D | tzinfo_examples.py | 26 args = _time.localtime(stamp)[:6] 29 fold = (args == _time.localtime(stamp - dst_diff)) 53 tt = _time.localtime(stamp)
|
/external/python/cpython2/Demo/scripts/ |
D | unbirthday.py | 21 elif not (1850 <= year <= time.localtime()[0]): 49 todaytuple = time.localtime()[:3]
|
/external/libcxx/include/ |
D | ctime | 41 tm* localtime(const time_t* timer); 73 using ::localtime;
|
/external/python/cpython2/Lib/email/ |
D | utils.py | 124 def formatdate(timeval=None, localtime=False, usegmt=False): argument 144 if localtime: 145 now = time.localtime(timeval)
|
/external/python/cpython2/Modules/ |
D | timemodule.c | 338 return time_convert(when, localtime); in time_localtime() 479 buf = *localtime(&tt); in time_strftime() 672 buf = *localtime(&tt); in time_asctime() 706 buf = localtime(&tt); in time_ctime() 834 p = localtime(&t); in inittimezone() 839 p = localtime(&t); in inittimezone()
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | TimeValue.inc | 30 asctime_r(localtime(&ourTime), buffer); 32 ::asctime_r(::localtime(&ourTime), buffer);
|
/external/python/cpython3/Doc/library/ |
D | email.utils.rst | 14 .. function:: localtime(dt=None) 21 case, a positive or zero value for *isdst* causes ``localtime`` to presume 24 *isdst* causes the ``localtime`` to attempt to divine whether summer time 145 .. function:: formatdate(timeval=None, localtime=False, usegmt=False) 152 :func:`time.gmtime` and :func:`time.localtime`, otherwise the current time is 155 Optional *localtime* is a flag that when ``True``, interprets *timeval*, and 162 needed for some protocols (such as HTTP). This only applies when *localtime* is
|
/external/autotest/site_utils/ |
D | generate_test_report | 242 localtime = '' 257 localtime = localtime_ 258 return timestamp, localtime 356 timestamp, localtime = self._CollectEndTimes(status_raw, status_re) 360 timestamp, localtime = self._CollectEndTimes(status_raw, 368 'localtime': localtime, 372 'info': self._CollectInfo(testdir, {'localtime': localtime,
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | threadtest.c | 163 strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&start)); in main() 175 strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&now)); in main()
|
/external/python/cpython2/Doc/library/ |
D | time.rst | 79 * The time value as returned by :func:`gmtime`, :func:`localtime`, and 82 values of :func:`gmtime`, :func:`localtime`, and :func:`strptime` also offer 99 | seconds since the epoch | :class:`struct_time` in | :func:`localtime` | 130 :func:`gmtime` or :func:`localtime` to a 24-character string of the following 132 as returned by :func:`localtime` is used. Locale information is not used by 166 ``asctime(localtime(secs))``. Locale information is not used by :func:`ctime`. 196 .. function:: localtime([secs]) 211 This is the inverse function of :func:`localtime`. Its argument is the 235 :func:`gmtime` or :func:`localtime` to a string as specified by the *format* 237 :func:`localtime` is used. *format* must be a string. :exc:`ValueError` is [all …]
|
D | email.util.rst | 84 .. function:: formatdate([timeval[, localtime][, usegmt]]) 91 :func:`time.gmtime` and :func:`time.localtime`, otherwise the current time is 94 Optional *localtime* is a flag that when ``True``, interprets *timeval*, and 101 needed for some protocols (such as HTTP). This only applies when *localtime* is
|
/external/icu/icu4c/source/test/compat/ |
D | tzdate.c | 117 ts = *localtime(&now); in getSystemCurrentTime() 128 ts = *localtime(&now); in getSystemCurrentTime()
|
/external/pdfium/fxjs/ |
D | JS_Define.cpp | 26 localtime(&t); in GetLocalTZA() 40 struct tm* tmp = localtime(&t); in GetDaylightSavingTA() 174 struct tm* pTm = localtime(&t); in JS_GetDateTime()
|