HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 1 - 25 of 2681) 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:__anon20911
12 os_unfair_lock lock;
14 OSSpinLock lock;
16 pthread_mutex_t lock;
  /device/linaro/bootloader/arm-trusted-firmware/include/lib/
spinlock.h 35 volatile unsigned int lock; member in struct:spinlock
38 void spin_lock(spinlock_t *lock);
39 void spin_unlock(spinlock_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@ */
  /device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/X64/
MpAsm.asm 22 ; This lock only allows one AP to use the mTopOfApCommonStack stack at a time
40 lock bts dword ptr [ApStackLock], 0 label
49 lock btc dword ptr [ApStackLock], 0 label
70 lock btc dword ptr [ApStackLock], 0 label
  /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/swiftshader/src/Common/
GrallocAndroid.hpp 24 int lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) function in class:GrallocModule
26 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr);
  /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();
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DirectoryReloadLockTest.java 33 private DirectoryReloadLock lock = new DirectoryReloadLock(); field in class:DirectoryReloadLockTest
46 lock.tryUpdate(callback);
52 lock.block();
53 lock.unblock();
54 lock.tryUpdate(callback);
60 lock.block();
61 lock.tryUpdate(callback);
67 lock.block();
68 lock.tryUpdate(callback);
69 lock.unblock()
    [all...]
  /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());
  /development/ndk/platforms/android-9/arch-arm/include/asm/
spinlock_types.h 20 volatile unsigned int lock; member in struct:__anon2407
26 volatile unsigned int lock; member in struct:__anon2408
  /development/ndk/platforms/android-9/arch-x86/include/asm/
mmu.h 27 struct mutex lock; member in struct:__anon2545
spinlock_types.h 31 unsigned int lock; member in struct:__anon2550
  /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
  /device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/Ia32/
MpAsm.asm 24 ; This lock only allows one AP to use the mTopOfApCommonStack stack at a time
41 lock bts dword ptr [ApStackLock], 0 label
50 lock btc dword ptr [ApStackLock], 0 label
71 lock btc dword ptr [ApStackLock], 0 label
  /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

Completed in 672 milliseconds

1 2 3 4 5 6 7 8 91011>>