Home
last modified time | relevance | path

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

123

/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.c277 (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/fmtlib/test/
Dtime-test.cc44 lhs.tm_isdst == rhs.tm_isdst; in EqualTime()
/external/toybox/toys/other/
Dhwclock.c111 tm.tm_isdst = 0; in hwclock_main()
121 if (tm.tm_isdst) tzone.tz_minuteswest -= 60; in hwclock_main()
/external/python/cpython2/Modules/
Dtimemodule.c264 SET(8, p->tm_isdst); in tmtotuple()
363 &p->tm_isdst)) in gettmarg()
476 if (buf.tm_isdst < -1) in time_strftime()
477 buf.tm_isdst = -1; in time_strftime()
478 else if (buf.tm_isdst > 1) in time_strftime()
479 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.py169 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
180 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
198 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1)
/external/libchrome/base/time/
Dtime_posix.cc224 timestruct.tm_isdst = -1; // attempt to figure it out in FromExploded()
247 timestruct.tm_isdst = 0; in FromExploded()
251 timestruct.tm_isdst = 1; in FromExploded()
/external/syslinux/gpxe/src/include/
Dtime.h15 int tm_isdst; /* daylight saving time */ 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/kernel-headers/original/uapi/linux/
Drtc.h29 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.cpp59 t.tm_isdst = 1; in main()
/external/skia/third_party/lua/src/
Dloslib.c217 setboolfield(L, "isdst", stm->tm_isdst); in os_date()
255 ts.tm_isdst = getboolfield(L, "isdst"); in os_time()
/external/syslinux/com32/lua/src/
Dloslib.c222 setboolfield(L, "isdst", stm->tm_isdst); in os_date()
260 ts.tm_isdst = getboolfield(L, "isdst"); in os_time()
/external/libcxx/test/std/input.output/iostream.format/ext.manip/
Dput_time.pass.cpp67 t.tm_isdst = 0; in main()
/external/strace/
Drtc.c49 rt->tm_wday, rt->tm_yday, rt->tm_isdst); in print_rtc_time()
/external/toybox/toys/posix/
Dtouch.c78 tm.tm_isdst = 0;
/external/strace/tests-mx32/
Dioctl_rtc.c51 rt->tm_wday, rt->tm_yday, rt->tm_isdst); in print_rtc_time()
/external/strace/tests-m32/
Dioctl_rtc.c51 rt->tm_wday, rt->tm_yday, rt->tm_isdst); in print_rtc_time()
/external/strace/tests/
Dioctl_rtc.c51 rt->tm_wday, rt->tm_yday, rt->tm_isdst); in print_rtc_time()
/external/python/cpython2/Doc/includes/
Dtzinfo-examples.py77 return tt.tm_isdst > 0

123