Searched refs:next_alloc_offset_ (Results 1 – 2 of 2) sorted by relevance
40 next_alloc_offset_(0), in ProtectedMemoryAllocator()63 if (valid_ && next_alloc_offset_ + bytes <= pool_size_) { in Allocate()64 char *p = (char*)base_address_ + next_alloc_offset_; in Allocate()65 next_alloc_offset_ += bytes; in Allocate()
66 vm_size_t GetAllocatedSize() { return next_alloc_offset_; } in GetAllocatedSize()69 vm_size_t GetFreeSize() { return pool_size_ - next_alloc_offset_; } in GetFreeSize()81 vm_size_t next_alloc_offset_; variable