Searched refs:hasValue (Results 1 – 12 of 12) 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 …]
114 bool hasValue() const { return constructed(); } in hasValue() function352 using base_flag::hasValue;485 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
113 bool hasValue() const { return constructed(); } in hasValue() function351 using base_flag::hasValue;484 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
97 bool isOk() const { return ok.hasValue(); }108 bool isOk() const { return !err.hasValue(); }
113 bool hasValue() const { return constructed(); } in hasValue() function346 using base_flag::hasValue;456 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
209 const bool has_dual_channel = data.dual_plane_channel.hasValue(); in ExtraConfigBitPosition()302 (data.dual_plane_channel.hasValue() ? 2 : 1), in EndpointRangeForBlock()393 (data.dual_plane_channel.hasValue() ? 2 : 1)) { in Pack()403 data.dual_plane_channel.hasValue(), &bit_sink); in Pack()516 if (data.dual_plane_channel.hasValue()) { in Pack()
349 if (!maybe_weight_props.hasValue()) { in DecodeNumWeightBits()509 if (!maybe_weight_props.hasValue()) { in IsIllegalEncoding()623 if (!weight_props.hasValue()) return { }; in WeightGridDims()634 if (!weight_props.hasValue()) return { }; in WeightRange()
86 bool IsDualPlane() const { return dual_plane_.hasValue(); } in IsDualPlane()
56 EXPECT_TRUE(err_str.hasValue()); in TEST()79 EXPECT_TRUE(err_str.hasValue()); in TEST()315 EXPECT_TRUE(blk.ColorValuesRange().hasValue()); in TEST()325 EXPECT_TRUE(data.endpoint_range.hasValue()); in TEST()
612 if (ib_data.partition_id.hasValue()) { in PrintStatsForBlock()
1257 !deviceAlignment.hasValue() || in allocExternalMemory()
3121 .constraints.hasValue()) { in getBufferCollectionImageCreateInfoIndexLocked()3355 .constraints.hasValue()) { in getBufferCollectionImageCreateInfoIndexLocked()