HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 1 - 25 of 1778) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Modules/Inputs/merge-implicit-special-members/
a.h 1 struct pthread_mutex_t { int lock; }; member in struct:pthread_mutex_t
b.h 1 struct pthread_mutex_t { int lock; }; member in struct:pthread_mutex_t
  /external/jemalloc/test/include/test/
mtx.h 10 CRITICAL_SECTION lock; member in struct:__anon22507
12 os_unfair_lock lock;
14 OSSpinLock lock;
16 pthread_mutex_t lock;
  /external/ltp/testcases/network/nfs/nfslock01/
nfs_flock_func.c 8 struct flock lock; local
10 lock.l_type = type;
11 lock.l_start = offset;
12 lock.l_whence = whence;
13 lock.l_len = len;
15 return (fcntl(fd, cmd, &lock));
20 struct flock lock; local
22 lock.l_type = type;
23 lock.l_start = offset;
24 lock.l_whence = whence
    [all...]
  /external/webrtc/webrtc/system_wrappers/source/
rw_lock.cc 27 RWLockWrapper* lock = RWLockWin::Create(); local
28 if (lock) {
29 return lock;
  /frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
WakeUpCall.java 35 Object lock = WakeUpController.getController().getWakeSync(); local
36 synchronized (lock) {
37 // poke the lock so the service side can be woken from waiting on the lock
38 lock.notifyAll();
  /art/test/980-redefine-object/src-ex/
TestWatcher.java 22 // Lock to synchronize access to the static state of this class.
23 private static final ReentrantLock lock = new ReentrantLock(); field in class:TestWatcher
29 lock.lock();
35 if (!lock.isHeldByCurrentThread()) {
39 lock.unlock();
  /device/google/contexthub/firmware/os/inc/
trylock.h 28 volatile uint8_t lock; member in struct:TryLock
34 void trylockInit(struct TryLock *lock);
35 void trylockRelease(struct TryLock *lock);
36 bool trylockTryTake(struct TryLock *lock); //true if we took it
38 /* DON'T YOU EVER DARE TO TRY AND IMPLEMENT A BLOCKING "TAKE" ON THIS TYPE OF LOCK! -dmitrygr@ */
  /external/autotest/server/cros/
tradefed_utils.py 19 def lock(filename): function
32 logging.info('Waiting for cache lock...')
41 # Normally we should aqcuire the lock immediately. Once we
43 # overloaded or a lock didn't get cleaned up. Take one for the
44 # team, break the lock and report a failure. This should fix
45 # the lock for following tests. If the failure affects more than
47 logging.error('Permanent lock failure. Trying to break lock.')
49 # recursive lock breaking problem. We may have to kill every
54 raise error.TestFail('Error: permanent cache lock failure.'
    [all...]
  /external/clang/test/CodeGen/
2003-11-04-EmptyStruct.c 4 struct fs_struct { rwlock_t lock; int umask; }; member in struct:fs_struct
5 void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
2003-11-01-C99-CompoundLiteral.c 4 typedef struct wait_queue_head_t { spinlock_t lock; } wait_queue_head_t; member in struct:wait_queue_head_t
6 struct wait_queue_head_t work = { lock: (spinlock_t) { 0 }, };
  /external/compiler-rt/test/tsan/Darwin/
osspinlock-norace.cc 7 OSSpinLock lock; variable
10 OSSpinLockLock(&lock);
12 OSSpinLockUnlock(&lock);
  /external/v8/tools/clang/plugins/tests/
trivial_ctor.cpp 18 MySpinLock lock; local
  /art/test/626-const-class-linking/src/
RacyLoader.java 24 private Object lock = new Object(); field in class:RacyLoader
61 synchronized (lock) {
67 lock.wait();
73 lock.notifyAll();
RacyMisbehavingLoader.java 24 private Object lock = new Object(); field in class:RacyMisbehavingLoader
42 synchronized (lock) {
45 lock.notifyAll();
82 synchronized (lock) {
88 lock.wait();
94 lock.notifyAll();
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
KeyguardManagerTest.java 33 KeyguardManager.KeyguardLock lock = mgr.newKeyguardLock(KEYGUARD_SERVICE); local
34 assertTrue(shadowOf(lock).isEnabled());
36 lock.disableKeyguard();
37 assertFalse(shadowOf(lock).isEnabled());
39 lock.reenableKeyguard();
40 assertTrue(shadowOf(lock).isEnabled());
  /device/linaro/bootloader/arm-trusted-firmware/include/lib/
spinlock.h 15 volatile uint32_t lock; member in struct:spinlock
18 void spin_lock(spinlock_t *lock);
19 void spin_unlock(spinlock_t *lock);
23 /* Spin lock definitions for use in assembly */
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
mutex.py 6 representing functions (or methods) waiting to acquire the lock.
9 implying it now has the lock.
12 for lock, where a function is called once the lock is aquired.
31 """Atomic test-and-set -- grab the lock if it is not set,
39 def lock(self, function, argument): member in class:mutex
40 """Lock a mutex, call the function with supplied argument
  /external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
CycleDetectingLockFactoryBenchmark.java 23 import java.util.concurrent.locks.Lock;
36 private Lock[] plainLocks;
37 private Lock[] detectingLocks;
43 this.plainLocks = new Lock[lockNestingDepth];
47 this.detectingLocks = new Lock[lockNestingDepth];
49 detectingLocks[i] = factory.newReentrantLock("Lock" + i);
61 private void lockAndUnlock(Lock lock, int reps) {
63 lock.lock();
79 locks[j].lock(); method
    [all...]
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
unlock.pass.cpp 27 void lock() {} function in struct:mutex
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
member_swap.pass.cpp 23 void lock() {} function in struct:mutex
nonmember_swap.pass.cpp 24 void lock() {} function in struct:mutex
release.pass.cpp 25 void lock() {++lock_count;} function in struct:mutex
  /external/libunwind_llvm/src/
RWMutex.hpp 31 bool lock() { return true; } function in class:libunwind::RWMutex
47 bool lock() {
66 bool lock() { return pthread_rwlock_wrlock(&_lock) == 0; }
  /external/libvpx/libvpx/vpx_ports/
vpx_once.h 36 * bar() will never be called because the lock is used up
120 static pthread_once_t lock = PTHREAD_ONCE_INIT; local
121 pthread_once(&lock, func);

Completed in 416 milliseconds

1 2 3 4 5 6 7 8 91011>>