Searched refs:hasValue (Results 1 – 7 of 7) sorted by relevance
112 constexpr bool hasValue() const { return mOpt.has_value(); }113 explicit constexpr operator bool() const { return hasValue(); }146 if (hasValue()) {153 if (hasValue()) {160 if (hasValue()) {167 if (hasValue()) {176 return hasValue() ? mValue : static_cast<T>(std::forward<U>(default_value));184 constexpr bool hasValue() const { return !(mValue == nullptr); }185 explicit constexpr operator bool() const { return hasValue(); }221 return !lhs.hasValue();[all …]
115 bool hasValue() const { return constructed(); } in hasValue() function353 using base_flag::hasValue;486 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
119 bool hasValue() const { return constructed(); } in hasValue() function357 using base_flag::hasValue;490 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
98 bool isOk() const { return ok.hasValue(); }109 bool isOk() const { return !err.hasValue(); }
1015 bool hasValue = false; in audioUsageFromHal() local1017 if (hasValue) { in audioUsageFromHal()1022 hasValue = true; in audioUsageFromHal()
1463 if (bufferForDedicatedAllocation.hasValue() || imageForDedicatedAllocation.hasValue()) { in allocExternalMemory()1465 if (bufferForDedicatedAllocation.hasValue()) { in allocExternalMemory()1468 if (imageForDedicatedAllocation.hasValue()) { in allocExternalMemory()1500 !deviceAlignment.hasValue() || in allocExternalMemory()
2670 if (!info_VkBufferCollectionFUCHSIA[collection].constraints.hasValue()) { in getBufferCollectionImageCreateInfoIndexLocked()