Home
last modified time | relevance | path

Searched refs:Optional (Results 1 – 25 of 101) sorted by relevance

12345

/hardware/google/aemu/base/
DOptional_unittest.cpp26 TEST(Optional, TypeProperties) { in TEST() argument
30 static_assert(sizeof(Optional<bool>) == 2, "bad Optional<bool> size"); in TEST()
31 static_assert(std::alignment_of<Optional<bool>>::value == in TEST()
35 static_assert(sizeof(Optional<char>) == 2, "bad Optional<char> size"); in TEST()
36 static_assert(std::alignment_of<Optional<char>>::value == in TEST()
40 static_assert(sizeof(Optional<int16_t>) == 4, "bad Optional<int16_t> size"); in TEST()
41 static_assert(std::alignment_of<Optional<int16_t>>::value == in TEST()
45 static_assert(sizeof(Optional<int32_t>) == 8, "bad Optional<int32_t> size"); in TEST()
46 static_assert(std::alignment_of<Optional<int32_t>>::value == in TEST()
50 static_assert(sizeof(Optional<int64_t>) == 16, in TEST()
[all …]
DMessageChannel.cpp61 Optional<size_t> MessageChannelBase::beforeTryWrite() { in beforeTryWrite()
89 Optional<size_t> MessageChannelBase::beforeTryRead() { in beforeTryRead()
98 Optional<size_t> MessageChannelBase::beforeTimedRead( in beforeTimedRead()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DOptional.h149 class Optional; variable
159 is_template_instantiation_of<typename std::decay<U>::type, Optional>;
162 class Optional
169 friend class Optional; variable
172 using self = Optional<U>;
193 constexpr Optional() {} in Optional() function
194 constexpr Optional(NulloptT) {} in Optional() function
196 Optional(const Optional& other) : base_flag(other.constructed()) { in Optional() function
201 Optional(Optional&& other) : base_flag(other.constructed()) { in Optional() function
211 Optional(const Optional<U>& other) : base_flag(other.constructed()) { in Optional() function
[all …]
/hardware/google/aemu/base/include/aemu/base/
DOptional.h153 class Optional; variable
163 is_template_instantiation_of<typename std::decay<U>::type, Optional>;
166 class Optional
173 friend class Optional; variable
176 using self = Optional<U>;
197 constexpr Optional() {} in Optional() function
198 constexpr Optional(NulloptT) {} in Optional() function
200 Optional(const Optional& other) : base_flag(other.constructed()) { in Optional() function
205 Optional(Optional&& other) : base_flag(other.constructed()) { in Optional() function
215 Optional(const Optional<U>& other) : base_flag(other.constructed()) { in Optional() function
[all …]
DResult.h100 Optional<T> ok;
101 Optional<E> err;
111 Optional<E> err;
148 Optional<U>>::type
154 typename std::enable_if<!std::is_void<U>::value, const Optional<U>&>::type
170 Optional<U>>::type
175 const Optional<E>& err() const {
/hardware/google/gfxstream/guest/android-emu/aemu/base/synchronization/
DAndroidMessageChannel.h60 Optional<size_t> beforeTryWrite();
78 Optional<size_t> beforeTryRead();
83 Optional<size_t> beforeTimedRead(uint64_t wallTimeUs);
169 Optional<T> receive() { in receive()
172 Optional<T> msg(std::move(mItems[pos])); in receive()
190 Optional<T> timedReceive(uint64_t wallTimeUs) { in timedReceive()
193 Optional<T> res(std::move(mItems[*pos])); in timedReceive()
DAndroidMessageChannel.cpp61 Optional<size_t> MessageChannelBase::beforeTryWrite() { in beforeTryWrite()
89 Optional<size_t> MessageChannelBase::beforeTryRead() { in beforeTryRead()
98 Optional<size_t> MessageChannelBase::beforeTimedRead(uint64_t wallTimeUs) { in beforeTimedRead()
/hardware/google/aemu/base/include/aemu/base/synchronization/
DMessageChannel.h60 Optional<size_t> beforeTryWrite() EXCLUDES(mLock) ACQUIRE(mLock);
78 Optional<size_t> beforeTryRead() EXCLUDES(mLock) ACQUIRE(mLock);
83 Optional<size_t> beforeTimedRead(uint64_t wallTimeUs) EXCLUDES(mLock) ACQUIRE(mLock);
169 Optional<T> receive() { in receive()
172 Optional<T> msg(std::move(mItems[pos])); in receive()
190 Optional<T> timedReceive(uint64_t wallTimeUs) { in timedReceive()
193 Optional<T> res(std::move(mItems[*pos])); in timedReceive()
/hardware/google/gfxstream/host/tests/
DShaderUtils.h28 android::base::Optional<std::string> compileSpirvFromGLSL(
32 android::base::Optional<std::vector<char>> readSpirv(const char* path);
/hardware/google/aemu/base/include/aemu/base/threads/
DThreadPool.h83 using Worker = WorkerThread<Optional<Command>>;
100 mWorkers = std::vector<Optional<Worker>>(threads); in ThreadPool()
102 workerPtr.emplace([this](Optional<Command>&& commandOpt) { in ThreadPool()
186 std::vector<Optional<Worker>> mWorkers;
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dcommand_printer.py20 from typing import Dict, Optional
122 count: Optional[int] = None) -> Optional[int]:
154 def write_float(self, field_name: str, indent: int, count: Optional[int] = None):
208 def write_struct(self, field_name: str, struct_fn, optional: bool, count: Optional[int],
225 def write_string(self, field_name: str, size: Optional[int], indent: int):
/hardware/google/aemu/base/include/aemu/base/perflogger/
DBenchmark.h45 base::Optional<std::string> getCustomOutputDir() const;
62 base::Optional<std::string> mCustomOutputDir = {};
/hardware/google/aemu/host-common/include/host-common/
DDmaMap.h25 using android::base::Optional;
34 Optional<void*> currHostAddr = kNullopt;
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkan_handles.hpp5498 …EXT> const & indexInfo, uint32_t instanceCount, uint32_t firstInstance, Optional<const int32_t> ve…
7838 …void destroy( Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator VULKAN_HPP_DEFAU…
7863 …eMemory( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo & allocateInfo, Optional<const VULKAN_HPP_…
7866 …yUnique( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo & allocateInfo, Optional<const VULKAN_HPP_…
7875 …_NAMESPACE::DeviceMemory memory VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional<const VULKAN_HPP_…
7883 …void ( free )( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Optional<const VULKAN_HPP_NAMESPACE::All…
7971 … createFence( const VULKAN_HPP_NAMESPACE::FenceCreateInfo & createInfo, Optional<const VULKAN_HPP_…
7974 …eFenceUnique( const VULKAN_HPP_NAMESPACE::FenceCreateInfo & createInfo, Optional<const VULKAN_HPP_…
7983 …LKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional<const VULKAN_HPP_…
7991 …void destroy( VULKAN_HPP_NAMESPACE::Fence fence, Optional<const VULKAN_HPP_NAMESPACE::AllocationCa…
[all …]
Dvulkansc_handles.hpp4361 …void destroy( Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator VULKAN_HPP_DEFAU…
4386 …eMemory( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo & allocateInfo, Optional<const VULKAN_HPP_…
4389 …yUnique( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo & allocateInfo, Optional<const VULKAN_HPP_…
4468 … createFence( const VULKAN_HPP_NAMESPACE::FenceCreateInfo & createInfo, Optional<const VULKAN_HPP_…
4471 …eFenceUnique( const VULKAN_HPP_NAMESPACE::FenceCreateInfo & createInfo, Optional<const VULKAN_HPP_…
4480 …LKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional<const VULKAN_HPP_…
4488 …void destroy( VULKAN_HPP_NAMESPACE::Fence fence, Optional<const VULKAN_HPP_NAMESPACE::AllocationCa…
4521 …emaphore( const VULKAN_HPP_NAMESPACE::SemaphoreCreateInfo & createInfo, Optional<const VULKAN_HPP_…
4524 …reUnique( const VULKAN_HPP_NAMESPACE::SemaphoreCreateInfo & createInfo, Optional<const VULKAN_HPP_…
4533 …_NAMESPACE::Semaphore semaphore VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional<const VULKAN_HPP_…
[all …]
Dvulkan_raii.hpp2486 …NAMESPACE::InstanceCreateInfo const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
2489 …P_NAMESPACE::ExtensionProperties> enumerateInstanceExtensionProperties( Optional<const std::string…
2519 …NAMESPACE::InstanceCreateInfo const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_… in Instance()
2530 …CE::Context const & context, VkInstance instance, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_… in Instance()
2615 …::DisplaySurfaceCreateInfoKHR const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
2620 …ACE::XlibSurfaceCreateInfoKHR const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
2626 …PACE::XcbSurfaceCreateInfoKHR const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
2632 …::WaylandSurfaceCreateInfoKHR const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
2638 …::AndroidSurfaceCreateInfoKHR const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
2644 …CE::Win32SurfaceCreateInfoKHR const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
[all …]
Dvulkansc_raii.hpp1106 …NAMESPACE::InstanceCreateInfo const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
1109 …P_NAMESPACE::ExtensionProperties> enumerateInstanceExtensionProperties( Optional<const std::string…
1139 …NAMESPACE::InstanceCreateInfo const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_… in Instance()
1150 …CE::Context const & context, VkInstance instance, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_… in Instance()
1235 …::DisplaySurfaceCreateInfoKHR const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
1239 …ugUtilsMessengerCreateInfoEXT const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
1246 …:HeadlessSurfaceCreateInfoEXT const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
1355 …P_NAMESPACE::DeviceCreateInfo const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_…
1358 …HPP_NAMESPACE::ExtensionProperties> enumerateDeviceExtensionProperties( Optional<const std::string…
1581 …P_NAMESPACE::DeviceCreateInfo const & createInfo, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_… in Device()
[all …]
/hardware/interfaces/audio/4.0/
DIPrimaryDevice.hal43 * Optional method
64 * Optional method
83 * Optional method
102 * Optional method
113 * Optional method
125 * Optional method
171 * Optional method
/hardware/interfaces/audio/7.0/
DIPrimaryDevice.hal43 * Optional method
64 * Optional method
83 * Optional method
102 * Optional method
113 * Optional method
125 * Optional method
171 * Optional method
/hardware/interfaces/audio/5.0/
DIPrimaryDevice.hal43 * Optional method
64 * Optional method
83 * Optional method
102 * Optional method
113 * Optional method
125 * Optional method
171 * Optional method
/hardware/interfaces/audio/6.0/
DIPrimaryDevice.hal43 * Optional method
64 * Optional method
83 * Optional method
102 * Optional method
113 * Optional method
125 * Optional method
171 * Optional method
DIStreamOut.hal38 * Optional method
125 * Optional method
136 * Optional method
250 * Optional method
272 * Optional method
284 * Optional method
296 * Optional method
309 * Optional method
323 * Optional method
340 * Optional method
[all …]
/hardware/interfaces/media/omx/1.0/
DIOmxStore.hal53 * Optional service attributes:
78 * Optional node attributes to describe supported values:
83 * Optional node attributes for audio nodes to describe supported values:
87 * Optional node attributes for video nodes to describe supported values:
103 * Optional node attributes for decoders to describe supported values:
108 * Optional node attributes for video decoders to describe supported values:
111 * Optional node attributes for encoders to describe supported values:
/hardware/interfaces/audio/7.1/
DIStreamOut.hal31 * Optional method.
47 * Optional method.
62 * Optional method.
/hardware/google/gfxstream/guest/mesa/src/util/
Dglsl2spirv.py35 create_entry: T.Optional[str]
36 glsl_ver: T.Optional[str]
38 extra: T.Optional[str]

12345