Home
last modified time | relevance | path

Searched refs:makeOptional (Results 1 – 4 of 4) sorted by relevance

/hardware/google/aemu/base/
DOptional_unittest.cpp204 auto o = makeOptional(1); in TEST()
211 auto o = makeOptional(std::vector<char>{'1', '2'}); in TEST()
219 auto o = makeOptional("String"); in TEST()
226 auto o = makeOptional<std::string>("String"); in TEST()
233 auto o = makeOptional<std::string>(5, 'b'); in TEST()
240 auto o = makeOptional<std::string>(); in TEST()
249 auto o = makeOptional(std::unique_ptr<int>(new int(10))); in TEST()
291 auto o = makeOptional(1); in TEST()
300 auto o = makeOptional(1); in TEST()
309 auto o = makeOptional(std::vector<int>{1,2,3,4}); in TEST()
[all …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DOptional.h474 Optional<typename std::decay<T>::type> makeOptional(T&& t) { in makeOptional() function
479 Optional<typename std::decay<T>::type> makeOptional(Args&&... args) { in makeOptional() function
/hardware/google/aemu/base/include/aemu/base/
DOptional.h478 Optional<typename std::decay<T>::type> makeOptional(T&& t) { in makeOptional() function
483 Optional<typename std::decay<T>::type> makeOptional(Args&&... args) { in makeOptional() function
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp2618 gfxstream::guest::makeOptional(std::move(setConstraintsResult.constraints)); in setBufferCollectionImageConstraintsFUCHSIA()
2643 gfxstream::guest::makeOptional(setConstraintsResult.constraints); in setBufferCollectionBufferConstraintsFUCHSIA()
2790 gfxstream::guest::makeOptional(*pProperties); in on_vkGetBufferCollectionPropertiesFUCHSIA()
5300 vmo = gfxstream::guest::makeOptional(std::move(info.buffers[index].vmo)); in on_vkCreateBuffer()