Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/blockfile/
Dblock_files.cc58 DCHECK(size > 0 && size <= kMaxNumBlocks); in CreateMapBlock()
60 for (int i = size; i <= kMaxNumBlocks; i++) { in CreateMapBlock()
118 if (size < 0 || size > kMaxNumBlocks) { in DeleteMapBlock()
157 if (size < 0 || size > kMaxNumBlocks) in UsedMapBlock()
169 for (int i = 0; i < kMaxNumBlocks; i++) { in FixAllocationCounters()
188 for (int i = 0; i < kMaxNumBlocks; i++) { in NeedToGrowBlockFile()
205 for (int i = block_count - 1; i < kMaxNumBlocks; i++) { in CanAllocate()
215 for (int i = 0; i < kMaxNumBlocks; i++) { in EmptyBlocks()
224 return header_->empty[kMaxNumBlocks - 1]; in MinimumAllocations()
318 if (block_count < 1 || block_count > kMaxNumBlocks) in CreateBlock()
Daddr.h33 const int kMaxNumBlocks = 4; variable