/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | AllocationStats.java | 38 private final long allocationSize; field in AllocationStats 47 AllocationStats(int allocationCount, long allocationSize, int reps) { in AllocationStats() argument 48 this(allocationCount, allocationSize, reps, ImmutableMultiset.<Allocation>of()); in AllocationStats() 60 private AllocationStats(int allocationCount, long allocationSize, int reps, in AllocationStats() argument 64 checkArgument(allocationSize >= 0, "allocationSize (%s) was negative", allocationSize); in AllocationStats() 65 this.allocationSize = allocationSize; in AllocationStats() 76 return allocationSize; in getAllocationSize() 99 allocationSize - baseline.allocationSize, in minus() 119 allocationSize - baseline.allocationSize, in delta() 140 .value(Value.create(allocationSize, "B")) in toMeasurements() [all …]
|
D | AggregateAllocationsRecorder.java | 32 private final AtomicLong allocationSize = new AtomicLong(); field in AggregateAllocationsRecorder 40 allocationSize.getAndAdd(size); 52 allocationSize.set(0); in doStartRecording() 59 return new AllocationStats(allocationCount.get(), allocationSize.get(), reps); in stopRecording()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | PoolAlloc.cpp | 254 size_t allocationSize = TAllocation::allocationSize(numBytes); in allocate() local 256 if (allocationSize < numBytes) in allocate() 263 if (allocationSize <= pageSize - currentPageOffset) { in allocate() 268 currentPageOffset += allocationSize; in allocate() 274 if (allocationSize > pageSize - headerSkip) { in allocate() 279 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate() 281 if (numBytesToAlloc < allocationSize) in allocate() 316 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | PoolAlloc.cpp | 240 size_t allocationSize = TAllocation::allocationSize(numBytes); in allocate() local 252 if (currentPageOffset + allocationSize <= pageSize) { in allocate() 257 currentPageOffset += allocationSize; in allocate() 263 if (allocationSize + headerSkip > pageSize) { in allocate() 268 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate() 301 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
|
/external/skqp/src/core/ |
D | SkArenaAlloc.cpp | 121 uint32_t allocationSize = std::max(objSizeAndOverhead, minAllocationSize); in ensureSpace() local 126 uint32_t mask = allocationSize > (1 << 15) ? (1 << 12) - 1 : 16 - 1; in ensureSpace() 127 AssertRelease(allocationSize <= maxSize - mask); in ensureSpace() 128 allocationSize = (allocationSize + mask) & ~mask; in ensureSpace() 131 char* newBlock = new char[allocationSize]; in ensureSpace() 136 fEnd = fCursor + allocationSize; in ensureSpace()
|
D | SkString.cpp | 211 size_t allocationSize = safe.add(len, SizeOfRec() + sizeof(char)); in Make() local 213 allocationSize = safe.alignUp(allocationSize, 4); in Make() 217 void* storage = ::operator new (allocationSize); in Make()
|
/external/skia/src/core/ |
D | SkArenaAlloc.cpp | 121 uint32_t allocationSize = std::max(objSizeAndOverhead, minAllocationSize); in ensureSpace() local 126 uint32_t mask = allocationSize > (1 << 15) ? (1 << 12) - 1 : 16 - 1; in ensureSpace() 127 AssertRelease(allocationSize <= maxSize - mask); in ensureSpace() 128 allocationSize = (allocationSize + mask) & ~mask; in ensureSpace() 131 char* newBlock = new char[allocationSize]; in ensureSpace() 136 fEnd = fCursor + allocationSize; in ensureSpace()
|
D | SkString.cpp | 211 size_t allocationSize = safe.add(len, SizeOfRec() + sizeof(char)); in Make() local 213 allocationSize = safe.alignUp(allocationSize, 4); in Make() 217 void* storage = ::operator new (allocationSize); in Make()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryAllocationTests.cpp | 297 …const VkDeviceSize allocationSize = (m_config.memorySize ? memReqs.size : (VkDeviceSize)(*m_confi… in iterate() local 298 …const VkDeviceSize roundedUpAllocationSize = roundUpToNextMultiple(allocationSize, m_memoryLimit… in iterate() 317 …allocationSize * m_config.memoryAllocationCount * (m_subsetAllocationAllowed ? 1 : m_numPhysDevice… in iterate() 344 allocationSize, // allocationSize in iterate() 382 allocationSize, // allocationSize in iterate() 633 const VkDeviceSize allocationSize = 1 + (m_rng.getUint64() % maxAllocSize); in iterate() local 635 …if ((allocationSize > (deUint64)(heap.maxMemoryUsage - heap.memoryUsage)) && (allocationSize != 1)) in iterate() 641 allocationSize in iterate() 659 heap.memoryUsage += allocationSize; in iterate() 660 (isDeviceLocal ? m_totalDeviceMem : m_totalSystemMem) += allocationSize; in iterate() [all …]
|
D | vktMemoryMappingTests.cpp | 456 : allocationSize (~(VkDeviceSize)0) in TestConfig() 461 VkDeviceSize allocationSize; member 549 log << TestLog::Message << "Allocation size: " << config.allocationSize << TestLog::EndMessage; in testMemoryMapping() 581 … allocationSize = (config.allocationSize % atomSize == 0) ? config.allocationSize : config.a… in testMemoryMapping() local 584 (VkDeviceSize)allocationSize, in testMemoryMapping() 593 image = makeImage(vkd, device, allocationSize, queueFamilyIndex); in testMemoryMapping() 598 buffer = makeBuffer(vkd, device, allocationSize, queueFamilyIndex); in testMemoryMapping() 601 allocationSize = req.size; in testMemoryMapping() 604 if (config.mapping.size == config.allocationSize && config.mapping.offset == 0u) in testMemoryMapping() 606 mappingSize = allocationSize; in testMemoryMapping() [all …]
|
D | vktMemoryExternalMemoryHostTests.cpp | 73 ExternalMemoryHostBaseTestInstance (Context& context, VkDeviceSize allocationSize); 158 …aseTestInstance::ExternalMemoryHostBaseTestInstance (Context& context, VkDeviceSize allocationSize) in ExternalMemoryHostBaseTestInstance() argument 168 , m_allocationSize (m_minImportedHostPointerAlignment * allocationSize) in ExternalMemoryHostBaseTestInstance() 237 memoryAllocateInfo.allocationSize = m_allocationSize; in allocateMemoryFromHostPointer()
|
/external/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 74 size_t allocationSize = pCreateInfo->bindingCount * sizeof(VkDescriptorSetLayoutBinding); in ComputeRequiredAllocationSize() local 80 allocationSize += pCreateInfo->pBindings[i].descriptorCount * sizeof(VkSampler); in ComputeRequiredAllocationSize() 84 return allocationSize; in ComputeRequiredAllocationSize()
|
D | VkDeviceMemory.cpp | 23 size(pCreateInfo->allocationSize), memoryTypeIndex(pCreateInfo->memoryTypeIndex) in DeviceMemory()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 681 const VkDeviceSize allocationSize, in makeSparseImageMemoryBind() argument 691 allocationSize, // VkDeviceSize allocationSize; in makeSparseImageMemoryBind() 712 const VkDeviceSize allocationSize, in makeSparseMemoryBind() argument 721 allocationSize, // VkDeviceSize allocationSize; in makeSparseMemoryBind() 731 memoryBind.size = allocationSize; in makeSparseMemoryBind()
|
D | vktSparseResourcesTestsUtil.hpp | 199 const vk::VkDeviceSize allocationSize, 207 const vk::VkDeviceSize allocationSize,
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkMemUtil.cpp | 208 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate() 230 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate() 259 hostPtr = MovePtr<HostPtr>(new HostPtr(vkd, device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocateDedicated()
|
/external/skia/include/third_party/vulkan/vulkan/ |
D | vulkan_android.h | 71 VkDeviceSize allocationSize; member
|
/external/vulkan-headers/include/vulkan/ |
D | vulkan_android.h | 71 VkDeviceSize allocationSize; member
|
/external/swiftshader/include/vulkan/ |
D | vulkan_android.h | 71 VkDeviceSize allocationSize; member
|
/external/skqp/include/third_party/vulkan/vulkan/ |
D | vulkan_android.h | 71 VkDeviceSize allocationSize; member
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 77 size_t allocationSize, uintptr_t objAddress) in SectionEntry() argument 80 AllocationSize(allocationSize), ObjAddress(objAddress) { in SectionEntry()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 77 size_t allocationSize, uintptr_t objAddress) in SectionEntry() argument 80 AllocationSize(allocationSize), ObjAddress(objAddress) { in SectionEntry()
|
/external/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 418 hwbProps.allocationSize, // allocationSize in make_vk_backend_texture() 447 imageInfo.fAlloc = GrVkAlloc(memory, 0, hwbProps.allocationSize, 0); in make_vk_backend_texture()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common.c | 267 .allocationSize = reqs.size, in wsi_create_native_image() 364 .allocationSize = linear_size, in wsi_create_prime_image() 414 .allocationSize = reqs.size, in wsi_create_prime_image()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.h | 45 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
|