OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MemoryHook
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/tools/memory_watcher/
memory_hook.h
15
// When allocating memory for internal use with the
MemoryHook
,
16
// we must always use the
MemoryHook
's heap; otherwise, the memory
18
//
MemoryHook
() which calls allocation(), etc).
21
// maps, etc can be used on the global
MemoryHook
's heap.
38
return reinterpret_cast<T*>(
MemoryHook
::Alloc(n * sizeof(T)));
44
MemoryHook
::Free(p);
90
class
MemoryHook
: MemoryObserver {
92
// Initialize the
MemoryHook
. Must be called before
110
//
MemoryHook
provides a private heap for allocating
123
static
MemoryHook
* hook() { return global_hook_;
[
all
...]
memory_hook.cc
197
MemoryHook
::hook()->OnTrack(hHeap, reinterpret_cast<int32>(rv), dwBytes);
208
MemoryHook
::hook()->OnUntrack(hHeap, reinterpret_cast<int32>(lpMem), size);
257
MemoryHook
::hook()->OnTrack(0, reinterpret_cast<int32>(result), size);
272
MemoryHook
::hook()->OnUntrack(0, reinterpret_cast<int32>(address),
299
MemoryHook
::hook()->OnTrack(0, reinterpret_cast<int32>(result),
334
MemoryHook
::hook()->OnUntrack(0, reinterpret_cast<int32>(lpBaseAddress),
414
bool
MemoryHook
::hooked_ = false;
415
MemoryHook
*
MemoryHook
::global_hook_ = NULL;
417
MemoryHook
::MemoryHook(
[
all
...]
memory_watcher.cc
31
MemoryHook
::Initialize();
45
// Pointers in the block_map are part of the
MemoryHook
heap. Be sure
52
MemoryHook
::RegisterWatcher(this);
58
MemoryHook
::UnregisterWatcher(this);
preamble_patcher.cc
93
MemoryHook
::Alloc(sizeof(unsigned char) * MAX_PREAMBLE_STUB_SIZE));
call_stack.cc
166
// the
MemoryHook
heap is alive.
333
strstr(symbol->Name, "
MemoryHook
::") ) {
390
return
MemoryHook
::Alloc(size);
Completed in 30 milliseconds