Searched refs:kMinAllocationSize (Results 1 – 6 of 6) sorted by relevance
266 static constexpr size_t kMinAllocationSize = 1 << kMinAllocationBits; variable286 DCHECK_EQ(0, memory_size % kMinAllocationSize); in AllocationRegion()288 (memory_size + kMinAllocationSize - 1) / kMinAllocationSize; in AllocationRegion()304 DCHECK_EQ(0, memory_size_ % kMinAllocationSize); in extend()308 (memory_size_ + kMinAllocationSize - 1) / kMinAllocationSize; in extend()
109 available_bytes = (available_bytes / kMinAllocationSize) * kMinAllocationSize; in Extend()291 (kMinAllocationSize * in RoundedBytes()292 ((bytes + kMinAllocationSize - 1) / kMinAllocationSize)); in RoundedBytes()293 DCHECK_EQ(size_t{0}, rounded_bytes % kMinAllocationSize); in RoundedBytes()
23 static_assert(sizeof(GrMemoryPool) < GrMemoryPool::kMinAllocationSize); in Make()25 preallocSize = SkTPin(preallocSize, kMinAllocationSize, in Make()27 minAllocSize = SkTPin(minAllocSize, kMinAllocationSize, in Make()
38 static constexpr size_t kMinAllocationSize = 1 << 10; variable
191 static const int kSmallPool = GrMemoryPool::kMinAllocationSize;
252 constexpr size_t kSmallestMinAllocSize = GrMemoryPool::kMinAllocationSize; in DEF_TEST()