Home
last modified time | relevance | path

Searched refs:scoped_lock (Results 1 – 24 of 24) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
Dmutex.pass.cpp68 using LG = std::scoped_lock<>; in main()
72 using LG = std::scoped_lock<TestMutex>; in main()
81 using LG = std::scoped_lock<TestMutex, TestMutex>; in main()
90 using LG = std::scoped_lock<TestMutex, TestMutex, TestMutex>; in main()
101 using LG = std::scoped_lock<MT>; in main()
112 using LG = std::scoped_lock<MT, MT>; in main()
123 using LG = std::scoped_lock<MT, MT, MT>; in main()
138 std::scoped_lock sl{}; in main()
139 static_assert((std::is_same<decltype(sl), std::scoped_lock<>>::value), "" ); in main()
142 std::scoped_lock sl{m1}; in main()
[all …]
Dtypes.pass.cpp43 using T = std::scoped_lock<>; in main()
48 using T = std::scoped_lock<M1>; in main()
53 using T = std::scoped_lock<M1>; in main()
59 using T = std::scoped_lock<M1, M2>; in main()
65 using T = std::scoped_lock<M1, M1, M2>; in main()
70 using T = std::scoped_lock<M1, M1>; in main()
75 using T = std::scoped_lock<M1, M1, M1>; in main()
Dcopy.fail.cpp27 using LG = std::scoped_lock<>; in main()
32 using LG = std::scoped_lock<M>; in main()
37 using LG = std::scoped_lock<M, M>; in main()
42 using LG = std::scoped_lock<M, M, M>; in main()
Dassign.fail.cpp28 using LG = std::scoped_lock<>; in main()
33 using LG = std::scoped_lock<M>; in main()
39 using LG = std::scoped_lock<M, M>; in main()
45 using LG = std::scoped_lock<M, M, M>; in main()
Dmutex.fail.cpp31 using LG = std::scoped_lock<>; in main()
37 using LG = std::scoped_lock<M>; in main()
43 using LG = std::scoped_lock<M, M>; in main()
49 using LG = std::scoped_lock<M, M, M>; in main()
Dadopt_lock.pass.cpp38 using LG = std::scoped_lock<>; in main()
43 using LG = std::scoped_lock<TestMutex>; in main()
53 using LG = std::scoped_lock<TestMutex, TestMutex>; in main()
63 using LG = std::scoped_lock<TestMutex, TestMutex, TestMutex>; in main()
/external/libcxx/include/
Dmutex113 class scoped_lock // C++17
118 explicit scoped_lock(MutexTypes&... m);
119 scoped_lock(adopt_lock_t, MutexTypes&... m);
120 ~scoped_lock();
121 scoped_lock(scoped_lock const&) = delete;
122 scoped_lock& operator=(scoped_lock const&) = delete;
476 class _LIBCPP_TEMPLATE_VIS scoped_lock;
479 class _LIBCPP_TEMPLATE_VIS scoped_lock<> {
481 explicit scoped_lock() {}
482 ~scoped_lock() = default;
[all …]
/external/libchrome/base/test/
Dtest_mock_time_task_runner.cc79 AutoLock scoped_lock(lock_); in Detach() local
85 AutoLock scoped_lock(lock_); in RunsTasksInCurrentSequence() local
94 AutoLock scoped_lock(lock_); in PostDelayedTask() local
105 AutoLock scoped_lock(lock_); in PostNonNestableDelayedTask() local
247 AutoLock scoped_lock(tasks_lock_); in ClearPendingTasks() local
269 AutoLock scoped_lock(tasks_lock_); in Now() local
274 AutoLock scoped_lock(tasks_lock_); in NowTicks() local
301 AutoLock scoped_lock(tasks_lock_); in TakePendingTasks() local
317 AutoLock scoped_lock(tasks_lock_); in HasPendingTask() local
325 AutoLock scoped_lock(tasks_lock_); in GetPendingTaskCount() local
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dtask_io_service.ipp50 mutex::scoped_lock* lock_;
78 mutex::scoped_lock* lock_;
98 mutex::scoped_lock lock(mutex_);
117 mutex::scoped_lock lock(mutex_);
139 mutex::scoped_lock lock(mutex_);
161 mutex::scoped_lock lock(mutex_);
179 mutex::scoped_lock lock(mutex_);
208 mutex::scoped_lock lock(mutex_);
222 mutex::scoped_lock lock(mutex_);
228 mutex::scoped_lock lock(mutex_);
[all …]
Dselect_reactor.ipp46 asio::detail::mutex::scoped_lock lock(mutex_);
82 asio::detail::mutex::scoped_lock lock(mutex_);
100 asio::detail::mutex::scoped_lock lock(mutex_);
117 asio::detail::mutex::scoped_lock lock(mutex_);
124 asio::detail::mutex::scoped_lock lock(mutex_);
131 asio::detail::mutex::scoped_lock lock(mutex_);
139 asio::detail::mutex::scoped_lock lock(mutex_);
202 mutex::scoped_lock lock(mutex_);
208 mutex::scoped_lock lock(mutex_);
Dselect_reactor.hpp42 asio::detail::mutex::scoped_lock lock(mutex_); in schedule_timer()
61 asio::detail::mutex::scoped_lock lock(mutex_); in cancel_timer()
Dservice_registry.ipp53 asio::detail::mutex::scoped_lock lock(mutex_);
104 asio::detail::mutex::scoped_lock lock(mutex_);
147 asio::detail::mutex::scoped_lock lock(mutex_);
167 asio::detail::mutex::scoped_lock lock(mutex_);
Dhandler_tracking.ipp69 static_mutex::scoped_lock lock(state->mutex_);
79 static_mutex::scoped_lock lock(state->mutex_);
Dresolver_service_base.ipp114 asio::detail::mutex::scoped_lock lock(mutex_);
/external/libchrome/base/metrics/
Dfield_trial_param_associator.cc27 AutoLock scoped_lock(lock_); in AssociateFieldTrialParams() local
57 AutoLock scoped_lock(lock_); in GetFieldTrialParamsWithoutFallback() local
69 AutoLock scoped_lock(lock_); in ClearAllParamsForTesting() local
78 AutoLock scoped_lock(lock_); in ClearParamsForTesting() local
84 AutoLock scoped_lock(lock_); in ClearAllCachedParamsForTesting() local
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dscoped_lock.hpp24 class scoped_lock class
32 scoped_lock(Mutex& m, adopt_lock_t) in scoped_lock() function in asio::detail::scoped_lock
39 explicit scoped_lock(Mutex& m) in scoped_lock() function in asio::detail::scoped_lock
47 ~scoped_lock() in ~scoped_lock()
Dtask_io_service.hpp126 ASIO_DECL std::size_t do_run_one(mutex::scoped_lock& lock,
130 ASIO_DECL std::size_t do_poll_one(mutex::scoped_lock& lock,
134 ASIO_DECL void stop_all_threads(mutex::scoped_lock& lock);
138 mutex::scoped_lock& lock);
Dposix_mutex.hpp34 typedef asio::detail::scoped_lock<posix_mutex> scoped_lock; typedef in asio::detail::posix_mutex
/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl.cc77 std::lock_guard<std::mutex> scoped_lock(lock_); in GetNewChunk() local
176 std::lock_guard<std::mutex> scoped_lock(lock_); in UpdateCommitDataRequest() local
279 std::lock_guard<std::mutex> scoped_lock(lock_); in FlushPendingCommitDataRequests() local
301 std::lock_guard<std::mutex> scoped_lock(lock_); in CreateTraceWriter() local
336 std::lock_guard<std::mutex> scoped_lock(lock_); in BindStartupTraceWriterRegistry() local
355 std::lock_guard<std::mutex> scoped_lock(lock_); in BindStartupTraceWriterRegistry() local
362 std::lock_guard<std::mutex> scoped_lock(lock_); in NotifyFlushComplete() local
391 std::lock_guard<std::mutex> scoped_lock(lock_); in ReleaseWriterID() local
/external/libchrome/base/
Dpath_service.cc191 AutoLock scoped_lock(path_data->lock); in Get() local
224 AutoLock scoped_lock(path_data->lock); in Get() local
267 AutoLock scoped_lock(path_data->lock); in OverrideAndCreateIfNeeded() local
283 AutoLock scoped_lock(path_data->lock); in RemoveOverride() local
314 AutoLock scoped_lock(path_data->lock); in RegisterProvider() local
334 AutoLock scoped_lock(path_data->lock); in DisableCache() local
/external/webrtc/webrtc/base/
Dthread_checker_impl.cc27 CritScope scoped_lock(&lock_); in CalledOnValidThread() local
34 CritScope scoped_lock(&lock_); in DetachFromThread() local
Dthread_unittest.cc157 CritScope scoped_lock(&cs_); in operator =() local
162 CritScope scoped_lock(&cs_); in get() local
/external/libcxx/test/libcxx/thread/thread.mutex/
Dthread_safety_lock_guard.pass.cpp31 std::scoped_lock<std::mutex> lock(m); in scoped()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner_perftest.cc121 AutoLock scoped_lock(message_loop_lock_); in DidQueueTask() local