Lines Matching refs:HasValue
61 bool HasValue() const { return has_value_; } in HasValue() function
63 DCHECK(HasValue()); in Value()
118 return this->HasValue() && this->Value() == value; in Is()
121 return this->HasValue() && low <= this->Value() && this->Value() <= high; in IsInRange()
124 return this->HasValue() && (this->Value() % n) == 0; in IsMultipleOf()
127 return this->HasValue() && this->Value() > 0 && in IsPowerOf2()
131 return this->HasValue() && this->Value() < 0 && in IsNegativePowerOf2()
134 bool IsNegative() const { return this->HasValue() && this->Value() < 0; } in IsNegative()
156 return this->HasValue() && this->Value() == value; in Is()
159 return this->HasValue() && low <= this->Value() && this->Value() <= high; in IsInRange()
164 bool IsNegative() const { return this->HasValue() && this->Value() < 0.0; } in IsNegative()
165 bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); } in IsNaN()
168 return this->HasValue() && std::isnormal(this->Value()); in IsNormal()
171 return this->HasValue() && std::nearbyint(this->Value()) == this->Value(); in IsInteger()
174 if (!this->HasValue() || (this->Value() == 0.0)) { in IsPositiveOrNegativePowerOf2()
195 return this->HasValue() && this->Value().address() == value.address(); in Is()
206 return this->HasValue() && this->Value() == value; in Is()
249 bool IsFoldable() const { return left().HasValue() && right().HasValue(); } in IsFoldable()
261 if (left().HasValue() && !right().HasValue()) { in PutConstantOnRight()
290 if (m.right().HasValue()) {
298 if (m.right().HasValue()) {
501 if (right_matcher.right().HasValue()) { in Initialize()
513 if (right_matcher.right().HasValue()) { in Initialize()
521 } else if (m.right().HasValue()) { in Initialize()
536 if (left_matcher.right().HasValue()) { in Initialize()
563 if (left_matcher.right().HasValue()) { in Initialize()
571 } else if (m.right().HasValue()) { in Initialize()
591 if (left_matcher.right().HasValue()) { in Initialize()
596 } else if (m.right().HasValue()) { in Initialize()
614 if (m.right().HasValue()) { in Initialize()