/external/webkit/Source/WebKit/android/plugins/ |
H A D | 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)
|
/external/qemu/ |
H A D | qemu-lock.h | 41 static inline void spin_lock(spinlock_t *lock) argument 45 static inline void spin_unlock(spinlock_t *lock) argument
|
H A D | qemu-thread.h | 7 pthread_mutex_t lock; member in struct:QemuMutex
|
/external/webrtc/src/system_wrappers/source/ |
H A D | rw_lock.cc | 28 RWLockWrapper* lock = new RWLockWindows(); local 30 RWLockWrapper* lock = new RWLockWrapperGeneric(); 32 RWLockWrapper* lock = new RWLockPosix(); 34 if(lock->Init() != 0) 36 delete lock; 40 return lock;
|
/external/chromium/chrome/browser/importer/ |
H A D | firefox_profile_lock_posix.cc | 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; 104 lock [all...] |
H A D | firefox_profile_lock_unittest.cc | 34 // Tests basic functionality and verifies that the lock file is deleted after 44 scoped_ptr<FirefoxProfileLock> lock; local 45 EXPECT_EQ(static_cast<FirefoxProfileLock*>(NULL), lock.get()); 47 lock.reset(new FirefoxProfileLock(test_path)); 48 EXPECT_TRUE(lock->HasAcquired()); 50 lock->Unlock(); 51 EXPECT_FALSE(lock->HasAcquired()); 53 // In the posix code, we don't delete the file when releasing the lock. 57 lock->Lock(); 58 EXPECT_TRUE(lock 86 scoped_ptr<FirefoxProfileLock> lock; local [all...] |
/external/clang/test/CodeGen/ |
H A D | 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 }, };
|
H A D | 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) { }; }
|
H A D | atomic.c | 91 void release_return(int *lock) { argument 93 return __sync_lock_release(lock);
|
/external/kernel-headers/original/asm-arm/ |
H A D | spinlock_types.h | 9 volatile unsigned int lock; member in struct:__anon6630 15 volatile unsigned int lock; member in struct:__anon6631
|
/external/kernel-headers/original/asm-x86/ |
H A D | mmu.h | 19 struct mutex lock; member in struct:__anon6774
|
H A D | spinlock_types.h | 15 unsigned int lock; member in struct:__anon6788
|
/external/srec/portable/include/ |
H A D | PFileImpl.h | 50 * Used to lock underlying file and provide atomic read/write operations. 52 PtrdMonitor* lock; member in struct:PFileImpl_t
|
/external/chromium/chrome/browser/download/ |
H A D | download_types.h | 13 #include "base/synchronization/lock.h" 24 // is synchronized via the lock. Each entry in 'contents' represents one data 30 base::Lock lock; member in struct:DownloadBuffer
|
/external/chromium/crypto/ |
H A D | mac_security_services_lock.cc | 8 #include "base/synchronization/lock.h" 21 base::Lock& lock() { return lock_; } function in class:__anon2731::SecurityServicesSingleton 39 return SecurityServicesSingleton::GetInstance()->lock();
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | Mutex.cpp | 71 ** Function: lock 73 ** Description: Block the thread and try lock the mutex. 78 void Mutex::lock () function in class:Mutex 83 ALOGE ("Mutex::lock: fail lock; error=0x%X", res); 111 ** Description: Try to lock the mutex.
|
/external/protobuf/editors/ |
H A D | protobuf-mode.el | 158 (defconst protobuf-font-lock-keywords-1 (c-lang-const c-matchers-1 protobuf) 161 (defconst protobuf-font-lock-keywords-2 (c-lang-const c-matchers-2 protobuf) 164 (defconst protobuf-font-lock-keywords-3 (c-lang-const c-matchers-3 protobuf) 167 (defvar protobuf-font-lock-keywords protobuf-font-lock-keywords-3
|
/external/valgrind/main/helgrind/tests/ |
H A D | tc04_free_lock.c | 7 /* Delete memory that has a held lock and see what happens. */ 10 pthread_mutex_t lock; int morestuff[2000]; } XX; member in struct:__anon13953 20 pthread_mutex_init( &xx->lock, NULL ); 22 pthread_mutex_lock( &xx->lock );
|
/external/kernel-headers/original/linux/ |
H A D | blockgroup_lock.h | 37 spinlock_t lock; member in struct:bgl_lock 49 spin_lock_init(&bgl->locks[i].lock); 57 (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
H A D | seq_file.h | 22 struct mutex lock; member in struct:seq_file
|
/external/valgrind/main/drd/tests/ |
H A D | unified_annotations.h | 38 const volatile void *lock) 37 AnnotateCondVarWait(const char *file, int line, const volatile void *cv, const volatile void *lock) argument
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
H A D | ChromiumInit.cpp | 65 static base::Lock lock; local 66 base::AutoLock aLock(lock);
|
/external/chromium/base/synchronization/ |
H A D | lock.h | 26 // If the lock is not held, take it and return true. If the lock is already 28 // by a thread already holding the lock (what happens is undefined and an 40 // acquire the lock a second time (while already holding it). 63 // to see our lock and tweak our debugging counters, as it releases 80 // Be VERY careful to only access members under that lock. 88 // Platform specific underlying lock implementation. 97 explicit AutoLock(Lock& lock) : lock_(lock) { argument 111 // AutoUnlock is a helper that will Release() the |lock| argumen 115 AutoUnlock(Lock& lock) argument [all...] |
/external/chromium/chrome/browser/content_settings/ |
H A D | content_settings_base_provider.h | 13 #include "base/synchronization/lock.h" 107 base::Lock& lock() const { function in class:content_settings::BaseProvider
|
/external/emma/core/java12/com/vladium/emma/data/ |
H A D | ICoverageData.java | 33 Object lock (); method in interface:ICoverageData
|