Home
last modified time | relevance | path

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

/external/chromium_org/net/disk_cache/
Dblock_files.cc56 DCHECK(size > 0 && size <= kMaxNumBlocks); in CreateMapBlock()
58 for (int i = size; i <= kMaxNumBlocks; i++) { in CreateMapBlock()
116 if (size < 0 || size > kMaxNumBlocks) { in DeleteMapBlock()
155 if (size < 0 || size > kMaxNumBlocks) in UsedMapBlock()
171 for (int i = 0; i < kMaxNumBlocks; i++) { in FixAllocationCounters()
190 for (int i = 0; i < kMaxNumBlocks; i++) { in NeedToGrowBlockFile()
207 for (int i = block_count - 1; i < kMaxNumBlocks; i++) { in CanAllocate()
217 for (int i = 0; i < kMaxNumBlocks; i++) { in EmptyBlocks()
226 return header_->empty[kMaxNumBlocks - 1]; in MinimumAllocations()
324 if (block_count < 1 || block_count > kMaxNumBlocks) in CreateBlock()
[all …]
Daddr.h29 const int kMaxNumBlocks = 4; variable
/external/chromium/net/disk_cache/
Dblock_files.cc41 if (target <= 0 || target > disk_cache::kMaxNumBlocks || in CreateMapBlock()
42 size <= 0 || size > disk_cache::kMaxNumBlocks) { in CreateMapBlock()
89 if (size < 0 || size > disk_cache::kMaxNumBlocks) { in DeleteMapBlock()
129 if (size < 0 || size > disk_cache::kMaxNumBlocks) { in UsedMapBlock()
148 for (int i = 0; i < disk_cache::kMaxNumBlocks; i++) { in FixAllocationCounters()
170 for (int i = 0; i < disk_cache::kMaxNumBlocks; i++) { in NeedToGrowBlockFile()
Daddr.h26 const int kMaxNumBlocks = 4; variable
/external/chromium_org/net/disk_cache/v3/
Dblock_bitmaps.cc31 if (block_count < 1 || block_count > kMaxNumBlocks) in CreateBlock()