Home
last modified time | relevance | path

Searched refs:isdst (Results 1 – 25 of 33) sorted by relevance

12

/third_party/python/Lib/zoneinfo/
D_zoneinfo.py227 trans_idx, trans_utc, utcoff, isdst, abbr, tz_str = _common.load_data(
232 dstoff = self._utcoff_to_dstoff(trans_idx, utcoff, isdst)
250 for i in range(len(isdst)):
251 if not isdst[i]:
479 isdst = start <= ts < end
481 isdst = not (end <= ts < start)
483 return self.dst if isdst else self.std
491 isdst = start <= ts < end
493 isdst = not (end <= ts < start)
507 return (self.dst if isdst else self.std, fold)
D_common.py71 utcoff, isdst, abbrind = zip(
76 isdst = ()
124 return trans_idx, trans_list_utc, utcoff, isdst, abbr, tz_str
/third_party/musl/porting/liteos_a/kernel/src/time/
D__tz.c154 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zo… in __secs_to_zone() argument
163 *isdst = types[6*i+4]; in __secs_to_zone()
195 *isdst = 0; in __secs_to_zone()
202 *isdst = 1; in __secs_to_zone()
/third_party/musl/porting/liteos_m/kernel/src/time/
D__tz.c160 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zo… in __secs_to_zone() argument
169 *isdst = types[6*i+4]; in __secs_to_zone()
201 *isdst = 0; in __secs_to_zone()
208 *isdst = 1; in __secs_to_zone()
/third_party/musl/porting/uniproton/kernel/src/time/
D__tz.c160 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zo… in __secs_to_zone() argument
169 *isdst = types[6*i+4]; in __secs_to_zone()
201 *isdst = 0; in __secs_to_zone()
208 *isdst = 1; in __secs_to_zone()
/third_party/python/Lib/test/test_email/
Dtest_utils.py77 t1 = utils.localtime(t0, isdst=-1)
84 t1 = utils.localtime(t0, isdst=-1)
92 t1 = utils.localtime(t0, isdst=1)
100 t1 = utils.localtime(t0, isdst=1)
/third_party/python/Modules/
D_zoneinfo.c839 unsigned char *isdst = NULL; in load_data() local
951 isdst = PyMem_Malloc(self->num_ttinfos * sizeof(unsigned char)); in load_data()
953 if (utcoff == NULL || isdst == NULL) { in load_data()
977 isdst[i] = (unsigned char)isdst_with_error; in load_data()
987 utcoff_to_dstoff(trans_idx, utcoff, dstoff, isdst, self->num_transitions, in load_data()
1027 if (!isdst[i]) { in load_data()
1152 if (isdst != NULL) { in load_data()
1153 PyMem_Free(isdst); in load_data()
1355 uint8_t isdst; in find_tzrule_ttinfo() local
1375 isdst = (ts >= start) && (ts < end); in find_tzrule_ttinfo()
[all …]
/third_party/musl/porting/linux/user/src/time/
D__tz.c450 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zo… in __secs_to_zone() argument
459 *isdst = types[6*i+4]; in __secs_to_zone()
489 *isdst = 0; in __secs_to_zone()
498 *isdst = 1; in __secs_to_zone()
/third_party/musl/src/time/
D__tz.c365 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zo… in __secs_to_zone() argument
374 *isdst = types[6*i+4]; in __secs_to_zone()
406 *isdst = 0; in __secs_to_zone()
413 *isdst = 1; in __secs_to_zone()
/third_party/curl/tests/
Dserverhelp.pm79 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
85 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
/third_party/python/Lib/email/
Dutils.py334 def localtime(dt=None, isdst=-1): argument
355 tm = dt.timetuple()[:-1] + (isdst,)
/third_party/tzdata/
Dzdump.8.txt29 isdst=D where D is positive, zero, or negative depending on
68 format, a time zone abbreviation, and an isdst flag. An abbreviation
71 characters. An isdst flag is omitted for standard time, and otherwise
Dlocaltime.c209 init_ttinfo(struct ttinfo *s, int_fast32_t utoff, bool isdst, int desigidx) in init_ttinfo() argument
212 s->tt_isdst = isdst; in init_ttinfo()
543 unsigned char isdst, desigidx; in tzloadbody() local
548 isdst = *p++; in tzloadbody()
549 if (! (isdst < 2)) in tzloadbody()
551 ttisp->tt_isdst = isdst; in tzloadbody()
1294 register bool isdst; in tzparse() local
1324 isdst = false; in tzparse()
1350 if (isdst && !sp->ttis[j].tt_ttisstd) { in tzparse()
Dzic.c1786 getsave(char *field, bool *isdst) in getsave() argument
1799 *isdst = dst < 0 ? save != 0 : dst; in getsave()
2791 bool isdst, zic_t save, bool doquotes) in doabbr() argument
2808 } else if (isdst) { in doabbr()
3379 bool isdst = startoff != zp->z_stdoff; in outzone() local
3382 isdst, save, false); in outzone()
3387 int type = addtype(startoff, startbuf, isdst, in outzone()
3389 if (defaulttype < 0 && !isdst) in outzone()
3454 addtype(zic_t utoff, char const *abbr, bool isdst, bool ttisstd, bool ttisut) in addtype() argument
3473 if (utoff == utoffs[i] && isdst == isdsts[i] && j == desigidx[i] in addtype()
[all …]
/third_party/icu/icu4c/source/tools/tzcode/
Dzic.c145 char *const abbr, int isdst,
148 static int addtype(zic_t gmtoff, const char * abbr, int isdst,
1948 const int isdst, const int doquotes) in doabbr() argument
1959 } else if (isdst) { in doabbr()
2708 …type(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isdst, in addtype() argument
2711 addtype(const zic_t gmtoff, const char *const abbr, const int isdst, in addtype()
2717 if (isdst != true && isdst != false) { in addtype()
2730 if (isdst != (dstoff != 0)) { in addtype()
2744 if (gmtoff == gmtoffs[i] && isdst == isdsts[i] && in addtype()
2770 isdsts[i] = isdst; in addtype()
Dtz2icu.cpp143 bool isdst; member
406 type.isdst = readbool(file); in readzoneinfo()
412 if (type.isdst != (type.dstoffset != 0)) { in readzoneinfo()
1224 abbr(-1), isdst(false), isstd(false), isgmt(false) {} in ZoneType()
Dlocaltime.c1061 register int isdst; in tzparse() local
1091 isdst = false; in tzparse()
1117 if (isdst && !sp->ttis[j].tt_ttisstd) { in tzparse()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dzic.c144 char *const abbr, int isdst,
147 static int addtype(zic_t gmtoff, const char * abbr, int isdst,
1947 const int isdst, const int doquotes) in doabbr() argument
1958 } else if (isdst) { in doabbr()
2707 …type(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isdst, in addtype() argument
2710 addtype(const zic_t gmtoff, const char *const abbr, const int isdst, in addtype()
2716 if (isdst != TRUE && isdst != FALSE) { in addtype()
2729 if (isdst != (dstoff != 0)) { in addtype()
2743 if (gmtoff == gmtoffs[i] && isdst == isdsts[i] && in addtype()
2769 isdsts[i] = isdst; in addtype()
Dtz2icu.cpp143 bool isdst; member
406 type.isdst = readbool(file); in readzoneinfo()
412 if (type.isdst != (type.dstoffset != 0)) { in readzoneinfo()
1224 abbr(-1), isdst(false), isstd(false), isgmt(false) {} in ZoneType()
Dlocaltime.c1059 register int isdst; in tzparse() local
1089 isdst = FALSE; in tzparse()
1115 if (isdst && !sp->ttis[j].tt_ttisstd) { in tzparse()
/third_party/icu/icu4c/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/node/deps/icu-small/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/skia/third_party/externals/icu/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/python/Doc/library/
Demail.utils.rst21 case, a positive or zero value for *isdst* causes ``localtime`` to presume
24 *isdst* causes the ``localtime`` to attempt to divine whether summer time
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ argument
653 EXPECT_TRUE(isdst == al.is_dst); \

12