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 96 const uint32_t PersistentMemoryAllocator::kAllocAlignment = 8;
261 freeptr / (sizeof(BlockHeader) + kAllocAlignment);
294 return ((base && reinterpret_cast<uintptr_t>(base) % kAllocAlignment == 0) &&
296 (size % kAllocAlignment == 0 || readonly) &&
341 static_assert(sizeof(BlockHeader) % kAllocAlignment == 0,
342 "BlockHeader is not a multiple of kAllocAlignment");
343 static_assert(sizeof(SharedMetadata) % kAllocAlignment == 0,
344 "SharedMetadata is not a multiple of kAllocAlignment");
345 static_assert(kReferenceQueue % kAllocAlignment == 0,
643 size = (size + (kAllocAlignment - 1)) & ~(kAllocAlignment - 1)
    [all...]
persistent_memory_allocator_unittest.cc 53 uint32_t kAllocAlignment;
73 kAllocAlignment = GetAllocAlignment();
100 return PersistentMemoryAllocator::kAllocAlignment;
134 EXPECT_GT(sizeof(TestObject1) + kAllocAlignment,
174 EXPECT_GT(sizeof(TestObject2) + kAllocAlignment,
287 allocator_->Allocate(TEST_MEMORY_PAGE - 2 * kAllocAlignment, 2);
291 Reference block3 = allocator_->Allocate(2 * kAllocAlignment + 99, 3);
837 const uint32_t kAllocAlignment =
865 const bool read_only = (filesize % (2 * kAllocAlignment)) != 0;
    [all...]
persistent_memory_allocator.h 634 static const uint32_t kAllocAlignment;
    [all...]

Completed in 519 milliseconds