/external/webkit/Source/WebKit/android/plugins/ |
ANPSurface_npapi.h | 36 surface will be considered dirty. If the lock was successful the function 40 bool (*lock)(JNIEnv* env, jobject surface, ANPBitmap* bitmap, ANPRectI* dirtyRect); member in struct:ANPSurfaceInterfaceV0 41 /** Given a locked surface handle (i.e. result of a successful call to lock)
|
/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);
|
/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());
|
PowerManagerTest.java | 42 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local 43 assertFalse(lock.isHeld()); 44 lock.acquire(); 45 assertTrue(lock.isHeld()); 46 lock.acquire(); 48 assertTrue(lock.isHeld()); 49 lock.release(); 51 assertTrue(lock.isHeld()); 52 lock.release(); 53 assertFalse(lock.isHeld()) 58 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local 74 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); local [all...] |
/bionic/libc/kernel/arch-arm/asm/ |
spinlock_types.h | 26 volatile unsigned int lock; member in struct:__anon100 31 volatile unsigned int lock; member in struct:__anon101
|
/bionic/libc/kernel/arch-x86/asm/ |
mmu.h | 27 struct mutex lock; member in struct:__anon232
|
spinlock_types.h | 31 unsigned int lock; member in struct:__anon237
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
spinlock_types.h | 20 volatile unsigned int lock; member in struct:__anon918 26 volatile unsigned int lock; member in struct:__anon919
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
mmu.h | 27 struct mutex lock; member in struct:__anon1422
|
spinlock_types.h | 31 unsigned int lock; member in struct:__anon1427
|
/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/kernel-headers/original/asm-arm/ |
spinlock_types.h | 9 volatile unsigned int lock; member in struct:__anon9446 15 volatile unsigned int lock; member in struct:__anon9447
|
/external/kernel-headers/original/asm-x86/ |
mmu.h | 19 struct mutex lock; member in struct:__anon9591
|
spinlock_types.h | 15 unsigned int lock; member in struct:__anon9605
|
/external/qemu/ |
qemu-thread.h | 7 pthread_mutex_t lock; member in struct:QemuMutex
|
/external/smack/src/com/kenai/jbosh/ |
HTTPExchange.java | 20 import java.util.concurrent.locks.Lock; 45 * Lock instance used to protect and provide conditions. 47 private final Lock lock = new ReentrantLock(); field in class:HTTPExchange 52 private final Condition ready = lock.newCondition(); 92 lock.lock(); 101 lock.unlock(); 111 lock.lock(); [all...] |
/external/srec/portable/include/ |
PFileImpl.h | 50 * Used to lock underlying file and provide atomic read/write operations. 52 PtrdMonitor* lock; member in struct:PFileImpl_t
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
ChromiumInit.cpp | 65 static base::Lock lock; local 66 base::AutoLock aLock(lock);
|
/frameworks/rs/ |
rsMutex.cpp | 39 bool Mutex::lock() { function in class:Mutex
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
CMutex.cpp | 57 int32_t CMutex::lock( function in class:CMutex
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
unlock.pass.cpp | 23 void lock() {} function in struct:mutex
|