Lines Matching refs:off_t
183 bool PWriteAll(int fd, const void* buf, size_t count, off_t offset) { in PWriteAll()
219 off_t offset) { in PWriteAll()
221 static_cast<off_t>(-1)); in PWriteAll()
226 int fd, void* buf, size_t count, off_t offset, ssize_t* out_bytes_read) { in PReadAll()
245 off_t offset, in PReadAll()
248 static_cast<off_t>(-1)); in PReadAll()
283 static bool Read(FILE* fp, off_t size, T* out_p) { in Read()
288 off_t bytes_to_read = sizeof(buf); in Read()
298 CHECK(size >= static_cast<off_t>(nbytes)); in Read()
313 off_t offset, in ReadFileChunkAndAppend()
314 off_t size, in ReadFileChunkAndAppend()
351 off_t offset, in ReadFileChunk()
352 off_t size, in ReadFileChunk()
357 off_t BlockDevSize(int fd) { in BlockDevSize()
367 off_t FileSize(int fd) { in FileSize()
383 off_t FileSize(const string& path) { in FileSize()
389 off_t size = FileSize(fd); in FileSize()