Home
last modified time | relevance | path

Searched refs:tm_isdst (Results 1 – 25 of 103) sorted by relevance

12345

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
D1-1.c95 if ((tm_ptr->tm_isdst >= -1) && (tm_ptr->tm_isdst <= 1)) { in main()
96 printf("isdst %02d\n", tm_ptr->tm_isdst); in main()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c278 (void) fprintf(stderr, " isdst=%d", tmp->tm_isdst); in my_localtime()
615 newtm.tm_isdst != tm.tm_isdst)) { in main()
629 newtm.tm_isdst != tm.tm_isdst || in main()
762 tm.tm_isdst == lotm.tm_isdst && in hunt()
821 (void) printf(" isdst=%d", tmp->tm_isdst); in show()
838 if (tmp->tm_isdst != 0 && tmp->tm_isdst != 1) in abbr()
840 result = tzname[tmp->tm_isdst]; in abbr()
959 tm.tm_isdst == lotm.tm_isdst)) { in huntICU()
1026 fprintf(fp, "[DST=%d]", loc.tm_isdst); in dumptimeICU()
Dlocaltime.c1323 tmp->tm_isdst = ttisp->tt_isdst; in localsub()
1324 tzname[tmp->tm_isdst] = &sp->chars[ttisp->tt_abbrind]; in localsub()
1537 tmp->tm_isdst = 0; in timesub()
1797 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
1810 if (sp->ttis[i].tt_isdst != yourtm.tm_isdst) in time2sub()
1813 if (sp->ttis[j].tt_isdst == yourtm.tm_isdst) in time2sub()
1821 if (mytm.tm_isdst != yourtm.tm_isdst) in time2sub()
1878 if (tmp->tm_isdst > 1) in time1()
1879 tmp->tm_isdst = 1; in time1()
1883 if (tmp->tm_isdst < 0) in time1()
[all …]
/external/python/cpython2/Modules/
Dtimemodule.c264 SET(8, p->tm_isdst); in tmtotuple()
363 &p->tm_isdst)) in gettmarg()
548 if (buf.tm_isdst < -1) in time_strftime()
549 buf.tm_isdst = -1; in time_strftime()
550 else if (buf.tm_isdst > 1) in time_strftime()
551 buf.tm_isdst = 1; in time_strftime()
/external/python/cpython2/Lib/test/
Dtest_strptime.py296 self.assertEqual(strp_output.tm_isdst, 0)
298 self.assertEqual(strp_output.tm_isdst, 0)
588 self.assertEqual(tm.tm_isdst, 0)
590 self.assertEqual(tm.tm_isdst, 1)
597 self.assertEqual(tm.tm_isdst, 0)
599 self.assertEqual(tm.tm_isdst, 1)
Dtest_time.py235 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
246 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
264 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1)
/external/libchrome/base/time/
Dtime_exploded_posix.cc187 timestruct.tm_isdst = -1; // attempt to figure it out in FromExploded()
209 timestruct.tm_isdst = 0; in FromExploded()
213 timestruct.tm_isdst = 1; in FromExploded()
/external/toybox/toys/other/
Dhwclock.c113 tm.tm_isdst = 0; in hwclock_main()
123 if (tm.tm_isdst) tzone.tz_minuteswest -= 60; in hwclock_main()
/external/u-boot/include/linux/
Dtime.h37 int tm_isdst; /* DST. [-1/0/1]*/ member
138 res->tm_isdst = -1;
/external/python/cpython3/Lib/test/
Dtest_strptime.py374 self.assertEqual(strp_output.tm_isdst, 0)
376 self.assertEqual(strp_output.tm_isdst, 0)
700 self.assertEqual(tm.tm_isdst, 0)
702 self.assertEqual(tm.tm_isdst, 1)
709 self.assertEqual(tm.tm_isdst, 0)
711 self.assertEqual(tm.tm_isdst, 1)
/external/u-boot/include/
Drtc_def.h32 int tm_isdst; member
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D2-1-buildonly.c26 dst = t.tm_isdst; in dummyfcn()
/external/compiler-rt/test/msan/
Dmktime.cc19 tm.tm_isdst = -1; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mktime/
D1-1.c30 tm_ptr.tm_isdst = -1; in main()
/external/v8/src/base/platform/
Dplatform-posix-time.cc29 (t->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
/external/u-boot/drivers/rtc/
Dmc13xxx-rtc.c41 rtc->tm_isdst = 0; in rtc_get()
Dds1307.c134 tmp->tm_isdst= 0; in rtc_get()
294 tm->tm_isdst = 0; in ds1307_rtc_get()
Ddate.c99 tm->tm_isdst = 0; in rtc_to_tm()
Dmcfrtc.c43 tmp->tm_isdst = 0; in rtc_get()
/external/kernel-headers/original/uapi/linux/
Drtc.h30 int tm_isdst; member
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
Dput1.pass.cpp45 t.tm_isdst = 1; in main()
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/
Dput1.pass.cpp62 t.tm_isdst = 1; in main()
/external/python/cpython3/Modules/
Dtimemodule.c435 SET(8, p->tm_isdst); in tmtotuple()
569 &p->tm_wday, &p->tm_yday, &p->tm_isdst)) in gettmarg()
749 if (buf.tm_isdst < -1) in time_strftime()
750 buf.tm_isdst = -1; in time_strftime()
751 else if (buf.tm_isdst > 1) in time_strftime()
752 buf.tm_isdst = 1; in time_strftime()
/external/lua/src/
Dloslib.c222 setboolfield(L, "isdst", stm->tm_isdst); in setallfields()
339 ts.tm_isdst = getboolfield(L, "isdst"); in os_time()
/external/libcxx/test/std/input.output/iostream.format/ext.manip/
Dput_time.pass.cpp68 t.tm_isdst = 0; in main()

12345