Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/external/bison/lib/glthread/
Dlock.c38 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_init_multithreaded()
50 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_rdlock_multithreaded()
76 glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_wrlock_multithreaded()
102 glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_unlock_multithreaded()
110 glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_destroy_multithreaded()
128 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_init_multithreaded()
147 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_rdlock_multithreaded()
176 glthread_rwlock_wrlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_wrlock_multithreaded()
203 glthread_rwlock_unlock_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_unlock_multithreaded()
259 glthread_rwlock_destroy_multithreaded (gl_rwlock_t *lock) in glthread_rwlock_destroy_multithreaded()
[all …]
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_buffer.cc71 CriticalSectionScoped lock(&_critSect); in ~AudioDeviceBuffer() local
102 CriticalSectionScoped lock(&_critSectCb); in RegisterAudioCallback() local
134 CriticalSectionScoped lock(&_critSect); in SetRecordingSampleRate() local
145 CriticalSectionScoped lock(&_critSect); in SetPlayoutSampleRate() local
174 CriticalSectionScoped lock(&_critSect); in SetRecordingChannels() local
186 CriticalSectionScoped lock(&_critSect); in SetPlayoutChannels() local
206 CriticalSectionScoped lock(&_critSect); in SetRecordingChannel() local
311 CriticalSectionScoped lock(&_critSect); in StartInputFileRecording() local
327 CriticalSectionScoped lock(&_critSect); in StopInputFileRecording() local
344 CriticalSectionScoped lock(&_critSect); in StartOutputFileRecording() local
[all …]
/external/boringssl/src/crypto/
Dthread_none.c19 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_init()
21 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_read()
23 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_write()
25 void CRYPTO_MUTEX_unlock(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock()
27 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_cleanup()
29 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_lock_read()
31 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_lock_write()
33 void CRYPTO_STATIC_MUTEX_unlock(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_unlock()
Dthread_pthread.c31 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
37 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
43 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
49 void CRYPTO_MUTEX_unlock(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock()
55 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
59 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_read()
65 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_write()
71 void CRYPTO_STATIC_MUTEX_unlock(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock()
Dthread_win.c91 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
97 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
102 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
106 void CRYPTO_MUTEX_unlock(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock()
110 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
115 struct CRYPTO_STATIC_MUTEX *lock = arg; in static_lock_init() local
121 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_read()
127 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_write()
131 void CRYPTO_STATIC_MUTEX_unlock(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock()
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_impl.cc61 CriticalSectionScoped lock(_crit); in ~MediaFileImpl() local
124 CriticalSectionScoped lock(_crit); in PlayoutAudioData() local
218 CriticalSectionScoped lock(_callbackCrit); in HandlePlayCallbacks() local
257 CriticalSectionScoped lock(_crit); in PlayoutStereoData() local
318 CriticalSectionScoped lock(_callbackCrit); in PlayoutStereoData() local
392 CriticalSectionScoped lock(_crit); in StartPlayingAudioFile() local
430 CriticalSectionScoped lock(_crit); in StartPlayingStream() local
561 CriticalSectionScoped lock(_crit); in StopPlaying() local
596 CriticalSectionScoped lock(_crit); in IsPlaying() local
618 CriticalSectionScoped lock(_crit); in IncomingAudioData() local
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dposix_event.hpp43 void signal(Lock& lock) in signal()
50 void signal_all(Lock& lock) in signal_all()
60 void unlock_and_signal_one(Lock& lock) in unlock_and_signal_one()
72 bool maybe_unlock_and_signal_one(Lock& lock) in maybe_unlock_and_signal_one()
87 void clear(Lock& lock) in clear()
96 void wait(Lock& lock) in wait()
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl.cc73 rtc::CritScope lock(&lock_); in Start() local
89 rtc::CritScope lock(&lock_); in Stop() local
104 rtc::CritScope lock(&lock_); in Stop() local
113 rtc::CritScope lock(&lock_); in WakeUp() local
125 rtc::CritScope lock(&lock_); in PostTask() local
138 rtc::CritScope lock(&lock_); in RegisterModule() local
151 rtc::CritScope lock(&lock_); in RegisterModule() local
167 rtc::CritScope lock(&lock_); in DeRegisterModule() local
195 rtc::CritScope lock(&lock_); in Process() local
/external/webrtc/webrtc/video/
Dreceive_statistics_proxy.cc76 rtc::CritScope lock(&crit_); in GetStats() local
81 rtc::CritScope lock(&crit_); in OnIncomingPayloadType() local
87 rtc::CritScope lock(&crit_); in OnDecoderImplementationName() local
92 rtc::CritScope lock(&crit_); in OnIncomingRate() local
105 rtc::CritScope lock(&crit_); in OnDecoderTiming() local
122 rtc::CritScope lock(&crit_); in RtcpPacketTypesCounterUpdated() local
131 rtc::CritScope lock(&crit_); in StatisticsUpdated() local
141 rtc::CritScope lock(&crit_); in CNameChanged() local
152 rtc::CritScope lock(&crit_); in DataCountersUpdated() local
161 rtc::CritScope lock(&crit_); in OnDecodedFrame() local
[all …]
Dsend_statistics_proxy.cc163 rtc::CritScope lock(&crit_); in SetContentType() local
172 rtc::CritScope lock(&crit_); in OnEncoderImplementationName() local
177 rtc::CritScope lock(&crit_); in OnOutgoingRate() local
184 rtc::CritScope lock(&crit_); in CpuOveruseMetricsUpdated() local
189 rtc::CritScope lock(&crit_); in OnSuspendChange() local
194 rtc::CritScope lock(&crit_); in GetStats() local
233 rtc::CritScope lock(&crit_); in OnInactiveSsrc() local
245 rtc::CritScope lock(&crit_); in OnSetRates() local
261 rtc::CritScope lock(&crit_); in OnSendEncodedImage() local
318 rtc::CritScope lock(&crit_); in OnIncomingFrame() local
[all …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_impl.cc176 CriticalSectionScoped lock(callback_crit_sect_.get()); in Encode() local
200 CriticalSectionScoped lock(acm_crit_sect_.get()); in RegisterSendCodec() local
220 CriticalSectionScoped lock(acm_crit_sect_.get()); in RegisterExternalSendCodec() local
228 CriticalSectionScoped lock(acm_crit_sect_.get()); in SendCodec() local
244 CriticalSectionScoped lock(acm_crit_sect_.get()); in SendFrequency() local
257 CriticalSectionScoped lock(acm_crit_sect_.get()); in SetBitRate() local
268 CriticalSectionScoped lock(callback_crit_sect_.get()); in RegisterTransportCallback() local
276 CriticalSectionScoped lock(acm_crit_sect_.get()); in Add10MsData() local
448 CriticalSectionScoped lock(acm_crit_sect_.get()); in REDStatus() local
455 CriticalSectionScoped lock(acm_crit_sect_.get()); in SetREDStatus() local
[all …]
Dacm_receiver.cc160 CriticalSectionScoped lock(crit_sect_.get()); in last_packet_sample_rate_hz() local
174 CriticalSectionScoped lock(crit_sect_.get()); in InsertPacket() local
219 CriticalSectionScoped lock(crit_sect_.get()); in GetAudio() local
320 CriticalSectionScoped lock(crit_sect_.get()); in AddCodec() local
369 CriticalSectionScoped lock(crit_sect_.get()); in EnableVad() local
375 CriticalSectionScoped lock(crit_sect_.get()); in DisableVad() local
387 CriticalSectionScoped lock(crit_sect_.get()); in RemoveAllCodecs() local
407 CriticalSectionScoped lock(crit_sect_.get()); in RemoveCodec() local
425 CriticalSectionScoped lock(crit_sect_.get()); in set_id() local
434 CriticalSectionScoped lock(crit_sect_.get()); in LastAudioCodec() local
[all …]
/external/libevent/
Devthread.c155 void *lock; member
182 struct debug_lock *lock = lock_; in debug_lock_free() local
195 evthread_debug_lock_mark_locked(unsigned mode, struct debug_lock *lock) in evthread_debug_lock_mark_locked()
212 struct debug_lock *lock = lock_; in debug_lock_lock() local
227 evthread_debug_lock_mark_unlocked(unsigned mode, struct debug_lock *lock) in evthread_debug_lock_mark_unlocked()
245 struct debug_lock *lock = lock_; in debug_lock_unlock() local
257 struct debug_lock *lock = _lock; in debug_cond_wait() local
296 struct debug_lock *lock = lock_; in _evthread_is_debug_lock_held() local
310 struct debug_lock *lock = lock_; in _evthread_debug_get_real_lock() local
329 struct debug_lock *lock; in evthread_setup_global_lock_() local
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_mac.cc25 TSAN_INTERCEPTOR(void, OSSpinLockLock, volatile OSSpinLock *lock) { in TSAN_INTERCEPTOR()
35 TSAN_INTERCEPTOR(bool, OSSpinLockTry, volatile OSSpinLock *lock) { in TSAN_INTERCEPTOR()
47 TSAN_INTERCEPTOR(void, OSSpinLockUnlock, volatile OSSpinLock *lock) { in TSAN_INTERCEPTOR()
57 TSAN_INTERCEPTOR(void, os_lock_lock, void *lock) { in TSAN_INTERCEPTOR() argument
67 TSAN_INTERCEPTOR(bool, os_lock_trylock, void *lock) { in TSAN_INTERCEPTOR()
79 TSAN_INTERCEPTOR(void, os_lock_unlock, void *lock) { in TSAN_INTERCEPTOR() argument
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_receiver_impl.cc101 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in RegisterReceivePayload() local
123 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in DeRegisterReceivePayload() local
128 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in NACK() local
134 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in SetNACKStatus() local
139 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in SSRC() local
145 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in CSRCs() local
191 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in IncomingRtpPacket() local
210 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in IncomingRtpPacket() local
231 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in Timestamp() local
239 CriticalSectionScoped lock(critical_section_rtp_receiver_.get()); in LastReceivedTimeMs() local
[all …]
Drtcp_sender.cc206 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in Status() local
211 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in SetRTCPStatus() local
222 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in Sending() local
230 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in SetSendingStatus() local
246 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in REMB() local
251 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in SetREMBStatus() local
257 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in SetREMBData() local
269 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in TMMBR() local
274 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in SetTMMBRStatus() local
283 CriticalSectionScoped lock(critical_section_rtcp_sender_.get()); in SetStartTimestamp() local
[all …]
Ddtmf_queue.cc29 CriticalSectionScoped lock(dtmf_critsect_); in AddDTMF() local
43 CriticalSectionScoped lock(dtmf_critsect_); in NextDTMF() local
63 CriticalSectionScoped lock(dtmf_critsect_); in PendingDTMF() local
68 CriticalSectionScoped lock(dtmf_critsect_); in ResetDTMF() local
Drtp_receiver_audio.cc52 CriticalSectionScoped lock(crit_sect_.get()); in SetTelephoneEventForwardToDecoder() local
58 CriticalSectionScoped lock(crit_sect_.get()); in TelephoneEventForwardToDecoder() local
64 CriticalSectionScoped lock(crit_sect_.get()); in TelephoneEventPayloadType() local
71 CriticalSectionScoped lock(crit_sect_.get()); in CNGPayloadType() local
158 CriticalSectionScoped lock(crit_sect_.get()); in OnNewPayloadTypeCreated() local
208 CriticalSectionScoped lock(crit_sect_.get()); in GetPayloadTypeFrequency() local
293 CriticalSectionScoped lock(crit_sect_.get()); in ParseAudioCodecSpecific() local
338 CriticalSectionScoped lock(crit_sect_.get()); in ParseAudioCodecSpecific() local
/external/libchrome/base/trace_event/
Dtrace_log.cc185 explicit OptionalAutoLock(Lock* lock) : lock_(lock), locked_(false) {} in OptionalAutoLock()
262 AutoLock lock(trace_log->lock_); in ThreadLocalEventBuffer() local
272 AutoLock lock(trace_log_->lock_); in ~ThreadLocalEventBuffer() local
284 AutoLock lock(trace_log_->lock_); in AddTraceEvent() local
289 AutoLock lock(trace_log_->lock_); in AddTraceEvent() local
408 AutoLock lock(lock_); in OnMemoryDump() local
522 AutoLock lock(lock_); in GetCategoryGroupEnabledInternal() local
556 AutoLock lock(lock_); in GetKnownCategoryGroups() local
565 AutoLock lock(lock_); in SetEnabled() local
634 AutoLock lock(lock_); in SetEnabled() local
[all …]
Dtrace_event_synthetic_delay.cc61 AutoLock lock(lock_); in SetTargetDuration() local
68 AutoLock lock(lock_); in SetMode() local
73 AutoLock lock(lock_); in SetClock() local
88 AutoLock lock(lock_); in Begin() local
104 AutoLock lock(lock_); in BeginParallel() local
116 AutoLock lock(lock_); in End() local
166 AutoLock lock(lock_); in GetOrCreateDelay() local
188 AutoLock lock(lock_); in ResetAllDelays() local
/external/webrtc/webrtc/modules/video_coding/
Dmedia_optimization.cc115 CriticalSectionScoped lock(crit_sect_.get()); in Reset() local
149 CriticalSectionScoped lock(crit_sect_.get()); in SetEncodingData() local
195 CriticalSectionScoped lock(crit_sect_.get()); in SetTargetRates() local
303 CriticalSectionScoped lock(crit_sect_.get()); in SetProtectionMethod() local
308 CriticalSectionScoped lock(crit_sect_.get()); in InputFrameRate() local
318 CriticalSectionScoped lock(crit_sect_.get()); in SentFrameRate() local
329 CriticalSectionScoped lock(crit_sect_.get()); in SentBitRate() local
340 CriticalSectionScoped lock(crit_sect_.get()); in UpdateWithEncodedData() local
392 CriticalSectionScoped lock(crit_sect_.get()); in EnableQM() local
397 CriticalSectionScoped lock(crit_sect_.get()); in EnableFrameDropper() local
[all …]
/external/libchrome/base/synchronization/
Dlock_unittest.cc20 explicit BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
53 Lock lock; in TEST() local
95 explicit TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()
113 Lock lock; in TEST() local
153 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread()
156 static void DoStuff(Lock* lock, int* value) { in DoStuff()
176 Lock lock; in TEST() local
192 Lock lock; in TEST() local
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl.cc129 CriticalSectionScoped lock(crit_sect_.get()); in InsertPacket() local
141 CriticalSectionScoped lock(crit_sect_.get()); in InsertSyncPacket() local
157 CriticalSectionScoped lock(crit_sect_.get()); in GetAudio() local
180 CriticalSectionScoped lock(crit_sect_.get()); in RegisterPayloadType() local
209 CriticalSectionScoped lock(crit_sect_.get()); in RegisterExternalDecoder() local
246 CriticalSectionScoped lock(crit_sect_.get()); in RemovePayloadType() local
259 CriticalSectionScoped lock(crit_sect_.get()); in SetMinimumDelay() local
268 CriticalSectionScoped lock(crit_sect_.get()); in SetMaximumDelay() local
277 CriticalSectionScoped lock(crit_sect_.get()); in LeastRequiredDelayMs() local
291 CriticalSectionScoped lock(crit_sect_.get()); in CurrentDelayMs() local
[all …]
/external/webrtc/webrtc/voice_engine/
Ddtmf_inband_queue.cc34 CriticalSectionScoped lock(&_DtmfCritsect); in AddDtmf() local
53 CriticalSectionScoped lock(&_DtmfCritsect); in NextDtmf() local
77 CriticalSectionScoped lock(&_DtmfCritsect); in PendingDtmf() local
84 CriticalSectionScoped lock(&_DtmfCritsect); in ResetDtmf() local
/external/sfntly/cpp/src/test/
Dlock_test.cc29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
62 Lock lock; in BasicLockTest() local
106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()
124 Lock lock; in TryLockTest() local
165 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread()
168 static void DoStuff(Lock* lock, int* value) { in DoStuff()
190 Lock lock; in MutexTwoThreads() local
207 Lock lock; in MutexFourThreads() local

12345678910>>...19