/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
H A D | MonitorContendedEnterAndEnteredDebuggee.java | 29 static Object lock = new MonitorWaitMockMonitor(); field in class:MonitorContendedEnterAndEnteredDebuggee 40 synchronized (lock) { 47 // wait and hold the lock until the second thread blocks 50 logWriter.println("main thread: Waiting for second thread to attempt to lock a monitor"); 68 synchronized (lock) { 70 logWriter.println("--> BlockedThread: get 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...] |
H A D | lock.h | 30 Taking the lock: gl_lock_lock (name); 31 Releasing the lock: gl_lock_unlock (name); 35 Taking the lock: err = glthread_lock_lock (&name); 36 Releasing the lock: err = glthread_lock_unlock (&name); 44 Taking the lock: gl_rwlock_rdlock (name); 46 Releasing the lock: gl_rwlock_unlock (name); 50 Taking the lock: err = glthread_rwlock_rdlock (&name); 52 Releasing the lock: err = glthread_rwlock_unlock (&name); 60 Taking the lock: gl_recursive_lock_lock (name); 61 Releasing the lock 238 pthread_mutex_t lock; /* protects the remaining fields */ member in struct:__anon323 643 CRITICAL_SECTION lock; member in struct:__anon329 682 CRITICAL_SECTION lock; /* protects the remaining fields */ member in struct:__anon331 721 CRITICAL_SECTION lock; member in struct:__anon332 749 CRITICAL_SECTION lock; member in struct:__anon333 [all...] |
/external/bluetooth/bluedroid/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 100 pthread_mutex_t lock; member in struct:a2dp_stream_common 433 pthread_mutex_init(&common->lock, &lock_attr); 561 pthread_mutex_lock(&out->common.lock); 573 pthread_mutex_unlock(&out->common.lock); 577 pthread_mutex_unlock(&out->common.lock); 665 pthread_mutex_lock(&out->common.lock); 671 pthread_mutex_unlock(&out->common.lock); 694 pthread_mutex_lock(&out->common.lock); 732 pthread_mutex_unlock(&out->common.lock); 933 pthread_mutex_lock(&in->common.lock); [all...] |
/external/bluetooth/bluedroid/osi/src/ |
H A D | fixed_queue.c | 32 pthread_mutex_t lock; member in struct:fixed_queue_t 53 pthread_mutex_init(&ret->lock, NULL); 80 pthread_mutex_destroy(&queue->lock); 90 pthread_mutex_lock(&queue->lock); 92 pthread_mutex_unlock(&queue->lock); 102 pthread_mutex_lock(&queue->lock); 105 pthread_mutex_unlock(&queue->lock); 119 pthread_mutex_lock(&queue->lock); 121 pthread_mutex_unlock(&queue->lock); 133 pthread_mutex_lock(&queue->lock); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
H A D | KeyPairGeneratorSpi.java | 25 private static Object lock = new Object(); field in class:KeyPairGeneratorSpi 84 synchronized (lock)
|
/external/chromium_org/ash/wm/ |
H A D | immersive_fullscreen_controller_unittest.cc | 301 // 1) Test acquiring and releasing a revealed state lock while immersive 302 // fullscreen is disabled. Acquiring or releasing the lock should have no 309 // Immersive fullscreen should start in the revealed state due to the lock. 322 // Immersive fullscreen should start in the closed state because the lock is 328 // 2) Test that acquiring a lock reveals the top-of-window views if they are 594 scoped_ptr<ImmersiveRevealedLock> lock; local 597 // lock causing the top-of-window views to be revealed (and the mouse 602 lock.reset(controller()->GetRevealedLock( 605 lock.reset(); 622 // lock keepin [all...] |
H A D | toplevel_window_event_handler_unittest.cc | 471 // Tests that a gesture cannot minimize a window in login/lock screen. 480 aura::Window* lock = local 483 lock->AddChild(target.get());
|
/external/chromium_org/base/debug/ |
H A D | trace_event_impl.cc | 436 // A helper class that allows the lock to be acquired in the middle of the scope 440 explicit OptionalAutoLock(Lock& lock) argument 441 : lock_(lock), 1099 AutoLock lock(trace_log->lock_); 1119 AutoLock lock(trace_log_->lock_); 1131 AutoLock lock(trace_log_->lock_); 1136 AutoLock lock(trace_log_->lock_); 1339 // The g_category_groups is append only, avoid using a lock for the fast path. 1350 // This is the slow path: the lock is not held in the case above, so more 1352 // Only hold to lock whe 2267 GetEventByHandleInternal(TraceEventHandle handle, OptionalAutoLock* lock) argument [all...] |
/external/chromium_org/base/files/ |
H A D | file_posix.cc | 77 struct flock lock; local 78 lock.l_type = F_WRLCK; 79 lock.l_whence = SEEK_SET; 80 lock.l_start = 0; 81 lock.l_len = 0; // Lock entire file. 82 if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1)
|
/external/chromium_org/base/ |
H A D | path_service.cc | 18 #include "base/synchronization/lock.h" 114 base::Lock lock; member in struct:__anon2398::PathData 194 base::AutoLock scoped_lock(path_data->lock); 207 // Iterating does not need the lock because only the list head might be 227 base::AutoLock scoped_lock(path_data->lock); 271 base::AutoLock scoped_lock(path_data->lock); 287 base::AutoLock scoped_lock(path_data->lock); 318 base::AutoLock scoped_lock(path_data->lock); 338 base::AutoLock scoped_lock(path_data->lock);
|
/external/chromium_org/base/synchronization/ |
H A D | condition_variable_unittest.cc | 15 #include "base/synchronization/lock.h" 62 // The WorkQueue::lock_, as accessed via WorkQueue::lock(), should be used for 74 // They should use the lock to get exclusive access. 88 // Worker threads can call them but not needed to acquire a lock. 89 Lock* lock(); 114 // Caller must acquire lock before calling. 119 // should not hold the lock when calling this method. 151 Lock lock; local 155 ConditionVariable cv1(&lock); 159 ConditionVariable cv(&lock); 174 Lock lock; local 195 BackInTime(Lock* lock) argument 217 Lock lock; local 593 Lock* WorkQueue::lock() { function in class:base::__anon2490::WorkQueue [all...] |
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 83 // Be VERY careful to only access members under that lock. 87 // Platform specific underlying lock implementation. 98 explicit AutoLock(Lock& lock) : lock_(lock) { argument 102 AutoLock(Lock& lock, cons argument 120 AutoUnlock(Lock& lock) argument [all...] |
H A D | lock_unittest.cc | 5 #include "base/synchronization/lock.h" 19 explicit BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} argument 52 Lock lock; local 53 BasicLockTestThread thread(&lock); 60 lock.Acquire(); 62 lock.Release(); 65 lock.Acquire(); 68 lock.Release(); 71 if (lock 94 TryLockTestThread(Lock* lock) argument 112 Lock lock; local 152 MutexLockTestThread(Lock* lock, int* value) argument 155 DoStuff(Lock* lock, int* value) argument 177 Lock lock; local 193 Lock lock; local [all...] |
H A D | waitable_event_posix.cc | 11 #include "base/synchronization/lock.h" 20 // The WaitableEvent maintains a list of waiters, protected by a lock. Each 25 // Waiting involves grabbing the lock and adding oneself to the wait list. Async 26 // waits can be canceled, which means grabbing the lock and removing oneself 125 // Called with lock held. 134 // unlocking it and removing it from the wait-list. Called with lock held. 140 base::Lock* lock() { function in class:base::SyncWaiter 178 sw.lock()->Acquire(); 182 // We are violating locking order here by holding the SyncWaiter lock but not 183 // the WaitableEvent lock [all...] |
/external/chromium_org/base/third_party/dynamic_annotations/ |
H A D | dynamic_annotations.c | 74 const char *file, int line, const volatile void *lock) 78 const char *file, int line, const volatile void *lock) 82 const char *file, int line, const volatile void *lock, long is_w) 86 const char *file, int line, const volatile void *lock, long is_w) 108 const volatile void *lock) 73 AnnotateRWLockCreate( const char *file, int line, const volatile void *lock) argument 77 AnnotateRWLockDestroy( const char *file, int line, const volatile void *lock) argument 81 AnnotateRWLockAcquired( const char *file, int line, const volatile void *lock, long is_w) argument 85 AnnotateRWLockReleased( const char *file, int line, const volatile void *lock, long is_w) argument 106 AnnotateCondVarWait( const char *file, int line, const volatile void *cv, const volatile void *lock) argument
|
/external/chromium_org/base/threading/ |
H A D | thread_collision_warner_unittest.cc | 7 #include "base/synchronization/lock.h" 266 // a lock. 269 QueueUser(NonThreadSafeQueue& queue, base::Lock& lock) argument 271 lock_(lock) {} 292 base::Lock lock; local 294 QueueUser queue_user_a(queue, lock); 295 QueueUser queue_user_b(queue, lock); 340 // a lock. 343 QueueUser(NonThreadSafeQueue& queue, base::Lock& lock) argument 345 lock_(lock) {} 370 base::Lock lock; local [all...] |
H A D | watchdog.cc | 25 Lock lock; member in struct:base::__anon2565::StaticData 71 AutoLock lock(lock_); 80 AutoLock lock(lock_); 95 AutoLock lock(lock_); 106 AutoLock lock(lock_); 124 AutoLock lock(watchdog_->lock_); 142 AutoLock static_lock(static_data->lock); 156 AutoUnlock lock(watchdog_->lock_); 163 AutoLock static_lock(static_data->lock); 179 AutoLock lock(static_dat [all...] |
H A D | worker_pool_posix_unittest.cc | 12 #include "base/synchronization/lock.h" 25 Lock* lock() { return &pool_->lock_; } function in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer 101 peer_.set_num_idle_threads_cv(new ConditionVariable(peer_.lock())); 117 base::AutoLock pool_locked(*peer_.lock()); 222 base::AutoLock locked(*peer_.lock());
|
/external/chromium_org/base/win/ |
H A D | scoped_handle.cc | 40 // using the lock (hence, synchornizing multiple threads) even when the 45 // not propagated immediately to all CPUs (as would happen with a lock). 58 explicit AutoNativeLock(NativeLock& lock) : lock_(lock) { argument 81 AutoNativeLock lock(g_lock.Get()); 95 // Grab the thread id before the lock. 98 AutoNativeLock lock(g_lock.Get()); 116 AutoNativeLock lock(g_lock.Get()); 135 AutoNativeLock lock(g_lock.Get());
|
/external/chromium_org/cc/output/ |
H A D | gl_renderer.cc | 627 ResourceProvider::ScopedReadLockGL lock(resource_provider, 636 backend_texture_description.fTextureHandle = lock.texture_id(); 724 scoped_ptr<ResourceProvider::ScopedReadLockGL> lock; local 732 lock.reset(new ResourceProvider::ScopedReadLockGL( 734 source_texture_with_filters_id = lock->texture_id(); 898 ResourceProvider::ScopedWriteLockGL lock(resource_provider_, 901 lock.texture_id(), device_background_texture->format(), window_rect); 920 scoped_ptr<ResourceProvider::ScopedReadLockGL> lock; local 925 lock.reset(new ResourceProvider::ScopedReadLockGL( 927 filtered_device_background_texture_id = lock [all...] |
/external/chromium_org/cc/resources/ |
H A D | raster_worker_pool_unittest.cc | 88 base::Lock* lock, 90 : TestRasterTaskImpl(resource, reply, dependencies), lock_(lock) {} 94 base::AutoLock lock(*lock_); 242 void AppendBlockingTask(unsigned id, base::Lock* lock) { argument 257 lock, 350 base::Lock lock; local 352 // Schedule a task that is prevented from completing with a lock. 353 lock.Acquire(); 354 AppendBlockingTask(0u, &lock); 366 lock 86 BlockingTestRasterTaskImpl(const Resource* resource, const Reply& reply, base::Lock* lock, ImageDecodeTask::Vector* dependencies) argument [all...] |
/external/chromium_org/cc/test/ |
H A D | test_web_graphics_context_3d.h | 18 #include "base/synchronization/lock.h" 416 base::Lock lock; member in struct:cc::TestWebGraphicsContext3D::Namespace
|