Home
last modified time | relevance | path

Searched refs:AutoReset (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/
Dauto_reset.h24 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/
Dthread_controller_with_message_pump_impl.cc117 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/
Dpost_task_and_reply_impl_unittest.cc74 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/
Dmessage_pump_default.cc30 AutoReset<bool> auto_reset_keep_running(&keep_running_, true); in Run()
Dmessage_pump_libevent.cc198 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/
Devent_unittest.cc35 TEST(EventTest, AutoReset) { in TEST() argument
/external/llvm/lib/MC/
DMCContext.cpp52 AutoReset(DoAutoReset), HadError(false) { in MCContext()
63 if (AutoReset) in ~MCContext()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp67 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext()
76 if (AutoReset) in ~MCContext()
/external/llvm-project/llvm/lib/MC/
DMCContext.cpp67 AutoReset(DoAutoReset), TargetOptions(TargetOpts) { in MCContext()
76 if (AutoReset) in ~MCContext()
/external/llvm/include/llvm/MC/
DMCContext.h227 bool AutoReset; variable
/external/llvm-project/llvm/include/llvm/MC/
DMCContext.h292 bool AutoReset; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCContext.h280 bool AutoReset; variable
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_impl.cc788 AutoReset<bool> ban_cleanups(&worker_cleanup_disallowed_for_testing_, true); in WaitForWorkersIdleLockRequiredForTesting()