Home
last modified time | relevance | path

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

/external/python/cpython3/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 …]
Dtest_datetime.py44 sys.modules['_strptime'] = module._strptime
Ddatetimetester.py38 import _strptime
2370 expected = _strptime._strptime_datetime(self.theclass, string, format)
2384 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.py185 _strptime = sys.modules['_strptime']
189 _strptime._regex_cache.clear()
/external/python/cpython3/Lib/
D_strptime.py318 def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"): function
571 tt = _strptime(data_string, format)[0]
577 tt, fraction, gmtoff_fraction = _strptime(data_string, format)
Ddatetime.py1902 import _strptime
1903 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.py26 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.rst1448 _strptime's regexp cache now is reset after changing timezone with
D3.6.0a1.rst2300 _strptime's regexp cache now is reset after changing timezone with
/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.