Home
last modified time | relevance | path

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

12345678910>>...38

/external/libxcam/xcore/
Dhandler_interface.cpp60 AnalyzerHandler::HandlerLock lock(this); in set_mode() local
70 AnalyzerHandler::HandlerLock lock(this); in set_metering_mode() local
80 AnalyzerHandler::HandlerLock lock(this); in set_window() local
108 AnalyzerHandler::HandlerLock lock(this); in set_window() local
139 AnalyzerHandler::HandlerLock lock(this); in set_ev_shift() local
149 AnalyzerHandler::HandlerLock lock(this); in set_speed() local
159 AnalyzerHandler::HandlerLock lock(this); in set_flicker_mode() local
169 AnalyzerHandler::HandlerLock lock(this); in get_flicker_mode() local
176 AnalyzerHandler::HandlerLock lock(this); in get_current_exposure_time() local
185 AnalyzerHandler::HandlerLock lock(this); in get_current_analog_gain() 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_read(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock_read()
27 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock_write()
29 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_cleanup()
31 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_lock_read()
33 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_lock_write()
35 void CRYPTO_STATIC_MUTEX_unlock_read(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_unlock_read()
37 void CRYPTO_STATIC_MUTEX_unlock_write(struct CRYPTO_STATIC_MUTEX *lock) {} in CRYPTO_STATIC_MUTEX_unlock_write()
Dthread_pthread.c30 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
36 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
42 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
48 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read()
54 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write()
60 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
64 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_read()
70 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_write()
76 void CRYPTO_STATIC_MUTEX_unlock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock_read()
82 void CRYPTO_STATIC_MUTEX_unlock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock_write()
Dthread_win.c45 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
49 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
53 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
57 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read()
61 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write()
65 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
69 void CRYPTO_STATIC_MUTEX_lock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_read()
73 void CRYPTO_STATIC_MUTEX_lock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_lock_write()
77 void CRYPTO_STATIC_MUTEX_unlock_read(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock_read()
81 void CRYPTO_STATIC_MUTEX_unlock_write(struct CRYPTO_STATIC_MUTEX *lock) { in CRYPTO_STATIC_MUTEX_unlock_write()
/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/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dlocks.h26 static inline void lock_impl_lock(struct lock_impl *lock) in lock_impl_lock()
31 static inline void lock_impl_unlock(struct lock_impl *lock) in lock_impl_unlock()
36 static inline bool lock_impl_trylock(struct lock_impl *lock) in lock_impl_trylock()
47 static inline void lock_impl_init(struct lock_impl *lock) in lock_impl_init()
61 static inline bool lock_impl_trylock(struct lock_impl *lock) in lock_impl_trylock()
79 static inline void lock_impl_lock(struct lock_impl *lock) in lock_impl_lock()
93 static inline void lock_impl_unlock(struct lock_impl *lock) in lock_impl_unlock()
110 static inline void lock_impl_init(struct lock_impl *lock) in lock_impl_init()
131 static inline void spin_lock_init(spinlock_t *lock) in spin_lock_init()
136 static inline void spin_lock(spinlock_t *lock) in spin_lock()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator.cc44 mutex_lock lock(mu_); in AllocateRaw() local
57 mutex_lock lock(mu_); in AllocateRaw() local
67 mutex_lock lock(mu_); in AllocateRaw() local
88 mutex_lock lock(mu_); in DeallocateRaw() local
98 mutex_lock lock(mu_); in DeallocateRaw() local
118 mutex_lock lock(mu_); in RequestedSize() local
131 mutex_lock lock(mu_); in AllocatedSize() local
144 mutex_lock lock(mu_); in AllocationId() local
166 mutex_lock lock(mu_); in GetSizes() local
178 mutex_lock lock(mu_); in GetRecordsAndUnRef() local
[all …]
/external/python/cpython2/Python/
Dthread_lwp.h9 struct lock { struct
10 int lock_locked; argument
11 cv_t lock_condvar; argument
12 mon_t lock_monitor; argument
63 struct lock *lock; in PyThread_allocate_lock() local
78 void PyThread_free_lock(PyThread_type_lock lock) in PyThread_free_lock()
85 int PyThread_acquire_lock(PyThread_type_lock lock, int waitflag) in PyThread_acquire_lock()
106 void PyThread_release_lock(PyThread_type_lock lock) in PyThread_release_lock()
/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/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/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/perfetto/src/base/
Dunix_task_runner.cc50 std::lock_guard<std::mutex> lock(lock_); in Run() local
68 std::lock_guard<std::mutex> lock(lock_); in Quit() local
74 std::lock_guard<std::mutex> lock(lock_); in QuitCalled() local
79 std::lock_guard<std::mutex> lock(lock_); in IsIdleForTesting() local
101 std::lock_guard<std::mutex> lock(lock_); in RunImmediateAndDelayedTask() local
152 std::lock_guard<std::mutex> lock(lock_); in RunFileDescriptorWatch() local
183 std::lock_guard<std::mutex> lock(lock_); in PostTask() local
195 std::lock_guard<std::mutex> lock(lock_); in PostDelayedTask() local
205 std::lock_guard<std::mutex> lock(lock_); in AddFileDescriptorWatch() local
216 std::lock_guard<std::mutex> lock(lock_); in RemoveFileDescriptorWatch() local
Dandroid_task_runner.cc39 std::lock_guard<std::mutex> lock(lock_); in ~AndroidTaskRunner() local
60 std::lock_guard<std::mutex> lock(lock_); in Run() local
69 std::lock_guard<std::mutex> lock(lock_); in Quit() local
76 std::lock_guard<std::mutex> lock(lock_); in IsIdleForTesting() local
87 std::lock_guard<std::mutex> lock(lock_); in RunImmediateTask() local
112 std::lock_guard<std::mutex> lock(lock_); in RunDelayedTask() local
145 std::lock_guard<std::mutex> lock(lock_); in PostTask() local
159 std::lock_guard<std::mutex> lock(lock_); in PostDelayedTask() local
172 std::lock_guard<std::mutex> lock(lock_); in AddFileDescriptorWatch() local
196 std::lock_guard<std::mutex> lock(lock_); in OnFileDescriptorEvent() local
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dexecutor_cache.cc35 mutex_lock lock{mutex_}; in GetOrCreate() local
44 mutex_lock lock{entry->configurations_mutex}; in GetOrCreate() local
69 tf_shared_lock lock{mutex_}; in Get() local
79 tf_shared_lock lock{entry->configurations_mutex}; in Get() local
97 mutex_lock lock{mutex_}; in DestroyAllExecutors() local
102 mutex_lock lock{configurations_mutex}; in ~Entry() local
/external/libchrome/mojo/core/
Dwatcher_dispatcher.cc23 base::AutoLock lock(lock_); in NotifyHandleState() local
43 base::AutoLock lock(lock_); in NotifyHandleClosed() local
85 base::AutoLock lock(lock_); in InvokeWatchCallback() local
102 base::AutoLock lock(lock_); in Close() local
128 base::AutoLock lock(lock_); in WatchDispatcher() local
147 base::AutoLock lock(lock_); in WatchDispatcher() local
159 base::AutoLock lock(lock_); in WatchDispatcher() local
173 base::AutoLock lock(lock_); in CancelWatch() local
192 base::AutoLock lock(lock_); in CancelWatch() local
209 base::AutoLock lock(lock_); in Arm() local
Dnode_controller.cc161 base::AutoLock lock(mach_port_relay_lock_); in CreateMachPortRelay() local
186 base::AutoLock lock(reserved_ports_lock_); in SendBrokerClientInvitation() local
269 base::AutoLock lock(pending_port_merges_lock_); in MergePortIntoInviter() local
306 base::AutoLock lock(shutdown_lock_); in RequestShutdown() local
381 base::AutoLock lock(inviter_lock_); in AcceptBrokerClientInvitationOnIOThread() local
439 base::AutoLock lock(peers_lock_); in GetPeerChannel() local
449 base::AutoLock lock(inviter_lock_); in GetInviterChannel() local
461 base::AutoLock lock(broker_lock_); in GetBrokerChannel() local
479 base::AutoLock lock(peers_lock_); in AddPeer() local
515 base::AutoLock lock(peers_lock_); in DropPeer() local
[all …]
/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/grpc-grpc/src/cpp/thread_manager/
Dthread_manager.cc65 std::lock_guard<std::mutex> lock(mu_); in ~ThreadManager() local
75 std::unique_lock<std::mutex> lock(mu_); in Wait() local
82 std::lock_guard<std::mutex> lock(mu_); in Shutdown() local
87 std::lock_guard<std::mutex> lock(mu_); in IsShutdown() local
103 std::lock_guard<std::mutex> lock(mu_); in MarkAsCompleted() local
119 std::unique_lock<std::mutex> lock(list_mu_); in CleanupCompletedThreads() local
135 std::unique_lock<std::mutex> lock(mu_); in Initialize() local
152 std::unique_lock<std::mutex> lock(mu_); in MainWorkLoop() local
/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 …]
/external/libevent/
Devthread.c191 void *lock; member
219 struct debug_lock *lock = lock_; in debug_lock_free() local
234 evthread_debug_lock_mark_locked(unsigned mode, struct debug_lock *lock) in evthread_debug_lock_mark_locked()
252 struct debug_lock *lock = lock_; in debug_lock_lock() local
267 evthread_debug_lock_mark_unlocked(unsigned mode, struct debug_lock *lock) in evthread_debug_lock_mark_unlocked()
288 struct debug_lock *lock = lock_; in debug_lock_unlock() local
300 struct debug_lock *lock = lock_; in debug_cond_wait() local
347 struct debug_lock *lock = lock_; in evthread_is_debug_lock_held_() local
361 struct debug_lock *lock = lock_; in evthread_debug_get_real_lock_() local
380 struct debug_lock *lock; in evthread_setup_global_lock_() local
[all …]
/external/perfetto/src/tracing/core/
Dstartup_trace_writer_registry.cc36 std::lock_guard<std::mutex> lock(lock_); in OnWriterDestroyed() local
42 std::lock_guard<std::mutex> lock(lock_); in OnRegistryDestroyed() local
55 std::lock_guard<std::mutex> lock(lock_); in CreateUnboundTraceWriter() local
64 std::lock_guard<std::mutex> lock(lock_); in ReturnUnboundTraceWriter() local
79 std::lock_guard<std::mutex> lock(lock_); in BindToArbiter() local
109 std::lock_guard<std::mutex> lock(lock_); in TryBindWriters() local
129 std::lock_guard<std::mutex> lock(lock_); in OnStartupTraceWriterDestroyed() local
/external/perfetto/test/
Dtask_runner_thread.cc40 std::unique_lock<std::mutex> lock(mutex_); in Start() local
53 std::unique_lock<std::mutex> lock(mutex_); in Stop() local
64 std::unique_lock<std::mutex> lock(mutex_); in GetThreadCPUTimeNs() local
93 std::unique_lock<std::mutex> lock(mutex_); in Run() local
109 std::unique_lock<std::mutex> lock(mutex_); in Run() local
/external/grpc-grpc/src/cpp/server/
Ddynamic_thread_pool.cc43 std::unique_lock<std::mutex> lock(pool_->mu_); in ThreadFunc() local
56 std::unique_lock<std::mutex> lock(mu_); in ThreadFunc() local
85 std::lock_guard<std::mutex> lock(mu_); in DynamicThreadPool() local
98 std::unique_lock<std::mutex> lock(mu_); in ~DynamicThreadPool() local
108 std::lock_guard<std::mutex> lock(mu_); in Add() local
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher.cc209 base::LockGuard<base::Mutex> lock(&mutex_); in CanEnqueue() local
305 base::LockGuard<base::Mutex> lock(&mutex_); in WaitForJobIfRunningOnBackground() local
348 base::LockGuard<base::Mutex> lock(&mutex_); in FinishAllNow() local
385 base::LockGuard<base::Mutex> lock(&mutex_); in AbortAll() local
394 base::LockGuard<base::Mutex> lock(&mutex_); in AbortAll() local
408 base::LockGuard<base::Mutex> lock(&mutex_); in AbortInactiveJobs() local
417 base::LockGuard<base::Mutex> lock(&mutex_); in AbortInactiveJobs() local
431 base::LockGuard<base::Mutex> lock(&mutex_); in AbortInactiveJobs() local
453 base::LockGuard<base::Mutex> lock(&mutex_); in MemoryPressureNotification() local
483 base::LockGuard<base::Mutex> lock(&mutex_); in ScheduleIdleTaskFromAnyThread() local
[all …]

12345678910>>...38