Searched refs:memory_hook_ (Results 1 – 2 of 2) sorted by relevance
333 assert(memory_hook_ != nullptr); in Alloc()334 T* const ptr = reinterpret_cast<T*>(memory_hook_->Alloc(sizeof(T) * num)); in Alloc()339 memory_hook_->Free(reinterpret_cast<void*>(ptr)); in Free()415 MemoryManager* memory_hook_; member
156 memory_hook_(&kDefaultMemory) { in Encoder()2070 memory_hook_ = (param.memory == nullptr) ? &kDefaultMemory : param.memory; in InitFromParam()