Home
last modified time | relevance | path

Searched refs:allocation_observer_hook_ (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc72 PartitionAllocHooks::allocation_observer_hook_(nullptr);
89 CHECK((!allocation_observer_hook_ && !free_observer_hook_) || in SetObserverHooks()
91 allocation_observer_hook_ = alloc_hook; in SetObserverHooks()
94 hooks_enabled_ = allocation_observer_hook_ || allocation_override_hook_; in SetObserverHooks()
109 hooks_enabled_ = allocation_observer_hook_ || allocation_override_hook_; in SetOverrideHooks()
117 allocation_observer_hook_.load(std::memory_order_relaxed)) { in AllocationObserverHookIfEnabled()
155 allocation_observer_hook_.load(std::memory_order_relaxed); in ReallocObserverHookIfEnabled()
Dpartition_alloc.h287 static std::atomic<AllocationObserverHook*> allocation_observer_hook_; variable