Home
last modified time | relevance | path

Searched refs:MemoryHeader (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/debug/
Dactivity_tracker.cc331 ActivityUserData::MemoryHeader::MemoryHeader() = default;
332 ActivityUserData::MemoryHeader::~MemoryHeader() = default;
341 header_(reinterpret_cast<MemoryHeader*>(memory)), in ActivityUserData()
349 static_assert(0 == sizeof(MemoryHeader) % kMemoryAlignment, "invalid header"); in ActivityUserData()
350 DCHECK_LT(sizeof(MemoryHeader), available_); in ActivityUserData()
353 memory_ += sizeof(MemoryHeader); in ActivityUserData()
354 available_ -= sizeof(MemoryHeader); in ActivityUserData()
444 const MemoryHeader* header = reinterpret_cast<const MemoryHeader*>(memory); in GetOwningProcessId()
Dactivity_tracker.h492 struct MemoryHeader { struct
493 MemoryHeader();
494 ~MemoryHeader();
554 MemoryHeader* const header_;
Dactivity_tracker_unittest.cc114 size_t space = sizeof(buffer) - sizeof(ActivityUserData::MemoryHeader); in TEST_F()