OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cache_f
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/tools/deep_memory_profiler/lib/
symbol.py
129
def update(self, symbol_type, bucket_set, symbol_finder,
cache_f
):
132
It reads cached symbol mapping from a symbol cache file |
cache_f
| if it
147
cache_f
: A readable and writable IO object of the symbol cache file.
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):
185
for line in
cache_f
:
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/
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())
Completed in 127 milliseconds