/external/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 …]
|
/external/chromium_org/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 …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkDeque.cpp | 29 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/ |
D | SkDeque.cpp | 29 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/ |
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);
|
/external/chromium_org/third_party/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);
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrMemoryPool.cpp | 126 int allocCount = 0; in validate() local 128 allocCount += block->fLiveCount; in validate() 158 SkASSERT(allocCount == fAllocationCnt); in validate()
|
/external/skia/src/gpu/ |
D | GrMemoryPool.cpp | 126 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/ |
D | nv50_ir_util.h | 625 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/ |
D | nv50_ir_util.h | 625 unsigned int allocCount = (count + (1 << objStepLog2) - 1) >> objStepLog2; in ~MemoryPool() local 626 for (unsigned int i = 0; i < allocCount && allocArray[i]; ++i) in ~MemoryPool()
|