/external/llvm-project/llvm/unittests/Support/ |
D | LockFileManagerTest.cpp | 90 SmallString<64> FileLock(LockedFile); in TEST() local 91 FileLock += ".lock"; in TEST() 97 EXPECT_TRUE(sys::fs::exists(FileLock.str())); in TEST() 102 EXPECT_FALSE(sys::fs::exists(FileLock.str())); in TEST()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | JimfsAsynchronousFileChannel.java | 31 import java.nio.channels.FileLock; 81 CompletionHandler<FileLock, ? super A> handler) { in lock() argument 87 public ListenableFuture<FileLock> lock( in lock() 100 new Callable<FileLock>() { in lock() 102 public FileLock call() throws IOException { in lock() 109 public FileLock tryLock(long position, long size, boolean shared) throws IOException {
|
D | JimfsFileChannel.java | 33 import java.nio.channels.FileLock; 599 public FileLock lock(long position, long size, boolean shared) throws IOException { in lock() 618 public FileLock tryLock(long position, long size, boolean shared) throws IOException { in tryLock() 653 static final class FakeFileLock extends FileLock {
|
/external/llvm/unittests/Support/ |
D | LockFileManagerTest.cpp | 104 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/ |
D | file_lock_machine.py | 97 class FileLock(object): class 153 file_lock = FileLock(lock_filename) 214 with FileLock(self._lock_file) as lock: 227 FileLock.FILE_OPS.append(fd) 240 with FileLock(self._lock_file) as lock: 264 i for i in FileLock.FILE_OPS 268 FileLock.FILE_OPS.remove(i) 375 FileLock.ListLock('*', options.locks_dir)
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/ |
D | MavenDependencyResolver.java | 9 import java.nio.channels.FileLock; 91 try (FileLock ignored = channel.lock()) { in whileLocked()
|
/external/autotest/server/hosts/ |
D | file_store_unittest.py | 64 file_lock = locking.FileLock(store._lock_path, 82 file_lock = locking.FileLock(store._lock_path,
|
D | file_store.py | 41 self._lock = locking.FileLock(
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsAsynchronousFileChannelTest.java | 42 import java.nio.channels.FileLock; 211 SettableFuture<FileLock> future = SettableFuture.create(); in checkAsyncLock()
|
D | JimfsFileChannelTest.java | 46 import java.nio.channels.FileLock; 665 FileLock lock = channel.lock(); in testLock()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | log.py | 182 with lock.FileLock(_log_file, lock.LOCK_EX): 254 with lock.FileLock(_log_file, lock.LOCK_EX):
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | lock.py | 37 def FileLock(target_file, flags): function
|
D | cloud_storage.py | 348 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB): 376 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB):
|
D | cloud_storage_unittest.py | 406 with lock.FileLock(pseudo_lock_fd, lock.LOCK_EX | lock.LOCK_NB): 414 with lock.FileLock(global_lock_fd, lock.LOCK_EX | lock.LOCK_NB):
|
D | lock_unittest.py | 150 with lock.FileLock(f, lock.LOCK_EX):
|
/external/crosvm/fuse/src/ |
D | sys.rs | 546 pub struct FileLock { struct 552 unsafe impl DataInit for FileLock {} argument 891 pub lk: FileLock, 900 pub lk: FileLock,
|
/external/autotest/server/cros/ |
D | lockfile.py | 298 FileLock = LinkFileLock variable
|
/external/autotest/server/cros/tradefed/ |
D | tradefed_utils.py | 24 filelock = lockfile.FileLock(filename)
|