Home
last modified time | relevance | path

Searched refs:FileHandle (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitWriter.cpp39 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) { in LLVMWriteBitcodeToFileHandle() argument
40 return LLVMWriteBitcodeToFD(M, FileHandle, true, false); in LLVMWriteBitcodeToFileHandle()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerIOWindows.cpp34 HANDLE FileHandle( in IsFile() local
38 if (FileHandle == INVALID_HANDLE_VALUE) { in IsFile()
44 DWORD FileType = GetFileType(FileHandle); in IsFile()
49 CloseHandle(FileHandle); in IsFile()
54 CloseHandle(FileHandle); in IsFile()
58 CloseHandle(FileHandle); in IsFile()
/llvm-project-15.0.7/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp163 struct FileHandle : CommonHandle {}; struct
170 typedef ScopedHandle<FileHandle> FileScopedHandle;
175 static std::error_code GetFileNameFromHandle(HANDLE FileHandle, in GetFileNameFromHandle() argument
183 Success = ::GetFileSizeEx(FileHandle, &FileSize); in GetFileNameFromHandle()
190 ::CreateFileMappingA(FileHandle, in GetFileNameFromHandle()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc709 if (FileHandle == INVALID_HANDLE_VALUE)
712 switch (::GetFileType(FileHandle)) {
733 if (!::GetFileInformationByHandle(FileHandle, &Info))
791 return getStatus(FileHandle, Result);
795 return getStatus(FileHandle, Result);
843 if (!SetFileTime(FileHandle, NULL, &AccessFT, &ModifyFT))
957 ::FlushFileBuffers(FileHandle);
960 ::CloseHandle(FileHandle);
1260 Expected<size_t> readNativeFileImpl(file_t FileHandle,
1281 Expected<size_t> readNativeFileSlice(file_t FileHandle,
[all …]
H A DSignals.inc808 ScopedCommonHandle FileHandle(reinterpret_cast<HANDLE>(_get_osfhandle(FD)));
811 FileHandle, DumpType, ExceptionInfo, NULL, NULL))
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFileSystem.h1015 Expected<size_t> readNativeFile(file_t FileHandle, MutableArrayRef<char> Buf);
1033 Error readNativeFileToEOF(file_t FileHandle, SmallVectorImpl<char> &Buffer,
1045 Expected<size_t> readNativeFileSlice(file_t FileHandle,
1282 sys::fs::file_t FileHandle = nullptr; variable
1290 FileHandle = Copied.FileHandle; in copyFrom()
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp1174 Error readNativeFileToEOF(file_t FileHandle, SmallVectorImpl<char> &Buffer, in readNativeFileToEOF() argument
1184 FileHandle, makeMutableArrayRef(Buffer.begin() + Size, ChunkSize)); in readNativeFileToEOF()