Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:offset

101   virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len,
103 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
106 virtual int ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len,
108 virtual int WriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len,
110 virtual int GetAvailableRange(int64 offset, int len, int64* start,
127 int InternalReadData(int index, int offset, net::IOBuffer* buf, int buf_len);
128 int InternalWriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
130 int InternalReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len);
131 int InternalWriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len);
134 int GetAvailableRange(int64 offset, int len, int64* start);
137 void PrepareTarget(int index, int offset, int buf_len);
151 // Returns an entry responsible for |offset|. The returned entry can be a
152 // child entry or this entry itself if |offset| points to the first range.
155 MemEntryImpl* OpenChild(int64 offset, bool create);
157 // Finds the first child located within the range [|offset|, |offset + len|).
158 // Returns the number of bytes ahead of |offset| to reach the first available
160 int FindNextChild(int64 offset, int len, MemEntryImpl** child);