/external/python/cpython3/Lib/zoneinfo/ |
D | _zoneinfo.py | 109 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 …]
|
/external/python/dateutil/dateutil/tz/ |
D | _common.py | 333 dston, dstoff = transitions 336 dstoff -= self._std_offset 338 utc_transitions = (dston, dstoff) 396 dston, dstoff = transitions 400 if dston < dstoff: 401 isdst = dston <= dt < dstoff 403 isdst = not dstoff <= dt < dston
|
D | win.py | 185 dstoff = picknthweekday(year, self._stdmonth, self._stddayofweek, 190 dstoff -= self._dst_base_offset 192 return dston, dstoff
|
/external/python/cpython3/Modules/ |
D | _zoneinfo.c | 20 PyObject *dstoff; member 472 Py_INCREF(tti->dstoff); in zoneinfo_dst() 473 return tti->dstoff; in zoneinfo_dst() 768 out->dstoff = NULL; in build_ttinfo() 777 out->dstoff = load_timedelta(dstoffset); in build_ttinfo() 778 if (out->dstoff == NULL) { in build_ttinfo() 794 Py_XDECREF(ttinfo->dstoff); in xdecref_ttinfo() 809 if ((rv = PyObject_RichCompareBool(tti0->dstoff, tti1->dstoff, Py_EQ)) < in ttinfo_eq() 839 long *dstoff = NULL; in load_data() local 977 dstoff = PyMem_Calloc(self->num_ttinfos, sizeof(long)); in load_data() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | olsontz.cpp | 383 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 …]
|
D | olsontz.h | 191 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const; 298 int32_t& rawoff, int32_t& dstoff) const;
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_transfer.c | 282 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()
|
/external/icu/libicu/cts_headers/ |
D | olsontz.h | 191 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const; 298 int32_t& rawoff, int32_t& dstoff) const;
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_transfer.h | 36 struct nouveau_bo *, unsigned dstoff, unsigned dstdom,
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_transfer.c | 204 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, in nv50_m2mf_copy_linear() argument 226 PUSH_DATAh(push, dst->offset + dstoff); in nv50_m2mf_copy_linear() 229 PUSH_DATA (push, dst->offset + dstoff); in nv50_m2mf_copy_linear() 237 dstoff += bytes; in nv50_m2mf_copy_linear()
|
D | nv50_context.h | 285 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom,
|
/external/icu/icu4c/source/tools/tzcode/ |
D | zic.c | 143 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()
|
/external/python/cpython2/Lib/test/ |
D | test_datetime.py | 3123 dstoff = datetime(2002, 10, 27, 1) variable in TestTimezoneConversions 3128 def checkinside(self, dt, tz, utc, dston, dstoff): argument 3169 if dt.date() == dstoff.date() and dt.hour == 0: 3198 dstoff = self.dstoff.replace(tzinfo=tz) 3205 self.checkinside(dston, tz, utc, dston, dstoff) 3206 for during in dston + delta, dstoff - delta: 3207 self.checkinside(during, tz, utc, dston, dstoff) 3209 self.checkoutside(dstoff, tz, utc) 3210 for outside in dston - delta, dstoff + delta: 3270 first_std_hour = self.dstoff - timedelta(hours=2) # 23:MM [all …]
|
/external/python/cpython3/Lib/test/ |
D | datetimetester.py | 4801 dstoff = datetime(2002, 10, 27, 1) variable in TestTimezoneConversions 4806 def checkinside(self, dt, tz, utc, dston, dstoff): argument 4847 if dt.date() == dstoff.date() and dt.hour == 0: 4876 dstoff = self.dstoff.replace(tzinfo=tz) 4883 self.checkinside(dston, tz, utc, dston, dstoff) 4884 for during in dston + delta, dstoff - delta: 4885 self.checkinside(during, tz, utc, dston, dstoff) 4887 self.checkoutside(dstoff, tz, utc) 4888 for outside in dston - delta, dstoff + delta: 4948 first_std_hour = self.dstoff - timedelta(hours=2) # 23:MM [all …]
|
/external/python/cpython2/Doc/library/ |
D | datetime.rst | 1125 ... self.dstoff = d - timedelta(days=d.weekday() + 1) 1126 ... if self.dston <= dt.replace(tzinfo=None) < self.dstoff: 1140 ... self.dstoff = d - timedelta(days=d.weekday() + 1) 1141 ... if self.dston <= dt.replace(tzinfo=None) < self.dstoff: 1438 # Code to set dston and dstoff to the time zone's DST 1442 if dston <= dt.replace(tzinfo=None) < dstoff:
|
/external/python/dateutil/dateutil/test/ |
D | test_tz.py | 453 dston, dstoff = tzi.transitions(year) 461 t_n = dstoff - timedelta(minutes=30)
|
/external/python/cpython3/Doc/library/ |
D | datetime.rst | 2017 # Code to set dston and dstoff to the time zone's DST 2021 if dston <= dt.replace(tzinfo=None) < dstoff:
|