Home
last modified time | relevance | path

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

/external/libchrome/base/
Dauto_reset.h22 class AutoReset {
24 AutoReset(T* scoped_variable, T new_value) in AutoReset() function
30 ~AutoReset() { *scoped_variable_ = original_value_; } in ~AutoReset()
36 DISALLOW_COPY_AND_ASSIGN(AutoReset);
/external/webrtc/webrtc/base/
Devent_unittest.cc33 TEST(EventTest, AutoReset) { in TEST() argument
/external/libchrome/base/message_loop/
Dmessage_pump_libevent.cc207 AutoReset<bool> auto_reset_keep_running(&keep_running_, true); in Run()
208 AutoReset<bool> auto_reset_in_run(&in_run_, true); in Run()
/external/llvm/lib/MC/
DMCContext.cpp52 AutoReset(DoAutoReset), HadError(false) { in MCContext()
63 if (AutoReset) in ~MCContext()
/external/llvm/include/llvm/MC/
DMCContext.h227 bool AutoReset; variable
/external/libmojo/mojo/message_pump/
Dhandle_watcher_unittest.cc85 base::AutoReset<base::RunLoop*> reseter(&run_loop_, &run_loop); in RunUntilGotCallback()