Home
last modified time | relevance | path

Searched refs:in_entry_op (Results 1 – 2 of 2) sorted by relevance

/external/cronet/net/disk_cache/simple/
Dsimple_synchronous_entry.cc589 void SimpleSynchronousEntry::ReadData(const ReadRequest& in_entry_op, in ReadData() argument
594 DCHECK_NE(0, in_entry_op.index); in ReadData()
597 int file_index = GetFileIndexFromStreamIndex(in_entry_op.index); in ReadData()
609 key_.size(), in_entry_op.offset, in_entry_op.index); in ReadData()
612 DCHECK_GT(in_entry_op.buf_len, 0); in ReadData()
615 file->Read(file_offset, out_buf->data(), in_entry_op.buf_len); in ReadData()
618 if (in_entry_op.request_update_crc) { in ReadData()
620 in_entry_op.previous_crc32, out_buf->data(), bytes_read); in ReadData()
623 if (in_entry_op.request_verify_crc && in ReadData()
624 in_entry_op.offset + bytes_read == in ReadData()
[all …]
Dsimple_synchronous_entry.h273 void ReadData(const ReadRequest& in_entry_op,
277 void WriteData(const WriteRequest& in_entry_op,
287 void ReadSparseData(const SparseRequest& in_entry_op,
291 void WriteSparseData(const SparseRequest& in_entry_op,
296 void GetAvailableRange(const SparseRequest& in_entry_op,