HomeSort by relevance Sort by last modified time
    Searched refs:kAllocAlignment (Results 1 - 3 of 3) sorted by null

  /external/libchrome/base/metrics/
persistent_memory_allocator.cc 80 const uint32_t PersistentMemoryAllocator::kAllocAlignment = 8;
211 freeptr / (sizeof(BlockHeader) + kAllocAlignment);
244 return ((base && reinterpret_cast<uintptr_t>(base) % kAllocAlignment == 0) &&
246 (size % kAllocAlignment == 0 || readonly) &&
264 static_assert(sizeof(BlockHeader) % kAllocAlignment == 0,
265 "BlockHeader is not a multiple of kAllocAlignment");
266 static_assert(sizeof(SharedMetadata) % kAllocAlignment == 0,
267 "SharedMetadata is not a multiple of kAllocAlignment");
268 static_assert(kReferenceQueue % kAllocAlignment == 0,
476 size = (size + (kAllocAlignment - 1)) & ~(kAllocAlignment - 1)
    [all...]
persistent_memory_allocator_unittest.cc 40 uint32_t kAllocAlignment;
56 kAllocAlignment = GetAllocAlignment();
84 return PersistentMemoryAllocator::kAllocAlignment;
115 EXPECT_GT(sizeof(TestObject1) + kAllocAlignment,
138 EXPECT_GT(sizeof(TestObject2) + kAllocAlignment,
236 allocator_->Allocate(TEST_MEMORY_PAGE - 2 * kAllocAlignment, 2);
240 Reference block3 = allocator_->Allocate(2 * kAllocAlignment + 99, 3);
721 const uint32_t kAllocAlignment =
749 const bool read_only = (filesize % (2 * kAllocAlignment)) != 0;
persistent_memory_allocator.h 297 static const uint32_t kAllocAlignment;

Completed in 79 milliseconds