/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Striped.java | 41 import java.util.concurrent.locks.Lock; 42 import java.util.concurrent.locks.ReadWriteLock; 43 import java.util.concurrent.locks.ReentrantLock; 44 import java.util.concurrent.locks.ReentrantReadWriteLock; 343 final AtomicReferenceArray<ArrayReference<? extends L>> locks; 351 this.locks = new AtomicReferenceArray<ArrayReference<? extends L>>(size); 359 ArrayReference<? extends L> existingRef = locks.get(index); 366 while (!locks.compareAndSet(index, existingRef, newRef)) { 368 existingRef = locks.get(index); 388 locks.compareAndSet(arrayRef.index, arrayRef, null); [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_deadlock_detector_test.cc | 165 set<uptr> locks; in RunRemoveNodeTest() local 166 locks.insert(l0); in RunRemoveNodeTest() 167 locks.insert(l1); in RunRemoveNodeTest() 168 locks.insert(l2); in RunRemoveNodeTest() 169 locks.insert(l3); in RunRemoveNodeTest() 170 locks.insert(l4); in RunRemoveNodeTest() 171 locks.insert(l5); in RunRemoveNodeTest() 174 locks.insert(lt); in RunRemoveNodeTest() 179 EXPECT_EQ(locks.size(), d.size()); in RunRemoveNodeTest() 195 locks.clear(); in RunRemoveNodeTest() [all …]
|
/external/valgrind/none/tests/ |
D | pth_rwlock.c | 12 pthread_rwlock_t locks[LOCKS]; in main() local 17 if ((e = pthread_rwlock_init(locks + n, NULL)) != 0) { in main() 24 if ((e = pthread_rwlock_destroy(locks + n)) != 0) { in main()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | StripedTest.java | 38 import java.util.concurrent.locks.Lock; 39 import java.util.concurrent.locks.ReadWriteLock; 40 import java.util.concurrent.locks.ReentrantLock; 41 import java.util.concurrent.locks.ReentrantReadWriteLock; 151 Iterable<?> locks = striped.bulkGet(objects); in testBulkGetReturnsSorted() local 152 assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks)); in testBulkGetReturnsSorted() 156 assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2)); in testBulkGetReturnsSorted()
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | StripedBenchmark.java | 35 import java.util.concurrent.locks.Lock; 36 import java.util.concurrent.locks.ReentrantLock; 94 final List<Lock> locks = new ArrayList<Lock>(numStripes); field in StripedBenchmark 97 locks.clear(); in sizeOfPopulatedStriped() 100 locks.add(striped.getAt(i)); in sizeOfPopulatedStriped()
|
/external/valgrind/gdbserver_tests/ |
D | hginfo.stdinB.gdb | 13 monitor info locks 17 monitor info locks
|
/external/compiler-rt/lib/builtins/ |
D | atomic.c | 74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} }; variable 87 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0 variable 104 static Lock locks[SPINLOCK_COUNT]; variable 122 return locks + (hash & SPINLOCK_MASK); in lock_for_pointer()
|
/external/jsilver/src/org/clearsilver/ |
D | FactoryLoader.java | 20 import java.util.concurrent.locks.ReadWriteLock; 21 import java.util.concurrent.locks.ReentrantReadWriteLock;
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
D | AppTask.java | 35 import java.util.concurrent.locks.Condition; 36 import java.util.concurrent.locks.ReentrantLock;
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
D | LoadPathToFileCache.java | 22 import java.util.concurrent.locks.ReadWriteLock; 23 import java.util.concurrent.locks.ReentrantReadWriteLock;
|
/external/libxml2/os400/libxmlrpg/ |
D | threads.rpgle | 14 * xmlMutex are a simple mutual exception locks. 18 * xmlRMutex are reentrant mutual exception locks.
|
/external/apache-http/src/org/apache/http/client/methods/ |
D | HttpRequestBase.java | 36 import java.util.concurrent.locks.Lock; 37 import java.util.concurrent.locks.ReentrantLock;
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
D | AbstractConnPool.java | 40 import java.util.concurrent.locks.Lock; 41 import java.util.concurrent.locks.ReentrantLock;
|
D | WaitingThread.java | 35 import java.util.concurrent.locks.Condition;
|
/external/mockito/src/org/mockito/internal/creation/ |
D | AcrossJVMSerializationFeature.java | 20 import java.util.concurrent.locks.Lock; 21 import java.util.concurrent.locks.ReentrantLock;
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
D | WebSocketGeneratorRFC6455.java | 22 import java.util.concurrent.locks.Lock; 23 import java.util.concurrent.locks.ReentrantLock;
|
D | WebSocketGeneratorD08.java | 22 import java.util.concurrent.locks.Lock; 23 import java.util.concurrent.locks.ReentrantLock;
|
/external/valgrind/helgrind/tests/ |
D | tc22_exit_w_lock.stderr.exp-kfail-x86 | 12 Thread #x: Exiting thread still holds 2 locks
|
/external/guava/guava/src/com/google/common/eventbus/ |
D | EventBus.java | 39 import java.util.concurrent.locks.ReadWriteLock; 40 import java.util.concurrent.locks.ReentrantReadWriteLock;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICURWLock.java | 9 import java.util.concurrent.locks.ReentrantReadWriteLock;
|
/external/sepolicy/ |
D | lmkd.te | 9 # lmkd locks itself in memory, to prevent it from being
|
D | rild.te | 43 # Access to wake locks
|
/external/bison/m4/ |
D | lock.m4 | 17 [Define if the POSIX multithreading library has read/write locks.])],
|
/external/selinux/policycoreutils/sepolicy/sepolicy/help/ |
D | lockdown_unconfined.txt | 4 …ined module moves you closer to what used to be called strict policy, and locks down your machine …
|
/external/easymock/src/org/easymock/internal/ |
D | ReplayState.java | 20 import java.util.concurrent.locks.ReentrantLock;
|