Searched refs:cache_f (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/tools/deep_memory_profiler/lib/ |
D | symbol.py | 129 def update(self, symbol_type, bucket_set, symbol_finder, cache_f): argument 149 cache_f.seek(0, os.SEEK_SET) 150 self._load(cache_f, symbol_type) 160 cache_f.seek(0, os.SEEK_END) 168 cache_f.write('%x %s\n' % (address, stripped_symbol)) 183 def _load(self, cache_f, symbol_type): argument 185 for line in cache_f:
|
D | subcommand.py | 55 with open(prefix + '.cache.function', 'a+') as cache_f: 58 SymbolFinder(FUNCTION_SYMBOLS, symbol_data_sources), cache_f) 59 with open(prefix + '.cache.typeinfo', 'a+') as cache_f: 62 SymbolFinder(TYPEINFO_SYMBOLS, symbol_data_sources), cache_f) 63 with open(prefix + '.cache.sourcefile', 'a+') as cache_f: 66 SymbolFinder(SOURCEFILE_SYMBOLS, symbol_data_sources), cache_f)
|
/external/chromium_org/tools/deep_memory_profiler/tests/ |
D | dmprof_test.py | 76 cache_f = cStringIO.StringIO() 77 cache_f.write(self._TEST_FUNCTION_CACHE) 83 self.MockSymbolFinder(self._TEST_FUNCTION_DICT), cache_f) 87 self.assertEqual(self._TEST_FUNCTION_CACHE, cache_f.getvalue()) 93 self.MockSymbolFinder(self._TEST_FUNCTION_DICT), cache_f) 97 self.assertEqual(self._EXPECTED_TEST_FUNCTION_CACHE, cache_f.getvalue())
|