Searched refs:SimpleFileEOF (Results 1 – 6 of 6) sorted by relevance
16 SimpleFileEOF::SimpleFileEOF() { in SimpleFileEOF() function in disk_cache::SimpleFileEOF
44 struct NET_EXPORT_PRIVATE SimpleFileEOF { struct49 SimpleFileEOF(); argument
48 struct NET_EXPORT_PRIVATE SimpleFileEOF { struct53 SimpleFileEOF(); argument
99 sizeof(SimpleFileEOF); in GetDataSizeFromKeyAndFileSize()106 sizeof(SimpleFileEOF); in GetFileSizeFromKeyAndDataSize()
138 stream_index == 0 ? data_size_[1] + sizeof(SimpleFileEOF) : 0; in GetOffsetInFile()151 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF) in GetLastEOFOffsetInFile()158 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF) in GetFileSize()643 SimpleFileEOF eof_record; in Close()648 eof_record.flags |= SimpleFileEOF::FLAG_HAS_CRC32; in Close()1056 out_entry_stat->set_data_size(1, total_data_size - sizeof(SimpleFileEOF)); in ReadAndValidateStream0()1106 SimpleFileEOF eof_record; in GetEOFRecordData()1123 *out_has_crc32 = (eof_record.flags & SimpleFileEOF::FLAG_HAS_CRC32) == in GetEOFRecordData()1124 SimpleFileEOF::FLAG_HAS_CRC32; in GetEOFRecordData()
2598 int kTruncationBytes = -implicit_cast<int>(sizeof(disk_cache::SimpleFileEOF)); in TEST_F()3633 disk_cache::SimpleFileEOF eof_record; in TEST_F()3638 EXPECT_TRUE((eof_record.flags & disk_cache::SimpleFileEOF::FLAG_HAS_CRC32) == in TEST_F()3639 disk_cache::SimpleFileEOF::FLAG_HAS_CRC32); in TEST_F()