Home
last modified time | relevance | path

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

/external/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 …]
/external/skqp/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 …]
/external/autotest/client/deps/nvmap_compactor/src/
Dnvmap_carveout_compactor.c373 unsigned int allocCount = 0; in RunTest() local
395 allocCount = allocatedMemoryLimit / 1048576; /* 1 mb */ in RunTest()
396 allocCount = (allocCount / 4) * 4; /* always a multiple of 4. */ in RunTest()
399 errCode = RunPhase(phase, 512, 512, allocCount, 1, phase1_tex); in RunTest()
406 (allocCount * 3 / 4) * 1); in RunTest()
407 for (i = 0; i < allocCount; i++) { in RunTest()
429 allocCount = (allocCount * 3) / 16; in RunTest()
431 errCode = RunPhase(phase, 1024, 1024, allocCount, 4, phase2_tex); in RunTest()
438 (allocCount / 2) * 4 ); in RunTest()
439 for (i = 0; i < allocCount; i++) { in RunTest()
[all …]
/external/skqp/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()
/external/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()
/external/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);
/external/skqp/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);
/external/skia/src/gpu/
DGrMemoryPool.cpp166 int allocCount = 0; in validate() local
169 allocCount += block->fLiveCount; in validate()
201 SkASSERT(allocCount == fAllocationCnt); in validate()
/external/skqp/src/gpu/
DGrMemoryPool.cpp166 int allocCount = 0; in validate() local
169 allocCount += block->fLiveCount; in validate()
201 SkASSERT(allocCount == fAllocationCnt); in validate()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_util.h630 unsigned int allocCount = (count + (1 << objStepLog2) - 1) >> objStepLog2; in ~MemoryPool() local
631 for (unsigned int i = 0; i < allocCount && allocArray[i]; ++i) in ~MemoryPool()