Searched defs:lock (Results 1 - 25 of 203) sorted by relevance

123456789

/external/webkit/Source/WebKit/android/plugins/
H A DANPSurface_npapi.h36 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 Dqemu-lock.h41 static inline void spin_lock(spinlock_t *lock) argument
45 static inline void spin_unlock(spinlock_t *lock) argument
H A Dqemu-thread.h7 pthread_mutex_t lock; member in struct:QemuMutex
/external/webrtc/src/system_wrappers/source/
H A Drw_lock.cc28 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 Dfirefox_profile_lock_posix.cc88 // 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 Dfirefox_profile_lock_unittest.cc34 // 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 D2003-11-01-C99-CompoundLiteral.c4 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 D2003-11-04-EmptyStruct.c4 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 Datomic.c91 void release_return(int *lock) { argument
93 return __sync_lock_release(lock);
/external/kernel-headers/original/asm-arm/
H A Dspinlock_types.h9 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 Dmmu.h19 struct mutex lock; member in struct:__anon6774
H A Dspinlock_types.h15 unsigned int lock; member in struct:__anon6788
/external/srec/portable/include/
H A DPFileImpl.h50 * 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 Ddownload_types.h13 #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 Dmac_security_services_lock.cc8 #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 DMutex.cpp71 ** 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 Dprotobuf-mode.el158 (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 Dtc04_free_lock.c7 /* 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 Dblockgroup_lock.h37 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 Dseq_file.h22 struct mutex lock; member in struct:seq_file
/external/valgrind/main/drd/tests/
H A Dunified_annotations.h38 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 DChromiumInit.cpp65 static base::Lock lock; local
66 base::AutoLock aLock(lock);
/external/chromium/base/synchronization/
H A Dlock.h26 // 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 Dcontent_settings_base_provider.h13 #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 DICoverageData.java33 Object lock (); method in interface:ICoverageData

Completed in 1403 milliseconds

123456789