Home
last modified time | relevance | path

Searched refs:best_pages (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_bucket.cc135 uint16_t best_pages = 0; in get_system_pages_per_slot_span() local
140 best_pages = static_cast<uint16_t>(slot_size / kSystemPageSize); in get_system_pages_per_slot_span()
144 CHECK(best_pages < (1 << 8)); in get_system_pages_per_slot_span()
145 return static_cast<uint8_t>(best_pages); in get_system_pages_per_slot_span()
170 best_pages = i; in get_system_pages_per_slot_span()
173 DCHECK(best_pages > 0); in get_system_pages_per_slot_span()
174 CHECK(best_pages <= kMaxSystemPagesPerSlotSpan); in get_system_pages_per_slot_span()
175 return static_cast<uint8_t>(best_pages); in get_system_pages_per_slot_span()