Searched refs:FileLocker (Results 1 – 3 of 3) sorted by relevance
1226 class FileLocker {1228 FileLocker(int FD) : FD(FD) {} in FileLocker() function1232 FileLocker(const FileLocker &L) = delete;1233 FileLocker(FileLocker &&L) : FD(L.FD) { L.FD = -1; } in FileLocker() function1234 ~FileLocker() { in ~FileLocker()1238 FileLocker &operator=(FileLocker &&L) {1243 FileLocker &operator=(const FileLocker &L) = delete;
44 class FileLocker; variable578 [[nodiscard]] Expected<sys::fs::FileLocker> lock();587 [[nodiscard]] Expected<sys::fs::FileLocker>
877 Expected<sys::fs::FileLocker> raw_fd_ostream::lock() { in lock()880 return sys::fs::FileLocker(FD); in lock()884 Expected<sys::fs::FileLocker>888 return sys::fs::FileLocker(FD); in tryLockFor()