Searched defs:lock (Results 176 - 200 of 340) sorted by relevance

1234567891011>>

/external/chromium_org/tools/gyp/tools/emacs/
H A Dgyp.el1 ;;; gyp.el - font-lock-mode support for gyp files.
34 (gyp-add-font-lock-keywords))
47 ;;; Font-lock support
80 This allows us to treat (for the purposes of font-lock) several different
165 the section symbol that should be used to determine font-lock information for
182 matched. The group of the match indicates what style font-lock should apply.
183 See also `gyp-add-font-lock-keywords'."
201 ;; Set the match data to indicate to the font-lock mechanism the
210 (defun gyp-add-font-lock-keywords ()
211 "Add gyp-mode keywords to font-lock mechanis
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepot.cc72 // Optimisic lock-free allocation, essentially try to bump the region ptr.
91 // If failed, lock, retry and alloc new superblock.
124 static StackDesc *lock(atomic_uintptr_t *p) { function in namespace:__sanitizer
155 // If failed, lock, retry and insert new.
156 StackDesc *s2 = lock(p);
/external/easymock/src/org/easymock/internal/
H A DReplayState.java30 private final ReentrantLock lock = new ReentrantLock(); field in class:ReplayState
42 lock.lock();
47 lock.unlock();
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAbstractScheduledService.java49 * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely
161 // This lock protects the task so we can ensure that none of the template methods (startUp,
163 private final ReentrantLock lock = new ReentrantLock();
167 lock.lock();
180 lock.unlock();
189 lock.lock();
198 lock.unlock();
209 lock
327 private final ReentrantLock lock = new ReentrantLock(); field in class:AbstractScheduledService.CustomScheduler.ReschedulableCallable
[all...]
H A DMonitor.java123 * private final ReentrantLock lock = new ReentrantLock();
124 * private final Condition valuePresent = lock.newCondition();
125 * private final Condition valueAbsent = lock.newCondition();
129 * lock.lock();
139 * lock.unlock();
144 * lock.lock();
152 * lock.unlock();
224 @GuardedBy("monitor.lock")
261 private final ReentrantLock lock; field in class:Monitor
[all...]
/external/harfbuzz_ng/src/
H A Dhb-object-private.hh84 hb_mutex_t lock; member in struct:hb_user_data_array_t
87 inline void init (void) { lock.init (); items.init (); }
96 inline void finish (void) { items.finish (lock); lock.finish (); }
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
H A DAwtPanel.java47 private final Object lock = new Object(); field in class:AwtPanel
59 synchronized (lock){
77 synchronized (lock){
87 synchronized (lock){
98 synchronized (lock){
129 synchronized (lock){
143 synchronized (lock){
218 synchronized (lock){
222 // synchronized (lock){
/external/kernel-headers/original/linux/mtd/
H A Dflashchip.h84 spinlock_t lock; member in struct:flchip_shared
/external/kernel-headers/original/linux/
H A Dnotifier.h42 spinlock_t lock; member in struct:atomic_notifier_head
56 spin_lock_init(&(name)->lock); \
68 .lock = __SPIN_LOCK_UNLOCKED(name.lock), \
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_screen.h51 uint32_t lock[NV50_TIC_MAX_ENTRIES / 32]; member in struct:nv50_screen::__anon22529
57 uint32_t lock[NV50_TSC_MAX_ENTRIES / 32]; member in struct:nv50_screen::__anon22530
121 screen->tic.lock[tic->id / 32] &= ~(1 << (tic->id % 32));
128 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32));
136 screen->tic.lock[tic->id / 32] &= ~(1 << (tic->id % 32));
145 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32));
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_screen.h47 uint32_t lock[NVC0_TIC_MAX_ENTRIES / 32]; member in struct:nvc0_screen::__anon22539
53 uint32_t lock[NVC0_TSC_MAX_ENTRIES / 32]; member in struct:nvc0_screen::__anon22540
120 screen->tic.lock[tic->id / 32] &= ~(1 << (tic->id % 32));
127 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32));
135 screen->tic.lock[tic->id / 32] &= ~(1 << (tic->id % 32));
144 screen->tsc.lock[tsc->id / 32] &= ~(1 << (tsc->id % 32));
/external/mesa3d/src/glx/apple/
H A Dapple_glx_drawable.h120 void (*lock) (struct apple_glx_drawable * agd); member in struct:apple_glx_drawable
/external/openssh/
H A Dssh-add.c322 lock_agent(AuthenticationConnection *ac, int lock) argument
327 strlcpy(prompt, "Enter lock password: ", sizeof(prompt));
329 if (lock) {
339 if (passok && ssh_lock_agent(ac, lock, p1)) {
340 fprintf(stderr, "Agent %slocked.\n", lock ? "" : "un");
343 fprintf(stderr, "Failed to %slock agent.\n", lock ? "" : "un");
/external/openssl/crypto/bn/
H A Dbn_mont.c478 BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, int lock, argument
484 CRYPTO_r_lock(lock);
487 CRYPTO_r_unlock(lock);
488 CRYPTO_w_lock(lock);
504 CRYPTO_w_unlock(lock);
506 CRYPTO_r_unlock(lock);
/external/qemu/distrib/sdl-1.2.15/src/events/
H A DSDL_events.c43 SDL_mutex *lock; member in struct:__anon24375
54 SDL_mutex *lock; member in struct:__anon24376
65 /* Grab lock and spin until we're sure event thread stopped */
66 SDL_mutexP(SDL_EventLock.lock);
75 SDL_mutexV(SDL_EventLock.lock);
128 On the P of the lock mutex, if the lock is held, this thread
129 will wait until the lock is released before continuing. The
135 SDL_mutexP(SDL_EventLock.lock);
137 SDL_mutexV(SDL_EventLock.lock);
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSQLiteDatabase.java51 public void lock() { method in class:ShadowSQLiteDatabase
53 mLock.lock();
347 lock();
364 lock();
373 lock();
/external/skia/src/lazy/
H A DSkLruImageCache.cpp41 void lock() { SkASSERT(!fLocked); fLocked = true; } function in class:CachedPixels
115 pixels->lock();
136 pixels->lock();
/external/v8/samples/
H A Dlineprocessor.cc276 v8::Locker lock; local
/external/v8/src/
H A Dd8-debug.cc248 i::ScopedLock lock(event_access_);
263 i::ScopedLock lock(event_access_);
276 Locker lock; local
305 Locker lock; local
/external/chromium/base/synchronization/
H A Dcondition_variable_unittest.cc15 #include "base/synchronization/lock.h"
60 // The WorkQueue::lock_, as accessed via WorkQueue::lock(), should be used for
72 // They should use the lock to get exclusive access.
86 // Worker threads can call them but not needed to acquire a lock.
87 Lock* lock();
113 // Caller must acquire lock before calling.
118 // should not hold the lock when calling this method.
150 Lock lock; local
154 ConditionVariable cv1(&lock);
158 ConditionVariable cv(&lock);
173 Lock lock; local
576 Lock* WorkQueue::lock() { function in class:base::__anon1783::WorkQueue
[all...]
/external/chromium_org/base/synchronization/
H A Dcondition_variable_unittest.cc14 #include "base/synchronization/lock.h"
60 // The WorkQueue::lock_, as accessed via WorkQueue::lock(), should be used for
72 // They should use the lock to get exclusive access.
86 // Worker threads can call them but not needed to acquire a lock.
87 Lock* lock();
113 // Caller must acquire lock before calling.
118 // should not hold the lock when calling this method.
150 Lock lock; local
154 ConditionVariable cv1(&lock);
158 ConditionVariable cv(&lock);
173 Lock lock; local
541 Lock* WorkQueue::lock() { function in class:base::__anon3921::WorkQueue
[all...]
/external/chromium_org/cc/test/
H A Dtest_web_graphics_context_3d.h16 #include "base/synchronization/lock.h"
239 base::Lock lock; member in struct:cc::TestWebGraphicsContext3D::Namespace
/external/chromium_org/content/browser/
H A Dbrowser_thread_impl.cc42 // This lock protects |threads|. Do not read or modify that array
43 // without holding this lock. Do not block while holding this lock.
44 base::Lock lock; member in struct:content::__anon7543::BrowserThreadGlobals
46 // This array is protected by |lock|. The threads are not owned by this
213 base::AutoLock lock(globals.lock);
226 base::AutoLock lock(globals.lock);
246 // order of lifetime. So no need to lock i
[all...]
/external/chromium_org/ppapi/proxy/
H A Ddevice_enumeration_resource_helper_unittest.cc193 ProxyAutoLock lock; local
223 ProxyAutoLock lock; local
274 ProxyAutoLock lock; local
/external/chromium_org/rlz/lib/
H A Drlz_lib.cc147 rlz_lib::ScopedRlzValueStoreLock lock; local
148 rlz_lib::RlzValueStore* store = lock.GetStore();
225 ScopedRlzValueStoreLock lock; local
226 RlzValueStore* store = lock.GetStore();
244 ScopedRlzValueStoreLock lock; local
245 RlzValueStore* store = lock.GetStore();
273 ScopedRlzValueStoreLock lock; local
274 RlzValueStore* store = lock.GetStore();
302 ScopedRlzValueStoreLock lock; local
303 RlzValueStore* store = lock
314 ScopedRlzValueStoreLock lock; local
499 rlz_lib::ScopedRlzValueStoreLock lock; local
614 ScopedRlzValueStoreLock lock; local
[all...]

Completed in 737 milliseconds

1234567891011>>