Searched refs:_regex_cache (Results 1 – 11 of 11) sorted by relevance
/aosp_15_r20/external/python/cpython2/Lib/ |
D | _strptime.py | 276 _regex_cache = {} variable 301 global _TimeRE_cache, _regex_cache 308 _regex_cache.clear() 310 if len(_regex_cache) > _CACHE_MAX_SIZE: 311 _regex_cache.clear() 312 format_regex = _regex_cache.get(format) 328 _regex_cache[format] = format_regex
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | _strptime.py | 270 _regex_cache = {} variable 319 global _TimeRE_cache, _regex_cache 326 _regex_cache.clear() 328 if len(_regex_cache) > _CACHE_MAX_SIZE: 329 _regex_cache.clear() 330 format_regex = _regex_cache.get(format) 346 _regex_cache[format] = format_regex
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | _strptime.py | 270 _regex_cache = {} variable 319 global _TimeRE_cache, _regex_cache 326 _regex_cache.clear() 328 if len(_regex_cache) > _CACHE_MAX_SIZE: 329 _regex_cache.clear() 330 format_regex = _regex_cache.get(format) 346 _regex_cache[format] = format_regex
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | _strptime.py | 270 _regex_cache = {} variable 319 global _TimeRE_cache, _regex_cache 326 _regex_cache.clear() 328 if len(_regex_cache) > _CACHE_MAX_SIZE: 329 _regex_cache.clear() 330 format_regex = _regex_cache.get(format) 346 _regex_cache[format] = format_regex
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | _strptime.py | 270 _regex_cache = {} variable 319 global _TimeRE_cache, _regex_cache 326 _regex_cache.clear() 328 if len(_regex_cache) > _CACHE_MAX_SIZE: 329 _regex_cache.clear() 330 format_regex = _regex_cache.get(format) 346 _regex_cache[format] = format_regex
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | _strptime.py | 270 _regex_cache = {} variable 319 global _TimeRE_cache, _regex_cache 326 _regex_cache.clear() 328 if len(_regex_cache) > _CACHE_MAX_SIZE: 329 _regex_cache.clear() 330 format_regex = _regex_cache.get(format) 346 _regex_cache[format] = format_regex
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | _strptime.py | 270 _regex_cache = {} variable 319 global _TimeRE_cache, _regex_cache 326 _regex_cache.clear() 328 if len(_regex_cache) > _CACHE_MAX_SIZE: 329 _regex_cache.clear() 330 format_regex = _regex_cache.get(format) 346 _regex_cache[format] = format_regex
|
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_strptime.py | 531 self.assertEqual(len(_strptime._regex_cache), 1) 536 del _strptime._regex_cache['%d'] 540 while len(_strptime._regex_cache) <= _strptime._CACHE_MAX_SIZE: 541 _strptime._regex_cache[bogus_key] = None 544 self.assertEqual(len(_strptime._regex_cache), 1)
|
D | regrtest.py | 1562 _strptime._regex_cache.clear()
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_strptime.py | 658 self.assertEqual(len(_strptime._regex_cache), 1) 663 del _strptime._regex_cache['%d'] 667 while len(_strptime._regex_cache) <= _strptime._CACHE_MAX_SIZE: 668 _strptime._regex_cache[bogus_key] = None 671 self.assertEqual(len(_strptime._regex_cache), 1)
|
/aosp_15_r20/external/python/cpython3/Lib/test/libregrtest/ |
D | utils.py | 148 _strptime._regex_cache.clear()
|