Home
last modified time | relevance | path

Searched refs:AutoLock (Results 1 – 25 of 127) sorted by relevance

123456

/external/libchrome/mojo/core/
Dcore_test_base.cc139 base::AutoLock locker(lock_); in GetCtorCallCount()
144 base::AutoLock locker(lock_); in GetDtorCallCount()
149 base::AutoLock locker(lock_); in GetCloseCallCount()
154 base::AutoLock locker(lock_); in GetWriteMessageCallCount()
159 base::AutoLock locker(lock_); in GetReadMessageCallCount()
164 base::AutoLock locker(lock_); in GetWriteDataCallCount()
169 base::AutoLock locker(lock_); in GetBeginWriteDataCallCount()
174 base::AutoLock locker(lock_); in GetEndWriteDataCallCount()
179 base::AutoLock locker(lock_); in GetReadDataCallCount()
184 base::AutoLock locker(lock_); in GetBeginReadDataCallCount()
[all …]
Dwatcher_dispatcher.cc23 base::AutoLock lock(lock_); in NotifyHandleState()
43 base::AutoLock lock(lock_); in NotifyHandleClosed()
85 base::AutoLock lock(lock_); in InvokeWatchCallback()
102 base::AutoLock lock(lock_); in Close()
128 base::AutoLock lock(lock_); in WatchDispatcher()
147 base::AutoLock lock(lock_); in WatchDispatcher()
159 base::AutoLock lock(lock_); in WatchDispatcher()
173 base::AutoLock lock(lock_); in CancelWatch()
192 base::AutoLock lock(lock_); in CancelWatch()
209 base::AutoLock lock(lock_); in Arm()
Dplatform_handle_dispatcher.cc27 base::AutoLock lock(lock_); in Close()
46 base::AutoLock lock(lock_); in EndSerialize()
54 base::AutoLock lock(lock_); in BeginTransit()
62 base::AutoLock lock(lock_); in CompleteTransitAndClose()
68 base::AutoLock lock(lock_); in CancelTransit()
Dnode_controller.cc161 base::AutoLock lock(mach_port_relay_lock_); in CreateMachPortRelay()
186 base::AutoLock lock(reserved_ports_lock_); in SendBrokerClientInvitation()
269 base::AutoLock lock(pending_port_merges_lock_); in MergePortIntoInviter()
306 base::AutoLock lock(shutdown_lock_); in RequestShutdown()
381 base::AutoLock lock(inviter_lock_); in AcceptBrokerClientInvitationOnIOThread()
439 base::AutoLock lock(peers_lock_); in GetPeerChannel()
449 base::AutoLock lock(inviter_lock_); in GetInviterChannel()
461 base::AutoLock lock(broker_lock_); in GetBrokerChannel()
479 base::AutoLock lock(peers_lock_); in AddPeer()
515 base::AutoLock lock(peers_lock_); in DropPeer()
[all …]
Ddata_pipe_producer_dispatcher.cc82 base::AutoLock lock(producer->lock_); in Create()
93 base::AutoLock lock(lock_); in Close()
102 base::AutoLock lock(lock_); in WriteData()
164 base::AutoLock lock(lock_); in BeginWriteData()
192 base::AutoLock lock(lock_); in EndWriteData()
226 base::AutoLock lock(lock_); in GetHandleSignalsState()
233 base::AutoLock lock(lock_); in AddWatcherRef()
242 base::AutoLock lock(lock_); in RemoveWatcherRef()
251 base::AutoLock lock(lock_); in StartSerialize()
266 base::AutoLock lock(lock_); in EndSerialize()
[all …]
Dmessage_pipe_dispatcher.cc108 base::AutoLock lock(signal_lock_); in Fuse()
116 base::AutoLock lock(other->signal_lock_); in Fuse()
132 base::AutoLock lock(signal_lock_); in Close()
191 base::AutoLock lock(signal_lock_); in ReadMessage()
247 base::AutoLock lock(signal_lock_); in GetHandleSignalsState()
254 base::AutoLock lock(signal_lock_); in AddWatcherRef()
262 base::AutoLock lock(signal_lock_); in RemoveWatcherRef()
288 base::AutoLock lock(signal_lock_); in BeginTransit()
298 base::AutoLock lock(signal_lock_); in CompleteTransitAndClose()
305 base::AutoLock lock(signal_lock_); in CancelTransit()
[all …]
Ddata_pipe_consumer_dispatcher.cc83 base::AutoLock lock(consumer->lock_); in Create()
94 base::AutoLock lock(lock_); in Close()
103 base::AutoLock lock(lock_); in ReadData()
196 base::AutoLock lock(lock_); in BeginReadData()
233 base::AutoLock lock(lock_); in EndReadData()
267 base::AutoLock lock(lock_); in GetHandleSignalsState()
274 base::AutoLock lock(lock_); in AddWatcherRef()
283 base::AutoLock lock(lock_); in RemoveWatcherRef()
292 base::AutoLock lock(lock_); in StartSerialize()
307 base::AutoLock lock(lock_); in EndSerialize()
[all …]
/external/drm_hwcomposer/utils/
Dautolock.h21 class AutoLock {
23 AutoLock(pthread_mutex_t *mutex, const char *const name) in AutoLock() function
26 ~AutoLock() { in ~AutoLock()
31 AutoLock(const AutoLock &rhs) = delete;
32 AutoLock &operator=(const AutoLock &rhs) = delete;
/external/libchrome/base/test/
Dtest_simple_task_runner.cc22 AutoLock auto_lock(lock_); in PostDelayedTask()
32 AutoLock auto_lock(lock_); in PostNonNestableDelayedTask()
47 AutoLock auto_lock(lock_); in TakePendingTasks()
52 AutoLock auto_lock(lock_); in NumPendingTasks()
57 AutoLock auto_lock(lock_); in HasPendingTask()
62 AutoLock auto_lock(lock_); in NextPendingTaskDelay()
67 AutoLock auto_lock(lock_); in FinalPendingTaskDelay()
72 AutoLock auto_lock(lock_); in ClearPendingTasks()
82 AutoLock auto_lock(lock_); in RunPendingTasks()
Dtest_mock_time_task_runner.cc79 AutoLock scoped_lock(lock_); in Detach()
85 AutoLock scoped_lock(lock_); in RunsTasksInCurrentSequence()
94 AutoLock scoped_lock(lock_); in PostDelayedTask()
105 AutoLock scoped_lock(lock_); in PostNonNestableDelayedTask()
247 AutoLock scoped_lock(tasks_lock_); in ClearPendingTasks()
269 AutoLock scoped_lock(tasks_lock_); in Now()
274 AutoLock scoped_lock(tasks_lock_); in NowTicks()
301 AutoLock scoped_lock(tasks_lock_); in TakePendingTasks()
317 AutoLock scoped_lock(tasks_lock_); in HasPendingTask()
325 AutoLock scoped_lock(tasks_lock_); in GetPendingTaskCount()
[all …]
/external/libchrome/base/metrics/
Dstatistics_recorder.cc54 const AutoLock auto_lock(lock_.Get()); in ~StatisticsRecorder()
74 const AutoLock auto_lock(lock_.Get()); in RegisterHistogramProvider()
84 const AutoLock auto_lock(lock_.Get()); in RegisterOrDeleteDuplicate()
124 const AutoLock auto_lock(lock_.Get()); in RegisterOrDeleteDuplicateRanges()
180 const AutoLock auto_lock(lock_.Get()); in GetBucketRanges()
194 const AutoLock auto_lock(lock_.Get()); in FindHistogram()
204 const AutoLock auto_lock(lock_.Get()); in GetHistogramProviders()
235 const AutoLock auto_lock(lock_.Get()); in InitLogOnShutdown()
244 const AutoLock auto_lock(lock_.Get()); in SetCallback()
259 const AutoLock auto_lock(lock_.Get()); in ClearCallback()
[all …]
Dfield_trial_param_associator.cc27 AutoLock scoped_lock(lock_); in AssociateFieldTrialParams()
57 AutoLock scoped_lock(lock_); in GetFieldTrialParamsWithoutFallback()
69 AutoLock scoped_lock(lock_); in ClearAllParamsForTesting()
78 AutoLock scoped_lock(lock_); in ClearParamsForTesting()
84 AutoLock scoped_lock(lock_); in ClearAllCachedParamsForTesting()
/external/libchrome/base/synchronization/
Dcondition_variable_unittest.cc201 AutoLock auto_lock(*lock); in BackInTime()
266 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
277 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
303 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
326 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
347 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
368 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
387 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
412 base::AutoLock private_held_lock(private_lock); in TEST_F()
416 base::AutoLock auto_lock(*queue.lock()); in TEST_F()
[all …]
Dlock.h108 class AutoLock {
112 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() function
116 AutoLock(Lock& lock, const AlreadyAcquired&) : lock_(lock) { in AutoLock() function
120 ~AutoLock() { in ~AutoLock()
127 DISALLOW_COPY_AND_ASSIGN(AutoLock);
/external/libchrome/base/threading/
Dwatchdog.cc72 AutoLock lock(lock_); in Cleanup()
80 AutoLock lock(lock_); in IsJoinable()
94 AutoLock lock(lock_); in ArmAtStartTime()
104 AutoLock lock(lock_); in Disarm()
122 AutoLock lock(watchdog_->lock_); in ThreadMain()
140 AutoLock static_lock(static_data->lock); in ThreadMain()
161 AutoLock static_lock(static_data->lock); in ThreadMain()
177 AutoLock lock(static_data->lock); in ResetStaticData()
Dthread_id_name_manager.cc34 AutoLock locked(lock_); in ThreadIdNameManager()
51 AutoLock locked(lock_); in RegisterThread()
58 AutoLock locked(lock_); in InstallSetNameCallback()
66 AutoLock locked(lock_); in SetName()
104 AutoLock locked(lock_); in GetName()
126 AutoLock locked(lock_); in RemoveName()
/external/libchrome/ipc/
Dipc_sync_message_filter.cc33 base::AutoLock auto_lock(lock_); in Send()
54 base::AutoLock auto_lock(lock_); in Send()
92 base::AutoLock auto_lock(lock_); in Send()
103 base::AutoLock auto_lock(lock_); in OnFilterAdded()
114 base::AutoLock auto_lock(lock_); in OnChannelError()
120 base::AutoLock auto_lock(lock_); in OnChannelClosing()
126 base::AutoLock auto_lock(lock_); in OnMessageReceived()
161 base::AutoLock auto_lock(lock_); in SendOnIOThread()
182 base::AutoLock auto_lock(lock_); in GetGenericRemoteAssociatedInterface()
Dipc_mojo_bootstrap.cc68 base::AutoLock lock(lock_); in AddController()
73 base::AutoLock lock(lock_); in RemoveController()
119 base::AutoLock lock(outgoing_messages_lock_); in GetQueuedMessageCount()
151 base::AutoLock lock(outgoing_messages_lock_); in FlushOutgoingMessages()
170 base::AutoLock locker(lock_); in CreateChannelEndpoints()
195 base::AutoLock lock(outgoing_messages_lock_); in ShutDown()
207 base::AutoLock locker(lock_); in AssociateInterface()
227 base::AutoLock locker(lock_); in AssociateInterface()
253 base::AutoLock locker(lock_); in CreateLocalEndpointHandle()
275 base::AutoLock locker(lock_); in CloseEndpointHandle()
[all …]
/external/sfntly/cpp/src/sfntly/port/
Dlock.h59 class AutoLock {
61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() function
65 ~AutoLock() { in ~AutoLock()
71 NO_COPY_AND_ASSIGN(AutoLock);
/external/libchrome/base/
Dthread_annotations_unittest.cc17 class SCOPED_LOCKABLE AutoLock { class
19 AutoLock(Lock& lock) EXCLUSIVE_LOCK_FUNCTION(lock) : lock_(lock) { in EXCLUSIVE_LOCK_FUNCTION()
22 ~AutoLock() UNLOCK_FUNCTION() { lock_.Release(); } in UNLOCK_FUNCTION()
45 AutoLock auto_lock(lock_); in ImplicitIncrement()
Dthread_annotations_unittest.nc18 class SCOPED_LOCKABLE AutoLock {
20 AutoLock(Lock& lock) EXCLUSIVE_LOCK_FUNCTION(lock) : lock_(lock) {
23 ~AutoLock() UNLOCK_FUNCTION() { lock_.Release(); }
55 AutoLock auto_lock(lock_);
56 // The AutoLock will go out of scope before the guarded member access.
Ddeferred_sequenced_task_runner.cc40 AutoLock lock(lock_); in PostDelayedTask()
53 AutoLock lock(lock_); in RunsTasksInCurrentSequence()
64 AutoLock lock(lock_); in PostNonNestableDelayedTask()
76 AutoLock lock(lock_); in Start()
82 AutoLock lock(lock_); in StartWithTaskRunner()
/external/libchrome/base/trace_event/
Dtrace_log.cc256 AutoLock lock(trace_log->lock_); in ThreadLocalEventBuffer()
266 AutoLock lock(trace_log_->lock_); in ~ThreadLocalEventBuffer()
278 AutoLock lock(trace_log_->lock_); in AddTraceEvent()
283 AutoLock lock(trace_log_->lock_); in AddTraceEvent()
429 AutoLock lock(lock_); in OnMemoryDump()
456 AutoLock lock(tracelog->lock_); in GetCategoryGroupEnabled()
567 AutoLock lock(lock_); in SetEnabled()
646 AutoLock lock(lock_); in SetEnabled()
653 AutoLock lock(lock_); in SetArgumentFilterPredicate()
679 AutoLock lock(lock_); in GetCurrentTraceConfig()
[all …]
Dmemory_dump_manager.cc111 AutoLock lock(lock_); in ~MemoryDumpManager()
119 AutoLock lock(lock_); in ~MemoryDumpManager()
128 AutoLock lock(lock_); in Initialize()
197 AutoLock lock(lock_); in RegisterDumpProviderInternal()
222 AutoLock lock(lock_); in UnregisterDumpProviderInternal()
267 AutoLock lock(lock_); in IsDumpProviderRegisteredForTesting()
311 AutoLock lock(lock_); in CreateProcessDump()
394 AutoLock lock(lock_); in ContinueAsyncProcessDump()
428 AutoLock lock(lock_); in InvokeOnMemoryDump()
492 AutoLock lock(lock_); in SetupForTracing()
[all …]
/external/libchrome/base/task/sequence_manager/
Dtask_queue_impl.cc57 AutoLock lock(any_thread_lock_); in ~TaskQueueImpl()
135 AutoLock lock(any_thread_lock_); in UnregisterTaskQueue()
136 AutoLock immediate_incoming_queue_lock(immediate_incoming_queue_lock_); in UnregisterTaskQueue()
199 AutoLock lock(any_thread_lock_); in PostImmediateTaskImpl()
236 AutoLock lock(any_thread_lock_); in PostDelayedTaskImpl()
308 AutoLock lock(immediate_incoming_queue_lock_); in PushOntoImmediateIncomingQueueLocked()
339 AutoLock immediate_incoming_queue_lock(immediate_incoming_queue_lock_); in ReloadEmptyImmediateQueue()
372 AutoLock lock(immediate_incoming_queue_lock_); in IsEmpty()
382 AutoLock lock(immediate_incoming_queue_lock_); in GetNumberOfPendingTasks()
403 AutoLock lock(immediate_incoming_queue_lock_); in HasTaskToRunImmediately()
[all …]

123456