Home
last modified time | relevance | path

Searched refs:closeFile (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DFileEntry.h73 inline void closeFile() const;
377 void closeFile() const;
394 void FileEntryRef::closeFile() const { getFileEntry().closeFile(); }
/llvm-project-15.0.7/llvm/unittests/Support/
H A DMemoryBufferTest.cpp115 make_scope_exit([&] { ASSERT_NO_ERROR(sys::fs::closeFile(*File)); }); in TEST_F()
125 make_scope_exit([&] { ASSERT_NO_ERROR(sys::fs::closeFile(*File)); }); in TEST_F()
175 auto ReadCloser = make_scope_exit([&] { sys::fs::closeFile(pipes[0]); }); in TEST_F()
177 auto WriteCloser = make_scope_exit([&] { sys::fs::closeFile(pipes[1]); }); in TEST_F()
407 make_scope_exit([&] { ASSERT_NO_ERROR(sys::fs::closeFile(*File)); }); in TEST_F()
H A DPath.cpp1940 auto Close = make_scope_exit([&] { fs::closeFile(*FD); }); in TEST_F()
1961 auto Close = make_scope_exit([&] { fs::closeFile(*FD); }); in TEST_F()
2004 auto Close = make_scope_exit([&] { fs::closeFile(*FD); }); in TEST_F()
/llvm-project-15.0.7/clang/lib/Basic/
H A DFileEntry.cpp24 void FileEntry::closeFile() const { File.reset(); } in closeFile() function in FileEntry
H A DFileManager.cpp466 RealFE->closeFile(); in getVirtualFileRef()
581 Entry->closeFile(); in getBufferForFile()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DModuleManager.cpp193 Entry->closeFile(); in addModule()
198 Entry->closeFile(); in addModule()
202 Entry->closeFile(); in addModule()
/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dxray-fdr-dump.cpp51 sys::fs::closeFile(*FDOrErr); in __anon94bca1c50102()
/llvm-project-15.0.7/llvm/lib/Support/
H A DCaching.cpp55 sys::fs::closeFile(*FDOrErr); in localCache()
H A DMemoryBuffer.cpp262 sys::fs::closeFile(FD); in getFileAux()
531 sys::fs::closeFile(FD); in getFileAsStream()
H A DVirtualFileSystem.cpp235 std::error_code EC = sys::fs::closeFile(FD); in close()
/llvm-project-15.0.7/llvm/lib/Debuginfod/
H A DHTTPServer.cpp42 sys::fs::closeFile(*FDOrErr); in streamFile()
/llvm-project-15.0.7/llvm/lib/XRay/
H A DInstrumentationMap.cpp228 sys::fs::closeFile(Fd); in loadYAML()
H A DTrace.cpp401 sys::fs::closeFile(*FdOrErr); in loadTraceFile()
H A DProfile.cpp276 sys::fs::closeFile(*FdOrErr); in loadProfile()
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DSparseTensorUtils.cpp1129 ~SparseTensorFile() { closeFile(); } in ~SparseTensorFile()
1141 void closeFile() { in closeFile() function in __anon2f09016c0111::SparseTensorFile
1391 stfile.closeFile(); in openSparseTensorCOO()
1843 stfile.closeFile(); in readSparseTensorShape()
/llvm-project-15.0.7/clang/unittests/DirectoryWatcher/
H A DDirectoryWatcherTest.cpp82 closeFile(*ft); in addFile()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFileSystem.h1213 std::error_code closeFile(file_t &F);
/llvm-project-15.0.7/llvm/lib/Object/
H A DArchiveWriter.cpp138 if (auto EC = sys::fs::closeFile(FD)) in getFile()
/llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp1049 std::error_code close_err = closeFile(pc.pc_fd); in SaveCore()
/llvm-project-15.0.7/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp409 sys::fs::closeFile(*FDOrErr); in tryLoadingBuffer()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dmod-file.cpp812 llvm::sys::fs::closeFile(native); in ~Temp()
/llvm-project-15.0.7/lld/MachO/
H A DSyntheticSections.cpp1423 closeFile(handle); in writeTo()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DDataAggregator.cpp333 auto Close = make_scope_exit([&] { sys::fs::closeFile(*FD); }); in checkPerfDataMagic()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc1327 std::error_code closeFile(file_t &F) {
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc1261 std::error_code closeFile(file_t &F) {