Home
last modified time | relevance | path

Searched refs:allocCount (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/tests/
DDequeTest.cpp85 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/
DDequeTest.cpp85 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/
DSkDeque.cpp28 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/
DSkDeque.cpp28 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/
DGrMemoryPool.cpp137 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/
DSkDeque.h32 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);
DSkTArray.h345 auto allocCount = fAllocCount; in swap() local
347 that.fAllocCount = allocCount; in swap()
/third_party/flutter/skia/include/core/
DSkDeque.h32 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/
DGrMemoryPool.cpp177 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/
DTests.cpp216 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/
Dnv50_ir_util.h629 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/
Dvk_mem_alloc.h16519 …for(size_t allocIndex = 0, allocCount = pDedicatedAllocVector->size(); allocIndex < allocCount; ++… in CalculateStats() local