Searched refs:kBlockHeaderSize (Results 1 – 11 of 11) sorted by relevance
34 const int kBlockHeaderSize = 8192; // Two pages: almost 64k entries variable35 const int kMaxBlocks = (kBlockHeaderSize - 80) * 8;64 COMPILE_ASSERT(sizeof(BlockFileHeader) == kBlockHeaderSize, bad_header);
270 char header[kBlockHeaderSize]; in TEST_F()271 memset(header, 'a', kBlockHeaderSize); in TEST_F()272 EXPECT_EQ(kBlockHeaderSize, in TEST_F()273 base::WriteFile(filename, header, kBlockHeaderSize)); in TEST_F()
365 kBlockHeaderSize; in DeleteBlock()437 kBlockHeaderSize; in IsValid()476 if (!file->Init(name, kBlockHeaderSize)) { in OpenBlockFile()482 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { in OpenBlockFile()503 header->max_entries * header->entry_size + kBlockHeaderSize) { in OpenBlockFile()
288 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CreateEntry()490 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in GetKey()828 kBlockHeaderSize; in InternalReadData()926 kBlockHeaderSize; in InternalWriteData()1195 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CopyToLocalBuffer()1288 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in Flush()
433 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CreateEntry()777 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in GetKey()1029 kBlockHeaderSize; in InternalReadData()1127 kBlockHeaderSize; in InternalWriteData()1373 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in CopyToLocalBuffer()1466 offset = address.start_block() * address.BlockSize() + kBlockHeaderSize; in Flush()
448 kBlockHeaderSize; in InitStats()
115 disk_cache::kBlockHeaderSize; in ReadData()
791 kBlockHeaderSize; in InitStats()816 kBlockHeaderSize; in StoreStats()
1365 kBlockHeaderSize; in InitStats()1390 kBlockHeaderSize; in StoreStats()
76 disk_cache::kBlockHeaderSize; in DumpStats()