Searched refs:has_value_ (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/base/ |
D | optional.h | 65 Optional() : has_value_(false) {} in Optional() 68 explicit Optional(const T& val) : value_(val), has_value_(true) {} in Optional() 69 explicit Optional(T&& val) : value_(std::move(val)), has_value_(true) {} in Optional() 75 : value_(std::move(m.value_)), has_value_(m.has_value_) {} in Optional() 82 has_value_ = m.has_value_; 89 swap(m1.has_value_, m2.has_value_); in swap() 93 explicit operator bool() const { return has_value_; } 97 RTC_DCHECK(has_value_); 101 RTC_DCHECK(has_value_); 105 RTC_DCHECK(has_value_); [all …]
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/ |
D | kv_pb.py | 27 has_value_ = 0 variable in 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_): 142 if (self.has_value_): [all …]
|
/external/v8/testing/ |
D | gmock-support.h | 19 Capture() : value_(), has_value_(false) {} in Capture() 22 bool has_value() const { return has_value_; } in has_value() 27 has_value_ = true; in SetValue() 32 bool has_value_; variable
|
/external/v8/src/compiler/ |
D | node-matchers.h | 52 : NodeMatcher(node), value_(), has_value_(opcode() == kOpcode) { in ValueMatcher() 53 if (has_value_) { in ValueMatcher() 58 bool HasValue() const { return has_value_; } in HasValue() 66 bool has_value_; member 75 has_value_(opcode() == IrOpcode::kInt32Constant) { in ValueMatcher() 76 if (has_value_) { in ValueMatcher() 84 : NodeMatcher(node), value_(), has_value_(false) { in ValueMatcher() 87 has_value_ = true; in ValueMatcher() 90 has_value_ = true; in ValueMatcher() 98 : NodeMatcher(node), value_(), has_value_(false) { in ValueMatcher() [all …]
|