HomeSort by relevance Sort by last modified time
    Searched defs:lock (Results 101 - 125 of 1778) sorted by null

1 2 3 45 6 7 8 91011>>

  /device/generic/goldfish/gralloc/
gr.h 51 inline explicit Autolock(Locker& locker) : locker(locker) { locker.lock(); }
56 inline void lock() { pthread_mutex_lock(&mutex); } function in class:Locker
  /device/google/marlin/camera/QCamera2/stack/common/
cam_queue.h 44 pthread_mutex_t lock; member in struct:__anon2143
49 pthread_mutex_init(&queue->lock, NULL);
66 pthread_mutex_lock(&queue->lock);
69 pthread_mutex_unlock(&queue->lock);
81 pthread_mutex_lock(&queue->lock);
89 pthread_mutex_unlock(&queue->lock);
105 pthread_mutex_lock(&queue->lock);
125 pthread_mutex_unlock(&queue->lock);
132 pthread_mutex_destroy(&queue->lock);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
rrcs.py 67 def lock(x, copts, fn): function
68 x.lock(fn)
153 'lock': ('', lock),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
posixfile.py 37 f.lock(mode [, len [, start [, whence]]])
38 will (un)lock a region
41 (character representing type of lock)
43 r read lock
44 w write lock
46 | wait until the lock can be granted
47 ? return the first lock conflicting with the requested lock
48 or 'None' if there is no conflict. The lock returned is in the
50 character representing the type of lock ('r' or 'w')
153 def lock(self, how, *args): member in class:_posixfile_
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
thread_lwp.h 9 struct lock { struct
59 * Lock support.
63 struct lock *lock; local
70 lock = (struct lock *) malloc(sizeof(struct lock));
71 lock->lock_locked = 0;
72 (void) mon_create(&lock->lock_monitor);
73 (void) cv_create(&lock->lock_condvar, lock->lock_monitor);
    [all...]
  /external/autotest/server/cros/
host_lock_manager.py 15 A caller can lock or unlock one or more DUTs. If the caller fails to unlock()
22 manager.lock(['host1'])
32 @attribute LOCK: a string.
36 LOCK = 'lock'
79 @param operation: a string, LOCK or UNLOCK.
90 if operation == self.LOCK and host_info.locked:
102 def lock(self, hosts, lock_reason='Locked by HostLockManager'): member in class:HostLockManager
103 """Attempt to lock hosts in AFE.
112 logging.info('Attempt to lock %s', new_hosts
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
ServerSocketService.java 39 import java.util.concurrent.locks.Lock;
93 private final Lock lock = new ReentrantLock(); field in class:ServerSocketService
99 @GuardedBy("lock")
106 @GuardedBy("lock")
153 // N.B. you should not call set with the lock held, to prevent same thread executors from
154 // running with the lock.
177 lock.lock();
190 lock.unlock()
    [all...]
  /external/easymock/src/org/easymock/internal/
ReplayState.java 30 private final ReentrantLock lock = new ReentrantLock(); field in class:ReplayState
42 lock.lock();
47 lock.unlock();
  /external/emma/core/java12/com/vladium/emma/data/
ICoverageData.java 33 Object lock (); method in interface:ICoverageData
IMetaData.java 22 Object lock (); method in interface:IMetaData
  /external/fio/
mutex.h 11 pthread_mutex_t lock; member in struct:fio_mutex
19 pthread_rwlock_t lock; member in struct:fio_rwlock
  /external/harfbuzz_ng/src/
hb-mutex-private.hh 135 inline void lock (void) { hb_mutex_impl_lock (&m); } function in struct:hb_mutex_t
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/filter/targets/
Synchronized.java 24 private static final Object lock = new Object(); field in class:Synchronized
28 synchronized (lock) { // $line-monitorEnter$
35 synchronized (lock) { // $line-explicitException.monitorEnter$
41 synchronized (lock) { // $line-implicitException.monitorEnter$
  /external/jemalloc/include/jemalloc/internal/
mutex.h 37 SRWLOCK lock; member in struct:malloc_mutex_s
39 CRITICAL_SECTION lock;
42 os_unfair_lock lock;
44 OSSpinLock lock;
46 pthread_mutex_t lock;
49 pthread_mutex_t lock;
92 AcquireSRWLockExclusive(&mutex->lock);
94 EnterCriticalSection(&mutex->lock);
97 os_unfair_lock_lock(&mutex->lock);
99 OSSpinLockLock(&mutex->lock);
    [all...]
  /external/libchrome/base/synchronization/
condition_variable_posix.cc 11 #include "base/synchronization/lock.h"
18 ConditionVariable::ConditionVariable(Lock* user_lock)
50 base::Lock lock; local
51 base::AutoLock l(lock);
55 pthread_cond_timedwait_relative_np(&condition_, lock.lock_.native_handle(),
  /external/libchrome/base/threading/
thread_collision_warner_unittest.cc 11 #include "base/synchronization/lock.h"
265 // a lock.
268 QueueUser(NonThreadSafeQueue* queue, base::Lock* lock)
269 : queue_(queue), lock_(lock) {}
283 base::Lock* lock_;
290 base::Lock lock; local
292 QueueUser queue_user_a(&queue, &lock);
293 QueueUser queue_user_b(&queue, &lock);
367 base::Lock lock; local
    [all...]
  /external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
wait_terminates.sh.cpp 32 // 1. void wait(Lock& lock);
33 // 2. void wait(Lock& lock, Pred);
34 // 3. void wait_for(Lock& lock, Duration);
35 // 4. void wait_for(Lock& lock, Duration, Pred);
36 // 5. void wait_until(Lock& lock, TimePoint)
89 void lock() { function in class:ThrowingMutex
    [all...]
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
mutex.pass.cpp 28 void lock() { assert(!locked); locked = true; } function in struct:TestMutex
44 void lock() { function in struct:TestMutexThrows
54 lock();
  /external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
lock.pass.cpp 20 // void lock(L1&, L2&, L3&...);
34 void lock() function in class:L0
57 void lock() function in class:L1
80 void lock() function in class:L2
101 std::lock(l0, l1);
108 std::lock(l0, l1);
115 std::lock(l0, l1);
125 std::lock(l0, l1);
139 std::lock(l0, l1);
153 std::lock(l0, l1)
    [all...]
  /external/libunwind/include/
mempool.h 37 malloc-lock is taken, possibly by the very thread that is
63 pthread_mutex_t lock; member in struct:mempool
  /external/llvm/include/llvm/Support/
UniqueLock.h 22 /// name, it's really more of a wrapper for a lock. It may or may not have
25 /// and re-lock it freely during its lifetime.
36 explicit unique_lock(MutexT &m) : M(&m), locked(true) { M->lock(); }
49 void lock() { function in class:llvm::unique_lock
52 M->lock();
  /external/llvm/utils/emacs/
llvm-mode.el 20 (defvar llvm-font-lock-keywords
23 '("%[-a-zA-Z$\._][-a-zA-Z$\._0-9]*" . font-lock-variable-name-face)
25 '("[-a-zA-Z$\._0-9]+:" . font-lock-variable-name-face)
27 '("%[-]?[0-9]+" . font-lock-variable-name-face)
29 `(,(regexp-opt '("void" "i1" "i8" "i16" "i32" "i64" "i128" "float" "double" "type" "label" "opaque") 'symbols) . font-lock-type-face)
31 '("\\b[-]?[0-9]+\\b" . font-lock-preprocessor-face)
33 '("\\b[-+]?[0-9]+\.[0-9]*\([eE][-+]?[0-9]+\)?\\b" . font-lock-preprocessor-face)
35 '("\\b0x[0-9A-Fa-f]+\\b" . font-lock-preprocessor-face)
41 "pointersize" "volatile" "fastcc" "coldcc" "cc" "personality") 'symbols) . font-lock-keyword-face)
44 "setne" "seteq" "setlt" "setgt" "setle" "setge") 'symbols) . font-lock-keyword-face
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
scoped_lock.hpp 22 // Helper class to lock and unlock a mutex automatically.
31 // Constructor adopts a lock that is already held.
38 // Constructor acquires the lock.
42 mutex_.lock();
46 // Destructor releases the lock.
53 // Explicitly acquire the lock.
54 void lock() function in class:asio::detail::scoped_lock
58 mutex_.lock();
63 // Explicitly release the lock.
73 // Test whether the lock is held
    [all...]
  /external/python/cpython2/Demo/pdist/
rrcs.py 67 def lock(x, copts, fn): function
68 x.lock(fn)
153 'lock': ('', lock),
  /external/python/cpython2/Lib/
posixfile.py 37 f.lock(mode [, len [, start [, whence]]])
38 will (un)lock a region
41 (character representing type of lock)
43 r read lock
44 w write lock
46 | wait until the lock can be granted
47 ? return the first lock conflicting with the requested lock
48 or 'None' if there is no conflict. The lock returned is in the
50 character representing the type of lock ('r' or 'w'
153 def lock(self, how, *args): member in class:_posixfile_
    [all...]

Completed in 668 milliseconds

1 2 3 45 6 7 8 91011>>