Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:buffer_len

123 bool File::Read(void* buffer, size_t buffer_len, size_t offset) {
125 if (buffer_len > ULONG_MAX || offset > LONG_MAX)
134 DWORD size = static_cast<DWORD>(buffer_len);
140 bool File::Write(const void* buffer, size_t buffer_len, size_t offset) {
142 if (buffer_len > ULONG_MAX || offset > ULONG_MAX)
151 DWORD size = static_cast<DWORD>(buffer_len);
160 bool File::Read(void* buffer, size_t buffer_len, size_t offset,
166 return Read(buffer, buffer_len, offset);
169 if (buffer_len > ULONG_MAX || offset > ULONG_MAX)
173 DWORD size = static_cast<DWORD>(buffer_len);
192 bool File::Write(const void* buffer, size_t buffer_len, size_t offset,
198 return Write(buffer, buffer_len, offset);
201 return AsyncWrite(buffer, buffer_len, offset, callback, completed);
204 bool File::AsyncWrite(const void* buffer, size_t buffer_len, size_t offset,
209 if (buffer_len > ULONG_MAX || offset > ULONG_MAX)
213 DWORD size = static_cast<DWORD>(buffer_len);