Home
last modified time | relevance | path

Searched refs:FileLock (Results 1 – 10 of 10) sorted by relevance

/external/llvm/unittests/Support/
DLockFileManagerTest.cpp104 SmallString<64> FileLock(LockedFile); in TEST() local
105 FileLock += ".lock"; in TEST()
111 EXPECT_TRUE(sys::fs::exists(FileLock.str())); in TEST()
116 EXPECT_FALSE(sys::fs::exists(FileLock.str())); in TEST()
/external/toolchain-utils/
Dfile_lock_machine.py87 class FileLock(object): class
138 file_lock = FileLock(lock_filename)
199 with FileLock(self._lock_file) as lock:
212 FileLock.FILE_OPS.append(fd)
225 with FileLock(self._lock_file) as lock:
249 for i in FileLock.FILE_OPS
252 FileLock.FILE_OPS.remove(i)
358 FileLock.ListLock('*', options.locks_dir)
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py78 with lock.FileLock(_log_file, lock.LOCK_EX):
116 with lock.FileLock(_log_file, lock.LOCK_EX):
/external/autotest/server/hosts/
Dfile_store_unittest.py64 file_lock = locking.FileLock(store._lock_path,
82 file_lock = locking.FileLock(store._lock_path,
Dfile_store.py41 self._lock = locking.FileLock(
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock.py33 def FileLock(target_file, flags): function
Dcloud_storage.py288 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB):
316 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB):
Dcloud_storage_unittest.py258 with lock.FileLock(pseudo_lock_fd, lock.LOCK_EX | lock.LOCK_NB):
266 with lock.FileLock(global_lock_fd, lock.LOCK_EX | lock.LOCK_NB):
Dlock_unittest.py145 with lock.FileLock(f, lock.LOCK_EX):
/external/autotest/server/cros/
Dtradefed_test.py122 filelock = lockfile.FileLock(filename)