/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.hpp | 54 class Allocation class 57 virtual ~Allocation (void); 69 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr); 77 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc); 78 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc); 133 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig… 134 …virtual de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequi… 143 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme… 144 …de::MovePtr<Allocation> allocate (const VkMemoryRequirements& memRequirements, MemoryRequirem… 152 de::MovePtr<Allocation> allocateExtended (const InstanceInterface& vki, const DeviceInterface& vk… [all …]
|
D | vkMemUtil.cpp | 42 typedef de::SharedPtr<Allocation> AllocationSp; 96 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation() function in vk::Allocation 103 Allocation::~Allocation (void) in ~Allocation() 107 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) in flushAlloc() 112 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) in invalidateAlloc() 177 class SimpleAllocation : public Allocation 189 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation() 206 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate() 216 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate() 219 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryRequirements& memReqs, MemoryRequireme… in allocate() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | DefaultAllocator.java | 33 private final Allocation[] singleAllocationReleaseHolder; 38 private Allocation[] availableAllocations; 68 this.availableAllocations = new Allocation[initialAllocationCount + AVAILABLE_EXTRA_CAPACITY]; in DefaultAllocator() 73 availableAllocations[i] = new Allocation(initialAllocationBlock, allocationOffset); in DefaultAllocator() 78 singleAllocationReleaseHolder = new Allocation[1]; in DefaultAllocator() 96 public synchronized Allocation allocate() { 98 Allocation allocation; 103 allocation = new Allocation(new byte[individualAllocationSize], 0); 109 public synchronized void release(Allocation allocation) { in release() 115 public synchronized void release(Allocation[] allocations) { in release() [all …]
|
D | Allocator.java | 31 Allocation allocate(); in allocate() 38 void release(Allocation allocation); in release() 45 void release(Allocation[] allocations); in release()
|
/external/swiftshader/third_party/marl/include/marl/ |
D | memory.h | 58 struct Allocation { struct 117 virtual Allocation allocate(const Allocation::Request&) = 0; 121 virtual void free(const Allocation&) = 0; 164 Allocation allocation; in operator() 168 allocation.request.usage = Allocation::Usage::Create; in operator() 177 Allocation::Request request; in create() 180 request.usage = Allocation::Usage::Create; in create() 191 Allocation alloc; in destroy() 195 alloc.request.usage = Allocation::Usage::Create; in destroy() 210 Allocation::Request request; in make_unique_n() [all …]
|
/external/swiftshader/src/System/ |
D | Memory.cpp | 47 struct Allocation struct 57 unsigned char *block = (unsigned char *)malloc(bytes + sizeof(Allocation) + alignment); in allocateRaw() 62 …aligned = (unsigned char *)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)a… in allocateRaw() 63 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in allocateRaw() 106 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in deallocate()
|
/external/swiftshader/src/Common/ |
D | Memory.cpp | 46 struct Allocation struct 56 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment]; in allocateRaw() 61 …aligned = (unsigned char*)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)al… in allocateRaw() 62 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in allocateRaw() 107 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in deallocate()
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | AllocationStats.java | 40 private final ImmutableMultiset<Allocation> allocations; 48 this(allocationCount, allocationSize, reps, ImmutableMultiset.<Allocation>of()); in AllocationStats() 55 AllocationStats(Collection<Allocation> allocations, int reps) { in AllocationStats() 56 this(allocations.size(), Allocation.getTotalSize(allocations), reps, in AllocationStats() 61 Multiset<Allocation> allocations) { in AllocationStats() 85 for (Entry<Allocation> entry : baseline.allocations.entrySet()) { in minus() 129 for (Entry<Allocation> entry : allocations.entrySet()) { in toMeasurements() 182 private final Multiset<Allocation> additions; 183 private final Multiset<Allocation> removals; 189 Multiset<Allocation> additions, in Delta() [all …]
|
D | Allocation.java | 33 final class Allocation { class 42 static long getTotalSize(Collection<Allocation> allocations) { in getTotalSize() 44 for (Allocation allocation : allocations) { in getTotalSize() 54 Allocation(String description, long size, List<StackTraceElement> location) { in Allocation() method in Allocation 65 if (obj instanceof Allocation) { in equals() 66 Allocation other = (Allocation) obj; in equals()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferAndImageAllocationUtil.hpp | 36 class Allocation; 56 de::MovePtr<Allocation>& memory) const = 0; 68 de::MovePtr<Allocation>& memory) const; // override 80 de::MovePtr<Allocation>& memory) const; // override 92 de::MovePtr<Allocation>& memory, 105 de::MovePtr<Allocation>& memory, 118 de::MovePtr<Allocation>& memory,
|
/external/angle/src/common/ |
D | PoolAlloc.h | 50 class Allocation 53 Allocation(size_t size, unsigned char *mem, Allocation *prev = 0) 95 Allocation *mPrevAlloc; // prior allocation in the chain 102 static constexpr size_t HeaderSize() { return sizeof(Allocation); } in HeaderSize() 234 Allocation *lastAllocation; 251 new (memory) Allocation(numBytes + mAlignment, memory, block->lastAllocation); in initializeAllocation() 252 block->lastAllocation = reinterpret_cast<Allocation *>(memory); in initializeAllocation() 255 void *unalignedPtr = Allocation::OffsetAllocation(memory); in initializeAllocation()
|
/external/llvm-project/lldb/include/lldb/Expression/ |
D | IRMemoryMap.h | 89 struct Allocation { struct 106 Allocation(lldb::addr_t process_alloc, lldb::addr_t process_start, argument 110 Allocation(const Allocation &) = delete; 111 const Allocation &operator=(const Allocation &) = delete; argument 114 static_assert(sizeof(Allocation) <= 120 typedef std::map<lldb::addr_t, Allocation> AllocationMap;
|
/external/tensorflow/tensorflow/lite/ |
D | allocation.h | 34 class Allocation { 36 virtual ~Allocation() {} in ~Allocation() 54 Allocation(ErrorReporter* error_reporter, Type type) in Allocation() function 62 class MMAPAllocation : public Allocation { 81 class FileCopyAllocation : public Allocation { 95 class MemoryAllocation : public Allocation {
|
D | allocation.cc | 33 : Allocation(error_reporter, Allocation::Type::kFileCopy) { in FileCopyAllocation() 83 : Allocation(error_reporter, Allocation::Type::kMemory) { in MemoryAllocation()
|
/external/perfetto/src/profiling/memory/ |
D | bookkeeping.h | 182 const Allocation& alloc = addr_and_allocation.second; in GetAllocations() 210 struct Allocation { struct 211 Allocation(uint64_t size, in Allocation() function 219 Allocation() = default; 220 Allocation(const Allocation&) = delete; 221 Allocation(Allocation&& other) noexcept { in Allocation() function 229 ~Allocation() { SetCallstackAllocations(nullptr); } in ~Allocation() argument 283 void AddToCallstackAllocations(uint64_t ts, const Allocation& alloc) { in AddToCallstackAllocations() 319 void SubtractFromCallstackAllocations(const Allocation& alloc) { in SubtractFromCallstackAllocations() 339 std::map<uint64_t /* allocation address */, Allocation> allocations_;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMakeUtil.hpp | 48 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 52 const de::UniquePtr<vk::Allocation> m_allocation; 69 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 73 const de::UniquePtr<vk::Allocation> m_allocation; 81 de::MovePtr<vk::Allocation> bindImageDedicated (const vk::InstanceInterface& vki, const vk::Devic… 82 de::MovePtr<vk::Allocation> bindBufferDedicated (const vk::InstanceInterface& vki, const vk::Devi…
|
D | vktPipelineMakeUtil.cpp | 92 MovePtr<Allocation> bindImageDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, c… in bindImageDedicated() 94 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, image, requirement)); in bindImageDedicated() 99 MovePtr<Allocation> bindBufferDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, … in bindBufferDedicated() 101 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, buffer, requirement)); in bindBufferDedicated()
|
/external/swiftshader/src/Reactor/ |
D | ExecutableMemory.cpp | 55 struct Allocation struct 82 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment]; in allocateRaw() 87 …aligned = (unsigned char *)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)a… in allocateRaw() 88 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in allocateRaw() 250 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in deallocate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | JITLinkMemoryManager.h | 59 class Allocation { 63 virtual ~Allocation(); 84 virtual Expected<std::unique_ptr<Allocation>> 91 Expected<std::unique_ptr<Allocation>>
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | JITLinkMemoryManager.h | 62 class Allocation { 66 virtual ~Allocation(); 96 virtual Expected<std::unique_ptr<Allocation>> 103 Expected<std::unique_ptr<Allocation>>
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | memory_space_assignment.h | 405 class Allocation; variable 522 class Allocation { 524 Allocation(HloPosition defining_position, MemorySpace memory_space, in Allocation() function 531 virtual ~Allocation() = default; 561 bool operator==(const Allocation& other) const; 587 class CopyAllocation : public Allocation { 589 CopyAllocation(const Allocation& prev_allocation, MemorySpace memory_space, 593 : Allocation(/*defining_position=*/{nullptr, {}}, memory_space, chunk, 646 const Allocation& prev_allocation_; 658 using AllocationSequence = std::vector<std::unique_ptr<Allocation>>; [all …]
|
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
D | JITLinkMemoryManager.cpp | 17 JITLinkMemoryManager::Allocation::~Allocation() = default; 19 Expected<std::unique_ptr<JITLinkMemoryManager::Allocation>> 25 class IPMMAlloc : public Allocation { in allocate() 127 return std::unique_ptr<InProcessMemoryManager::Allocation>( in allocate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
D | JITLinkMemoryManager.cpp | 17 JITLinkMemoryManager::Allocation::~Allocation() = default; 19 Expected<std::unique_ptr<JITLinkMemoryManager::Allocation>> 25 class IPMMAlloc : public Allocation { in allocate() 127 return std::unique_ptr<InProcessMemoryManager::Allocation>( in allocate()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.hpp | 51 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 54 de::MovePtr<vk::Allocation> m_allocation; 72 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 75 de::MovePtr<vk::Allocation> m_allocation;
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.hpp | 71 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 75 const de::UniquePtr<vk::Allocation> m_allocation; 99 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation() 103 const de::UniquePtr<vk::Allocation> m_allocation; 175 … (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk… 176 … (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Allocation& alloc, const vk…
|