/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prcvar.h | 48 ** "lock" is the lock used to protect the condition variable. 56 NSPR_API(PRCondVar*) PR_NewCondVar(PRLock *lock); variable 69 ** caller specified amount of time expires. The lock associated with 75 ** the lock that it held when wait was called. 81 ** is to release the lock, possibly causing a rescheduling within the 82 ** runtime, then immediately attempting to reacquire the lock and resume. 87 ** being protected by the lock and tested explicitly for an expired 90 ** Returns PR_FAILURE if the caller has not locked the lock associated 102 ** The calling thead must hold the lock that protects the condition, a [all...] |
prlock.h | 59 * NSPR represents the lock as an opaque entity to the client of the 72 ** Returns a pointer to a newly created opaque lock object. 76 ** If the lock can not be created because of resource constraints, NULL 85 ** Destroys a given opaque lock object. 86 ** INPUTS: PRLock *lock 87 ** Lock to be freed. 91 NSPR_API(void) PR_DestroyLock(PRLock *lock); variable 96 ** Lock a lock. 97 ** INPUTS: PRLock *lock 102 NSPR_API(void) PR_Lock(PRLock *lock); variable 114 NSPR_API(PRStatus) PR_Unlock(PRLock *lock); variable [all...] |
prpdce.h | 55 ** Test and acquire a lock. 57 ** If the lock is acquired by the calling thread, the 58 ** return value will be PR_SUCCESS. If the lock is 62 NSPR_API(PRStatus) PRP_TryLock(PRLock *lock); variable 68 ** to a lock. The CV created with this function is the only type 85 ** the lock protecting the condition 'lock' is held by the 93 PRCondVar *cvar, PRLock *lock, PRIntervalTime timeout);
|
prrwlock.h | 37 ** Description: API to basic reader-writer lock functions of NSPR. 51 * The reader writer lock, PRRWLock, is an opaque object to the clients 64 ** Returns a pointer to a newly created reader-writer lock object. 65 ** INPUTS: Lock rank 66 ** Lock name 69 ** If the lock cannot be created because of resource constraints, NULL 78 ** Destroys a given RW lock object. 79 ** INPUTS: PRRWLock *lock - Lock to be freed. 83 NSPR_API(void) PR_DestroyRWLock(PRRWLock *lock); variable 93 NSPR_API(void) PR_RWLock_Rlock(PRRWLock *lock); variable 103 NSPR_API(void) PR_RWLock_Wlock(PRRWLock *lock); variable 113 NSPR_API(void) PR_RWLock_Unlock(PRRWLock *lock); variable [all...] |
prolock.h | 44 ** is provided that will permit applications to define a Lock 45 ** Hierarchy (or Lock Ordering) schema. An application designed 46 ** using the Ordered Lock functions will terminate with a 47 ** diagnostic message when a lock inversion condition is 50 ** The lock ordering detection is complile-time enabled only. in 51 ** optimized builds of NSPR, the Ordered Lock functions map 52 ** directly to PRLock functions, providing no lock order 55 ** The Ordered Lock Facility is compiled in when DEBUG is defined at 56 ** compile time. Ordered Lock can be forced on in optimized builds by 58 ** application using Ordered Lock and NSPR must be compiled with th 146 PROrderedLock *lock variable 174 PROrderedLock *lock variable 202 PROrderedLock *lock variable [all...] |
/frameworks/compile/libbcc/include/bcc/Support/ |
FileMutex.h | 30 : FileBase(pFileToLock + ".lock", O_RDONLY | O_CREAT, kDeleteOnClose) { } 32 // Provide a lock() interface filled with default configuration. 33 inline bool lock(bool pNonblocking = true, function in class:bcc::FileMutex 37 return FileBase::lock(LockMode, pNonblocking, pMaxRetry, pRetryInterval);
|
/ndk/tests/build/pthread-rwlock-initializer/jni/ |
test_pthread_rwlock_initializer.c | 13 pthread_rwlock_t lock; local 14 pthread_rwlock_init(&lock, NULL); 15 pthread_rwlock_rdlock(&lock); 16 pthread_rwlock_unlock(&lock); 17 pthread_rwlock_destroy(&lock);
|
/frameworks/testing/uiautomator/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();
|
/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/webrtc/src/system_wrappers/source/ |
rw_lock.cc | 25 RWLockWrapper* lock = new RWLockWindows(); local 27 RWLockWrapper* lock = new RWLockPosix(); 29 if(lock->Init() != 0) 31 delete lock; 35 return lock;
|
/external/robolectric/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());
|
/bionic/libc/kernel/arch-arm/asm/ |
spinlock_types.h | 26 volatile unsigned int lock; member in struct:__anon150 31 volatile unsigned int lock; member in struct:__anon151
|
/bionic/libc/kernel/arch-x86/asm/ |
mmu.h | 27 struct mutex lock; member in struct:__anon282
|
spinlock_types.h | 31 unsigned int lock; member in struct:__anon287
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
spinlock_types.h | 20 volatile unsigned int lock; member in struct:__anon970 26 volatile unsigned int lock; member in struct:__anon971
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
mmu.h | 27 struct mutex lock; member in struct:__anon1476
|
spinlock_types.h | 31 unsigned int lock; member in struct:__anon1481
|
/external/chromium/chrome/browser/importer/ |
firefox_profile_lock_posix.cc | 63 void FirefoxProfileLock::Lock() { 88 // This function tries to lock Firefox profile using fcntl(). The return 90 // of lock. 91 // if return == false: Another process has lock to the profile. 92 // if return == true && HasAcquired() == true: successfully acquired the lock. 93 // if return == false && HasAcquired() == false: Failed to acquire lock due 94 // to some error (so that we can try alternate method of profile lock). 101 struct flock lock; local 102 lock.l_start = 0; 103 lock.l_len = 0 [all...] |
/external/chromium_org/chrome/browser/importer/ |
firefox_profile_lock_posix.cc | 63 void FirefoxProfileLock::Lock() { 88 // This function tries to lock Firefox profile using fcntl(). The return 90 // of lock. 91 // if return == false: Another process has lock to the profile. 92 // if return == true && HasAcquired() == true: successfully acquired the lock. 93 // if return == false && HasAcquired() == false: Failed to acquire lock due 94 // to some error (so that we can try alternate method of profile lock). 101 struct flock lock; local 102 lock.l_start = 0; 103 lock.l_len = 0 [all...] |
/external/kernel-headers/original/asm-arm/ |
spinlock_types.h | 9 volatile unsigned int lock; member in struct:__anon22407 15 volatile unsigned int lock; member in struct:__anon22408
|
/external/kernel-headers/original/asm-x86/ |
mmu.h | 19 struct mutex lock; member in struct:__anon22552
|
spinlock_types.h | 15 unsigned int lock; member in struct:__anon22566
|
/external/libvpx/libvpx/vpx_ports/ |
vpx_once.h | 17 static CRITICAL_SECTION *lock; local 20 void *lock_ptr = &lock; 24 * lock. 31 /* Get a lock. We create one and try to make it the one-true-lock, 46 /* At this point, we have a lock that can be synchronized on. We don't 50 EnterCriticalSection(lock); 58 LeaveCriticalSection(lock); 65 DeleteCriticalSection(lock); 66 free(lock); 76 static pthread_once_t lock = PTHREAD_ONCE_INIT; local [all...] |
/external/qemu/ |
qemu-thread.h | 7 pthread_mutex_t lock; member in struct:QemuMutex
|