Searched refs:max_nof_chunks_ (Results 1 – 3 of 3) sorted by relevance
291 max_nof_chunks_(0), in MemoryAllocator()297 ASSERT(max_nof_chunks_ > 0); in Push()298 ASSERT(top_ < max_nof_chunks_); in Push()323 max_nof_chunks_ = in Setup()325 if (max_nof_chunks_ > kMaxNofChunks) return false; in Setup()330 for (int i = max_nof_chunks_ - 1; i >= 0; i--) { in Setup()334 top_ = max_nof_chunks_; in Setup()340 for (int i = 0; i < max_nof_chunks_; i++) { in TearDown()352 ASSERT(top_ == max_nof_chunks_); // all chunks are free in TearDown()357 max_nof_chunks_ = 0; in TearDown()
328 return (0 <= chunk_id) && (chunk_id < max_nof_chunks_); in IsValidChunkId()
739 int max_nof_chunks_; variable