Lines Matching refs:LockFileName
29 LockFileManager::readLockFile(StringRef LockFileName) { in readLockFile() argument
33 if (sys::fs::exists(LockFileName, Exists) || !Exists) in readLockFile()
40 std::ifstream Input(LockFileName.str().c_str()); in readLockFile()
47 sys::fs::remove(LockFileName, Existed); in readLockFile()
68 LockFileName = FileName; in LockFileManager()
69 LockFileName += ".lock"; in LockFileManager()
73 if ((Owner = readLockFile(LockFileName))) in LockFileManager()
77 UniqueLockFileName = LockFileName; in LockFileManager()
118 LockFileName.str()); in LockFileManager()
137 if ((Owner = readLockFile(LockFileName))) in LockFileManager()
142 sys::fs::remove(LockFileName.str(), Existed); in LockFileManager()
162 sys::fs::remove(LockFileName.str(), Existed); in ~LockFileManager()
193 if (!sys::fs::exists(LockFileName.str(), Exists) && !Exists) { in waitForUnlock()