Home | History | Annotate | Download | only in Basic

Lines Matching refs:FD

121   int FD;
124 RealFile(int FD, StringRef NewName)
125 : FD(FD), S(NewName, {}, {}, {}, {}, {},
127 assert(FD >= 0 && "Invalid or inactive file descriptor");
143 assert(FD != -1 && "cannot stat closed file");
146 if (std::error_code EC = sys::fs::status(FD, RealStatus))
156 assert(FD != -1 && "cannot get buffer for closed file");
157 return MemoryBuffer::getOpenFile(FD, Name, FileSize, RequiresNullTerminator,
172 if (::close(FD))
174 FD = -1;
200 int FD;
201 if (std::error_code EC = sys::fs::openFileForRead(Name, FD))
203 return std::unique_ptr<File>(new RealFile(FD, Name.str()));