Home
last modified time | relevance | path

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

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.h224 static const size_t kCookieSize = variable
226 static const unsigned char kCookieValue[kCookieSize] = {
516 DCHECK(size + (2 * kCookieSize) > size); in PartitionCookieSizeAdjustAdd()
517 size += 2 * kCookieSize; in PartitionCookieSizeAdjustAdd()
525 DCHECK(size >= 2 * kCookieSize); in PartitionCookieSizeAdjustSubtract()
526 size -= 2 * kCookieSize; in PartitionCookieSizeAdjustSubtract()
534 ptr = static_cast<char*>(ptr) - kCookieSize; in PartitionCookieFreePointerAdjust()
542 for (size_t i = 0; i < kCookieSize; ++i, ++cookie_ptr) in PartitionCookieWriteValue()
550 for (size_t i = 0; i < kCookieSize; ++i, ++cookie_ptr) in PartitionCookieCheckValue()
695 ret = char_ret + kCookieSize; in PartitionBucketAlloc()
[all …]
Dpartition_alloc.cc1014 PartitionCookieWriteValue(char_ptr + raw_size - kCookieSize); in partitionReallocDirectMappedInPlace()