Home
last modified time | relevance | path

Searched refs:_fold (Results 1 – 5 of 5) sorted by relevance

/external/python/dateutil/dateutil/tz/
D_common.py198 _fold = int(delta_wall == (dt_utc.utcoffset() - dt_utc.dst()))
200 _fold = 0
202 return _fold
204 def _fold(self, dt): member in _tzinfo
261 _fold = self._fold_status(dt, dt_wall)
264 return enfold(dt_wall, fold=_fold)
348 _fold = int(not isdst and self.is_ambiguous(dt_wall))
350 return enfold(dt_wall, fold=_fold)
391 return not self._fold(dt)
Dtz.py290 return not self._fold(dt)
806 _fold = self._fold(dt)
811 idx_offset = int(not _fold and self.is_ambiguous(dt, idx))
1180 (dt, self._fold(dt)))]
1207 self._cachedate.insert(0, (dt, self._fold(dt)))
1217 if comp.tzoffsetdiff < ZERO and self._fold(dt):
/external/python/cpython3/Lib/email/
Dpolicy.py184 return self._fold(name, value, refold_binary=True)
200 folded = self._fold(name, value, refold_binary=self.cte_type=='7bit')
204 def _fold(self, name, value, refold_binary=False): member in EmailPolicy
D_policybase.py326 return self._fold(name, value, sanitize=True)
337 folded = self._fold(name, value, sanitize=self.cte_type=='7bit')
340 def _fold(self, name, value, sanitize): member in Compat32
/external/python/cpython3/Lib/
Ddatetime.py1306 self._fold = fold
1337 return self._fold
1443 if self._fold:
1550 fold = self._fold
1559 if self._fold and protocol > 3:
1573 self._fold = 1
1576 self._fold = 0
1634 self._fold = fold
1665 return self._fold
1706 result._fold = 1
[all …]