Home
last modified time | relevance | path

Searched refs:BLOCK_4K (Results 1 – 3 of 3) sorted by relevance

/external/chromium/net/disk_cache/
Daddr.h21 BLOCK_4K, enumerator
104 case BLOCK_4K: in BlockSizeForFileType()
117 return BLOCK_4K; in RequiredFileType()
Daddr_unittest.cc29 Addr addr3(BLOCK_4K, 0x44, 0x41508, 0x952536); in TEST_F()
30 EXPECT_EQ(BLOCK_4K, addr3.file_type()); in TEST_F()
Dblock_files.cc244 if (block_type < RANKINGS || block_type > BLOCK_4K || in CreateBlock()
281 zero_buffer_ = new char[Addr::BlockSizeForFileType(BLOCK_4K) * 4]; in DeleteBlock()
282 memset(zero_buffer_, 0, Addr::BlockSizeForFileType(BLOCK_4K) * 4); in DeleteBlock()
358 buffer.reset(new char[Addr::BlockSizeForFileType(BLOCK_4K) * 4]); in IsValid()