Home
last modified time | relevance | path

Searched refs:memoryUsage (Results 1 – 15 of 15) sorted by relevance

/external/xz-java/src/org/tukaani/xz/index/
DIndexDecoder.java25 private final int memoryUsage; field in IndexDecoder
78 memoryUsage = 1 + (int)((16L * count + 1023) / 1024); in IndexDecoder()
79 if (memoryLimit >= 0 && memoryUsage > memoryLimit) in IndexDecoder()
80 throw new MemoryLimitException(memoryUsage, memoryLimit); in IndexDecoder()
146 return memoryUsage; in getMemoryUsage()
/external/swiftshader/src/D3D8/
DDirect3DResource8.cpp22 unsigned int Direct3DResource8::memoryUsage = 0; member in D3D8::Direct3DResource8
79 memoryUsage += size; in Direct3DResource8()
84 memoryUsage -= size; in ~Direct3DResource8()
213 return memoryUsage; in getMemoryUsage()
DDirect3DSurface8.cpp66 …resource = new Direct3DResource8(device, D3DRTYPE_SURFACE, memoryUsage(width, height, multiSample,… in Direct3DSurface8()
231 desc->Size = memoryUsage(width, height, multiSample, format); in GetDesc()
287 …unsigned int Direct3DSurface8::memoryUsage(int width, int height, D3DMULTISAMPLE_TYPE multiSample,… in memoryUsage() function in D3D8::Direct3DSurface8
DDirect3DVolume8.cpp29 …resource = new Direct3DResource8(device, D3DRTYPE_VOLUME, memoryUsage(width, height, depth, format… in Direct3DVolume8()
196 unsigned int Direct3DVolume8::memoryUsage(int width, int height, int depth, D3DFORMAT format) in memoryUsage() function in D3D8::Direct3DVolume8
DDirect3DResource8.hpp88 static unsigned int memoryUsage; member in D3D8::Direct3DResource8
DDirect3DVolume8.hpp58 static unsigned int memoryUsage(int width, int height, int depth, D3DFORMAT format);
DDirect3DSurface8.hpp60 …static unsigned int memoryUsage(int width, int height, D3DMULTISAMPLE_TYPE multiSample, D3DFORMAT …
/external/swiftshader/src/D3D9/
DDirect3DResource9.cpp22 unsigned int Direct3DResource9::memoryUsage = 0; member in D3D9::Direct3DResource9
81 memoryUsage += size; in Direct3DResource9()
89 memoryUsage -= size; in ~Direct3DResource9()
235 return memoryUsage; in getMemoryUsage()
DDirect3DVolume9.cpp36 …resource = new Direct3DResource9(device, D3DRTYPE_VOLUME, pool, memoryUsage(width, height, depth, … in Direct3DVolume9()
231 unsigned int Direct3DVolume9::memoryUsage(int width, int height, int depth, D3DFORMAT format) in memoryUsage() function in D3D9::Direct3DVolume9
DDirect3DResource9.hpp90 static unsigned int memoryUsage; member in D3D9::Direct3DResource9
DDirect3DVolume9.hpp58 static unsigned int memoryUsage(int width, int height, int depth, D3DFORMAT format);
DDirect3DSurface9.cpp80 …: Direct3DResource9(device, D3DRTYPE_SURFACE, pool, memoryUsage(width, height, multiSample, qualit… in Direct3DSurface9()
412 …unsigned int Direct3DSurface9::memoryUsage(int width, int height, D3DMULTISAMPLE_TYPE multiSample,… in memoryUsage() function in D3D9::Direct3DSurface9
DDirect3DSurface9.hpp67 …static unsigned int memoryUsage(int width, int height, D3DMULTISAMPLE_TYPE multiSample, unsigned i…
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp466 VkDeviceSize memoryUsage; in iterate() member
517 m_heaps[heapNdx].memoryUsage = 0; in iterate()
577 const bool isHeapFull = m_heaps[heapNdx].memoryUsage >= m_heaps[heapNdx].maxMemoryUsage; in iterate()
578 const bool isHeapEmpty = m_heaps[heapNdx].memoryUsage == 0; in iterate()
631 …? de::min(heap.maxMemoryUsage - heap.memoryUsage, (VkDeviceSize)m_memoryLimits.totalDeviceLocalMem… in iterate()
632 …: de::min(heap.maxMemoryUsage - heap.memoryUsage, (VkDeviceSize)m_memoryLimits.totalSystemMemory -… in iterate()
635 …if ((allocationSize > (deUint64)(heap.maxMemoryUsage - heap.memoryUsage)) && (allocationSize != 1)) in iterate()
659 heap.memoryUsage += allocationSize; in iterate()
676 heap.memoryUsage -= memoryObject.size; in iterate()
683 DE_ASSERT(heap.memoryUsage == 0 || !heap.objects.empty()); in iterate()
DvktMemoryMappingTests.cpp876 VkDeviceSize memoryUsage,
913 VkDeviceSize memoryUsage, in MemoryObject() argument
920 , m_memoryUsage (memoryUsage) in MemoryObject()
1256 const VkDeviceSize memoryUsage = roundUpToMultiple(size, allocationSizeGranularity); in allocateRandom() local
1261 …st object = new MemoryObject(vkd, device, size, type.index, atomSize, memoryUsage, referenceMemor… in allocateRandom()
1263 m_usage += memoryUsage; in allocateRandom()
1264 m_totalMemTracker.allocate(getMemoryClass(), memoryUsage); in allocateRandom()