OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kPartitionPageSize
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/
PartitionAlloc.cpp
42
COMPILE_ASSERT(WTF::
kPartitionPageSize
* 4 <= WTF::kSuperPageSize, ok_super_page_size);
43
COMPILE_ASSERT(!(WTF::kSuperPageSize % WTF::
kPartitionPageSize
), ok_super_page_multiple);
46
COMPILE_ASSERT(WTF::kSystemPageSize * 4 <= WTF::
kPartitionPageSize
, ok_partition_page_size);
47
COMPILE_ASSERT(!(WTF::
kPartitionPageSize
% WTF::kSystemPageSize), ok_partition_page_multiple);
327
ASSERT(!(reinterpret_cast<uintptr_t>(root->nextPartitionPage) %
kPartitionPageSize
));
328
ASSERT(!(reinterpret_cast<uintptr_t>(root->nextPartitionPageEnd) %
kPartitionPageSize
));
330
size_t totalSize =
kPartitionPageSize
* numPartitionPages;
353
char* ret = superPage +
kPartitionPageSize
;
355
root->nextPartitionPageEnd = root->nextSuperPage -
kPartitionPageSize
;
361
setSystemPagesInaccessible(superPage + (kSystemPageSize * 2),
kPartitionPageSize
- (kSystemPageSize * 2))
[
all
...]
PartitionAllocTest.cpp
172
EXPECT_EQ(WTF::
kPartitionPageSize
+ kPointerOffset, reinterpret_cast<size_t>(ptr) & WTF::kSuperPageOffsetMask);
337
size_t numToFillFreeListPage = WTF::
kPartitionPageSize
/ (sizeof(WTF::PartitionPage) + kExtraAllocSize);
415
EXPECT_EQ(WTF::
kPartitionPageSize
, secondSuperPageOffset);
521
//
kPartitionPageSize
is interesting because it results in just one
523
size_t size = WTF::
kPartitionPageSize
- kExtraAllocSize;
534
size = (((WTF::
kPartitionPageSize
* WTF::kMaxPartitionPagesPerSlotSpan) - WTF::kSystemPageSize) / 2) - kExtraAllocSize;
[
all
...]
PartitionAlloc.h
143
static const size_t
kPartitionPageSize
= 1 << kPartitionPageShift;
144
static const size_t kPartitionPageOffsetMask =
kPartitionPageSize
- 1;
154
static const size_t kNumSystemPagesPerPartitionPage =
kPartitionPageSize
/ kSystemPageSize;
166
static const size_t kNumPartitionPagesPerSuperPage = kSuperPageSize /
kPartitionPageSize
;
Completed in 137 milliseconds