Home
last modified time | relevance | path

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

/external/chromium_org/net/disk_cache/blockfile/
Dblock_files.cc57 DCHECK(size > 0 && size <= kMaxNumBlocks); in CreateMapBlock()
59 for (int i = size; i <= kMaxNumBlocks; i++) { in CreateMapBlock()
117 if (size < 0 || size > kMaxNumBlocks) { in DeleteMapBlock()
156 if (size < 0 || size > kMaxNumBlocks) in UsedMapBlock()
172 for (int i = 0; i < kMaxNumBlocks; i++) { in FixAllocationCounters()
191 for (int i = 0; i < kMaxNumBlocks; i++) { in NeedToGrowBlockFile()
208 for (int i = block_count - 1; i < kMaxNumBlocks; i++) { in CanAllocate()
218 for (int i = 0; i < kMaxNumBlocks; i++) { in EmptyBlocks()
227 return header_->empty[kMaxNumBlocks - 1]; in MinimumAllocations()
325 if (block_count < 1 || block_count > kMaxNumBlocks) in CreateBlock()
[all …]
Daddr.h29 const int kMaxNumBlocks = 4; variable
Dblock_bitmaps_v3.cc31 if (block_count < 1 || block_count > kMaxNumBlocks) in CreateBlock()