Lines Matching refs:rc
348 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); in Flush() local
350 int rc = TEMP_FAILURE_RETRY(fsync(fd_)); in Flush() local
354 if (rc == 0) { in Flush()
364 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); in Read() local
366 int rc = TEMP_FAILURE_RETRY(pread(fd_, buf, byte_count, offset)); in Read()
368 return (rc == -1) ? -errno : rc; in Read()
374 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); in SetLength() local
376 int rc = TEMP_FAILURE_RETRY(ftruncate(fd_, new_length)); in SetLength() local
379 return (rc == -1) ? -errno : rc; in SetLength()
384 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)); in GetLength() local
385 return (rc == -1) ? -errno : s.st_size; in GetLength()
391 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); in Write() local
393 int rc = TEMP_FAILURE_RETRY(pwrite(fd_, buf, byte_count, offset)); in Write() local
396 return (rc == -1) ? -errno : rc; in Write()
609 off_t rc = TEMP_FAILURE_RETRY(lseek(fd_, 0, SEEK_SET)); in ResetOffset() local
610 if (rc == static_cast<off_t>(-1)) { in ResetOffset()