Searched refs:AutoReset (Results 1 – 13 of 13) sorted by relevance
/external/libchrome/base/ |
D | auto_reset.h | 24 class AutoReset { 26 AutoReset(T* scoped_variable, T new_value) in AutoReset() function 32 ~AutoReset() { *scoped_variable_ = std::move(original_value_); } in ~AutoReset() 38 DISALLOW_COPY_AND_ASSIGN(AutoReset);
|
/external/libchrome/base/task/sequence_manager/ |
D | thread_controller_with_message_pump_impl.cc | 117 AutoReset<int> do_work_scope(&main_thread_only().do_work_depth, in DoWork() 179 AutoReset<int> run_scope(&main_thread_only().run_depth, in Run()
|
/external/libchrome/base/threading/ |
D | post_task_and_reply_impl_unittest.cc | 74 AutoReset<bool> reset(&runs_tasks_in_current_sequence_, true); in RunUntilIdleWithRunsTasksInCurrentSequence() 79 AutoReset<bool> reset(&runs_tasks_in_current_sequence_, true); in ClearPendingTasksWithRunsTasksInCurrentSequence()
|
/external/libchrome/base/message_loop/ |
D | message_pump_default.cc | 30 AutoReset<bool> auto_reset_keep_running(&keep_running_, true); in Run()
|
D | message_pump_libevent.cc | 198 AutoReset<bool> auto_reset_keep_running(&keep_running_, true); in Run() 199 AutoReset<bool> auto_reset_in_run(&in_run_, true); in Run()
|
/external/webrtc/rtc_base/ |
D | event_unittest.cc | 35 TEST(EventTest, AutoReset) { in TEST() argument
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 52 AutoReset(DoAutoReset), HadError(false) { in MCContext() 63 if (AutoReset) in ~MCContext()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCContext.cpp | 67 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext() 76 if (AutoReset) in ~MCContext()
|
/external/llvm-project/llvm/lib/MC/ |
D | MCContext.cpp | 67 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext() 76 if (AutoReset) in ~MCContext()
|
/external/llvm/include/llvm/MC/ |
D | MCContext.h | 227 bool AutoReset; variable
|
/external/llvm-project/llvm/include/llvm/MC/ |
D | MCContext.h | 292 bool AutoReset; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCContext.h | 280 bool AutoReset; variable
|
/external/libchrome/base/task_scheduler/ |
D | scheduler_worker_pool_impl.cc | 788 AutoReset<bool> ban_cleanups(&worker_cleanup_disallowed_for_testing_, true); in WaitForWorkersIdleLockRequiredForTesting()
|