Home
last modified time | relevance | path

Searched refs:storageSize (Results 1 – 9 of 9) sorted by relevance

/external/deqp/framework/delibs/decpp/
DdeArrayBuffer.hpp91 const size_t storageSize = (numElements - 1) * Stride + sizeof(T); in ArrayBuffer() local
92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); in ArrayBuffer()
115 const size_t storageSize = sizeof(T) * numElements; in ArrayBuffer() local
116 deMemcpy(tmp.m_ptr, ptr, (int)storageSize); in ArrayBuffer()
138 const size_t storageSize = (other.m_cap - 1) * Stride + sizeof(T); in ArrayBuffer() local
141 deMemcpy(tmp.m_ptr, other.m_ptr, (int)storageSize); in ArrayBuffer()
/external/skia/src/core/
DSkBitmapController.h43 void* storage, size_t storageSize);
51 void* storage, size_t storageSize) = 0;
62 void* storage, size_t storageSize) override;
DSkMipMap.cpp256 size_t storageSize = SkMipMap::AllocLevelsSize(countLevels, size); in Build() local
257 if (0 == storageSize) { in Build()
263 SkDiscardableMemory* dm = fact(storageSize); in Build()
267 mipmap = new SkMipMap(storageSize, dm); in Build()
269 mipmap = new SkMipMap(sk_malloc_throw(storageSize), storageSize); in Build()
DSkDeque.cpp39 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument
44 SkASSERT(storageSize == 0 || storage != nullptr); in SkDeque()
47 if (storageSize >= sizeof(Block) + elemSize) { in SkDeque()
49 fFrontBlock->init(storageSize); in SkDeque()
DSkBitmapController.cpp23 void* storage, size_t storageSize) { in requestBitmap() argument
28 State* state = this->onRequestBitmap(provider, inv, quality, storage, storageSize); in requestBitmap()
DSkWriteBuffer.cpp26 SkWriteBuffer::SkWriteBuffer(void* storage, size_t storageSize, uint32_t flags) in SkWriteBuffer() argument
30 , fWriter(storage, storageSize) in SkWriteBuffer()
DSkMaskFilter.cpp137 size_t storageSize = (innerW + 1) * (sizeof(int16_t) + sizeof(uint8_t)); in draw_nine_clipped() local
138 SkAutoSMalloc<4*1024> storage(storageSize); in draw_nine_clipped()
/external/skia/include/core/
DSkWriteBuffer.h34 SkWriteBuffer(void* initialStorage, size_t storageSize, uint32_t flags = 0);
42 void reset(void* storage = NULL, size_t storageSize = 0) {
43 fWriter.reset(storage, storageSize);
DSkDeque.h33 SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount = 1);