Home
last modified time | relevance | path

Searched refs:_strptime (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_strptime.py13 import _strptime
18 self.assertEqual(_strptime._getlang(), locale.getlocale(locale.LC_TIME))
31 self.LT_ins = _strptime.LocaleTime()
99 LT = _strptime.LocaleTime()
107 self.assertEqual(self.LT_ins.lang, _strptime._getlang())
115 self.time_re = _strptime.TimeRE()
116 self.locale_time = _strptime.LocaleTime()
169 test_locale = _strptime.LocaleTime()
171 self.assertEqual(_strptime.TimeRE(test_locale).pattern("%Z"), '',
184 locale_time = _strptime.LocaleTime()
[all …]
Dtest_datetime.py44 sys.modules['_strptime'] = module._strptime
Ddatetimetester.py37 import _strptime
2558 expected = _strptime._strptime_datetime(self.theclass, string, format)
2572 expected = _strptime._strptime_datetime(self.theclass, string,
/external/python/cpython2/Lib/test/
Dtest_strptime.py12 import _strptime
17 self.assertEqual(_strptime._getlang(), locale.getlocale(locale.LC_TIME))
30 self.LT_ins = _strptime.LocaleTime()
98 LT = _strptime.LocaleTime()
106 self.assertEqual(self.LT_ins.lang, _strptime._getlang())
114 self.time_re = _strptime.TimeRE()
115 self.locale_time = _strptime.LocaleTime()
167 test_locale = _strptime.LocaleTime()
169 self.assertEqual(_strptime.TimeRE(test_locale).pattern("%Z"), '',
182 locale_time = _strptime.LocaleTime()
[all …]
Dregrtest.py1558 _strptime = sys.modules['_strptime']
1562 _strptime._regex_cache.clear()
Dtest_datetime.py1589 import _strptime
1593 result, frac = _strptime._strptime(string, format)
/external/openssh/openbsd-compat/
Dstrptime.c57 static char *_strptime(const char *, const char *, struct tm *, int);
63 return(_strptime(buf, fmt, tm, 1)); in strptime()
67 _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) in _strptime() function
126 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, 0))) in _strptime()
132 if (!(bp = _strptime(bp, "%m/%d/%y", tm, 0))) in _strptime()
138 if (!(bp = _strptime(bp, "%H:%M", tm, 0))) in _strptime()
144 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, 0))) in _strptime()
150 if (!(bp = _strptime(bp, "%H:%M:%S", tm, 0))) in _strptime()
156 if (!(bp = _strptime(bp, _ctloc(t_fmt), tm, 0))) in _strptime()
162 if (!(bp = _strptime(bp, _ctloc(d_fmt), tm, 0))) in _strptime()
/external/python/cpython3/Lib/test/libregrtest/
Drefleak.py205 _strptime = sys.modules['_strptime']
209 _strptime._regex_cache.clear()
/external/python/cpython3/Lib/
D_strptime.py309 def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"): function
562 tt = _strptime(data_string, format)[0]
568 tt, fraction, gmtoff_fraction = _strptime(data_string, format)
Ddatetime.py1981 import _strptime
1982 return _strptime._strptime_datetime(cls, date_string, format)
/external/python/cpython2/Lib/
D_strptime.py299 def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"): function
478 return _strptime(data_string, format)[0]
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py25 import _strptime # pylint: disable=unused-import
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a3.rst317 _strptime now uniformly handles all days in week 0, including Dec 30 of
D3.5.2rc1.rst1447 _strptime's regexp cache now is reset after changing timezone with
D3.6.0a1.rst2299 _strptime's regexp cache now is reset after changing timezone with
D3.8.0a1.rst4709 Remove unused private method ``_strptime.LocaleTime.__pad`` (a.k.a.
/external/python/cpython2/Misc/NEWS.d/
D2.7.10rc1.rst291 _strptime now uniformly handles all days in week 0, including Dec 30 of
D2.7.12rc1.rst758 _strptime's regexp cache now is reset after changing timezone with
/external/python/cpython2/Misc/
DHISTORY3510 - _strptime.py now has a behind-the-scenes caching mechanism for the most
3700 - Removed caching of TimeRE (and thus LocaleTime) in _strptime.py to
3781 contained within the _strptime module.
/external/python/cpython3/Misc/
DHISTORY258 - Issue #6478: _strptime's regexp cache now is reset after changing timezone
642 - Issue #23136: _strptime now uniformly handles all days in week 0, including
20894 - _strptime.py now has a behind-the-scenes caching mechanism for the most
21084 - Removed caching of TimeRE (and thus LocaleTime) in _strptime.py to
21165 contained within the _strptime module.