Lines Matching refs:off_t
162 bool PWriteAll(int fd, const void* buf, size_t count, off_t offset) { in PWriteAll()
198 off_t offset) { in WriteAll()
200 static_cast<off_t>(-1)); in WriteAll()
205 int fd, void* buf, size_t count, off_t offset, ssize_t* out_bytes_read) { in PReadAll()
224 off_t offset, in ReadAll()
227 static_cast<off_t>(-1)); in ReadAll()
245 off_t offset, in PReadAll()
258 off_t offset) { in PWriteAll()
287 static bool Read(FILE* fp, off_t size, T* out_p) { in Read()
292 off_t bytes_to_read = sizeof(buf); in Read()
302 CHECK(size >= static_cast<off_t>(nbytes)); in Read()
317 off_t offset, in ReadFileChunkAndAppend()
318 off_t size, in ReadFileChunkAndAppend()
355 off_t offset, in ReadFileChunk()
356 off_t size, in ReadFileChunk()
361 off_t BlockDevSize(int fd) { in BlockDevSize()
371 off_t FileSize(int fd) { in FileSize()
387 off_t FileSize(const string& path) { in FileSize()
393 off_t size = FileSize(fd); in FileSize()