Home
last modified time | relevance | path

Searched refs:kMaxN (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/src/core/
H A DSkBlockAllocator.cpp201 static constexpr int kMaxN = (1 << 23) - 1; in addBlock() local
202 static_assert(2 * kMaxN <= std::numeric_limits<int32_t>::max()); // Growth policy won't overflow in addBlock()
233 fN0 = std::min(kMaxN, nextN0); in addBlock()
234 fN1 = std::min(kMaxN, nextN1); in addBlock()
/third_party/skia/src/gpu/
H A DGrSubRunAllocator.h77 constexpr int kMaxN = kMaxByteSize / sizeof(T); in allocateBytesFor() local
78 SkASSERT_RELEASE(0 <= n && n < kMaxN); in allocateBytesFor()

Completed in 3 milliseconds