/external/python/cpython3/Lib/test/ |
D | test_strptime.py | 13 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 …]
|
D | test_datetime.py | 44 sys.modules['_strptime'] = module._strptime
|
D | datetimetester.py | 37 import _strptime 2558 expected = _strptime._strptime_datetime(self.theclass, string, format) 2572 expected = _strptime._strptime_datetime(self.theclass, string,
|
/external/python/cpython2/Lib/test/ |
D | test_strptime.py | 12 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 …]
|
D | regrtest.py | 1558 _strptime = sys.modules['_strptime'] 1562 _strptime._regex_cache.clear()
|
D | test_datetime.py | 1589 import _strptime 1593 result, frac = _strptime._strptime(string, format)
|
/external/openssh/openbsd-compat/ |
D | strptime.c | 57 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/ |
D | refleak.py | 205 _strptime = sys.modules['_strptime'] 209 _strptime._regex_cache.clear()
|
/external/python/cpython3/Lib/ |
D | _strptime.py | 309 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)
|
D | datetime.py | 1981 import _strptime 1982 return _strptime._strptime_datetime(cls, date_string, format)
|
/external/python/cpython2/Lib/ |
D | _strptime.py | 299 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/ |
D | provision_devices.py | 25 import _strptime # pylint: disable=unused-import
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a3.rst | 317 _strptime now uniformly handles all days in week 0, including Dec 30 of
|
D | 3.5.2rc1.rst | 1447 _strptime's regexp cache now is reset after changing timezone with
|
D | 3.6.0a1.rst | 2299 _strptime's regexp cache now is reset after changing timezone with
|
D | 3.8.0a1.rst | 4709 Remove unused private method ``_strptime.LocaleTime.__pad`` (a.k.a.
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.10rc1.rst | 291 _strptime now uniformly handles all days in week 0, including Dec 30 of
|
D | 2.7.12rc1.rst | 758 _strptime's regexp cache now is reset after changing timezone with
|
/external/python/cpython2/Misc/ |
D | HISTORY | 3510 - _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/ |
D | HISTORY | 258 - 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.
|