Searched refs:allocCount (Results 1 - 8 of 8) sorted by relevance
/third_party/skia/tests/ |
H A D | DequeTest.cpp | 85 int allocCount) { in assert_blocks() 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() local 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() 83 assert_blocks(skiatest::Reporter* reporter, const SkDeque& deq, int allocCount) assert_blocks() argument [all...] |
/third_party/skia/src/core/ |
H A 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/ |
H A 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/ |
H A D | SkDeque.h | 30 * allocCount specifies how many elements are to be allocated as a block 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); 133 * can be used to gauge the effectiveness of the selected allocCount.
|
H A D | SkTArray.h | 345 auto allocCount = fAllocCount; in swap() local 347 that.fAllocCount = allocCount; in swap()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_util.h | 629 unsigned int allocCount = (count + (1 << objStepLog2) - 1) >> objStepLog2; 630 for (unsigned int i = 0; i < allocCount && allocArray[i]; ++i)
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A 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/skia/third_party/vulkanmemoryallocator/include/ |
H A D | vk_mem_alloc.h | 867 const uint32_t allocCount = (uint32_t)allocations.size(); 868 std::vector<VkBool32> allocationsChanged(allocCount); 871 defragInfo.allocationCount = allocCount; 881 for(uint32_t i = 0; i < allocCount; ++i) 935 const uint32_t allocCount = (uint32_t)allocations.size(); 936 std::vector<VkBool32> allocationsChanged(allocCount); 942 defragInfo.allocationCount = allocCount; 959 for(uint32_t i = 0; i < allocCount; ++i) 16855 for(size_t allocIndex = 0, allocCount = pDedicatedAllocVector->size(); allocIndex < allocCount; [all...] |
Completed in 25 milliseconds