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

  /external/chromium_org/third_party/WebKit/Source/wtf/
PartitionAlloc.cpp 78 page->numAllocatedSlots = -1;
109 root->seedPage.numAllocatedSlots = 0;
130 if (page->numAllocatedSlots)
251 page->numAllocatedSlots = 0;
267 ASSERT(numSlots + page->numAllocatedSlots == partitionBucketSlots(bucket));
273 char* returnObject = base + (size * page->numAllocatedSlots);
285 page->numAllocatedSlots++;
323 ASSERT(page->numAllocatedSlots == static_cast<int>(partitionBucketSlots(bucket)));
324 page->numAllocatedSlots = -page->numAllocatedSlots;
    [all...]
PartitionAllocTest.cpp 97 EXPECT_EQ(numSlots, static_cast<size_t>(bucket->activePagesHead->numAllocatedSlots));
108 EXPECT_EQ(numSlots, static_cast<size_t>(abs(page->numAllocatedSlots)));
196 EXPECT_EQ(0, page->numAllocatedSlots);
208 EXPECT_EQ(0, page->numAllocatedSlots);
219 EXPECT_EQ(0, page->numAllocatedSlots);
220 EXPECT_EQ(-1, page2->numAllocatedSlots);
304 EXPECT_EQ(0, bucket->activePagesHead->numAllocatedSlots);
332 EXPECT_EQ(0, bucket->activePagesHead->numAllocatedSlots);
479 EXPECT_EQ(1, page->numAllocatedSlots);
484 EXPECT_EQ(2, page->numAllocatedSlots);
    [all...]
PartitionAlloc.h 193 int numAllocatedSlots; // Deliberately signed, -1 for free page, -n for full pages.
416 return (page->numAllocatedSlots == -1);
434 ASSERT(page == &bucket->root->seedPage || page->numAllocatedSlots >= 0);
444 page->numAllocatedSlots++;
495 --page->numAllocatedSlots;
496 if (UNLIKELY(page->numAllocatedSlots <= 0))

Completed in 70 milliseconds