/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | fnmatch.py | 17 _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 [all...] |
H A D | re.py | 194 _cache.clear() 219 _cache = {} variable 229 p = _cache.get(cachekey) 243 if len(_cache) >= _MAXCACHE: 244 _cache.clear() 245 _cache[cachekey] = p
|
H A D | filecmp.py | 18 _cache = {} variable 51 outcome = _cache.get((f1, f2, s1, s2)) 54 if len(_cache) > 100: # limit the maximum size of the cache 55 _cache.clear() 56 _cache[f1, f2, s1, s2] = outcome
|
H A D | site.py | 472 encodings._cache[enc] = encodings._unknown
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | fnmatch.py | 17 _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 [all...] |
H A D | re.py | 194 _cache.clear() 219 _cache = {} variable 229 p = _cache.get(cachekey) 243 if len(_cache) >= _MAXCACHE: 244 _cache.clear() 245 _cache[cachekey] = p
|
H A D | filecmp.py | 18 _cache = {} variable 51 outcome = _cache.get((f1, f2, s1, s2)) 54 if len(_cache) > 100: # limit the maximum size of the cache 55 _cache.clear() 56 _cache[f1, f2, s1, s2] = outcome
|
H A D | site.py | 472 encodings._cache[enc] = encodings._unknown
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
H A D | __init__.py | 35 _cache = {} variable 74 entry = _cache.get(encoding, _unknown) 116 _cache[encoding] = None 140 _cache[encoding] = entry
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
H A D | __init__.py | 35 _cache = {} variable 74 entry = _cache.get(encoding, _unknown) 116 _cache[encoding] = None 140 _cache[encoding] = entry
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | test_fnmatch.py | 6 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache namespace 7 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache, _purge namespace 65 self.assertLessEqual(len(_cache), _MAXCACHE)
|
H A D | test_xml_etree.py | 449 >>> cache_len_10 = len(ET.ElementPath._cache) 451 >>> len(ET.ElementPath._cache) == cache_len_10 454 >>> len(ET.ElementPath._cache) > cache_len_10 457 >>> len(ET.ElementPath._cache) < 500 1876 self._path_cache = ElementTree.ElementPath._cache 1880 ElementTree.ElementPath._cache = self._path_cache.copy() 1887 ElementTree.ElementPath._cache = self._path_cache
|
H A D | test_multiprocessing.py | 2321 self._cache = [] 2322 return self._cache 2329 self._cache = []
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | test_fnmatch.py | 6 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache namespace 7 from fnmatch import fnmatch, fnmatchcase, _MAXCACHE, _cache, _purge namespace 65 self.assertLessEqual(len(_cache), _MAXCACHE)
|
H A D | test_xml_etree.py | 449 >>> cache_len_10 = len(ET.ElementPath._cache) 451 >>> len(ET.ElementPath._cache) == cache_len_10 454 >>> len(ET.ElementPath._cache) > cache_len_10 457 >>> len(ET.ElementPath._cache) < 500 1876 self._path_cache = ElementTree.ElementPath._cache 1880 ElementTree.ElementPath._cache = self._path_cache.copy() 1887 ElementTree.ElementPath._cache = self._path_cache
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/compiler/ |
H A D | visitor.py | 36 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
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/compiler/ |
H A D | visitor.py | 36 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
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
H A D | reduction.py | 89 _cache = set() variable 92 global _lock, _listener, _cache 93 for h in _cache: 95 _cache.clear() 126 _cache.remove(handle_wanted) 146 _cache.add(dup_handle)
|
H A D | pool.py | 140 self._cache = {} 180 args=(self._outqueue, self._quick_get, self._cache) 190 self._result_handler, self._cache), 258 result = IMapIterator(self._cache) 265 result = IMapIterator(self._cache) 276 result = IMapUnorderedIterator(self._cache) 283 result = IMapUnorderedIterator(self._cache) 293 result = ApplyResult(self._cache, callback) 313 result = MapResult(self._cache, chunksize, len(iterable), callback) 324 while thread._state == RUN or (pool._cache an [all...] |
H A D | managers.py | 884 def MakeProxyType(name, exposed, _cache={}): 890 return _cache[(name, exposed)] 902 _cache[(name, exposed)] = ProxyType
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
H A D | reduction.py | 89 _cache = set() variable 92 global _lock, _listener, _cache 93 for h in _cache: 95 _cache.clear() 126 _cache.remove(handle_wanted) 146 _cache.add(dup_handle)
|
H A D | pool.py | 140 self._cache = {} 180 args=(self._outqueue, self._quick_get, self._cache) 190 self._result_handler, self._cache), 258 result = IMapIterator(self._cache) 265 result = IMapIterator(self._cache) 276 result = IMapUnorderedIterator(self._cache) 283 result = IMapUnorderedIterator(self._cache) 293 result = ApplyResult(self._cache, callback) 313 result = MapResult(self._cache, chunksize, len(iterable), callback) 324 while thread._state == RUN or (pool._cache an [all...] |
H A D | managers.py | 884 def MakeProxyType(name, exposed, _cache={}): 890 return _cache[(name, exposed)] 902 _cache[(name, exposed)] = ProxyType
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/etree/ |
H A D | ElementPath.py | 235 _cache = {} variable 252 selector = _cache[path] 254 if len(_cache) > 100: 255 _cache.clear() 272 _cache[path] = selector
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/etree/ |
H A D | ElementPath.py | 235 _cache = {} variable 252 selector = _cache[path] 254 if len(_cache) > 100: 255 _cache.clear() 272 _cache[path] = selector
|