Home
last modified time | relevance | path

Searched refs:has_value_ (Results 1 – 4 of 4) sorted by relevance

/third_party/libabigail/include/
Dabg-cxx-compat.h40 bool has_value_;
44 optional() : has_value_(false), value_() {}
45 optional(const T& value) : has_value_(true), value_(value) {}
50 return has_value_;
56 if (!has_value_)
64 if (!has_value_)
88 has_value_ = true;
/third_party/node/deps/v8/include/
Dv8-maybe.h31 V8_INLINE bool IsNothing() const { return !has_value_; } in IsNothing()
32 V8_INLINE bool IsJust() const { return has_value_; } in IsJust()
70 return has_value_ ? value_ : default_value; in FromMaybe()
83 Maybe() : has_value_(false) {} in Maybe()
84 explicit Maybe(const T& t) : has_value_(true), value_(t) {} in Maybe()
86 bool has_value_; variable
/third_party/node/deps/v8/testing/
Dgmock-support.h19 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
/third_party/googletest/googlemock/test/
Dgmock-matchers-misc_test.cc678 : value_(std::move(value)), has_value_(true) {} in SampleOptional()
679 SampleOptional() : value_(), has_value_(false) {} in SampleOptional()
680 operator bool() const { return has_value_; } in operator bool()
685 bool has_value_; member in testing::gmock_matchers_test::__anon506b22950111::SampleOptional