Home
last modified time | relevance | path

Searched refs:maybeBuffer (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientBuffer.cpp47 auto maybeBuffer = resilientBuffer.recover(buffer.get()); in protect() local
48 if (!maybeBuffer.has_value()) { in protect()
50 const auto& [recoveryErrorMessage, recoveryErrorCode] = maybeBuffer.error(); in protect()
55 buffer = std::move(maybeBuffer).value(); in protect()
/hardware/google/gfxstream/host/vulkan/
DCompositorVk.cpp746 auto maybeBuffer = in setUpUniformBuffers() local
751 if (maybeBuffer.has_value()) { in setUpUniformBuffers()
752 buffer = maybeBuffer.value(); in setUpUniformBuffers()