Home
last modified time | relevance | path

Searched refs:kMaxBlockSize (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/net/disk_cache/v3/
Dentry_impl_v3.cc41 buffer_.reserve(kMaxBlockSize); in UserBuffer()
45 backend_->BufferDeleted(capacity() - kMaxBlockSize); in ~UserBuffer()
100 if (!Size() && offset > kMaxBlockSize) in PreWrite()
124 if (!Size() && offset > kMaxBlockSize) in Write()
202 backend_->BufferDeleted(capacity() - kMaxBlockSize); in Reset()
206 buffer_.reserve(kMaxBlockSize); in Reset()
224 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer()
357 ((stored->key_len < kMaxBlockSize && key_addr.is_separate_file()) || in SanityCheck()
358 (stored->key_len >= kMaxBlockSize && key_addr.is_block_file()))) in SanityCheck()
390 if (data_size <= kMaxBlockSize && data_addr.is_separate_file()) in DataSanityCheck()
[all …]
/external/chromium/net/disk_cache/
Dentry_impl.cc95 buffer_.reserve(kMaxBlockSize); in UserBuffer()
99 backend_->BufferDeleted(capacity() - kMaxBlockSize); in ~UserBuffer()
154 if (!Size() && offset > kMaxBlockSize) in PreWrite()
178 if (!Size() && offset > kMaxBlockSize) in Write()
256 backend_->BufferDeleted(capacity() - kMaxBlockSize); in Reset()
260 buffer_.reserve(kMaxBlockSize); in Reset()
278 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer()
606 ((stored->key_len <= kMaxBlockSize && key_addr.is_separate_file()) || in SanityCheck()
607 (stored->key_len > kMaxBlockSize && key_addr.is_block_file()))) in SanityCheck()
639 if (data_size <= kMaxBlockSize && data_addr.is_separate_file()) in DataSanityCheck()
[all …]
Daddr.h24 const int kMaxBlockSize = 4096 * 4; variable
/external/chromium_org/net/disk_cache/
Dentry_impl.cc96 buffer_.reserve(kMaxBlockSize); in UserBuffer()
100 backend_->BufferDeleted(capacity() - kMaxBlockSize); in ~UserBuffer()
155 if (!Size() && offset > kMaxBlockSize) in PreWrite()
179 if (!Size() && offset > kMaxBlockSize) in Write()
257 backend_->BufferDeleted(capacity() - kMaxBlockSize); in Reset()
261 buffer_.reserve(kMaxBlockSize); in Reset()
279 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer()
603 ((stored->key_len < kMaxBlockSize && key_addr.is_separate_file()) || in SanityCheck()
604 (stored->key_len >= kMaxBlockSize && key_addr.is_block_file()))) in SanityCheck()
636 if (data_size <= kMaxBlockSize && data_addr.is_separate_file()) in DataSanityCheck()
[all …]
Daddr.h27 const int kMaxBlockSize = 4096 * 4; variable
Dblock_files.cc661 const int kMaxBlockSize = 4096; in FixBlockFileHeader() local
664 header->entry_size > kMaxBlockSize || header->num_entries < 0) in FixBlockFileHeader()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp172 UInt32 kMaxBlockSize = (1 << 20); in Read() local
173 if (size > kMaxBlockSize) in Read()
174 size = kMaxBlockSize; in Read()
/external/v8/src/
Dspaces.h1399 static const int kMaxBlockSize = Page::kMaxNonCodeHeapObjectSize; variable
Dspaces.cc1973 ASSERT(size_in_bytes <= kMaxBlockSize); in Allocate()
/external/chromium_org/v8/src/
Dspaces.h1633 static const int kMaxBlockSize = Page::kMaxNonCodeHeapObjectSize; variable
Dspaces.cc2370 ASSERT(size_in_bytes <= kMaxBlockSize); in Allocate()