Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/wtf/
DPartitionAlloc.h229 PartitionFreelistEntry* freelistHead; member
445 void* ret = page->freelistHead; in partitionBucketAlloc()
450 page->freelistHead = newHead; in partitionBucketAlloc()
498 PartitionFreelistEntry* freelistHead = page->freelistHead; in partitionFreeWithPage() local
499 ASSERT(!freelistHead || partitionPointerIsValid(freelistHead)); in partitionFreeWithPage()
500 RELEASE_ASSERT(ptr != freelistHead); // Catches an immediate double free. in partitionFreeWithPage()
501 …ASSERT(!freelistHead || ptr != partitionFreelistMask(freelistHead->next)); // Look for double free… in partitionFreeWithPage()
503 entry->next = partitionFreelistMask(freelistHead); in partitionFreeWithPage()
504 page->freelistHead = entry; in partitionFreeWithPage()
DPartitionAlloc.cpp426 page->freelistHead = 0; in partitionPageReset()
449 ASSERT(!page->freelistHead); in partitionPageAllocAndFillFreelist()
487 page->freelistHead = entry; in partitionPageAllocAndFillFreelist()
496 page->freelistHead = 0; in partitionPageAllocAndFillFreelist()
527 if (LIKELY(page->freelistHead != 0) || LIKELY(page->numUnprovisionedSlots)) { in partitionSetNewActivePage()
610 page->freelistHead = 0; in partitionDirectMap()
651 ASSERT(!bucket->activePagesHead->freelistHead); in partitionAllocSlowPath()
673 if (LIKELY(newPage->freelistHead != 0)) { in partitionAllocSlowPath()
674 PartitionFreelistEntry* ret = newPage->freelistHead; in partitionAllocSlowPath()
675 newPage->freelistHead = partitionFreelistMask(ret->next); in partitionAllocSlowPath()
[all …]
DPartitionAllocTest.cpp109 EXPECT_EQ(0, bucket->activePagesHead->freelistHead); in GetFullPage()
672 EXPECT_EQ(WTF::partitionCookieFreePointerAdjust(ptr), page->freelistHead); in TEST()
746 EXPECT_TRUE(page->freelistHead); in TEST()
752 EXPECT_FALSE(page->freelistHead); in TEST()
758 EXPECT_TRUE(page->freelistHead); in TEST()
764 EXPECT_FALSE(page->freelistHead); in TEST()
787 EXPECT_TRUE(page2->freelistHead); in TEST()
821 EXPECT_TRUE(page->freelistHead); in TEST()
838 EXPECT_TRUE(page->freelistHead); in TEST()
848 EXPECT_TRUE(page->freelistHead); in TEST()
[all …]