/external/chromium-trace/catapult/devil/devil/android/ |
D | battery_utils.py | 200 self._cache = device.GetClientCache(self.__class__.__name__) 217 return (self._cache['profile']['enable_command'] != None 218 and self._cache['profile']['charge_counter'] != None) 239 self._cache['profile']['charge_counter'])) 257 if 'uids' not in self._cache: 258 self._cache['uids'] = {} 259 if package not in self._cache['uids']: 261 if package not in self._cache['uids']: 266 network_data_path = '/proc/uid_stat/%s/' % self._cache['uids'][package] 302 if 'uids' not in self._cache: [all …]
|
D | battery_utils_test.py | 109 self.battery._cache['profile'] = self._NEXUS_5 119 self.battery._cache['profile'] = self._NEXUS_5 129 self.battery._cache['profile'] = self._NEXUS_5 205 self.battery._cache['uids'] = {'test_package1': '1000'} 222 self.battery._cache['uids'] = {'test_package1': '1'} 237 self.battery._cache.clear() 437 self.battery._cache['uids'] = {'test_package1': '1000'} 451 self.battery._cache.clear() 459 self.battery._cache['profile'] = self._NEXUS_6 467 self.battery._cache['profile'] = self._NEXUS_6 [all …]
|
D | device_utils.py | 366 self._cache = {} 480 if 'needs_su' not in self._cache: 484 self._cache['needs_su'] = False 491 self._cache['needs_su'] = True 493 self._cache['needs_su'] = False 494 return self._cache['needs_su'] 514 if 'needs_su' in self._cache: 515 del self._cache['needs_su'] 571 if not self._cache['external_storage']: 574 return self._cache['external_storage'] [all …]
|
/external/python/cpython2/Lib/ |
D | fnmatch.py | 17 _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)
|
D | re.py | 198 _cache.clear() 223 _cache = {} variable 237 p, loc = _cache[cachekey] 253 if len(_cache) >= _MAXCACHE: 254 _cache.clear() 261 _cache[cachekey] = p, loc
|
/external/tensorflow/tensorflow/python/summary/writer/ |
D | writer_cache.py | 35 _cache = {} variable in FileWriterCache 46 for item in FileWriterCache._cache.values(): 48 FileWriterCache._cache = {} 61 if logdir not in FileWriterCache._cache: 62 FileWriterCache._cache[logdir] = FileWriter( 64 return FileWriterCache._cache[logdir]
|
/external/libunwind/doc/ |
D | unw_flush_cache.tex | 8 \begin{Name}{3}{unw\_flush\_cache}{David Mosberger-Tang}{Programming Library}{unw\_flush\_cache}unw… 15 \Type{void} \Func{unw\_flush\_cache}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{unw\_word\_t} \Var{… 19 The \Func{unw\_flush\_cache}() routine flushes all cached info as it 27 \Func{unw\_flush\_cache}() may flush more information than requested, 28 but \emph{never} less. In other words, \Func{unw\_flush\_cache}() may 36 The \Func{unw\_flush\_cache}() routine cannot fail and does not 41 The \Func{unw\_flush\_cache}() routine is thread-safe as well as safe to
|
/external/python/cpython2/Lib/multiprocessing/ |
D | pool.py | 142 self._cache = {} 175 self._pool, self._cache) 183 args=(self._outqueue, self._quick_get, self._cache) 193 self._result_handler, self._cache), 261 result = IMapIterator(self._cache) 268 result = IMapIterator(self._cache) 279 result = IMapUnorderedIterator(self._cache) 286 result = IMapUnorderedIterator(self._cache) 296 result = ApplyResult(self._cache, callback) 316 result = MapResult(self._cache, chunksize, len(iterable), callback) [all …]
|
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)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | resource_sharer.py | 65 self._cache = {} 79 self._cache[self._key] = (send, close) 108 for key, (send, close) in self._cache.items(): 110 self._cache.clear() 113 for key, (send, close) in self._cache.items(): 115 self._cache.clear() 147 send, close = self._cache.pop(key)
|
D | pool.py | 160 self._cache = {} 190 self._pool, self._cache) 198 args=(self._outqueue, self._quick_get, self._cache) 208 self._result_handler, self._cache), 304 result = IMapIterator(self._cache) 317 result = IMapIterator(self._cache) 334 result = IMapUnorderedIterator(self._cache) 346 result = IMapUnorderedIterator(self._cache) 363 result = ApplyResult(self._cache, callback, error_callback) 393 result = MapResult(self._cache, chunksize, len(iterable), callback, [all …]
|
/external/python/cpython2/Lib/compiler/ |
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
|
/external/python/cpython3/Lib/ |
D | re.py | 238 _cache.clear() 268 _cache = {} # ordered! variable 276 return _cache[type(pattern), pattern, flags] 288 if len(_cache) >= _MAXCACHE: 291 del _cache[next(iter(_cache))] 294 _cache[type(pattern), pattern, flags] = p
|
/external/freetype/src/cache/ |
D | ftccache.h | 213 FTC_Cache _cache = FTC_CACHE(cache); \ 223 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \ 234 _nodcomp( _node, query, _cache, &_list_changed ) ) \ 243 _bucket = _pnode = FTC_NODE_TOP_FOR_HASH( _cache, _hash ); \ 268 FTC_Manager _manager = _cache->manager; \ 279 error = FTC_Cache_NewNode( _cache, _hash, query, &_node ); \
|
/external/python/cpython2/Lib/encodings/ |
D | __init__.py | 35 _cache = {} variable 74 entry = _cache.get(encoding, _unknown) 116 _cache[encoding] = None 140 _cache[encoding] = entry
|
/external/autotest/scheduler/ |
D | rdb_cache_manager.py | 182 self._cache = {} 185 return self._cache[key] 188 self._cache[key] = value 191 self._cache.pop(key) 194 return key in self._cache
|
/external/python/cpython3/Lib/encodings/ |
D | __init__.py | 35 _cache = {} variable 74 entry = _cache.get(encoding, _unknown) 118 _cache[encoding] = None 139 _cache[encoding] = entry
|
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
D | Encoder.java | 17 int _cache; field in Encoder 37 _cache = 0; in Init() 57 int temp = _cache; in ShiftLow() 64 _cache = (((int)Low) >>> 24); in ShiftLow()
|
/external/grpc-grpc/tools/run_tests/python_utils/ |
D | watch_dirs.py | 29 self._cache = self._calculate() 57 self._cache = self._calculate() 59 return self._cache
|
/external/lzma/CS/7zip/Compress/RangeCoder/ |
D | RangeCoder.cs | 14 byte _cache; field in SevenZip.Compression.RangeCoder.Encoder 35 _cache = 0; in Init() 69 byte temp = _cache; in ShiftLow() 76 _cache = (byte)(((uint)Low) >> 24); in ShiftLow()
|
/external/python/cpython2/Lib/xml/etree/ |
D | ElementPath.py | 235 _cache = {} variable 252 selector = _cache[path] 254 if len(_cache) > 100: 255 _cache.clear() 272 _cache[path] = selector
|
/external/python/cpython2/Tools/scripts/ |
D | find_recursionlimit.py | 73 def test_cpickle(_cache={}): argument 82 l = _cache[n] 88 _cache[n] = l
|
/external/python/cpython3/Lib/xml/etree/ |
D | ElementPath.py | 253 _cache = {} variable 272 selector = _cache[cache_key] 274 if len(_cache) > 100: 275 _cache.clear() 295 _cache[cache_key] = selector
|
/external/fonttools/Lib/fontTools/encodings/ |
D | codecs.py | 107 _cache = {} variable 112 if name not in _cache: 129 _cache[name] = ExtendCodec(name, base_encoding, mapping) 131 return _cache[name].info
|
/external/python/cpython3/Tools/scripts/ |
D | find_recursionlimit.py | 73 def test_cpickle(_cache={}): argument 83 l = _cache[n] 90 _cache[n] = l
|