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/chromium_org/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 …]
/external/chromium_org/third_party/skia/src/core/
DSkDeque.cpp29 SkDeque::SkDeque(size_t elemSize, int allocCount) in SkDeque() argument
33 , fAllocCount(allocCount) { in SkDeque()
34 SkASSERT(allocCount >= 1); in SkDeque()
39 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument
43 , fAllocCount(allocCount) { in SkDeque()
45 SkASSERT(allocCount >= 1); in SkDeque()
229 SkDeque::Block* SkDeque::allocateBlock(int allocCount) { in allocateBlock() argument
230 Block* newBlock = (Block*)sk_malloc_throw(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
231 newBlock->init(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
/external/skia/src/core/
DSkDeque.cpp29 SkDeque::SkDeque(size_t elemSize, int allocCount) in SkDeque() argument
33 , fAllocCount(allocCount) { in SkDeque()
34 SkASSERT(allocCount >= 1); in SkDeque()
39 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) in SkDeque() argument
43 , fAllocCount(allocCount) { in SkDeque()
45 SkASSERT(allocCount >= 1); in SkDeque()
229 SkDeque::Block* SkDeque::allocateBlock(int allocCount) { in allocateBlock() argument
230 Block* newBlock = (Block*)sk_malloc_throw(sizeof(Block) + allocCount * fElemSize); in allocateBlock()
231 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/chromium_org/third_party/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/chromium_org/third_party/skia/src/gpu/
DGrMemoryPool.cpp126 int allocCount = 0; in validate() local
128 allocCount += block->fLiveCount; in validate()
158 SkASSERT(allocCount == fAllocationCnt); in validate()
/external/skia/src/gpu/
DGrMemoryPool.cpp126 int allocCount = 0; in validate() local
128 allocCount += block->fLiveCount; in validate()
158 SkASSERT(allocCount == fAllocationCnt); in validate()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_util.h625 unsigned int allocCount = (count + (1 << objStepLog2) - 1) >> objStepLog2; in ~MemoryPool() local
626 for (unsigned int i = 0; i < allocCount && allocArray[i]; ++i) in ~MemoryPool()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_util.h625 unsigned int allocCount = (count + (1 << objStepLog2) - 1) >> objStepLog2; in ~MemoryPool() local
626 for (unsigned int i = 0; i < allocCount && allocArray[i]; ++i) in ~MemoryPool()