Lines Matching refs:sys
27 using llvm::sys::fs::mapped_file_region;
35 sys::fs::remove(Twine(TempPath)); in ~FileOutputBuffer()
41 sys::fs::file_status Stat; in create()
42 std::error_code EC = sys::fs::status(FilePath, Stat); in create()
44 case sys::fs::file_type::file_not_found: in create()
47 case sys::fs::file_type::regular_file: { in create()
61 EC = sys::fs::remove(FilePath); in create()
65 unsigned Mode = sys::fs::all_read | sys::fs::all_write; in create()
68 Mode |= sys::fs::all_exe; in create()
73 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD, in create()
78 sys::RemoveFileOnSignal(TempFilePath); in create()
86 EC = sys::fs::resize_file(FD, Size); in create()
110 std::error_code EC = sys::fs::rename(Twine(TempPath), Twine(FinalPath)); in commit()
111 sys::DontRemoveFileOnSignal(TempPath); in commit()