Home
last modified time | relevance | path

Searched refs:_lock (Results 1 – 25 of 46) sorted by relevance

12

/external/jetty/src/java/org/eclipse/jetty/util/
DArrayQueue.java39 protected final Object _lock; field in ArrayQueue
67 _lock = lock == null ? this : lock; in ArrayQueue()
75 synchronized (_lock) in getCapacity()
93 synchronized (_lock) in offer()
129 synchronized (_lock) in element()
146 synchronized (_lock) in peek()
157 synchronized (_lock) in poll()
179 synchronized (_lock) in remove()
191 synchronized (_lock) in clear()
203 synchronized (_lock) in isEmpty()
[all …]
/external/opencv3/modules/videoio/src/cap_winrt/
DMediaStreamSink.cpp56 auto lock = _lock.LockExclusive(); in GetMediaSink()
71 auto lock = _lock.LockExclusive(); in GetIdentifier()
85 auto lock = _lock.LockExclusive(); in GetMediaTypeHandler()
100 auto lock = _lock.LockExclusive(); in RequestSample()
115 auto lock = _lock.LockExclusive(); in ProcessSample()
137 auto lock = _lock.LockExclusive(); in PlaceMarker()
150 auto lock = _lock.LockExclusive(); in Flush()
166 auto lock = _lock.LockExclusive(); in GetEvent()
182 auto lock = _lock.LockExclusive(); in BeginGetEvent()
195 auto lock = _lock.LockExclusive(); in EndGetEvent()
[all …]
DMediaSink.hpp82 auto lock = _lock.LockExclusive(); in RequestAudioSample()
91 auto lock = _lock.LockExclusive(); in RequestVideoSample()
100 auto lock = _lock.LockExclusive(); in SetCurrentAudioMediaType()
109 auto lock = _lock.LockExclusive(); in SetCurrentVideoMediaType()
124 auto lock = _lock.LockExclusive(); in SetProperties()
188 auto lock = _lock.LockExclusive(); in GetStreamSinkByIndex()
229 auto lock = _lock.LockExclusive(); in GetStreamSinkById()
255 auto lock = _lock.LockExclusive(); in SetPresentationClock()
277 auto lock = _lock.LockExclusive(); in GetPresentationClock()
295 auto lock = _lock.LockExclusive(); in Shutdown()
[all …]
DCaptureFrameGrabber.cpp107 auto lock = _lock.LockExclusive(); in FinishAsync()
134 auto lock = _lock.LockExclusive(); in FinishAsync()
142 auto lock = _lock.LockExclusive(); in GetFrameAsync()
162 auto lock = _lock.LockExclusive();
DCaptureFrameGrabber.hpp82 MWW::SRWLock _lock; member in Media::sealed
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketGeneratorRFC6455.java39 private final Lock _lock = new ReentrantLock(); field in WebSocketGeneratorRFC6455
63 _lock.lock(); in getBuffer()
70 _lock.unlock(); in getBuffer()
76 _lock.lock(); in addFrame()
201 _lock.unlock(); in addFrame()
207 if (!_lock.tryLock()) in flushBuffer()
227 _lock.unlock(); in flushBuffer()
233 if (!_lock.tryLock()) in flush()
265 _lock.unlock(); in flush()
271 _lock.lock(); in isBufferEmpty()
[all …]
DWebSocketGeneratorD08.java35 private final Lock _lock = new ReentrantLock(); field in WebSocketGeneratorD08
59 _lock.lock(); in getBuffer()
66 _lock.unlock(); in getBuffer()
72 _lock.lock(); in addFrame()
197 _lock.unlock(); in addFrame()
203 if (!_lock.tryLock()) in flushBuffer()
223 _lock.unlock(); in flushBuffer()
229 if (!_lock.tryLock()) in flush()
261 _lock.unlock(); in flush()
267 _lock.lock(); in isBufferEmpty()
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/thread/
DTimeout.java37 private Object _lock; field in Timeout
45 _lock=new Object(); in Timeout()
52 _lock=lock; in Timeout()
102 synchronized (_lock) in expired()
130 synchronized (_lock) in tick()
169 synchronized (_lock) in schedule()
196 synchronized (_lock) in cancelAll()
205 synchronized (_lock) in isEmpty()
214 synchronized (_lock) in getTimeToNext()
347 synchronized (timeout._lock) in cancel()
/external/libevent/
Devthread_pthread.c59 evthread_posix_lock_free(void *_lock, unsigned locktype) in evthread_posix_lock_free() argument
61 pthread_mutex_t *lock = _lock; in evthread_posix_lock_free()
67 evthread_posix_lock(unsigned mode, void *_lock) in evthread_posix_lock() argument
69 pthread_mutex_t *lock = _lock; in evthread_posix_lock()
77 evthread_posix_unlock(unsigned mode, void *_lock) in evthread_posix_unlock() argument
79 pthread_mutex_t *lock = _lock; in evthread_posix_unlock()
135 evthread_posix_cond_wait(void *_cond, void *_lock, const struct timeval *tv) in evthread_posix_cond_wait() argument
139 pthread_mutex_t *lock = _lock; in evthread_posix_cond_wait()
Devthread_win32.c62 evthread_win32_lock_free(void *_lock, unsigned locktype) in evthread_win32_lock_free() argument
64 CRITICAL_SECTION *lock = _lock; in evthread_win32_lock_free()
70 evthread_win32_lock(unsigned mode, void *_lock) in evthread_win32_lock() argument
72 CRITICAL_SECTION *lock = _lock; in evthread_win32_lock()
82 evthread_win32_unlock(unsigned mode, void *_lock) in evthread_win32_unlock() argument
84 CRITICAL_SECTION *lock = _lock; in evthread_win32_unlock()
155 evthread_win32_condvar_wait(void *_cond, void *_lock, const struct timeval *tv) in evthread_win32_condvar_wait() argument
158 CRITICAL_SECTION *lock = _lock; in evthread_win32_condvar_wait()
231 evthread_win32_cond_wait(void *_cond, void *_lock, const struct timeval *tv) in evthread_win32_cond_wait() argument
234 CRITICAL_SECTION *lock = _lock; in evthread_win32_cond_wait()
Devthread.c254 debug_cond_wait(void *_cond, void *_lock, const struct timeval *tv) in debug_cond_wait() argument
257 struct debug_lock *lock = _lock; in debug_cond_wait()
259 EVLOCK_ASSERT_LOCKED(_lock); in debug_cond_wait()
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dkeyring_storage.py61 self._lock = threading.Lock()
67 self._lock.acquire()
75 self._lock.release()
Dfile.py39 self._lock = threading.Lock()
50 self._lock.acquire()
58 self._lock.release()
Dmultistore_file.py159 multistore._lock()
224 self._multistore._lock()
280 def _lock(self): member in _MultiStore
/external/webrtc/webrtc/modules/video_capture/mac/qtkit/
Dvideo_capture_qtkit_objc.mm49 [_lock release];
57 [_lock lock];
59 [_lock unlock];
174 _lock = [[NSLock alloc] init];
231 [_lock lock];
233 [_lock unlock];
255 [_lock unlock];
Dvideo_capture_qtkit_objc.h38 NSLock* _lock; variable
/external/autotest/client/virt/
Dkvm_monitor.py73 self._lock = threading.RLock()
115 if self._lock.acquire(False):
233 self._lock.release()
282 self._lock.release()
597 self._lock.release()
627 self._lock.release()
702 self._lock.release()
727 self._lock.release()
Daexpect.py13 def _lock(filename): function
42 fd = _lock(filename)
86 lock_server_running = _lock(lock_server_running_filename)
423 lock_client_starting = _lock(self.lock_client_starting_filename)
/external/autotest/site_utils/rpm_control_system/
Dfrontend_server.py89 self._lock = threading.Lock()
200 with self._lock:
251 with self._lock:
284 with self._lock:
306 with self._lock:
Drpm_dispatcher.py65 self._lock = threading.Lock()
90 with self._lock:
101 with self._lock:
/external/chromium-trace/catapult/devil/devil/utils/lazy/
Dweak_constant.py18 self._lock = threading.Lock()
25 with self._lock:
/external/jetty/src/java/org/eclipse/jetty/util/component/
DAbstractLifeCycle.java41 private final Object _lock = new Object(); field in AbstractLifeCycle
57 synchronized (_lock) in start()
82 synchronized (_lock) in stop()
/external/autotest/client/deps/lansim/src/py/
Dsimulator.py57 self._lock = NullContext()
110 with self._lock:
205 with self._lock:
307 self._lock = threading.RLock()
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py14 _lock = threading.Lock() variable
37 _lock.acquire()
41 _lock.release()
/external/libunwind_llvm/src/
DUnwindCursor.hpp63 static pthread_rwlock_t _lock; member in libunwind::DwarfFDECache
91 pthread_rwlock_t DwarfFDECache<A>::_lock = PTHREAD_RWLOCK_INITIALIZER; member in libunwind::DwarfFDECache<A>
101 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_rdlock(&_lock)); in findFDE()
110 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_unlock(&_lock)); in findFDE()
117 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_wrlock(&_lock)); in add()
141 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_unlock(&_lock)); in add()
146 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_wrlock(&_lock)); in removeAllIn()
156 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_unlock(&_lock)); in removeAllIn()
169 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_wrlock(&_lock)); in iterateCacheEntries()
173 _LIBUNWIND_LOG_NON_ZERO(::pthread_rwlock_unlock(&_lock)); in iterateCacheEntries()

12