HomeSort by relevance Sort by last modified time
    Searched refs:AutoReset (Results 1 - 6 of 6) sorted by null

  /external/libchrome/base/
auto_reset.h 10 // base::AutoReset<> is useful for setting a variable to a new value only within
11 // a particular scope. An base::AutoReset<> object resets a variable to its
15 // This should be obvious, but note that an base::AutoReset<> instance should
17 // writes when the base::AutoReset<> object is destroyed.
22 class AutoReset {
24 AutoReset(T* scoped_variable, T new_value)
30 ~AutoReset() { *scoped_variable_ = original_value_; }
36 DISALLOW_COPY_AND_ASSIGN(AutoReset);
  /external/webrtc/webrtc/base/
event_unittest.cc 33 TEST(EventTest, AutoReset) {
  /external/libchrome/base/message_loop/
message_pump_libevent.cc 207 AutoReset<bool> auto_reset_keep_running(&keep_running_, true);
208 AutoReset<bool> auto_reset_in_run(&in_run_, true);
  /external/llvm/lib/MC/
MCContext.cpp 52 AutoReset(DoAutoReset), HadError(false) {
63 if (AutoReset)
  /external/libmojo/mojo/message_pump/
handle_watcher_unittest.cc 85 base::AutoReset<base::RunLoop*> reseter(&run_loop_, &run_loop);
  /external/llvm/include/llvm/MC/
MCContext.h 227 bool AutoReset;

Completed in 132 milliseconds