Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/blockfile/
Dentry_impl.cc105 class EntryImpl::UserBuffer { class in disk_cache::EntryImpl
107 explicit UserBuffer(BackendImpl* backend) : backend_(backend->GetWeakPtr()) { in UserBuffer() function in disk_cache::EntryImpl::UserBuffer
111 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 …]
Dentry_impl.h210 class UserBuffer; variable
303 std::unique_ptr<UserBuffer> user_buffers_[kNumStreams]; // Stores user data.