Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
/external/python/dateutil/dateutil/tz/
D_common.py333 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
Dwin.py185 dstoff = picknthweekday(year, self._stdmonth, self._stddayofweek,
190 dstoff -= self._dst_base_offset
192 return dston, dstoff
/external/python/cpython3/Modules/
D_zoneinfo.c20 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/
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;
/external/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()
/external/icu/libicu/cts_headers/
Dolsontz.h191 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) const;
298 int32_t& rawoff, int32_t& dstoff) const;
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_transfer.h36 struct nouveau_bo *, unsigned dstoff, unsigned dstdom,
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c204 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()
Dnv50_context.h285 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom,
/external/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()
/external/python/cpython2/Lib/test/
Dtest_datetime.py3123 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/
Ddatetimetester.py4801 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/
Ddatetime.rst1125 ... 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/
Dtest_tz.py453 dston, dstoff = tzi.transitions(year)
461 t_n = dstoff - timedelta(minutes=30)
/external/python/cpython3/Doc/library/
Ddatetime.rst2017 # Code to set dston and dstoff to the time zone's DST
2021 if dston <= dt.replace(tzinfo=None) < dstoff: