OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AutoReset
(Results
1 - 9
of
9
) sorted by null
/external/libchrome/base/
auto_reset.h
12
// base::
AutoReset
<> is useful for setting a variable to a new value only within
13
// a particular scope. An base::
AutoReset
<> object resets a variable to its
17
// This should be obvious, but note that an base::
AutoReset
<> instance should
19
// writes when the base::
AutoReset
<> object is destroyed.
24
class
AutoReset
{
26
AutoReset
(T* scoped_variable, T new_value)
32
~
AutoReset
() { *scoped_variable_ = std::move(original_value_); }
38
DISALLOW_COPY_AND_ASSIGN(
AutoReset
);
/external/webrtc/webrtc/base/
event_unittest.cc
33
TEST(EventTest,
AutoReset
) {
/external/libchrome/base/message_loop/
message_pump_default.cc
30
AutoReset
<bool> auto_reset_keep_running(&keep_running_, true);
message_pump_libevent.cc
198
AutoReset
<bool> auto_reset_keep_running(&keep_running_, true);
199
AutoReset
<bool> auto_reset_in_run(&in_run_, true);
/external/libchrome/base/task/sequence_manager/
thread_controller_with_message_pump_impl.cc
117
AutoReset
<int> do_work_scope(&main_thread_only().do_work_depth,
179
AutoReset
<int> run_scope(&main_thread_only().run_depth,
/external/llvm/lib/MC/
MCContext.cpp
52
AutoReset
(DoAutoReset), HadError(false) {
63
if (
AutoReset
)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
MCContext.cpp
63
AutoReset
(DoAutoReset) {
72
if (
AutoReset
)
/external/llvm/include/llvm/MC/
MCContext.h
227
bool
AutoReset
;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
MCContext.h
259
bool
AutoReset
;
Completed in 1928 milliseconds