/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/pybind11/include/pybind11/ |
D | chrono.h | 166 std::tm localtime = *std::localtime(&tt); in cast() local 168 return PyDateTime_FromDateAndTime(localtime.tm_year + 1900, in cast() 169 localtime.tm_mon + 1, in cast() 170 localtime.tm_mday, in cast() 171 localtime.tm_hour, in cast() 172 localtime.tm_min, in cast() 173 localtime.tm_sec, in cast()
|
/external/python/cpython3/Lib/test/ |
D | test_time.py | 147 time.asctime(time.localtime(self.t))) 148 self.assertEqual(int(time.mktime(time.localtime(self.t))), 347 time.gmtime(xmas2002), time.localtime(xmas2002) 351 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0) 356 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002)) 362 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0) 368 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002)) 382 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1) 398 for func in time.ctime, time.gmtime, time.localtime: 417 lt0 = time.localtime() [all …]
|
/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/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/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/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/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: 331 def localtime(dt=None, isdst=-1): function 354 localtm = time.localtime(seconds)
|
/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/autotest/server/cros/device_health_profile/ |
D | device_health_profile.py | 408 time.strftime(TIME_PATTERN, time.localtime())) 416 time.strftime(TIME_PATTERN, time.localtime())) 423 time.strftime(TIME_PATTERN, time.localtime())) 429 time.strftime(TIME_PATTERN, time.localtime())) 488 time.strftime(TIME_PATTERN, time.localtime()))
|
/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/autotest/site_utils/ |
D | generate_test_report | 232 localtime = '' 247 localtime = localtime_ 248 return timestamp, localtime 346 timestamp, localtime = self._CollectEndTimes(status_raw, status_re) 350 timestamp, localtime = self._CollectEndTimes(status_raw, 358 'localtime': localtime, 362 'info': self._CollectInfo(testdir, {'localtime': localtime,
|
/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/linux-kselftest/tools/testing/selftests/timers/ |
D | threadtest.c | 163 strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&start)); in main() 176 strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&now)); in main()
|
/external/icu/icu4c/source/test/compat/ |
D | tzdate.c | 117 ts = *localtime(&now); in getSystemCurrentTime() 128 ts = *localtime(&now); in getSystemCurrentTime()
|
/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 …]
|
/external/llvm-project/libcxx/include/ |
D | ctime | 40 tm* localtime(const time_t* timer); 86 using ::localtime;
|