Home
last modified time | relevance | path

Searched refs:hasValue (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DNullable.h112 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 …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DOptional.h115 bool hasValue() const { return constructed(); } in hasValue() function
353 using base_flag::hasValue;
486 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
/hardware/google/aemu/base/include/aemu/base/
DOptional.h119 bool hasValue() const { return constructed(); } in hasValue() function
357 using base_flag::hasValue;
490 return l.hasValue() ? r.hasValue() && *l == *r : !r.hasValue();
DResult.h98 bool isOk() const { return ok.hasValue(); }
109 bool isOk() const { return !err.hasValue(); }
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp1015 bool hasValue = false; in audioUsageFromHal() local
1017 if (hasValue) { in audioUsageFromHal()
1022 hasValue = true; in audioUsageFromHal()
/hardware/google/gfxstream/host/vulkan/
DVkCommonOperations.cpp1463 if (bufferForDedicatedAllocation.hasValue() || imageForDedicatedAllocation.hasValue()) { in allocExternalMemory()
1465 if (bufferForDedicatedAllocation.hasValue()) { in allocExternalMemory()
1468 if (imageForDedicatedAllocation.hasValue()) { in allocExternalMemory()
1500 !deviceAlignment.hasValue() || in allocExternalMemory()
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp2670 if (!info_VkBufferCollectionFUCHSIA[collection].constraints.hasValue()) { in getBufferCollectionImageCreateInfoIndexLocked()