Home
last modified time | relevance | path

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

12345

/third_party/musl/porting/liteos_a/kernel/src/time/
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/src/time/
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/
Dtime.h38 #ifndef tm_isdst
39 #define tm_isdst tm_isdst; \ macro
49 #undef tm_isdst
/third_party/musl/libc-test/src/functional/
Dstrftime.c29 .tm_isdst = 0
41 .tm_isdst = 0
53 .tm_isdst = 0
65 .tm_isdst = 0
77 .tm_isdst = 0
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/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc46 const bool is_dst = tm.tm_isdst > 0; in tm_gmtoff()
50 const bool is_dst = tm.tm_isdst > 0; in tm_zone()
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/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc40 const bool is_dst = tm.tm_isdst > 0; in tm_gmtoff()
44 const bool is_dst = tm.tm_isdst > 0; in tm_zone()
50 const bool is_dst = tm.tm_isdst > 0;
54 const bool is_dst = tm.tm_isdst > 0;
61 const bool is_dst = tm.tm_isdst > 0;
65 const bool is_dst = tm.tm_isdst > 0;
133 tm.tm_isdst = is_dst; in make_time()
217 al.is_dst = tmp->tm_isdst > 0; in BreakTime()
/third_party/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()
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/boost/boost/date_time/local_time/
Dconversion.hpp24 lt_tm.tm_isdst = 1; in to_tm()
27 lt_tm.tm_isdst = 0; in to_tm()
/third_party/tzdata/
Dstrftime.c505 if (t->tm_isdst >= 0) in _fmt()
506 pt = _add(tzname[t->tm_isdst != 0], in _fmt()
545 if (t->tm_isdst < 0) in _fmt()
547 if (t->tm_isdst == 0) in _fmt()
565 negative = t->tm_isdst < 0; in _fmt()
567 if (tzname[t->tm_isdst != 0][0] == '-') in _fmt()
Dlocaltime.c1526 result->tm_isdst = ttisp->tt_isdst; in localsub()
1745 tmp->tm_isdst = 0; in timesub()
2023 && alttm.tm_isdst == mytm.tm_isdst in time2sub()
2032 if (yourtm.tm_isdst < 0 || mytm.tm_isdst == yourtm.tm_isdst) in time2sub()
2043 if (sp->ttis[i].tt_isdst != yourtm.tm_isdst) in time2sub()
2046 if (sp->ttis[j].tt_isdst == yourtm.tm_isdst) in time2sub()
2054 if (mytm.tm_isdst != yourtm.tm_isdst) in time2sub()
2114 if (tmp->tm_isdst > 1) in time1()
2115 tmp->tm_isdst = 1; in time1()
2119 if (tmp->tm_isdst < 0) in time1()
[all …]
Dzdump.c309 fprintf(stderr, " isdst=%d", tmp->tm_isdst); in my_localtime_rz()
565 || newtm.tm_isdst != tm.tm_isdst in main()
670 && tm.tm_isdst == lotm.tm_isdst in hunt()
780 printf(" isdst=%d", tmp->tm_isdst); in show()
989 = (tm->tm_isdst in istrftime()
990 ? my_snprintf(b, s, &"\t\t%d"[show_abbr], tm->tm_isdst) in istrftime()
1034 if (0 <= tmp->tm_isdst && tzname[0 < tmp->tm_isdst]) in abbr()
1035 return tzname[0 < tmp->tm_isdst]; in abbr()
/third_party/musl/libc-test/src/functionalext/time/
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()
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/boost/boost/date_time/posix_time/
Dconversion.hpp47 timetm.tm_isdst = -1; // -1 used when dst info is unknown in to_tm()
58 timetm.tm_isdst = -1; // -1 used when dst info is unknown in to_tm()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
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()
531 time.tm_isdst = 0; in CheckWithinDstPeriod()
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dgmtime_r_sup.c506 gmtm->tm_isdst, in gmtime_r_0100()
549 gmtm->tm_isdst, in gmtime64_r_0100()
Dgmtime_sup.c506 gmtm->tm_isdst, in gmtime_0100()
549 gmtm->tm_isdst, in gmtime64_0100()
/third_party/toybox/toys/other/
Dhwclock.c113 tm.tm_isdst = 0; in hwclock_main()
123 if (tm.tm_isdst) tzone.tz_minuteswest -= 60; in hwclock_main()

12345