MemoryHook 390 tools/memory_watcher/call_stack.cc return MemoryHook::Alloc(size); MemoryHook 197 tools/memory_watcher/memory_hook.cc MemoryHook::hook()->OnTrack(hHeap, reinterpret_cast<int32>(rv), dwBytes); MemoryHook 208 tools/memory_watcher/memory_hook.cc MemoryHook::hook()->OnUntrack(hHeap, reinterpret_cast<int32>(lpMem), size); MemoryHook 257 tools/memory_watcher/memory_hook.cc MemoryHook::hook()->OnTrack(0, reinterpret_cast<int32>(result), size); MemoryHook 272 tools/memory_watcher/memory_hook.cc MemoryHook::hook()->OnUntrack(0, reinterpret_cast<int32>(address), MemoryHook 299 tools/memory_watcher/memory_hook.cc MemoryHook::hook()->OnTrack(0, reinterpret_cast<int32>(result), MemoryHook 334 tools/memory_watcher/memory_hook.cc MemoryHook::hook()->OnUntrack(0, reinterpret_cast<int32>(lpBaseAddress), MemoryHook 414 tools/memory_watcher/memory_hook.cc bool MemoryHook::hooked_ = false; MemoryHook 415 tools/memory_watcher/memory_hook.cc MemoryHook* MemoryHook::global_hook_ = NULL; MemoryHook 417 tools/memory_watcher/memory_hook.cc MemoryHook::MemoryHook() MemoryHook 423 tools/memory_watcher/memory_hook.cc MemoryHook::~MemoryHook() { MemoryHook 430 tools/memory_watcher/memory_hook.cc bool MemoryHook::Initialize() { MemoryHook 432 tools/memory_watcher/memory_hook.cc global_hook_ = new MemoryHook(); MemoryHook 436 tools/memory_watcher/memory_hook.cc bool MemoryHook::Hook() { MemoryHook 476 tools/memory_watcher/memory_hook.cc bool MemoryHook::Unhook() { MemoryHook 508 tools/memory_watcher/memory_hook.cc bool MemoryHook::RegisterWatcher(MemoryObserver* watcher) { MemoryHook 519 tools/memory_watcher/memory_hook.cc bool MemoryHook::UnregisterWatcher(MemoryObserver* watcher) { MemoryHook 531 tools/memory_watcher/memory_hook.cc bool MemoryHook::CreateHeap() { MemoryHook 539 tools/memory_watcher/memory_hook.cc bool MemoryHook::CloseHeap() { MemoryHook 546 tools/memory_watcher/memory_hook.cc void MemoryHook::OnTrack(HANDLE heap, int32 id, int32 size) { MemoryHook 555 tools/memory_watcher/memory_hook.cc void MemoryHook::OnUntrack(HANDLE heap, int32 id, int32 size) { MemoryHook 38 tools/memory_watcher/memory_hook.h return reinterpret_cast<T*>(MemoryHook::Alloc(n * sizeof(T))); MemoryHook 44 tools/memory_watcher/memory_hook.h MemoryHook::Free(p); MemoryHook 90 tools/memory_watcher/memory_hook.h class MemoryHook : MemoryObserver { MemoryHook 123 tools/memory_watcher/memory_hook.h static MemoryHook* hook() { return global_hook_; } MemoryHook 130 tools/memory_watcher/memory_hook.h MemoryHook(); MemoryHook 131 tools/memory_watcher/memory_hook.h ~MemoryHook(); MemoryHook 150 tools/memory_watcher/memory_hook.h static MemoryHook* global_hook_; MemoryHook 31 tools/memory_watcher/memory_watcher.cc MemoryHook::Initialize(); MemoryHook 52 tools/memory_watcher/memory_watcher.cc MemoryHook::RegisterWatcher(this); MemoryHook 58 tools/memory_watcher/memory_watcher.cc MemoryHook::UnregisterWatcher(this); MemoryHook 93 tools/memory_watcher/preamble_patcher.cc MemoryHook::Alloc(sizeof(unsigned char) * MAX_PREAMBLE_STUB_SIZE));