Searched defs:lock (Results 101 - 125 of 467) sorted by relevance

1234567891011>>

/external/libcxxabi/src/
H A Dcxa_guard.cpp123 uint8_t lock[2]; member in union:__cxxabiv1::__anon11210::__anon11211
125 return f.lock[1] != 0;
133 uint8_t lock[2]; member in union:__cxxabiv1::__anon11210::__anon11212
135 f.lock[1] = y;
146 uint8_t lock[2]; member in union:__cxxabiv1::__anon11210::__anon11213
148 return f.lock[1] != 0;
156 uint8_t lock[2]; member in union:__cxxabiv1::__anon11210::__anon11214
158 f.lock[1] = y;
193 lock_type lock = get_lock(*guard_object); local
194 if (lock)
[all...]
/external/libdrm/include/drm/
H A Ddrm_sarea.h72 struct drm_hw_lock lock; member in struct:drm_sarea
73 /** \todo Use readers/writer lock for drm_sarea::drawable_lock */
/external/libevent/
H A Devthread-internal.h50 /* Global function pointers to lock-related functions. NULL if locking isn't
62 * running a given event_base's loop. Requires lock. */
69 * thread. Requires lock. */
75 /** Allocate a new lock, and store it in lockvar, a void*. Sets lockvar to
81 /** Free a given lock, if it is present and locking is enabled. */
89 /** Acquire a lock. */
93 evthread_lock_fns_.lock(mode, lockvar); \
96 /** Release a lock */
113 /** Lock an event_base, if it is set up for locking. Acquires the lock
124 /** If lock debuggin
137 EVLOCK_TRY_LOCK_(void *lock) argument
251 EVLOCK_TRY_LOCK_(void *lock) argument
[all...]
H A Diocp-internal.h78 /* A lock to cover internal structures. */
79 CRITICAL_SECTION lock; member in struct:event_iocp_port
/external/libevent/include/event2/
H A Dthread.h35 lock its data structures.
58 @name Flags passed to lock functions
62 /** A flag passed to a locking callback when the lock was allocated as a
63 * read-write lock, and we want to acquire or release the lock for writing. */
65 /** A flag passed to a locking callback when the lock was allocated as a
66 * read-write lock, and we want to acquire or release the lock for reading. */
69 * for the lock; if we can't get the lock immediatel
115 int (*lock)(unsigned mode, void *lock); member in struct:evthread_lock_callbacks
[all...]
/external/libmojo/mojo/edk/system/ports/
H A Dport.h15 #include "base/synchronization/lock.h"
33 base::Lock lock; member in class:mojo::edk::ports::Port
/external/libxcam/xcore/
H A Dxcam_mutex.h49 void lock() { function in class:XCam::Mutex
52 XCAM_LOG_WARNING ("Mutex lock failed %d: %s", error_num, strerror(error_num));
110 _mutex.lock();
/external/linux-kselftest/tools/testing/selftests/sync/
H A Dsync_stress_consumer.c60 pthread_mutex_t lock; member in struct:__anon13544
93 pthread_mutex_lock(&test_data_mpsc.lock);
95 pthread_mutex_unlock(&test_data_mpsc.lock);
171 pthread_mutex_init(&test_data_mpsc.lock, NULL);
/external/llvm/include/llvm/Support/
H A DRWMutex.h32 /// Initializes the lock but doesn't acquire it.
36 /// Releases and removes the lock
45 /// Attempts to unconditionally acquire the lock in reader mode. If the
46 /// lock is held by a writer, this method will wait until it can acquire
47 /// the lock.
49 /// @brief Unconditionally acquire the lock in reader mode.
52 /// Attempts to release the lock in reader mode.
54 /// @brief Unconditionally release the lock in reader mode.
57 /// Attempts to unconditionally acquire the lock in reader mode. If the
58 /// lock i
117 bool lock() { function in class:llvm::sys::SmartRWMutex
[all...]
/external/llvm/utils/emacs/
H A Dtablegen-mode.el19 (defvar tablegen-font-lock-keywords
28 ;; '("\/\/" . font-lock-comment-face)
30 '("\"[^\"]+\"" . font-lock-string-face)
32 '("\\<0x[0-9A-Fa-f]+\\>" . font-lock-preprocessor-face)
34 '("\\<0b[01]+\\>" . font-lock-preprocessor-face)
36 '("\\<[-]?[0-9]+\\>" . font-lock-preprocessor-face)
38 '("\\<[-+]?[0-9]+\.[0-9]*\([eE][-+]?[0-9]+\)?\\>" . font-lock-preprocessor-face)
48 (put 'tablegen-mode 'font-lock-defaults '(tablegen-font-lock-keywords))
109 (make-local-variable 'font-lock
[all...]
/external/ltp/testcases/open_posix_testsuite/functional/semaphores/
H A Dsem_conpro.c33 sem_t lock; member in struct:__anon15269
48 if (-1 == sem_wait(&buf->lock)) {
56 if (-1 == sem_post(&buf->lock)) {
78 if (-1 == sem_wait(&buf->lock)) {
85 if (-1 == sem_post(&buf->lock)) {
118 if (-1 == sem_init(&buf.lock, shared, lock_value)) {
H A Dsem_philosopher.c31 sem_t lock; variable
78 if (-1 == sem_wait(&lock)) {
84 if (-1 == sem_post(&lock)) {
94 if (-1 == sem_wait(&lock)) {
109 if (-1 == sem_post(&lock)) {
137 if (-1 == sem_init(&lock, shared, lock_value)) {
157 if (-1 == sem_destroy(&lock)) {
H A Dsem_sleepingbarber.c30 sem_t lock; variable
57 if (-1 == sem_wait(&lock)) {
58 perror("sem_wait(&lock) didn't return success");
65 if (-1 == sem_post(&lock)) {
66 perror("sem_post(&lock) didn't return success");
73 if (-1 == sem_wait(&lock)) {
74 perror("sem_wait(&lock) didn't return success");
82 if (-1 == sem_post(&lock)) {
83 perror("sem_post(&lock) didn't return success");
104 if (-1 == sem_wait(&lock)) {
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/
H A Dmulti_con_pro.c34 sem_t lock; member in struct:__anon15271
58 if (-1 == sem_wait(&buf->lock)) {
67 if (-1 == sem_post(&buf->lock)) {
85 if (-1 == sem_wait(&buf->lock)) {
94 if (-1 == sem_post(&buf->lock)) {
118 if (-1 == sem_wait(&buf->lock)) {
126 if (-1 == sem_post(&buf->lock)) {
188 if (-1 == sem_init(&buf->lock, shared, lock_value)) {
211 sem_destroy(&buf->lock);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_queue.h60 pipe_mutex lock; member in struct:util_queue
/external/mesa3d/src/glx/
H A Ddri_sarea.h84 drmLock lock; member in struct:_XF86DRISAREA
85 /** \todo Use readers/writer lock for drawable_lock */
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
106 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/core/command/
H A DInvocationRecord.java37 * The {@link #lock()} method makes an instance of this class immutable. After an instance is locked,
68 public void lock() { method in class:InvocationRecord
73 * Return true if this object has been locked, false otherwise. See {@link #lock()}.
105 * an <code>AssertFailedException</code> if this object has been locked. See {@link #lock()}.

Completed in 553 milliseconds

1234567891011>>