Lines Matching refs:is_populated_
61 : is_populated_(true), value_(std::forward<Args>(args)...) {} in OptionalStorageBase()
75 if (is_populated_) in ~OptionalStorageBase()
81 PERFETTO_DCHECK(!is_populated_); in Init()
83 is_populated_ = true; in Init()
86 bool is_populated_ = false; member
104 : is_populated_(true), value_(std::forward<Args>(args)...) {}
122 PERFETTO_DCHECK(!is_populated_);
124 is_populated_ = true;
127 bool is_populated_ = false;
151 using OptionalStorageBase<T>::is_populated_;
163 if (other.is_populated_)
169 if (other.is_populated_)
177 using OptionalStorageBase<T>::is_populated_;
187 if (other.is_populated_)
211 if (other.storage_.is_populated_)
217 if (other.storage_.is_populated_)
237 if (other.storage_.is_populated_)
245 if (other.storage_.is_populated_)
253 if (storage_.is_populated_)
260 if (!storage_.is_populated_)
263 storage_.is_populated_ = false;
563 PERFETTO_DCHECK(storage_.is_populated_);
568 PERFETTO_DCHECK(storage_.is_populated_);
573 PERFETTO_DCHECK(storage_.is_populated_);
578 PERFETTO_DCHECK(storage_.is_populated_);
583 PERFETTO_DCHECK(storage_.is_populated_);
588 PERFETTO_DCHECK(storage_.is_populated_);
592 constexpr explicit operator bool() const { return storage_.is_populated_; }
594 constexpr bool has_value() const { return storage_.is_populated_; }
597 PERFETTO_CHECK(storage_.is_populated_);
602 PERFETTO_CHECK(storage_.is_populated_);
607 PERFETTO_CHECK(storage_.is_populated_);
612 PERFETTO_CHECK(storage_.is_populated_);
620 return storage_.is_populated_
629 return storage_.is_populated_
635 if (!storage_.is_populated_ && !other.storage_.is_populated_)
638 if (storage_.is_populated_ != other.storage_.is_populated_) {
639 if (storage_.is_populated_) {
649 PERFETTO_DCHECK(storage_.is_populated_ && other.storage_.is_populated_);