/third_party/python/Lib/zoneinfo/ |
H A D | _zoneinfo.py | 227 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]: 304 # we can infer what they are from the isdst flag, but it is not 353 # with dstoff = 0 for something where `isdst=1`. This is obviously 479 isdst = start <= ts < end 481 isdst = not (end <= ts < start) 483 return self.dst if isdst else self.std 491 isdst [all...] |
H A D | _common.py | 69 # Read the ttinfo struct, (utoff, isdst, abbrind) 71 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/ |
H A D | __tz.c | 154 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zonename) 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/uniproton/kernel/src/time/ |
H A D | __tz.c | 160 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zonename) 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/liteos_m/kernel/src/time/ |
H A D | __tz.c | 160 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zonename) 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/ |
H A D | test_utils.py | 86 t1 = utils.localtime(t0, isdst=-1) 93 t1 = utils.localtime(t0, isdst=-1) 101 t1 = utils.localtime(t0, isdst=1) 109 t1 = utils.localtime(t0, isdst=1)
|
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 843 unsigned char *isdst = NULL; in load_data() local 953 // Load UTC offsets and isdst (size num_ttinfos) in load_data() 955 isdst = PyMem_Malloc(self->num_ttinfos * sizeof(unsigned char)); in load_data() 957 if (utcoff == NULL || isdst == NULL) { in load_data() 981 isdst[i] = (unsigned char)isdst_with_error; in load_data() 991 utcoff_to_dstoff(trans_idx, utcoff, dstoff, isdst, self->num_transitions, in load_data() 1031 if (!isdst[i]) { in load_data() 1156 if (isdst != NULL) { in load_data() 1157 PyMem_Free(isdst); in load_data() 1359 uint8_t isdst; in find_tzrule_ttinfo() local 1414 uint8_t isdst; find_tzrule_ttinfo_fromutc() local [all...] |
/third_party/curl/tests/ |
H A D | serverhelp.pm | 79 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = 85 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
|
H A D | runner.pm | 465 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
|
/third_party/musl/porting/linux/user/src/time/ |
H A D | __tz.c | 450 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zonename) 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/ |
H A D | __tz.c | 524 void __secs_to_zone(long long t, int local, int *isdst, long *offset, long *oppoff, const char **zonename, int use_env) in __secs_to_zone() argument 536 *isdst = types[6*i+4]; in __secs_to_zone() 568 *isdst = 0; in __secs_to_zone() 575 *isdst = 1; in __secs_to_zone()
|
/third_party/python/Lib/email/ |
H A D | utils.py | 334 def localtime(dt=None, isdst=-1): 341 In this case, a positive or zero value for *isdst* causes localtime to 344 negative value for *isdst* causes the localtime() function to attempt 353 # system mktime together with the isdst hint. System mktime will return 355 tm = dt.timetuple()[:-1] + (isdst,)
|
/third_party/tzdata/ |
H A D | localtime.c | 214 init_ttinfo(struct ttinfo *s, int_fast32_t utoff, bool isdst, int desigidx) in init_ttinfo() argument 217 s->tt_isdst = isdst; in init_ttinfo() 554 unsigned char isdst, desigidx; in tzloadbody() local 559 isdst = *p++; in tzloadbody() 560 if (! (isdst < 2)) in tzloadbody() 562 ttisp->tt_isdst = isdst; in tzloadbody() 1263 register bool isdst; in tzparse() local 1293 isdst = false; in tzparse() 1319 if (isdst && !sp->ttis[j].tt_ttisstd) { in tzparse()
|
H A D | zic.c | 1827 getsave(char *field, bool *isdst) in getsave() argument 1840 *isdst = dst < 0 ? save != 0 : dst; in getsave() 2825 bool isdst, zic_t save, bool doquotes) in doabbr() 2842 } else if (isdst) { in doabbr() 3383 bool isdst = startoff != zp->z_stdoff; in outzone() local 3386 isdst, save, false); in outzone() 3392 int type = addtype(startoff, startbuf, isdst, in outzone() 3394 if (defaulttype < 0 && !isdst) in outzone() 3485 addtype(zic_t utoff, char const *abbr, bool isdst, bool ttisstd, bool ttisut) in addtype() argument 3504 if (utoff == utoffs[i] && isdst in addtype() 2824 doabbr(char *abbr, struct zone const *zp, char const *letters, bool isdst, zic_t save, bool doquotes) doabbr() argument [all...] |
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | zic.c | 145 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() 1959 } else if (isdst) { in doabbr() 2708 addtype(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() 2718 error(_("internal error - addtype called with bad isdst")); in addtype() 2730 if (isdst ! in addtype() 1947 doabbr(char *const abbr, const char *const format, const char *const letters, const int isdst, const int doquotes) doabbr() argument [all...] |
H A D | tz2icu.cpp | 143 bool isdst; member 400 // Read types (except for the isdst and isgmt flags, which come later (why??)) in readzoneinfo() 406 type.isdst = readbool(file); in readzoneinfo() 412 if (type.isdst != (type.dstoffset != 0)) { in readzoneinfo() 413 throw invalid_argument("isdst does not reflect dstoffset"); in readzoneinfo() 1218 * (empty) abbr, isdst, isstd, and isgmt flags; this is appropriate, 1224 abbr(-1), isdst(false), isstd(false), isgmt(false) {} in ZoneType()
|
H A D | localtime.c | 1061 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/ |
H A D | zic.c | 144 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() 1958 } else if (isdst) { in doabbr() 2707 addtype(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() 2717 error(_("internal error - addtype called with bad isdst")); in addtype() 2729 if (isdst ! in addtype() 1946 doabbr(char *const abbr, const char *const format, const char *const letters, const int isdst, const int doquotes) doabbr() argument [all...] |
H A D | tz2icu.cpp | 143 bool isdst; member 400 // Read types (except for the isdst and isgmt flags, which come later (why??)) in readzoneinfo() 406 type.isdst = readbool(file); in readzoneinfo() 412 if (type.isdst != (type.dstoffset != 0)) { in readzoneinfo() 413 throw invalid_argument("isdst does not reflect dstoffset"); in readzoneinfo() 1218 * (empty) abbr, isdst, isstd, and isgmt flags; this is appropriate, 1224 abbr(-1), isdst(false), isstd(false), isgmt(false) {} in ZoneType()
|
H A D | localtime.c | 1059 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/ |
H A D | rbbicst.pl | 232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
|
/third_party/node/deps/icu-small/source/common/ |
H A D | rbbicst.pl | 232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | rbbicst.pl | 232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_lookup_test.cc | 643 #define ExpectTime(tp, tz, y, m, d, hh, mm, ss, off, isdst, zone) \ 653 EXPECT_TRUE(isdst == al.is_dst); \
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | time_test.cc | 44 #define EXPECT_CIVIL_INFO(ci, y, m, d, h, min, s, off, isdst) \ 53 EXPECT_EQ(isdst, ci.is_dst); \
|