OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numAllocatedSlots
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/
PartitionAlloc.cpp
242
if (page->
numAllocatedSlots
)
420
page->
numAllocatedSlots
= 0;
447
ASSERT(numSlots + page->
numAllocatedSlots
== partitionBucketSlots(bucket));
450
ASSERT(page->
numAllocatedSlots
>= 0);
454
char* returnObject = base + (size * page->
numAllocatedSlots
);
482
page->
numAllocatedSlots
++;
532
ASSERT(page->
numAllocatedSlots
>= 0);
533
if (LIKELY(page->
numAllocatedSlots
== 0)) {
542
ASSERT(page->
numAllocatedSlots
== static_cast<int>(partitionBucketSlots(bucket)));
543
page->
numAllocatedSlots
= -page->numAllocatedSlots
[
all
...]
PartitionAllocTest.cpp
108
EXPECT_EQ(numSlots, static_cast<size_t>(bucket->activePagesHead->
numAllocatedSlots
));
119
EXPECT_EQ(numSlots, static_cast<size_t>(abs(page->
numAllocatedSlots
)));
133
ASSERT(!bucket->activePagesHead->
numAllocatedSlots
);
137
EXPECT_EQ(1, bucket->activePagesHead->
numAllocatedSlots
);
139
EXPECT_EQ(0, bucket->activePagesHead->
numAllocatedSlots
);
150
EXPECT_EQ(1, bucket->activePagesHead->
numAllocatedSlots
);
152
EXPECT_EQ(0, bucket->activePagesHead->
numAllocatedSlots
);
240
EXPECT_EQ(0, page->
numAllocatedSlots
);
252
EXPECT_EQ(0, page->
numAllocatedSlots
);
263
EXPECT_EQ(0, page->
numAllocatedSlots
);
[
all
...]
PartitionAlloc.h
232
int16_t
numAllocatedSlots
; // Deliberately signed, -1 for free page, -n for full pages.
444
ASSERT(page->
numAllocatedSlots
>= 0);
452
page->
numAllocatedSlots
++;
497
ASSERT(page->
numAllocatedSlots
);
505
--page->
numAllocatedSlots
;
506
if (UNLIKELY(page->
numAllocatedSlots
<= 0))
Completed in 317 milliseconds