Home
last modified time | relevance | path

Searched refs:BlockFileHeader (Results 1 – 16 of 16) sorted by relevance

/external/chromium/net/disk_cache/
Dblock_files.cc34 void FixAllocationCounters(disk_cache::BlockFileHeader* header);
39 bool CreateMapBlock(int target, int size, disk_cache::BlockFileHeader* header, in CreateMapBlock()
88 void DeleteMapBlock(int index, int size, disk_cache::BlockFileHeader* header) { in DeleteMapBlock()
128 bool UsedMapBlock(int index, int size, disk_cache::BlockFileHeader* header) { in UsedMapBlock()
147 void FixAllocationCounters(disk_cache::BlockFileHeader* header) { in FixAllocationCounters()
166 bool NeedToGrowBlockFile(const disk_cache::BlockFileHeader* header, in NeedToGrowBlockFile()
254 BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in CreateBlock()
296 BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in DeleteBlock()
351 BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in IsValid()
381 BlockFileHeader header; in CreateBlockFile()
[all …]
Ddisk_format.cc15 BlockFileHeader::BlockFileHeader() { in BlockFileHeader() function in disk_cache::BlockFileHeader
16 memset(this, 0, sizeof(BlockFileHeader)); in BlockFileHeader()
Ddisk_format.h176 struct BlockFileHeader { struct
177 BlockFileHeader();
193 COMPILE_ASSERT(sizeof(BlockFileHeader) == kBlockHeaderSize, bad_header); argument
Dblock_files_unittest.cc121 BlockFileHeader* header = in TEST_F()
122 reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F()
146 header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F()
281 BlockFileHeader* header = in TEST_F()
282 reinterpret_cast<BlockFileHeader*>(files.GetFile(address[0])->buffer()); in TEST_F()
Dfile_lock.cc9 FileLock::FileLock(BlockFileHeader* header) { in FileLock()
Dfile_lock.h32 explicit FileLock(BlockFileHeader* header);
Dblock_files.h65 bool GrowBlockFile(MappedFile* file, BlockFileHeader* header);
/external/chromium_org/net/disk_cache/
Dblock_files.h35 explicit BlockHeader(BlockFileHeader* header);
82 BlockFileHeader* Header();
85 BlockFileHeader* header_;
130 bool GrowBlockFile(MappedFile* file, BlockFileHeader* header);
Dblock_files_unittest.cc120 BlockFileHeader* header = in TEST_F()
121 reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F()
145 header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F()
216 BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F()
227 header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F()
241 header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in TEST_F()
330 BlockFileHeader* header = in TEST_F()
331 reinterpret_cast<BlockFileHeader*>(files.GetFile(address[0])->buffer()); in TEST_F()
Dblock_files.cc42 BlockHeader::BlockHeader(BlockFileHeader* header) : header_(header) { in BlockHeader()
46 : header_(reinterpret_cast<BlockFileHeader*>(file->buffer())) { in BlockHeader()
257 BlockFileHeader* BlockHeader::Header() { in Header()
456 BlockFileHeader header; in CreateBlockFile()
489 BlockFileHeader* header = file_header.Header(); in OpenBlockFile()
522 bool BlockFiles::GrowBlockFile(MappedFile* file, BlockFileHeader* header) { in GrowBlockFile()
577 BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in NextFile()
611 BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer()); in RemoveEmptyFile()
620 BlockFileHeader* next_header = in RemoveEmptyFile()
621 reinterpret_cast<BlockFileHeader*>(next_file->buffer()); in RemoveEmptyFile()
[all …]
Ddisk_format_base.h48 struct BlockFileHeader { struct
63 COMPILE_ASSERT(sizeof(BlockFileHeader) == kBlockHeaderSize, bad_header); argument
Dfile_lock.h32 explicit FileLock(BlockFileHeader* header);
Dfile_lock.cc22 FileLock::FileLock(BlockFileHeader* header) { in FileLock()
/external/chromium_org/net/disk_cache/v3/
Dblock_bitmaps_unittest.cc17 disk_cache::BlockFileHeader headers[kNumHeaders]; in TEST()
/external/chromium/net/tools/dump_cache/
Ddump_files.cc81 disk_cache::BlockFileHeader header; in DumpBlockHeader()
/external/chromium_org/net/tools/dump_cache/
Ddump_files.cc128 disk_cache::BlockFileHeader header; in DumpBlockHeader()