Lines Matching refs:sys
23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
27 sys::path::append(LockedFile, "file.lock"); in TEST()
41 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); in TEST()
43 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
54 sys::path::append(LockedFile, "file"); in TEST()
57 sys::path::append(FileLocK, "file.lock"); in TEST()
60 sys::path::append(TmpFileLock, "file.lock-000"); in TEST()
63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None); in TEST()
69 EC = sys::fs::create_link(TmpFileLock.str(), FileLocK.str()); in TEST()
72 EC = sys::fs::remove(StringRef(TmpFileLock)); in TEST()
83 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); in TEST()
85 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
93 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
100 sys::fs::create_directory("inner"); in TEST()
102 sys::path::append(LockedFile, "file"); in TEST()
111 EXPECT_TRUE(sys::fs::exists(FileLock.str())); in TEST()
115 EXPECT_FALSE(sys::fs::exists(LockedFile.str())); in TEST()
116 EXPECT_FALSE(sys::fs::exists(FileLock.str())); in TEST()
118 EC = sys::fs::remove("inner"); in TEST()
123 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()