Home
last modified time | relevance | path

Searched refs:locks (Results 1 – 25 of 81) sorted by relevance

1234

/external/guava/guava/src/com/google/common/util/concurrent/
DStriped.java41 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/
Dsanitizer_deadlock_detector_test.cc165 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/
Dpth_rwlock.c12 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/
DStripedTest.java38 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/
DStripedBenchmark.java35 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/
Dhginfo.stdinB.gdb13 monitor info locks
17 monitor info locks
/external/compiler-rt/lib/builtins/
Datomic.c74 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/
DFactoryLoader.java20 import java.util.concurrent.locks.ReadWriteLock;
21 import java.util.concurrent.locks.ReentrantReadWriteLock;
/external/jmonkeyengine/engine/src/core/com/jme3/app/
DAppTask.java35 import java.util.concurrent.locks.Condition;
36 import java.util.concurrent.locks.ReentrantLock;
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java22 import java.util.concurrent.locks.ReadWriteLock;
23 import java.util.concurrent.locks.ReentrantReadWriteLock;
/external/libxml2/os400/libxmlrpg/
Dthreads.rpgle14 * xmlMutex are a simple mutual exception locks.
18 * xmlRMutex are reentrant mutual exception locks.
/external/apache-http/src/org/apache/http/client/methods/
DHttpRequestBase.java36 import java.util.concurrent.locks.Lock;
37 import java.util.concurrent.locks.ReentrantLock;
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DAbstractConnPool.java40 import java.util.concurrent.locks.Lock;
41 import java.util.concurrent.locks.ReentrantLock;
DWaitingThread.java35 import java.util.concurrent.locks.Condition;
/external/mockito/src/org/mockito/internal/creation/
DAcrossJVMSerializationFeature.java20 import java.util.concurrent.locks.Lock;
21 import java.util.concurrent.locks.ReentrantLock;
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketGeneratorRFC6455.java22 import java.util.concurrent.locks.Lock;
23 import java.util.concurrent.locks.ReentrantLock;
DWebSocketGeneratorD08.java22 import java.util.concurrent.locks.Lock;
23 import java.util.concurrent.locks.ReentrantLock;
/external/valgrind/helgrind/tests/
Dtc22_exit_w_lock.stderr.exp-kfail-x8612 Thread #x: Exiting thread still holds 2 locks
/external/guava/guava/src/com/google/common/eventbus/
DEventBus.java39 import java.util.concurrent.locks.ReadWriteLock;
40 import java.util.concurrent.locks.ReentrantReadWriteLock;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java9 import java.util.concurrent.locks.ReentrantReadWriteLock;
/external/sepolicy/
Dlmkd.te9 # lmkd locks itself in memory, to prevent it from being
Drild.te43 # Access to wake locks
/external/bison/m4/
Dlock.m417 [Define if the POSIX multithreading library has read/write locks.])],
/external/selinux/policycoreutils/sepolicy/sepolicy/help/
Dlockdown_unconfined.txt4 …ined module moves you closer to what used to be called strict policy, and locks down your machine …
/external/easymock/src/org/easymock/internal/
DReplayState.java20 import java.util.concurrent.locks.ReentrantLock;

1234