reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/raw_ostream.cpp
  575   if (FD < 0 ) {
  586   if (FD <= STDERR_FILENO)
  596   off_t loc = ::lseek(FD, 0, SEEK_CUR);
  612   if (FD >= 0) {
  615       if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
  688   assert(FD >= 0 && "File already closed.");
  712     ssize_t ret = ::write(FD, Ptr, ChunkSize);
  747   if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
  749   FD = -1;
  758   pos = ::lseek64(FD, off, SEEK_SET);
  787   assert(FD >= 0 && "File not yet open!");
  789   if (fstat(FD, &statbuf) != 0)
  795   if (S_ISCHR(statbuf.st_mode) && isatty(FD))
  857   return sys::Process::FileDescriptorIsDisplayed(FD);
  861   return sys::Process::FileDescriptorHasColors(FD);