/third_party/skia/tests/ |
D | DequeTest.cpp | 85 int allocCount) { in assert_blocks() argument 91 int expected = (deq.count() + allocCount - 1) / allocCount; in assert_blocks() 100 static void TestSub(skiatest::Reporter* reporter, int allocCount) { in TestSub() argument 101 SkDeque deq(sizeof(int), allocCount); in TestSub() 112 assert_blocks(reporter, deq, allocCount); in TestSub() 119 assert_blocks(reporter, deq, allocCount); in TestSub() 125 assert_blocks(reporter, deq, allocCount); in TestSub() 134 assert_blocks(reporter, deq, allocCount); in TestSub() 141 assert_blocks(reporter, deq, allocCount); in TestSub() 147 assert_blocks(reporter, deq, allocCount); in TestSub() [all …]
|
/third_party/flutter/skia/tests/ |
D | DequeTest.cpp | 85 int allocCount) { in assert_blocks() argument 91 int expected = (deq.count() + allocCount - 1) / allocCount; in assert_blocks() 100 static void TestSub(skiatest::Reporter* reporter, int allocCount) { in TestSub() argument 101 SkDeque deq(sizeof(int), allocCount); in TestSub() 112 assert_blocks(reporter, deq, allocCount); in TestSub() 119 assert_blocks(reporter, deq, allocCount); in TestSub() 125 assert_blocks(reporter, deq, allocCount); in TestSub() 134 assert_blocks(reporter, deq, allocCount); in TestSub() 141 assert_blocks(reporter, deq, allocCount); in TestSub() 147 assert_blocks(reporter, deq, allocCount); in TestSub() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkDeque.cpp | 28 SkDeque::SkDeque(size_t elemSize, int allocCount) in SkDeque() argument 32 , fAllocCount(allocCount) { in SkDeque() 33 SkASSERT(allocCount >= 1); in SkDeque() 38 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument 42 , fAllocCount(allocCount) { in SkDeque() 44 SkASSERT(allocCount >= 1); in SkDeque() 228 SkDeque::Block* SkDeque::allocateBlock(int allocCount) { in allocateBlock() argument 229 Block* newBlock = (Block*)sk_malloc_throw(sizeof(Block) + allocCount * fElemSize); in allocateBlock() 230 newBlock->init(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
|
/third_party/skia/src/core/ |
D | SkDeque.cpp | 28 SkDeque::SkDeque(size_t elemSize, int allocCount) in SkDeque() argument 32 , fAllocCount(allocCount) { in SkDeque() 33 SkASSERT(allocCount >= 1); in SkDeque() 38 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument 42 , fAllocCount(allocCount) { in SkDeque() 44 SkASSERT(allocCount >= 1); in SkDeque() 228 SkDeque::Block* SkDeque::allocateBlock(int allocCount) { in allocateBlock() argument 229 Block* newBlock = (Block*)sk_malloc_throw(sizeof(Block) + allocCount * fElemSize); in allocateBlock() 230 newBlock->init(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
|
/third_party/skia/src/gpu/ |
D | GrMemoryPool.cpp | 137 int allocCount = 0; in validate() local 139 allocCount += b->metadata(); in validate() 141 SkASSERT(allocCount == fAllocationCount); in validate() 143 SkASSERT(allocCount > 0 || this->isEmpty()); in validate()
|
/third_party/skia/include/private/ |
D | SkDeque.h | 32 explicit SkDeque(size_t elemSize, int allocCount = 1); 33 SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount = 1); 128 Block* allocateBlock(int allocCount);
|
D | SkTArray.h | 345 auto allocCount = fAllocCount; in swap() local 347 that.fAllocCount = allocCount; in swap()
|
/third_party/flutter/skia/include/core/ |
D | SkDeque.h | 32 explicit SkDeque(size_t elemSize, int allocCount = 1); 33 SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount = 1); 128 Block* allocateBlock(int allocCount);
|
/third_party/flutter/skia/src/gpu/ |
D | GrMemoryPool.cpp | 177 int allocCount = 0; in validate() local 180 allocCount += block->fLiveCount; in validate() 212 SkASSERT(allocCount == fAllocationCnt); in validate()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
D | Tests.cpp | 216 constexpr size_t allocCount = 10; in TestVirtualBlocks() local 217 UINT64 allocOffset[allocCount] = {}; in TestVirtualBlocks() 218 for(size_t i = 0; i < allocCount; ++i) in TestVirtualBlocks() 220 const bool alignment0 = i == allocCount - 1; in TestVirtualBlocks() 230 for(size_t i = allocCount; i--; ) in TestVirtualBlocks()
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_util.h | 629 unsigned int allocCount = (count + (1 << objStepLog2) - 1) >> objStepLog2; in ~MemoryPool() local 630 for (unsigned int i = 0; i < allocCount && allocArray[i]; ++i) in ~MemoryPool()
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 16519 …for(size_t allocIndex = 0, allocCount = pDedicatedAllocVector->size(); allocIndex < allocCount; ++… in CalculateStats() local
|