Home
last modified time | relevance | path

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

/external/python/dateutil/dateutil/tz/
D_common.py329 dston, dstoff = transitions
332 dstoff -= self._std_offset
334 utc_transitions = (dston, dstoff)
392 dston, dstoff = transitions
396 if dston < dstoff:
397 isdst = dston <= dt < dstoff
399 isdst = not dstoff <= dt < dston
Dwin.py173 dstoff = picknthweekday(year, self._stdmonth, self._stddayofweek,
178 dstoff -= self._dst_base_offset
180 return dston, dstoff
/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/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.h283 struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom,
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Ddisasm-a3xx.c485 int src1off = 0, dstoff = 0; in print_instr_cat6() local
715 dstoff = cat6->c.off; in print_instr_cat6()
738 if (dstoff) in print_instr_cat6()
739 printf("%+d", dstoff); in print_instr_cat6()
/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.py4543 dstoff = datetime(2002, 10, 27, 1) variable in TestTimezoneConversions
4548 def checkinside(self, dt, tz, utc, dston, dstoff): argument
4589 if dt.date() == dstoff.date() and dt.hour == 0:
4618 dstoff = self.dstoff.replace(tzinfo=tz)
4625 self.checkinside(dston, tz, utc, dston, dstoff)
4626 for during in dston + delta, dstoff - delta:
4627 self.checkinside(during, tz, utc, dston, dstoff)
4629 self.checkoutside(dstoff, tz, utc)
4630 for outside in dston - delta, dstoff + delta:
4690 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/cpython3/Doc/library/
Ddatetime.rst1358 ... self.dstoff = d - timedelta(days=d.weekday() + 1)
1359 ... if self.dston <= dt.replace(tzinfo=None) < self.dstoff:
1373 ... self.dstoff = d - timedelta(days=d.weekday() + 1)
1374 ... if self.dston <= dt.replace(tzinfo=None) < self.dstoff:
1758 # Code to set dston and dstoff to the time zone's DST
1762 if dston <= dt.replace(tzinfo=None) < dstoff:
/external/python/dateutil/dateutil/test/
Dtest_tz.py448 dston, dstoff = tzi.transitions(year)
456 t_n = dstoff - timedelta(minutes=30)