/external/chromium_org/ppapi/proxy/ |
H A D | pdf_resource_unittest.cc | 46 ProxyAutoLock lock; local 62 ProxyAutoLock lock; local 183 ProxyAutoLock lock; local
|
H A D | ppb_message_loop_proxy.cc | 200 ProxyAutoLock lock; local 209 ProxyAutoLock lock; local 214 ProxyAutoLock lock; local
|
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_file_ref_thunk.cc | 27 ppapi::ProxyAutoLock lock; local
|
/external/chromium_org/rlz/win/lib/ |
H A D | machine_deal.cc | 125 LibMutex lock; local 126 if (lock.failed()) 253 LibMutex lock; local 254 if (lock.failed())
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | caltztst.cpp | 47 Mutex lock; local 75 Mutex lock; local 94 Mutex lock; local 121 Mutex lock; local
|
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
H A D | memenv_test.cc | 130 FileLock* lock; local 133 ASSERT_OK(env_->LockFile("some file", &lock)); 134 ASSERT_OK(env_->UnlockFile(lock));
|
/external/chromium_org/tools/traceline/traceline/ |
H A D | stubs.asm | 30 lock xadd [eax], eax label 31 lock xadd [ecx], ecx label 32 lock xadd [ecx], eax label
|
/external/chromium_org/v8/src/ |
H A D | execution.h | 181 void InitThread(const ExecutionAccess& lock); 184 void ClearThread(const ExecutionAccess& lock); 208 // have the global V8 lock if you are using multiple V8 threads. 232 // You should hold the ExecutionAccess lock when calling this method. 233 bool has_pending_interrupts(const ExecutionAccess& lock) { argument 236 ASSERT(!should_postpone_interrupts(lock)); 240 // You should hold the ExecutionAccess lock when calling this method. 241 bool should_postpone_interrupts(const ExecutionAccess& lock) { argument 245 // You should hold the ExecutionAccess lock when calling this method. 246 inline void set_interrupt_limits(const ExecutionAccess& lock); [all...] |
/external/compiler-rt/lib/ |
H A D | atomic.c | 20 * To avoid needing a per-object lock, this code allocates an array of 22 * For operations that must be atomic on two locations, the lower lock is 55 // Platform-specific lock implementation. Falls back to spinlocks if none is 57 // lock() and unlock() functions. 71 inline static void lock(Lock *l) { function 88 /// Locks a lock. In the current implementation, this is potentially 90 inline static void lock(Lock *l) { function 97 /// Unlock a lock. This is a release operation. 101 /// Locks a lock. In the current implementation, this is potentially 103 inline static void lock(Loc function [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
H A D | MetaData.java | 52 synchronized (lock ()) 103 public Object lock () method in class:MetaData
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | MoreExecutors.java | 234 private final Lock lock = new ReentrantLock(); field in class:MoreExecutors.SameThreadExecutorService 237 private final Condition termination = lock.newCondition(); 261 lock.lock(); 265 lock.unlock(); 271 lock.lock(); 275 lock.unlock(); 288 lock.lock(); [all...] |
/external/icu4c/test/intltest/ |
H A D | caltztst.cpp | 47 Mutex lock; local 75 Mutex lock; local 94 Mutex lock; local 121 Mutex lock; local
|
/external/kernel-headers/original/linux/ |
H A D | idle_stats_device.h | 57 spinlock_t lock; member in struct:msm_idle_stats_device
|
H A D | seqlock.h | 5 * lock for data where the reader wants a consitent set of information 34 spinlock_t lock; member in struct:__anon19577 59 spin_lock(&sl->lock); 68 spin_unlock(&sl->lock); 73 int ret = spin_trylock(&sl->lock); 158 #define write_seqlock_irqsave(lock, flags) \ 159 do { local_irq_save(flags); write_seqlock(lock); } while (0) 160 #define write_seqlock_irq(lock) \ 161 do { local_irq_disable(); write_seqlock(lock); } while (0) 162 #define write_seqlock_bh(lock) \ [all...] |
/external/kernel-headers/original/linux/lockd/ |
H A D | xdr.h | 52 struct nlm_lock lock; member in struct:nlm_args 69 struct nlm_lock lock; member in struct:nlm_res
|
/external/libselinux/src/ |
H A D | avc_internal.h | 115 static inline void avc_get_lock(void *lock) argument 118 avc_func_get_lock(lock); 121 static inline void avc_release_lock(void *lock) argument 124 avc_func_release_lock(lock); 127 static inline void avc_free_lock(void *lock) argument 130 avc_func_free_lock(lock);
|
/external/linux-tools-perf/util/ |
H A D | annotate.h | 62 pthread_mutex_t lock; member in struct:annotation
|
/external/qemu/android/utils/ |
H A D | filelock.c | 55 ** lock - a lock file (file + '.lock') 60 ** attemp to link 'lock' to 'temp' 61 ** if the link succeeds, we obtain the lock 65 ** unlink 'lock' 68 ** on Windows, 'lock' is a directory name. locking is equivalent to 76 const char* lock; member in struct:FileLock 86 #define LOCK_NAME ".lock" 95 filelock_lock( FileLock* lock ) 366 FileLock* lock; local 385 FileLock* lock = malloc(total_len); local [all...] |
/external/stlport/src/ |
H A D | cxa.c | 87 static pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; variable 91 static pthread_mutex_t lock = 97 static pthread_mutex_t lock = variable 101 static pthread_mutex_t lock = PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP; variable 117 pthread_mutex_lock( &lock ); 149 pthread_mutex_unlock( &lock ); 160 * Note, that original __cxa_finalize don't use lock, but use __exit_funcs 168 pthread_mutex_lock( &lock ); 189 pthread_mutex_unlock( &lock );
|
/external/v8/src/ |
H A D | execution.h | 184 void InitThread(const ExecutionAccess& lock); 187 void ClearThread(const ExecutionAccess& lock); 210 // have the global V8 lock if you are using multiple V8 threads. 234 // You should hold the ExecutionAccess lock when calling this method. 235 bool has_pending_interrupts(const ExecutionAccess& lock) { argument 238 ASSERT(!should_postpone_interrupts(lock)); 242 // You should hold the ExecutionAccess lock when calling this method. 243 bool should_postpone_interrupts(const ExecutionAccess& lock) { argument 247 // You should hold the ExecutionAccess lock when calling this method. 248 inline void set_interrupt_limits(const ExecutionAccess& lock); [all...] |
/external/valgrind/main/drd/tests/ |
H A D | monitor_example.cpp | 101 void lock() function in class:Monitor 161 { lock(); } 164 void lock() function in class:ScopedLock 165 { assert(! m_locked); m_monitor.lock(); m_locked = true; }
|
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
H A D | MockAbstractPreferences.java | 84 public Object lock() { method in class:MockAbstractPreferences 85 return lock; 205 return lock;
|
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_HttpServer.java | 83 private final Object lock = new Object(); field in class:Support_HttpServer 106 synchronized (lock) { 110 lock.notifyAll(); 130 // release the lock so the tests will finish running 136 synchronized (lock) { 137 lock.notifyAll(); 152 synchronized (lock) { 159 lock.wait();
|
/external/bison/lib/glthread/ |
H A D | lock.c | 23 #include "glthread/lock.h" 38 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) argument 42 err = pthread_rwlock_init (&lock->rwlock, NULL); 45 lock->initialized = 1; 50 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) argument 52 if (!lock->initialized) 56 err = pthread_mutex_lock (&lock->guard); 59 if (!lock->initialized) 61 err = glthread_rwlock_init_multithreaded (lock); 64 pthread_mutex_unlock (&lock 76 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument 102 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument 110 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument 128 glthread_rwlock_init_multithreaded(gl_rwlock_t *lock) argument 147 glthread_rwlock_rdlock_multithreaded(gl_rwlock_t *lock) argument 176 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument 203 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument 259 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument 284 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument 313 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument 341 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument 367 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument 375 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument 393 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument 406 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument 427 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument 443 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument 532 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument 545 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument 566 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument 582 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument 637 glthread_lock_init_func(gl_lock_t *lock) argument 644 glthread_lock_lock_func(gl_lock_t *lock) argument 662 glthread_lock_unlock_func(gl_lock_t *lock) argument 671 glthread_lock_destroy_func(gl_lock_t *lock) argument 774 glthread_rwlock_init_func(gl_rwlock_t *lock) argument 784 glthread_rwlock_rdlock_func(gl_rwlock_t *lock) argument 838 glthread_rwlock_wrlock_func(gl_rwlock_t *lock) argument 891 glthread_rwlock_unlock_func(gl_rwlock_t *lock) argument 935 glthread_rwlock_destroy_func(gl_rwlock_t *lock) argument 953 glthread_recursive_lock_init_func(gl_recursive_lock_t *lock) argument 962 glthread_recursive_lock_lock_func(gl_recursive_lock_t *lock) argument 992 glthread_recursive_lock_unlock_func(gl_recursive_lock_t *lock) argument 1007 glthread_recursive_lock_destroy_func(gl_recursive_lock_t *lock) argument [all...] |
/external/chromium/base/synchronization/ |
H A D | waitable_event_posix.cc | 8 #include "base/synchronization/lock.h" 17 // The WaitableEvent maintains a list of waiters, protected by a lock. Each 22 // Waiting involves grabbing the lock and adding oneself to the wait list. Async 23 // waits can be canceled, which means grabbing the lock and removing oneself 122 // Called with lock held. 131 // unlocking it and removing it from the wait-list. Called with lock held. 137 base::Lock* lock() { function in class:base::SyncWaiter 173 sw.lock()->Acquire(); 177 // We are violating locking order here by holding the SyncWaiter lock but not 178 // the WaitableEvent lock [all...] |