/external/llvm-project/llvm/tools/llvm-xray/ |
D | xray-fdr-dump.cpp | 38 auto FDOrErr = sys::fs::openNativeFileForRead(DumpInput); in __anon236ebeec0102() local 39 if (!FDOrErr) in __anon236ebeec0102() 40 return FDOrErr.takeError(); in __anon236ebeec0102() 49 *FDOrErr, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, in __anon236ebeec0102() 51 sys::fs::closeFile(*FDOrErr); in __anon236ebeec0102()
|
/external/llvm-project/llvm/lib/LTO/ |
D | Caching.cpp | 42 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in localCache() local 45 if (FDOrErr) { in localCache() 47 MemoryBuffer::getOpenFile(*FDOrErr, EntryPath, in localCache() 50 sys::fs::closeFile(*FDOrErr); in localCache() 57 EC = errorToErrorCode(FDOrErr.takeError()); in localCache()
|
D | ThinLTOCodeGenerator.cpp | 374 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in tryLoadingBuffer() local 376 if (!FDOrErr) in tryLoadingBuffer() 377 return errorToErrorCode(FDOrErr.takeError()); in tryLoadingBuffer() 379 *FDOrErr, EntryPath, /*FileSize=*/-1, /*RequiresNullTerminator=*/false); in tryLoadingBuffer() 380 sys::fs::closeFile(*FDOrErr); in tryLoadingBuffer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | Caching.cpp | 42 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in localCache() local 45 if (FDOrErr) { in localCache() 47 MemoryBuffer::getOpenFile(*FDOrErr, EntryPath, in localCache() 50 sys::fs::closeFile(*FDOrErr); in localCache() 57 EC = errorToErrorCode(FDOrErr.takeError()); in localCache()
|
D | ThinLTOCodeGenerator.cpp | 358 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in tryLoadingBuffer() local 360 if (!FDOrErr) in tryLoadingBuffer() 361 return errorToErrorCode(FDOrErr.takeError()); in tryLoadingBuffer() 363 *FDOrErr, EntryPath, /*FileSize=*/-1, /*RequiresNullTerminator=*/false); in tryLoadingBuffer() 364 sys::fs::closeFile(*FDOrErr); in tryLoadingBuffer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 247 Expected<sys::fs::file_t> FDOrErr = in getFileAux() local 249 if (!FDOrErr) in getFileAux() 250 return errorToErrorCode(FDOrErr.takeError()); in getFileAux() 251 sys::fs::file_t FD = *FDOrErr; in getFileAux() 366 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForReadWrite( in getReadWriteFile() local 368 if (!FDOrErr) in getReadWriteFile() 369 return errorToErrorCode(FDOrErr.takeError()); in getReadWriteFile() 370 sys::fs::file_t FD = *FDOrErr; in getReadWriteFile() 508 Expected<sys::fs::file_t> FDOrErr = in getFileAsStream() local 510 if (!FDOrErr) in getFileAsStream() [all …]
|
D | VirtualFileSystem.cpp | 299 Expected<file_t> FDOrErr = sys::fs::openNativeFileForRead( in openFileForRead() local 301 if (!FDOrErr) in openFileForRead() 302 return errorToErrorCode(FDOrErr.takeError()); in openFileForRead() 304 new RealFile(*FDOrErr, Name.str(), RealName.str())); in openFileForRead()
|
/external/llvm-project/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 261 Expected<sys::fs::file_t> FDOrErr = in getFileAux() local 263 if (!FDOrErr) in getFileAux() 264 return errorToErrorCode(FDOrErr.takeError()); in getFileAux() 265 sys::fs::file_t FD = *FDOrErr; in getFileAux() 380 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForReadWrite( in getReadWriteFile() local 382 if (!FDOrErr) in getReadWriteFile() 383 return errorToErrorCode(FDOrErr.takeError()); in getReadWriteFile() 384 sys::fs::file_t FD = *FDOrErr; in getReadWriteFile() 522 Expected<sys::fs::file_t> FDOrErr = in getFileAsStream() local 524 if (!FDOrErr) in getFileAsStream() [all …]
|
D | VirtualFileSystem.cpp | 299 Expected<file_t> FDOrErr = sys::fs::openNativeFileForRead( in openFileForRead() local 301 if (!FDOrErr) in openFileForRead() 302 return errorToErrorCode(FDOrErr.takeError()); in openFileForRead() 304 new RealFile(*FDOrErr, Name.str(), RealName.str())); in openFileForRead()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ArchiveWriter.cpp | 79 auto FDOrErr = sys::fs::openNativeFileForRead(FileName); in getFile() local 80 if (!FDOrErr) in getFile() 81 return FDOrErr.takeError(); in getFile() 82 sys::fs::file_t FD = *FDOrErr; in getFile()
|
/external/llvm-project/llvm/lib/Object/ |
D | ArchiveWriter.cpp | 81 auto FDOrErr = sys::fs::openNativeFileForRead(FileName); in getFile() local 82 if (!FDOrErr) in getFile() 83 return FDOrErr.takeError(); in getFile() 84 sys::fs::file_t FD = *FDOrErr; in getFile()
|