Home
last modified time | relevance | path

Searched refs:dstoff (Results 1 – 19 of 19) sorted by relevance

/third_party/python/Lib/zoneinfo/
D_zoneinfo.py109 return self._find_trans(dt).dstoff
232 dstoff = self._utcoff_to_dstoff(trans_idx, utcoff, isdst)
242 for utcoffset, dstoffset, tzname in zip(utcoff, dstoff, abbr)
329 dstoff = 0
335 dstoff = utcoff - utcoffsets[comp_idx]
337 if not dstoff and idx < (typecnt - 1):
346 dstoff = utcoff - utcoffsets[comp_idx]
348 if dstoff:
350 dstoffs[idx] = dstoff
399 def __init__(self, utcoff, dstoff, tzname): argument
[all …]
/third_party/python/Modules/
D_zoneinfo.c21 PyObject *dstoff; member
476 Py_INCREF(tti->dstoff); in zoneinfo_dst()
477 return tti->dstoff; in zoneinfo_dst()
766 out->dstoff = NULL; in build_ttinfo()
775 out->dstoff = load_timedelta(dstoffset); in build_ttinfo()
776 if (out->dstoff == NULL) { in build_ttinfo()
792 Py_XDECREF(ttinfo->dstoff); in xdecref_ttinfo()
807 if ((rv = PyObject_RichCompareBool(tti0->dstoff, tti1->dstoff, Py_EQ)) < in ttinfo_eq()
837 long *dstoff = NULL; in load_data() local
981 dstoff = PyMem_Calloc(self->num_ttinfos, sizeof(long)); in load_data()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dolsontz.cpp383 int32_t rawoff, dstoff; in getOffset() local
384 getHistoricalOffset(date, TRUE, kDaylight, kStandard, rawoff, dstoff); in getOffset()
385 return rawoff + dstoff; in getOffset()
392 int32_t& dstoff, UErrorCode& ec) const { in getOffset() argument
397 finalZone->getOffset(date, local, rawoff, dstoff, ec); in getOffset()
399 getHistoricalOffset(date, local, kFormer, kLatter, rawoff, dstoff); in getOffset()
405 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const { in getOffsetFromLocal() argument
410 … finalZone->getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff, ec); in getOffsetFromLocal()
412 getHistoricalOffset(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff); in getOffsetFromLocal()
477 int32_t& rawoff, int32_t& dstoff) const { in getHistoricalOffset()
[all …]
Dolsontz.h300 int32_t& rawoff, int32_t& dstoff) const;
/third_party/icu/icu4c/source/i18n/
Dolsontz.cpp383 int32_t rawoff, dstoff; in getOffset() local
384 getHistoricalOffset(date, TRUE, kDaylight, kStandard, rawoff, dstoff); in getOffset()
385 return rawoff + dstoff; in getOffset()
392 int32_t& dstoff, UErrorCode& ec) const { in getOffset() argument
397 finalZone->getOffset(date, local, rawoff, dstoff, ec); in getOffset()
399 getHistoricalOffset(date, local, kFormer, kLatter, rawoff, dstoff); in getOffset()
405 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const { in getOffsetFromLocal() argument
410 … finalZone->getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff, ec); in getOffsetFromLocal()
412 getHistoricalOffset(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff); in getOffsetFromLocal()
477 int32_t& rawoff, int32_t& dstoff) const { in getHistoricalOffset()
[all …]
Dolsontz.h300 int32_t& rawoff, int32_t& dstoff) const;
/third_party/node/deps/icu-small/source/i18n/
Dolsontz.cpp383 int32_t rawoff, dstoff; in getOffset() local
384 getHistoricalOffset(date, TRUE, kDaylight, kStandard, rawoff, dstoff); in getOffset()
385 return rawoff + dstoff; in getOffset()
392 int32_t& dstoff, UErrorCode& ec) const { in getOffset() argument
397 finalZone->getOffset(date, local, rawoff, dstoff, ec); in getOffset()
399 getHistoricalOffset(date, local, kFormer, kLatter, rawoff, dstoff); in getOffset()
405 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const { in getOffsetFromLocal() argument
410 … finalZone->getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff, ec); in getOffsetFromLocal()
412 getHistoricalOffset(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff); in getOffsetFromLocal()
477 int32_t& rawoff, int32_t& dstoff) const { in getHistoricalOffset()
[all …]
Dolsontz.h300 int32_t& rawoff, int32_t& dstoff) const;
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dolsontz.cpp383 int32_t rawoff, dstoff; in getOffset() local
384 getHistoricalOffset(date, TRUE, kDaylight, kStandard, rawoff, dstoff); in getOffset()
385 return rawoff + dstoff; in getOffset()
392 int32_t& dstoff, UErrorCode& ec) const { in getOffset() argument
397 finalZone->getOffset(date, local, rawoff, dstoff, ec); in getOffset()
399 getHistoricalOffset(date, local, kFormer, kLatter, rawoff, dstoff); in getOffset()
405 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const { in getOffsetFromLocal() argument
410 … finalZone->getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff, ec); in getOffsetFromLocal()
412 getHistoricalOffset(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawoff, dstoff); in getOffsetFromLocal()
477 int32_t& rawoff, int32_t& dstoff) const { in getHistoricalOffset()
[all …]
Dolsontz.h191 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const;
298 int32_t& rawoff, int32_t& dstoff) const;
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_transfer.c282 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, in nvc0_m2mf_copy_linear() argument
298 PUSH_DATAh(push, dst->offset + dstoff); in nvc0_m2mf_copy_linear()
299 PUSH_DATA (push, dst->offset + dstoff); in nvc0_m2mf_copy_linear()
311 dstoff += bytes; in nvc0_m2mf_copy_linear()
320 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, in nve4_m2mf_copy_linear() argument
335 PUSH_DATAh(push, dst->offset + dstoff); in nve4_m2mf_copy_linear()
336 PUSH_DATA (push, dst->offset + dstoff); in nve4_m2mf_copy_linear()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_transfer.h36 struct nouveau_bo *, unsigned dstoff, unsigned dstdom,
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c330 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, in nv50_m2mf_copy_linear() argument
352 PUSH_DATAh(push, dst->offset + dstoff); in nv50_m2mf_copy_linear()
355 PUSH_DATA (push, dst->offset + dstoff); in nv50_m2mf_copy_linear()
363 dstoff += bytes; in nv50_m2mf_copy_linear()
Dnv50_context.h329 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom,
/third_party/icu/icu4c/source/tools/tzcode/
Dzic.c143 static int addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff,
2021 stringrule(char *result, const struct rule *const rp, const zic_t dstoff, in stringrule() argument
2073 tod += dstoff; in stringrule()
2707 addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isd… in addtype() argument
2729 if (isdst != (dstoff != 0)) { in addtype()
2733 if (gmtoff != (rawoff + dstoff)) { in addtype()
2745 rawoff == rawoffs[i] && dstoff == dstoffs[i] && in addtype()
2767 dstoffs[i] = dstoff; in addtype()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dzic.c143 static int addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff,
2021 stringrule(char *result, const struct rule *const rp, const zic_t dstoff, in stringrule() argument
2073 tod += dstoff; in stringrule()
2707 addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isd… in addtype() argument
2729 if (isdst != (dstoff != 0)) { in addtype()
2733 if (gmtoff != (rawoff + dstoff)) { in addtype()
2745 rawoff == rawoffs[i] && dstoff == dstoffs[i] && in addtype()
2767 dstoffs[i] = dstoff; in addtype()
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/
Dzic.c143 static int addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff,
2021 stringrule(char *result, const struct rule *const rp, const zic_t dstoff, in stringrule() argument
2073 tod += dstoff; in stringrule()
2707 addtype(const zic_t gmtoff, const zic_t rawoff, const zic_t dstoff, char *const abbr, const int isd… in addtype() argument
2729 if (isdst != (dstoff != 0)) { in addtype()
2733 if (gmtoff != (rawoff + dstoff)) { in addtype()
2745 rawoff == rawoffs[i] && dstoff == dstoffs[i] && in addtype()
2767 dstoffs[i] = dstoff; in addtype()
/third_party/python/Lib/test/
Ddatetimetester.py4802 dstoff = datetime(2002, 10, 27, 1) variable in TestTimezoneConversions
4807 def checkinside(self, dt, tz, utc, dston, dstoff): argument
4848 if dt.date() == dstoff.date() and dt.hour == 0:
4877 dstoff = self.dstoff.replace(tzinfo=tz)
4884 self.checkinside(dston, tz, utc, dston, dstoff)
4885 for during in dston + delta, dstoff - delta:
4886 self.checkinside(during, tz, utc, dston, dstoff)
4888 self.checkoutside(dstoff, tz, utc)
4889 for outside in dston - delta, dstoff + delta:
4949 first_std_hour = self.dstoff - timedelta(hours=2) # 23:MM
[all …]
/third_party/python/Doc/library/
Ddatetime.rst2020 # Code to set dston and dstoff to the time zone's DST
2024 if dston <= dt.replace(tzinfo=None) < dstoff: