Home
last modified time | relevance | path

Searched refs:localtime (Results 1 - 25 of 194) sorted by relevance

12345678

/third_party/python/Lib/test/test_email/
H A Dtest_utils.py75 t = utils.localtime()
80 t = utils.localtime()
86 t1 = utils.localtime(t0, isdst=-1)
87 t2 = utils.localtime(t1)
93 t1 = utils.localtime(t0, isdst=-1)
94 t2 = utils.localtime(t1)
101 t1 = utils.localtime(t0, isdst=1)
102 t2 = utils.localtime(t1)
109 t1 = utils.localtime(t0, isdst=1)
110 t2 = utils.localtime(t
[all...]
/third_party/musl/libc-test/src/functionalext/time/
H A Dstrftime_ext.c42 struct tm *timeptr = localtime(&gTime); in strftime_0100()
69 struct tm *timeptr = localtime(&gTime); in strftime_0200()
96 struct tm *timeptr = localtime(&gTime); in strftime_0300()
122 struct tm *timeptr = localtime(&gTime); in strftime_0400()
148 struct tm *timeptr = localtime(&gTime); in strftime_0500()
174 struct tm *timeptr = localtime(&gTime); in strftime_0600()
200 struct tm *timeptr = localtime(&gTime); in strftime_0700()
226 struct tm *timeptr = localtime(&gTime); in strftime_0800()
252 struct tm *timeptr = localtime(&gTime); in strftime_0900()
278 struct tm *timeptr = localtime( in strftime_1000()
[all...]
H A Dmktime.c41 struct tm *timeptr = localtime(&gTime); in mktime_0100()
67 struct tm *timeptr = localtime(&gTime); in mktime64_0100()
H A Dtimegm.c42 struct tm *timeptr = localtime(&gTime); in timegm_0100()
69 struct tm *timeptr = localtime(&gTime); in timegm_time64_0100()
H A Dtime_ext.c61 struct tm *localtm = localtime(&curClock); in time_0100()
94 struct tm *localtm = localtime(&curClock); in time64_0100()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_rwlock_timedrdlock.c33 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedrdlock_0100()
59 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedrdlock_0200()
83 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedrdlock_0300()
105 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedrdlock_time64_0100()
H A Dpthread_rwlock_timedwrlock.c33 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedwrlock_0100()
59 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedwrlock_0200()
83 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedwrlock_0300()
105 struct tm *tmp = localtime(&ts.tv_sec); in pthread_rwlock_timedwrlock_time64_0100()
/third_party/ltp/lib/
H A Dtst_wallclock.c45 static const char *localtime = "/etc/localtime"; in tst_wallclock_restore() local
67 * Fix access time of /etc/localtime because adjusting the wallclock in tst_wallclock_restore()
75 ret = access(localtime, F_OK | W_OK); in tst_wallclock_restore()
77 SAFE_TOUCH(localtime, 0, NULL); in tst_wallclock_restore()
/third_party/python/Lib/sqlite3/
H A Ddbapi2.py40 return Date(*time.localtime(ticks)[:3])
43 return Time(*time.localtime(ticks)[3:6])
46 return Timestamp(*time.localtime(ticks)[:6])
/third_party/python/Lib/test/
H A Dtest_time.py153 time.asctime(time.localtime(self.t)))
154 self.assertEqual(int(time.mktime(time.localtime(self.t))),
363 time.gmtime(xmas2002), time.localtime(xmas2002)
367 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
372 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
378 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
384 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
398 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1)
414 for func in time.ctime, time.gmtime, time.localtime:
433 lt0 = time.localtime()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/localtime/
H A D1-1.c24 timeptr = localtime(&current_time); in main()
27 printf("date: %s, ", (asctime(localtime((&current_time))))); in main()
31 puts("Test FAILED: localtime failed"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dtime_tzset_test.cpp23 std::tm* localTime1 = std::localtime(&t1); in HWTEST_F()
29 std::tm* localTime2 = std::localtime(&t2); in HWTEST_F()
/third_party/python/Lib/email/
H A Dutils.py126 def formatdate(timeval=None, localtime=False, usegmt=False):
132 gmtime() and localtime(), otherwise the current time is used.
134 Optional localtime is a flag that when True, interprets timeval, and
140 is needed for HTTP, and is only used when localtime==False.
146 if localtime or usegmt:
150 if localtime:
329 # datetime doesn't provide a localtime function yet, so provide one. Code
334 def localtime(dt=None, isdst=-1): function
341 In this case, a positive or zero value for *isdst* causes localtime to
344 negative value for *isdst* causes the localtime() functio
[all...]
/third_party/tzdata/
H A DMakefile90 # /stage/etc/localtime instead of to /etc/localtime). Files under
103 TZDEFAULT = $(TOPDIR)/etc/localtime
262 # with external linkage, e.g., applications cannot define 'localtime'.
268 # -DTHREAD_SAFE to make localtime.c thread-safe, as POSIX requires;
406 # If you want to allocate state structures in localtime, add
564 TZDOBJS= zdump.o localtime.o asctime.o strftime.o
565 DATEOBJS= date.o localtime.o strftime.o asctime.o
566 LIBSRCS= localtime.c asctime.c difftime.c strftime.c
567 LIBOBJS= localtime
[all...]
/third_party/toybox/toys/other/
H A Duptime.c42 tm = localtime(&t); in uptime_main()
49 tm = localtime(&t); in uptime_main()
/third_party/python/Doc/includes/
H A Dtzinfo_examples.py26 args = _time.localtime(stamp)[:6]
29 fold = (args == _time.localtime(stamp - dst_diff))
53 tt = _time.localtime(stamp)
/third_party/icu/icu4c/source/tools/tzcode/
H A Dprivate.h268 # undef localtime macro
269 # define localtime tz_localtime macro
286 struct tm *localtime(time_t const *);
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dprivate.h268 # undef localtime macro
269 # define localtime tz_localtime macro
286 struct tm *localtime(time_t const *);
/third_party/icu/icu4c/source/test/compat/
H A Dtzdate.c117 ts = *localtime(&now); in getSystemCurrentTime()
128 ts = *localtime(&now); in getSystemCurrentTime()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtime.h59 struct tm *localtime (const time_t *);
139 __REDIR(localtime, __localtime64);
/third_party/musl/porting/liteos_m/user/include/
H A Dtime.h58 struct tm *localtime (const time_t *);
138 __REDIR(localtime, __localtime64);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtime.h59 struct tm *localtime (const time_t *);
139 __REDIR(localtime, __localtime64);
/third_party/musl/Benchmark/musl/
H A Dlibc_time.cpp130 struct tm *localTime = localtime(&rawTime); in Bm_function_Strftime()
140 struct tm *localTime = localtime(&rawTime); in Bm_function_Mktime()
356 struct tm *localTime = localtime(&rawTime); in Bm_function_Strptime()
/third_party/curl/scripts/
H A Dcd2cd58 @ts = localtime($ENV{SOURCE_DATE_EPOCH});
60 @ts = localtime;
/third_party/musl/porting/liteos_a/kernel/include/
H A Dtime.h63 struct tm *localtime (const time_t *);
154 __REDIR(localtime, __localtime64);

Completed in 11 milliseconds

12345678