Home
last modified time | relevance | path

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

/external/python/dateutil/dateutil/tz/
D_common.py194 _fold = int(delta_wall == (dt_utc.utcoffset() - dt_utc.dst()))
196 _fold = 0
198 return _fold
200 def _fold(self, dt): member in _tzinfo
257 _fold = self._fold_status(dt, dt_wall)
260 return enfold(dt_wall, fold=_fold)
344 _fold = int(not isdst and self.is_ambiguous(dt_wall))
346 return enfold(dt_wall, fold=_fold)
387 return not self._fold(dt)
Dtz.py284 return not self._fold(dt)
746 _fold = self._fold(dt)
751 idx_offset = int(not _fold and self.is_ambiguous(dt, idx))
1118 (dt, self._fold(dt)))]
1145 self._cachedate.insert(0, (dt, self._fold(dt)))
1155 if comp.tzoffsetdiff < ZERO and self._fold(dt):
/external/python/cpython3/Lib/email/
Dpolicy.py183 return self._fold(name, value, refold_binary=True)
199 folded = self._fold(name, value, refold_binary=self.cte_type=='7bit')
203 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.py1223 self._fold = fold
1254 return self._fold
1360 if self._fold:
1466 fold = self._fold
1475 if self._fold and protocol > 3:
1489 self._fold = 1
1492 self._fold = 0
1549 self._fold = fold
1580 return self._fold
1621 result._fold = 1
[all …]