Searched refs:free_count_ (Results 1 – 2 of 2) sorted by relevance
183 unsigned int free_count() { return free_count_; } in free_count()194 unsigned int free_count_; // number of available allocations member in android::Chunk237 free_count_(max_allocations_), in Chunk()244 return free_count_ == max_allocations_; in Empty()248 assert(free_count_ > 0); in Alloc()263 free_count_--; in Alloc()264 if (free_count_ == 0) { in Alloc()282 free_count_++; in Free()288 if (free_count_ == 1) { in Free()
315 SingleAllocator() : alloc_count_(0), free_count_(0) {} in SingleAllocator()318 EXPECT_EQ(free_count_, 1u); in ~SingleAllocator()323 EXPECT_EQ(alloc_count_, free_count_); in Alloc()329 ++free_count_; in Free()336 return free_count_; in FreeCount()342 uint32_t free_count_; member in art::SingleAllocator