HomeSort by relevance Sort by last modified time
    Searched defs:MemoryHook (Results 1 - 2 of 2) 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...]

Completed in 225 milliseconds