Searched refs:UserBuffer (Results 1 – 2 of 2) sorted by relevance
105 class EntryImpl::UserBuffer { class in disk_cache::EntryImpl107 explicit UserBuffer(BackendImpl* backend) : backend_(backend->GetWeakPtr()) { in UserBuffer() function in disk_cache::EntryImpl::UserBuffer111 UserBuffer(const UserBuffer&) = delete;112 UserBuffer& operator=(const UserBuffer&) = delete;114 ~UserBuffer() { in ~UserBuffer()155 bool EntryImpl::UserBuffer::PreWrite(int offset, int len) { in PreWrite()177 void EntryImpl::UserBuffer::Truncate(int offset) { in Truncate()187 void EntryImpl::UserBuffer::Write(int offset, IOBuffer* buf, int len) { in Write()225 bool EntryImpl::UserBuffer::PreRead(int eof, int offset, int* len) { in PreRead()250 int EntryImpl::UserBuffer::Read(int offset, IOBuffer* buf, int len) { in Read()[all …]
210 class UserBuffer; variable303 std::unique_ptr<UserBuffer> user_buffers_[kNumStreams]; // Stores user data.