/external/webrtc/webrtc/base/ |
optional.h | 65 Optional() : has_value_(false) {} 68 explicit Optional(const T& val) : value_(val), has_value_(true) {} 69 explicit Optional(T&& val) : value_(std::move(val)), has_value_(true) {} 75 : value_(std::move(m.value_)), has_value_(m.has_value_) {} 82 has_value_ = m.has_value_; 89 swap(m1.has_value_, m2.has_value_); 93 explicit operator bool() const { return has_value_; } 134 bool has_value_; member in class:rtc::final [all...] |
/art/cmdline/ |
cmdline_parse_result.h | 85 assert(has_value_); 93 assert(has_value_); 101 assert(has_value_); 108 return has_value_; 126 : CmdlineResult(kSuccess), value_(value), has_value_(true) {} 128 : CmdlineResult(kSuccess), value_(std::forward<T>(value)), has_value_(true) {} 130 : CmdlineResult(kSuccess), value_(), has_value_(false) {} 133 bool has_value_ = false; member in struct:art::CmdlineParseResult
|
/external/v8/testing/ |
gmock-support.h | 19 Capture() : value_(), has_value_(false) {} 22 bool has_value() const { return has_value_; } 27 has_value_ = true; 32 bool has_value_; member in class:testing::Capture
|
/system/update_engine/update_manager/ |
generic_variables.h | 175 : Variable<T>(name, kVariableModeAsync), has_value_(false) {} 179 has_value_(true), value_(value) {} 182 bool should_notify = !(has_value_ && new_value == value_); 184 has_value_ = true; 190 if (has_value_) { 191 has_value_ = false; 200 if (!has_value_) { 210 bool has_value_; member in class:chromeos_update_manager::AsyncCopyVariable
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
kv_pb.py | 27 has_value_ = 0 variable in class:KeyValue 49 self.has_value_ = 1 53 if self.has_value_: 54 self.has_value_ = 0 57 def has_value(self): return self.has_value_ 96 if self.has_value_ != x.has_value_: return 0 97 if self.has_value_ and self.value_ != x.value_: return 0 106 if (not self.has_value_): 123 if (self.has_value_) [all...] |
/external/v8/src/compiler/ |
node-matchers.h | 52 : NodeMatcher(node), value_(), has_value_(opcode() == kOpcode) { 53 if (has_value_) { 58 bool HasValue() const { return has_value_; } 66 bool has_value_; member in struct:v8::internal::compiler::ValueMatcher 75 has_value_(opcode() == IrOpcode::kInt32Constant) { 76 if (has_value_) { 84 : NodeMatcher(node), value_(), has_value_(false) { 87 has_value_ = true; 90 has_value_ = true; 98 : NodeMatcher(node), value_(), has_value_(false) [all...] |