Home
last modified time | relevance | path

Searched refs:tm_isdst (Results 1 - 25 of 98) sorted by relevance

1234

/third_party/musl/src/time/
H A Dmktime.c10 __secs_to_zone(t, 1, &new.tm_isdst, &new.__tm_gmtoff, &opp, &new.__tm_zone, TZ_USE_ENV); in mktime()
12 if (tm->tm_isdst>=0 && new.tm_isdst!=tm->tm_isdst) in mktime()
18 __secs_to_zone(t, 0, &new.tm_isdst, &new.__tm_gmtoff, &opp, &new.__tm_zone, TZ_USE_ENV); in mktime()
H A Dlocaltime_r.c13 __secs_to_zone(*t, 0, &tm->tm_isdst, &tm->__tm_gmtoff, 0, &tm->__tm_zone, TZ_USE_ENV); in __localtime_r()
32 __secs_to_zone(*t, 0, &tm->tm_isdst, &tm->__tm_gmtoff, 0, &tm->__tm_zone, TZ_NO_USE_ENV); in localtime_noenv_r()
/third_party/musl/porting/liteos_a/kernel/src/time/
H A Dmktime.c10 __secs_to_zone(t, 1, &new.tm_isdst, &new.__tm_gmtoff, &opp, &new.__tm_zone); in mktime()
12 if (tm->tm_isdst>=0 && new.tm_isdst!=tm->tm_isdst) in mktime()
18 __secs_to_zone(t, 0, &new.tm_isdst, &new.__tm_gmtoff, &opp, &new.__tm_zone); in mktime()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dtime.h38 #ifndef tm_isdst
39 #define tm_isdst tm_isdst; \ macro
49 #undef tm_isdst macro
51 #else /* tm_isdst */
55 #endif /* tm_isdst */
/third_party/musl/libc-test/src/functional/
H A Dstrftime.c29 .tm_isdst = 0
41 .tm_isdst = 0
53 .tm_isdst = 0
65 .tm_isdst = 0
77 .tm_isdst = 0
H A Dtime.c23 tm1.tm_isdst!= tm2.tm_isdst; in tm_cmp()
35 tm.tm_wday, tm.tm_yday, tm.tm_isdst); in tm_str()
42 .tm_wday = wd, .tm_yday = yd, .tm_isdst = dst }
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
H A 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()
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzdump.c272 (void) fprintf(stderr, " isdst=%d", tmp->tm_isdst); in my_localtime()
609 newtm.tm_isdst != tm.tm_isdst)) { in main()
623 newtm.tm_isdst != tm.tm_isdst || in main()
756 tm.tm_isdst == lotm.tm_isdst && in hunt()
815 (void) printf(" isdst=%d", tmp->tm_isdst); in show()
832 if (tmp->tm_isdst != 0 && tmp->tm_isdst ! in abbr()
[all...]
H A Dlocaltime.c83 int tt_isdst; /* used to set tm_isdst */
1325 tmp->tm_isdst = ttisp->tt_isdst; in localsub()
1326 tzname[tmp->tm_isdst] = &sp->chars[ttisp->tt_abbrind]; in localsub()
1539 tmp->tm_isdst = 0; in timesub()
1799 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
1812 if (sp->ttis[i].tt_isdst != yourtm.tm_isdst) in time2sub()
1815 if (sp->ttis[j].tt_isdst == yourtm.tm_isdst) in time2sub()
1823 if (mytm.tm_isdst ! in time2sub()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A 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 ! in abbr()
[all...]
H A Dlocaltime.c81 int tt_isdst; /* used to set tm_isdst */
1323 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 ! in time2sub()
[all...]
/third_party/tzdata/
H A Dstrftime.c333 tm.tm_isdst = t->tm_isdst; in _fmt()
509 if (t->tm_isdst >= 0) in _fmt()
510 pt = _add(tzname[t->tm_isdst != 0], in _fmt()
533 ** tm_isdst. This requirement is in _fmt()
549 if (t->tm_isdst < 0) in _fmt()
551 if (t->tm_isdst == 0) in _fmt()
569 negative = t->tm_isdst < 0; in _fmt()
571 if (tzname[t->tm_isdst != 0][0] == '-') in _fmt()
H A Dlocaltime.c89 bool tt_isdst; /* used to set tm_isdst */
1579 result->tm_isdst = ttisp->tt_isdst; in localsub()
1818 tmp->tm_isdst = 0; in timesub()
1949 dest->tm_isdst = src->tm_isdst; in mktmcpy()
2106 && alttm.tm_isdst == mytm.tm_isdst in time2sub()
2115 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
[all...]
H A Dzdump.c379 fprintf(stderr, " isdst=%d", tmp->tm_isdst); in my_localtime_rz()
644 || newtm.tm_isdst != tm.tm_isdst in main()
759 || (ab && tm.tm_isdst == lotm.tm_isdst in hunt()
874 printf(" isdst=%d", tmp->tm_isdst); in show()
1128 = (tm->tm_isdst in istrftime()
1129 ? my_snprintf(b, s, &"\t\t%d"[show_abbr], tm->tm_isdst) in istrftime()
1173 if (0 <= tmp->tm_isdst && tzname[0 < tmp->tm_isdst]) in abbr()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_libc.cc46 const bool is_dst = tm.tm_isdst > 0;
50 const bool is_dst = tm.tm_isdst > 0; in decltype()
56 const bool is_dst = tm.tm_isdst > 0;
60 const bool is_dst = tm.tm_isdst > 0;
67 const bool is_dst = tm.tm_isdst > 0;
71 const bool is_dst = tm.tm_isdst > 0;
139 tm.tm_isdst = is_dst; in make_time()
223 al.is_dst = tmp->tm_isdst > 0; in BreakTime()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dgmtime_sup.c506 gmtm->tm_isdst, in gmtime_0100()
549 gmtm->tm_isdst, in gmtime64_0100()
H A Dgmtime_r_sup.c506 gmtm->tm_isdst, in gmtime_r_0100()
549 gmtm->tm_isdst, in gmtime64_r_0100()
/third_party/musl/libc-test/src/functionalext/time/
H A Dlocaltime.c49 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime_0100()
78 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime64_0100()
H A Dlocaltime_r.c50 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime_r_0100()
80 localtm->tm_min, localtm->tm_sec, localtm->tm_wday, localtm->tm_yday, localtm->tm_isdst, in localtime64_r_0100()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dtime_test.cc748 EXPECT_EQ(tm_lc.tm_isdst, tm_bt.tm_isdst); in TEST()
753 // Checks that the tm_isdst field is correct when in standard time. in TEST()
758 EXPECT_FALSE(tm.tm_isdst); in TEST()
760 // Checks that the tm_isdst field is correct when in daylight time. in TEST()
763 EXPECT_TRUE(tm.tm_isdst); in TEST()
775 EXPECT_FALSE(tm.tm_isdst); in TEST()
787 EXPECT_FALSE(tm.tm_isdst); in TEST()
794 // Verifies that tm_isdst doesn't affect anything when the time is unique. in TEST()
803 tm.tm_isdst in TEST()
[all...]
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dtzdst.c343 time.tm_isdst = 0; in DstGetDayOfMonth()
457 time.tm_isdst = 0; in DstConfigDecode()
493 if (tm->tm_isdst < 0) { in CheckDstPeriodInner()
503 } else if (tm->tm_isdst > 0) { in CheckDstPeriodInner()
507 /* tm->tm_isdst is zero */ in CheckDstPeriodInner()
531 time.tm_isdst = 0; in CheckWithinDstPeriod()
/third_party/toybox/toys/other/
H A Dhwclock.c110 /* The value of tm_isdst is positive if daylight saving time is in effect, in hwclock_main()
113 tm.tm_isdst = 0; in hwclock_main()
123 if (tm.tm_isdst) tzone.tz_minuteswest -= 60; in hwclock_main()
/third_party/ffmpeg/libavformat/
H A Dhlsplaylist.c168 int tz_min, dst = tm->tm_isdst; in ff_hls_write_file_entry()
170 tm->tm_isdst = dst; in ff_hls_write_file_entry()
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-aix.cc50 return (-tz.tz_minuteswest * 60) + (localtm.tm_isdst > 0 ? 3600 : 0); in get_gmt_offset()
79 (loc->tm_isdst > 0 ? 3600 * msPerSecond : 0)); in LocalTimeOffset()
/third_party/musl/porting/linux/user/src/time/
H A Dgmtime_r.c25 tm->tm_isdst = 0; in __gmtime_r()

Completed in 21 milliseconds

1234