Home
last modified time | relevance | path

Searched refs:AutoReset (Results 1 – 9 of 9) 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/webrtc/webrtc/base/
Devent_unittest.cc33 TEST(EventTest, AutoReset) { in TEST() argument
/external/libchrome/base/message_loop/
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()
Dmessage_pump_default.cc30 AutoReset<bool> auto_reset_keep_running(&keep_running_, true); in Run()
/external/llvm/lib/MC/
DMCContext.cpp52 AutoReset(DoAutoReset), HadError(false) { in MCContext()
63 if (AutoReset) in ~MCContext()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCContext.cpp63 AutoReset(DoAutoReset) { in MCContext()
72 if (AutoReset) in ~MCContext()
/external/llvm/include/llvm/MC/
DMCContext.h227 bool AutoReset; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCContext.h259 bool AutoReset; variable