Home
last modified time | relevance | path

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

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_cookie.h17 static constexpr size_t kCookieSize = 16; variable
19 static constexpr unsigned char kCookieValue[kCookieSize] = {
27 for (size_t i = 0; i < kCookieSize; ++i, ++cookie_ptr) in PartitionCookieCheckValue()
37 DCHECK(size + (2 * kCookieSize) > size); in PartitionCookieSizeAdjustAdd()
38 size += 2 * kCookieSize; in PartitionCookieSizeAdjustAdd()
46 ptr = static_cast<char*>(ptr) - kCookieSize; in PartitionCookieFreePointerAdjust()
54 DCHECK(size >= 2 * kCookieSize); in PartitionCookieSizeAdjustSubtract()
55 size -= 2 * kCookieSize; in PartitionCookieSizeAdjustSubtract()
63 for (size_t i = 0; i < kCookieSize; ++i, ++cookie_ptr) in PartitionCookieWriteValue()
Dpartition_root_base.h138 ret = char_ret + kCookieSize; in AllocFromBucket()
147 PartitionCookieWriteValue(char_ret + kCookieSize + no_cookie_size); in AllocFromBucket()
Dpartition_page.h215 kCookieSize); in Free()
Dpartition_alloc.cc343 internal::kCookieSize); in PartitionReallocDirectMappedInPlace()