Home
last modified time | relevance | path

Searched refs:enabled_ (Results 1 – 25 of 31) sorted by relevance

12

/third_party/boost/boost/asio/detail/
Dconditionally_enabled_mutex.hpp45 locked_(m.enabled_) in scoped_lock()
53 if (m.enabled_) in scoped_lock()
72 if (mutex_.enabled_ && !locked_) in lock()
109 : enabled_(enabled) in conditionally_enabled_mutex()
121 return enabled_; in enabled()
127 if (enabled_) in lock()
134 if (enabled_) in unlock()
142 const bool enabled_; member in boost::asio::detail::conditionally_enabled_mutex
Dconditionally_enabled_event.hpp49 if (lock.mutex_.enabled_) in signal()
56 if (lock.mutex_.enabled_) in signal_all()
64 if (lock.mutex_.enabled_) in unlock_and_signal_one()
72 if (lock.mutex_.enabled_) in unlock_and_signal_one_for_destruction()
80 if (lock.mutex_.enabled_) in maybe_unlock_and_signal_one()
89 if (lock.mutex_.enabled_) in clear()
96 if (lock.mutex_.enabled_) in wait()
106 if (lock.mutex_.enabled_) in wait_for_usec()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dconditionally_enabled_mutex.hpp45 locked_(m.enabled_) in scoped_lock()
53 if (m.enabled_) in scoped_lock()
72 if (mutex_.enabled_ && !locked_) in lock()
109 : enabled_(enabled) in conditionally_enabled_mutex()
121 return enabled_; in enabled()
127 if (enabled_) in lock()
134 if (enabled_) in unlock()
142 const bool enabled_; member in boost::asio::detail::conditionally_enabled_mutex
Dconditionally_enabled_event.hpp49 if (lock.mutex_.enabled_) in signal()
56 if (lock.mutex_.enabled_) in signal_all()
64 if (lock.mutex_.enabled_) in unlock_and_signal_one()
72 if (lock.mutex_.enabled_) in unlock_and_signal_one_for_destruction()
80 if (lock.mutex_.enabled_) in maybe_unlock_and_signal_one()
89 if (lock.mutex_.enabled_) in clear()
96 if (lock.mutex_.enabled_) in wait()
106 if (lock.mutex_.enabled_) in wait_for_usec()
/third_party/boost/libs/contract/example/mitchell02/counter/
Dpush_button.hpp21 push_button() : enabled_(true) { in push_button()
41 return enabled_; in enabled()
54 enabled_ = true; in enable()
65 enabled_ = false; in disable()
72 bool enabled_; member in push_button
/third_party/flutter/engine/flutter/benchmarking/
Dbenchmarking.h15 : state_(state), enabled_(enabled) { in state_()
16 if (enabled_) { in state_()
21 if (enabled_) { in ~ScopedPauseTiming()
28 const bool enabled_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/callback/
Dcallback_manager.cc33 enabled_ = !callbacks_.empty(); in Init()
44 RETURN_OK_IF_TRUE(!enabled_); in Begin()
64 RETURN_OK_IF_TRUE(!enabled_); in EpochBegin()
84 RETURN_OK_IF_TRUE(!enabled_); in StepBegin()
105 RETURN_OK_IF_TRUE(!enabled_); in End()
125 RETURN_OK_IF_TRUE(!enabled_); in EpochEnd()
145 RETURN_OK_IF_TRUE(!enabled_); in StepEnd()
Dcallback_manager.h36 CallbackManager() : enabled_(false) {} in CallbackManager()
77 bool enabled_; // flag to enable callback, if false, all functions would return immediately
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUAdapter.cpp63 enabled_.emplace(interop::GPUFeatureName::kDepthClamping); in Features()
66 enabled_.emplace(interop::GPUFeatureName::kPipelineStatisticsQuery); in Features()
69 enabled_.emplace(interop::GPUFeatureName::kTextureCompressionBc); in Features()
72 enabled_.emplace(interop::GPUFeatureName::kTimestampQuery); in Features()
81 return enabled_.count(feature) != 0; in has()
94 out.reserve(enabled_.size()); in keys()
95 for (auto feature : enabled_) { in keys()
102 std::unordered_set<interop::GPUFeatureName> enabled_; member in wgpu::binding::__anona5b5cccd0211::Features
/third_party/flutter/engine/flutter/shell/common/
Dskia_event_tracer_impl.cc23 FlutterEventTracer(bool enabled) : enabled_(enabled ? kYes : kNo){}; in FlutterEventTracer()
95 return &enabled_; in getCategoryGroupEnabled()
103 void enable() { enabled_ = kYes; } in enable()
106 uint8_t enabled_; member in flutter::FlutterEventTracer
/third_party/node/src/
Dnode_trace_events.cc54 bool enabled_ = false; member in node::NodeCategorySet
79 if (!category_set->enabled_ && !categories.empty()) { in Enable()
84 category_set->enabled_ = true; in Enable()
93 if (category_set->enabled_ && !categories.empty()) { in Disable()
95 category_set->enabled_ = false; in Disable()
Ddebug_utils.h64 return enabled_[static_cast<int>(category)]; in enabled()
79 enabled_[static_cast<int>(category)] = true; in set_enabled()
82 bool enabled_[static_cast<int>(DebugCategory::CATEGORY_COUNT)] = {false}; variable
Dhistogram.cc273 if (enabled_ || IsHandleClosing()) return; in OnStart()
274 enabled_ = true; in OnStart()
282 if (!enabled_ || IsHandleClosing()) return; in OnStop()
283 enabled_ = false; in OnStop()
Dhistogram.h202 bool enabled_ = false; variable
/third_party/grpc/test/core/util/
Dmemory_counters.cc148 LeakDetector::LeakDetector(bool enable) : enabled_(enable) { in LeakDetector()
149 if (enabled_) { in LeakDetector()
157 if (enabled_) { in ~LeakDetector()
Dmemory_counters.h47 const bool enabled_;
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_pass_manager.cc47 enabled_.push_back(enable); in AddPass()
57 if (enabled_[i]) { in Run()
Dgraph_kernel_pass_manager.h45 std::vector<bool> enabled_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/
Dprofiling.h121 void DisableProfiling() { enabled_ = false; } in DisableProfiling()
135 bool enabled_; variable
Dprofiling.cc72 ProfilingManager::ProfilingManager(ExecutionTree *tree) : tree_(tree), enabled_(true) { in ProfilingManager()
76 …nager::IsProfilingEnable() const { return common::GetEnv("PROFILING_MODE") == "true" && enabled_; } in IsProfilingEnable()
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
Dcctest.h133 bool enabled() const { return enabled_; } in enabled()
139 bool enabled_; variable
Dcctest.cc57 enabled_ = test_is_enabled; in CcTest()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dflow_control.h117 if (enabled_) Init(reason, tfc, sfc); in FlowControlTrace()
121 if (enabled_) Finish(); in ~FlowControlTrace()
129 const bool enabled_ = GRPC_TRACE_FLAG_ENABLED(grpc_flowctl_trace); variable
/third_party/cef/libcef/browser/
Dmenu_model_impl.cc222 bool enabled_ = true; member
541 return items_[index].enabled_; in IsEnabledAt()
554 items_[index].enabled_ = enabled; in SetEnabledAt()
821 if (!item.enabled_) { in GetTextColor()
/third_party/grpc/src/core/lib/iomgr/
Dtcp_posix.cc298 bool enabled() const { return enabled_; } in enabled()
302 enabled_ = enabled; in set_enabled()
343 bool enabled_ = false; member in grpc_core::TcpZerocopySendCtx

12