OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AutoReset
(Results
1 - 25
of
88
) sorted by null
1
2
3
4
/external/chromium/base/
auto_reset.h
22
class
AutoReset
{
24
AutoReset
(T* scoped_variable, T new_value)
30
~
AutoReset
() { *scoped_variable_ = original_value_; }
36
DISALLOW_COPY_AND_ASSIGN(
AutoReset
);
/external/chromium_org/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/chromium_org/cc/test/
fake_scrollbar_layer.cc
47
scoped_ptr<base::
AutoReset
<bool> > FakeScrollbarLayer::IgnoreSetNeedsCommit() {
49
new base::
AutoReset
<bool>(&ignore_set_needs_commit_, true));
fake_scrollbar_layer.h
11
namespace base { template<typename T> class
AutoReset
; }
38
scoped_ptr<base::
AutoReset
<bool> > IgnoreSetNeedsCommit();
/external/chromium_org/third_party/libjingle/source/talk/base/
event_unittest.cc
50
TEST(EventTest,
AutoReset
) {
/external/chromium/chrome/browser/autocomplete/
autocomplete_classifier.cc
26
AutoReset
<bool> reset(&inside_classify_, true);
/external/chromium_org/ash/wm/
status_area_layout_manager.cc
76
base::
AutoReset
<bool> auto_reset_in_layout(&in_layout_, true);
/external/chromium_org/chrome/browser/autocomplete/
autocomplete_classifier.cc
55
base::
AutoReset
<bool> reset(&inside_classify_, true);
/external/chromium_org/ui/base/win/
mouse_wheel_util.cc
106
base::
AutoReset
<bool> auto_reset_recursion_break(&recursion_break, true);
/external/chromium_org/ui/views/win/
appbar.cc
84
base::
AutoReset
<bool> in_callback_setter(&in_callback_, true);
/external/chromium/chrome/browser/notifications/
notification_exceptions_table_model.cc
44
AutoReset
<bool> tmp(&updates_disabled_, true);
62
AutoReset
<bool> tmp(&updates_disabled_, true);
/external/chromium/chrome/browser/
plugin_exceptions_table_model.cc
34
AutoReset
<bool> tmp(&updates_disabled_, true);
67
AutoReset
<bool> tmp(&updates_disabled_, true);