Home
last modified time | relevance | path

Searched refs:_cache (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfnmatch.py17 _cache = {} variable
22 _cache.clear()
50 if not pat in _cache:
52 if len(_cache) >= _MAXCACHE:
53 _cache.clear()
54 _cache[pat] = re.compile(res)
55 match=_cache[pat].match
74 if not pat in _cache:
76 if len(_cache) >= _MAXCACHE:
77 _cache.clear()
[all …]
Dre.py194 _cache.clear()
221 _cache = {} variable
231 p = _cache.get(cachekey)
245 if len(_cache) >= _MAXCACHE:
246 _cache.clear()
247 _cache[cachekey] = p
Dfilecmp.py18 _cache = {} variable
51 result = _cache.get((f1, f2))
55 _cache[f1, f2] = s1, s2, outcome
Dsite.py484 encodings._cache[enc] = encodings._unknown
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dfnmatch.py17 _cache = {} variable
22 _cache.clear()
51 re_pat = _cache[pat]
54 if len(_cache) >= _MAXCACHE:
55 _cache.clear()
56 _cache[pat] = re_pat = re.compile(res)
77 re_pat = _cache[pat]
80 if len(_cache) >= _MAXCACHE:
81 _cache.clear()
82 _cache[pat] = re_pat = re.compile(res)
Dre.py198 _cache.clear()
223 _cache = {} variable
237 p, loc = _cache[cachekey]
253 if len(_cache) >= _MAXCACHE:
254 _cache.clear()
261 _cache[cachekey] = p, loc
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dvisitor.py36 self._cache = {}
45 meth = self._cache.get(klass, None)
49 self._cache[klass] = meth
76 meth = self._cache.get(node.__class__, None)
80 self._cache[node.__class__] = meth
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
D__init__.py35 _cache = {} variable
74 entry = _cache.get(encoding, _unknown)
116 _cache[encoding] = None
140 _cache[encoding] = entry
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
D__init__.py35 _cache = {} variable
74 entry = _cache.get(encoding, _unknown)
116 _cache[encoding] = None
140 _cache[encoding] = entry
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_fnmatch.py6 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache
7 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache, _purge
65 self.assertLessEqual(len(_cache), _MAXCACHE)
Dtest_xml_etree.py1855 self._path_cache = ElementTree.ElementPath._cache
1859 ElementTree.ElementPath._cache = self._path_cache.copy()
1866 ElementTree.ElementPath._cache = self._path_cache
Dtest_multiprocessing.py2022 self._cache = []
2023 return self._cache
2030 self._cache = []
Dregrtest.py1076 filecmp._cache.clear()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfind_recursionlimit.py73 def test_cpickle(_cache={}): argument
82 l = _cache[n]
88 _cache[n] = l
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementPath.py235 _cache = {} variable
252 selector = _cache[path]
254 if len(_cache) > 100:
255 _cache.clear()
272 _cache[path] = selector
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementPath.py235 _cache = {} variable
252 selector = _cache[path]
254 if len(_cache) > 100:
255 _cache.clear()
272 _cache[path] = selector