Lines Matching refs:HANDLE_EINTR
54 return HANDLE_EINTR(ftruncate(file, length)); in CallFtruncate()
81 if (HANDLE_EINTR(fcntl(file, F_SETLK, &lock)) == -1) in CallFcntlFlock()
216 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read, in Read()
238 rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read)); in ReadAtCurrentPos()
252 return HANDLE_EINTR(pread(file_.get(), data, size, offset)); in ReadNoBestEffort()
262 return HANDLE_EINTR(read(file_.get(), data, size)); in ReadAtCurrentPosNoBestEffort()
285 rv = HANDLE_EINTR(pwrite64(file_.get(), data + bytes_written, in Write()
288 rv = HANDLE_EINTR(pwrite(file_.get(), data + bytes_written, in Write()
311 rv = HANDLE_EINTR(write(file_.get(), data + bytes_written, in WriteAtCurrentPos()
329 return HANDLE_EINTR(write(file_.get(), data, size)); in WriteAtCurrentPosNoBestEffort()
396 PlatformFile other_fd = HANDLE_EINTR(dup(GetPlatformFile())); in Duplicate()
499 int descriptor = HANDLE_EINTR(open(path.value().c_str(), open_flags, mode)); in DoInitialize()
507 descriptor = HANDLE_EINTR(open(path.value().c_str(), open_flags, mode)); in DoInitialize()
539 return !HANDLE_EINTR(fdatasync(file_.get())); in Flush()
541 return !HANDLE_EINTR(fsync(file_.get())); in Flush()