Home
last modified time | relevance | path

Searched refs:kBlockHeaderSize (Results 1 – 6 of 6) sorted by relevance

/external/chromium/net/disk_cache/
Ddisk_format.h162 const int kBlockHeaderSize = 8192; // Two pages: almost 64k entries variable
163 const int kMaxBlocks = (kBlockHeaderSize - 80) * 8;
193 COMPILE_ASSERT(sizeof(BlockFileHeader) == kBlockHeaderSize, bad_header);
Dblock_files_unittest.cc219 char header[kBlockHeaderSize]; in TEST_F()
220 memset(header, 'a', kBlockHeaderSize); in TEST_F()
221 EXPECT_EQ(kBlockHeaderSize, in TEST_F()
222 file_util::WriteFile(filename, header, kBlockHeaderSize)); in TEST_F()
Dblock_files.cc292 kBlockHeaderSize; in DeleteBlock()
361 kBlockHeaderSize; in IsValid()
399 if (!file->Init(name, kBlockHeaderSize)) { in OpenBlockFile()
405 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { in OpenBlockFile()
423 header->max_entries * header->entry_size + kBlockHeaderSize) { in OpenBlockFile()
Dstats.cc78 kBlockHeaderSize; in LoadStats()
101 kBlockHeaderSize; in StoreStats()
Dentry_impl.cc430 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CreateEntry()
760 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in GetKey()
978 kBlockHeaderSize; in InternalReadData()
1066 kBlockHeaderSize; in InternalWriteData()
1299 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CopyToLocalBuffer()
1392 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in Flush()
Dsparse_control.cc114 disk_cache::kBlockHeaderSize; in ReadData()