Home
last modified time | relevance | path

Searched refs:LockedFile (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/unittests/Support/
DLockFileManagerTest.cpp24 SmallString<64> LockedFile(TmpDir.path()); in TEST() local
25 sys::path::append(LockedFile, "file.lock"); in TEST()
29 LockFileManager Locked1(LockedFile); in TEST()
34 LockFileManager Locked2(LockedFile); in TEST()
39 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); in TEST()
45 SmallString<64> LockedFile(LockFileManagerTestDir.path()); in TEST() local
46 sys::path::append(LockedFile, "file"); in TEST()
70 LockFileManager Locked(LockedFile); in TEST()
75 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); in TEST()
87 SmallString<64> LockedFile(inner.path()); in TEST() local
[all …]
DProgramTest.cpp368 if (const char *LockedFile = getenv("LLVM_PROGRAM_TEST_LOCKED_FILE")) { in TEST_F() local
371 ASSERT_NO_ERROR(fs::openFileForReadWrite(LockedFile, FD2, in TEST_F()
382 SmallString<64> LockedFile; in TEST_F() local
385 fs::createTemporaryFile("TestLockFile", "temp", FD1, LockedFile)); in TEST_F()
393 EnvVar += LockedFile.str(); in TEST_F()
415 sys::fs::remove(LockedFile); in TEST_F()
/external/llvm/unittests/Support/
DLockFileManagerTest.cpp26 SmallString<64> LockedFile(TmpDir); in TEST() local
27 sys::path::append(LockedFile, "file.lock"); in TEST()
31 LockFileManager Locked1(LockedFile); in TEST()
36 LockFileManager Locked2(LockedFile); in TEST()
41 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); in TEST()
53 SmallString<64> LockedFile(TmpDir); in TEST() local
54 sys::path::append(LockedFile, "file"); in TEST()
78 LockFileManager Locked(LockedFile); in TEST()
83 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); in TEST()
101 SmallString<64> LockedFile("inner"); in TEST() local
[all …]
/external/python/google-api-python-client/googleapiclient/discovery_cache/
Dfile_cache.py33 from oauth2client.contrib.locked_file import LockedFile
37 from oauth2client.locked_file import LockedFile
90 f = LockedFile(self._file, "a+", "r")
103 f = LockedFile(self._file, "r+", "r")
122 f = LockedFile(self._file, "r+", "r")
/external/python/oauth2client/tests/contrib/
Dtest_locked_file.py186 return locked_file.LockedFile(
191 locked_file.LockedFile(
199 locked_file.LockedFile(
208 locked_file.LockedFile(
217 locked_file.LockedFile(
/external/python/oauth2client/oauth2client/contrib/
Dlocked_file.py176 class LockedFile(object): class
Dmultistore_file.py215 self._file = locked_file.LockedFile(filename, 'r+', 'r')