Searched refs:blinkPageSize (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/heap/
H A DHeap.cpp222 size_t allocationSize = size + blinkPageSize;
254 size_t allocationSize = size + blinkPageSize;
696 // Check that large pages are blinkPageSize aligned (modulo the
830 if (neededPromptlyFreedSize >= blinkPageSize)
1190 PageMemoryRegion* region = PageMemoryRegion::allocate(blinkPageSize * blinkPagesPerRegion, blinkPagesPerRegion);
1196 offset += blinkPageSize;
1405 heap->stats().increaseAllocatedSpace(blinkPageSize);
1425 stats.increaseAllocatedSpace(blinkPageSize);
1449 stats->increaseAllocatedSpace(blinkPageSize);
H A DHeap.h52 const size_t blinkPageSize = 1 << blinkPageSizeLog2; member in namespace:blink
53 const size_t blinkPageOffsetMask = blinkPageSize - 1;
66 const size_t objectStartBitMapSize = (blinkPageSize + ((8 * allocationGranularity) - 1)) / (8 * allocationGranularity);
123 return blinkPageSize - 2 * osPageSize();
136 return reinterpret_cast<Address>(reinterpret_cast<uintptr_t>(address - 1) & blinkPageBaseMask) + blinkPageSize;
319 // Finally if the object is a large object (> blinkPageSize/2) then it is
502 // Returns true for the whole blinkPageSize page that the page is on, even
509 return blinkPageStart <= addr && addr < blinkPageStart + blinkPageSize;
1457 bool isLargeObject = allocationSize > blinkPageSize / 2;
H A DHeapTest.cpp1507 EXPECT_EQ(heapStats.totalAllocatedSpace(), blinkPageSize);
1549 EXPECT_EQ(0ul, heapStats.totalAllocatedSpace() & (blinkPageSize - 1));
1565 EXPECT_EQ(0ul, heapStats.totalAllocatedSpace() & (blinkPageSize - 1));
1572 EXPECT_EQ(0ul, heapStats.totalAllocatedSpace() & (blinkPageSize - 1));
1584 EXPECT_EQ(0ul, heapStats.totalAllocatedSpace() & (blinkPageSize - 1));
1600 EXPECT_EQ(0ul, heapStats.totalAllocatedSpace() & (blinkPageSize - 1));
1949 size_t allocatedSpaceUpperBound = allocatedSpaceLowerBound + slack + blinkPageSize;

Completed in 193 milliseconds