Home
last modified time | relevance | path

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

/third_party/boost/libs/container/src/
Dunsynchronized_pool_resource.cpp22 : m_resource(opts, upstream) in unsynchronized_pool_resource()
26 : m_resource() in unsynchronized_pool_resource()
30 : m_resource(upstream) in unsynchronized_pool_resource()
34 : m_resource(opts) in unsynchronized_pool_resource()
42 m_resource.release(); in release()
46 { return m_resource.upstream_resource(); } in upstream_resource()
49 { return m_resource.options(); } in options()
52 { return m_resource.do_allocate(bytes, alignment); } in do_allocate()
55 { return m_resource.do_deallocate(p, bytes, alignment); } in do_deallocate()
61 { return m_resource.pool_count(); } in pool_count()
[all …]
/third_party/boost/boost/container/pmr/
Dpolymorphic_allocator.hpp46 : m_resource(::boost::container::pmr::get_default_resource()) in polymorphic_allocator()
58 : m_resource(r ? r : ::boost::container::pmr::get_default_resource()) in polymorphic_allocator()
64 : m_resource(other.m_resource) in polymorphic_allocator()
71 : m_resource(other.resource()) in polymorphic_allocator()
77 { m_resource = other.m_resource; return *this; } in operator =()
82 …{ return static_cast<T*>(m_resource->allocate(n*sizeof(T), ::boost::move_detail::alignment_of<T>:… in allocate()
91 { m_resource->deallocate(p, n*sizeof(T), ::boost::move_detail::alignment_of<T>::value); } in deallocate()
143 { return m_resource; } in resource()
146 memory_resource* m_resource; member in boost::container::pmr::polymorphic_allocator
Dunsynchronized_pool_resource.hpp63 pool_resource m_resource; member in boost::container::pmr::unsynchronized_pool_resource
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp489 , m_resource (resource) in Implementation()
493 DE_ASSERT((m_resource.getBuffer().size % sizeof(deUint32)) == 0); in Implementation()
494 DE_ASSERT(m_bufferOp == BUFFER_OP_FILL || m_resource.getBuffer().size <= MAX_UPDATE_BUFFER_SIZE); in Implementation()
496 m_data.resize(static_cast<size_t>(m_resource.getBuffer().size)); in Implementation()
522 …vk.cmdFillBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_resour… in recordCommands()
530 m_resource.getBuffer().handle, // VkBuffer buffer in recordCommands()
532 m_resource.getBuffer().size // VkDeviceSize size in recordCommands()
538 …vk.cmdUpdateBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_reso… in recordCommands()
575 Resource& m_resource; member in vkt::synchronization::__anon23f310170111::FillUpdateBuffer::Implementation
638 , m_resource (resource) in Implementation()
[all …]
DvktSynchronizationOperationSingleQueueTests.cpp61 …, m_resource (new Resource(m_opContext, resourceDesc, writeOp.getOutResourceUsageFlags() | readOp.… in BaseTestInstance()
62 , m_writeOp (writeOp.build(m_opContext, *m_resource)) in BaseTestInstance()
63 , m_readOp (readOp.build(m_opContext, *m_resource)) in BaseTestInstance()
70 const de::UniquePtr<Resource> m_resource; member in vkt::synchronization::__anona78cc1710111::BaseTestInstance
100 if (m_resource->getType() == RESOURCE_TYPE_IMAGE) in iterate()
109 m_resource->getImage().handle, // VkImage image in iterate()
110 m_resource->getImage().subresourceRange // VkImageSubresourceRange subresourceRange in iterate()
123 m_resource->getBuffer().handle, // VkBuffer buffer in iterate()
124 m_resource->getBuffer().offset, // VkDeviceSize offset in iterate()
125 m_resource->getBuffer().size // VkDeviceSize size in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.hpp121 de::UniquePtr<tcu::Resource> m_resource; member in vk::BinaryRegistryDetail::LazyResource
129 : m_resource(resource) in LazyResource()
131 const size_t resSize = m_resource->getSize(); in LazyResource()
164 if ((size_t)m_resource->getPosition() != pageOffset) in makePageResident()
165 m_resource->setPosition((int)pageOffset); in makePageResident()
167 m_resource->read((deUint8*)&m_elements[pageNdx << ELEMENTS_PER_PAGE_LOG2], (int)numBytesToRead); in makePageResident()
/third_party/vk-gl-cts/framework/opengl/
DgluShaderLibrary.cpp398 UniquePtr<tcu::Resource> m_resource; member in glu::sl::ShaderParser
410 , m_resource (archive.getResource(m_filename.c_str())) in ShaderParser()
1601 const int dataLen = m_resource->getSize(); in parse()
1604 m_resource->setPosition(0); in parse()
1605 m_resource->read((deUint8*)&m_input[0], dataLen); in parse()