Home
last modified time | relevance | path

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

/art/libartbase/base/
Dscoped_arena_allocator.h36 enum class ArenaFreeTag : uint8_t { enum
67 static ArenaFreeTag& ArenaTagForAllocation(void* ptr) { in ArenaTagForAllocation()
69 return *(reinterpret_cast<ArenaFreeTag*>(ptr) - 1); in ArenaTagForAllocation()
111 ArenaTagForAllocation(ptr) = ArenaFreeTag::kUsed; in Alloc()
Dscoped_arena_containers.h247 CHECK(ArenaStack::ArenaTagForAllocation(reinterpret_cast<void*>(ptr)) == ArenaFreeTag::kUsed) in ProtectMemory()
249 ArenaStack::ArenaTagForAllocation(reinterpret_cast<void*>(ptr)) = ArenaFreeTag::kFree; in ProtectMemory()