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

1 23 4 5 6 7 8 91011>>

  /external/boringssl/src/crypto/pool/
internal.h 37 CRYPTO_MUTEX lock; member in struct:crypto_buffer_pool_st
  /external/deqp/framework/delibs/decpp/
deMutex.hpp 33 * \brief Mutual exclusion lock
35 * Mutex class provides standard mutual exclusion lock functionality.
43 void lock (void) throw();
55 * \brief Scoped mutex lock.
57 * ScopedLock provides helper for maintaining Mutex lock for the duration
58 * of current scope. The lock is acquired in constructor and released
77 * \brief Acquire mutex lock.
83 * lock is released.
86 * succeed and increment lock count.
88 inline void Mutex::lock (void) throw( function in class:de::Mutex
    [all...]
  /external/libcxx/src/
shared_mutex.cpp 27 __shared_mutex_base::lock() function in class:__shared_mutex_base
108 void shared_timed_mutex::lock() { return __base.lock(); } function in class:shared_timed_mutex
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
adopt_lock.pass.cpp 27 void lock() { assert(!locked); locked = true; } function in struct:TestMutex
44 m1.lock();
54 m1.lock(); m2.lock();
64 m1.lock(); m2.lock(); m3.lock();
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
posix_mutex.hpp 45 // Lock the mutex.
46 void lock() function in class:asio::detail::posix_mutex
  /external/pdfium/third_party/base/allocator/partition_allocator/
spin_lock.h 18 // cores. For any potentially longer wait you should use a real lock, such as
19 // |base::Lock|.
22 // result in an uninitialized lock, which is dangerously incorrect.
32 ALWAYS_INLINE void lock() { function in class:pdfium::base::subtle::SpinLock
43 // This is called if the initial attempt to acquire the lock fails. It's
  /external/protobuf/editors/
protobuf-mode.el 158 (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/python/cpython2/Python/
thread_cthread.h 63 * Lock support.
68 mutex_t lock; local
74 lock = mutex_alloc();
75 if (mutex_init(lock)) {
77 free((void *) lock);
78 lock = 0;
80 dprintf(("PyThread_allocate_lock() -> %p\n", lock));
81 return (PyThread_type_lock) lock;
85 PyThread_free_lock(PyThread_type_lock lock)
87 dprintf(("PyThread_free_lock(%p) called\n", lock));
    [all...]
  /external/swiftshader/src/Common/
Resource.cpp 37 void *Resource::lock(Accessor claimer) function in class:sw::Resource
39 criticalSection.lock();
48 criticalSection.lock();
60 void *Resource::lock(Accessor relinquisher, Accessor claimer) function in class:sw::Resource
62 criticalSection.lock();
94 criticalSection.lock();
108 criticalSection.lock();
133 criticalSection.lock();
161 criticalSection.lock();
  /external/swiftshader/src/Main/
FrameBufferOzone.cpp 31 void *FrameBufferOzone::lock() function in class:sw::FrameBufferOzone
  /external/syslinux/com32/gpllib/dmi/
dmi_chassis.c 74 static const char *lock[] = { local
79 return lock[code];
  /external/tensorflow/tensorflow/core/lib/core/
notification_test.cc 59 mutex lock; local
64 thread_pool->Schedule([&n, &lock, &counter] {
66 mutex_lock l(lock);
  /external/tensorflow/tensorflow/tools/test/
upload_test_benchmarks.py 124 def lock(fd): function
202 lock and read it. The lock is released when the file is closed. Do not open
203 that same file a 2nd time while the lock is already held, because when that
204 2nd file descriptor is closed, the lock will be released prematurely.
215 # unlock(fd) -- When "with open()" closes fd, the lock is released.
  /external/valgrind/helgrind/tests/
tc04_free_lock.c 7 /* Delete memory that has a held lock and see what happens. */
10 pthread_mutex_t lock; int morestuff[2000]; } XX; member in struct:__anon42693
20 pthread_mutex_init( &xx->lock, NULL );
22 pthread_mutex_lock( &xx->lock );
  /external/webrtc/webrtc/base/
sigslot.cc 24 void multi_threaded_global::lock() { function in class:sigslot::multi_threaded_global
44 void multi_threaded_local::lock() { function in class:sigslot::multi_threaded_local
  /frameworks/av/include/private/media/
AudioEffectShared.h 37 Mutex lock; member in struct:android::effect_param_cblk_t
43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
  /frameworks/rs/
rsMutex.cpp 38 bool Mutex::lock() { function in class:android::renderscript::Mutex
  /hardware/intel/common/wrs_omxil_core/utils/inc/
thread.h 55 pthread_mutex_t lock; member in class:Thread
  /hardware/qcom/gps/msm8909/utils/
LocSharedLock.h 37 // one client who need to share the same lock, but it is not predictable
38 // which of these clients is to last to go away. This shared lock deletes
40 // this share lock's share() method has to be called, so that the obj
49 // following client(s) are to *share()* this lock created by the first client
51 // whe a client no longer needs this shared lock, drop() shall be called.
53 // locking the lock to enter critical section
54 inline void lock() { pthread_mutex_lock(&mMutex); } function in class:LocSharedLock
55 // unlocking the lock to leave the critical section
  /hardware/qcom/gps/msm8909w_3100/utils/
LocSharedLock.h 37 // one client who need to share the same lock, but it is not predictable
38 // which of these clients is to last to go away. This shared lock deletes
40 // this share lock's share() method has to be called, so that the obj
49 // following client(s) are to *share()* this lock created by the first client
51 // whe a client no longer needs this shared lock, drop() shall be called.
53 // locking the lock to enter critical section
54 inline void lock() { pthread_mutex_lock(&mMutex); } function in class:LocSharedLock
55 // unlocking the lock to leave the critical section
  /hardware/qcom/gps/msm8996/utils/
LocSharedLock.h 37 // one client who need to share the same lock, but it is not predictable
38 // which of these clients is to last to go away. This shared lock deletes
40 // this share lock's share() method has to be called, so that the obj
49 // following client(s) are to *share()* this lock created by the first client
51 // whe a client no longer needs this shared lock, drop() shall be called.
53 // locking the lock to enter critical section
54 inline void lock() { pthread_mutex_lock(&mMutex); } function in class:LocSharedLock
55 // unlocking the lock to leave the critical section
  /hardware/qcom/gps/msm8998/utils/
LocSharedLock.h 37 // one client who need to share the same lock, but it is not predictable
38 // which of these clients is to last to go away. This shared lock deletes
40 // this share lock's share() method has to be called, so that the obj
49 // following client(s) are to *share()* this lock created by the first client
51 // whe a client no longer needs this shared lock, drop() shall be called.
53 // locking the lock to enter critical section
54 inline void lock() { pthread_mutex_lock(&mMutex); } function in class:LocSharedLock
55 // unlocking the lock to leave the critical section
  /libcore/ojluni/src/main/java/java/util/concurrent/
CyclicBarrier.java 145 * using the barrier - due to the non-deterministic way the lock
156 /** The lock for guarding barrier entry */
157 private final ReentrantLock lock = new ReentrantLock(); field in class:CyclicBarrier
159 private final Condition trip = lock.newCondition();
176 * Called only while holding lock.
188 * Called only while holding lock.
202 final ReentrantLock lock = this.lock; local
203 lock.lock();
448 final ReentrantLock lock = this.lock; local
467 final ReentrantLock lock = this.lock; local
484 final ReentrantLock lock = this.lock; local
    [all...]
  /libcore/ojluni/src/main/java/java/util/concurrent/locks/
Lock.java 41 * {@code Lock} implementations provide more extensive locking
47 * <p>A lock is a tool for controlling access to a shared resource by
48 * multiple threads. Commonly, a lock provides exclusive access to a
49 * shared resource: only one thread at a time can acquire the lock and
50 * all access to the shared resource requires that the lock be
52 * a shared resource, such as the read lock of a {@link ReadWriteLock}.
55 * access to the implicit monitor lock associated with every object, but
56 * forces all lock acquisition and release to occur in a block-structured way:
68 * acquire the lock of node A, then node B, then release A and acquire
70 * {@code Lock} interface enable the use of such techniques b
186 void lock(); method in interface:Lock
    [all...]
  /packages/apps/Nfc/nci/jni/
Mutex.cpp 67 ** Function: lock
69 ** Description: Block the thread and try lock the mutex.
74 void Mutex::lock() { function in class:Mutex
77 LOG(ERROR) << StringPrintf("Mutex::lock: fail lock; error=0x%X", res);
101 ** Description: Try to lock the mutex.

Completed in 627 milliseconds

1 23 4 5 6 7 8 91011>>