Lines Matching refs:QuarantineBatch
32 while (scudo::QuarantineBatch *Batch = Cache->dequeueBatch()) in deallocateCache()
38 scudo::QuarantineBatch Into; in TEST()
40 scudo::QuarantineBatch From; in TEST()
48 EXPECT_EQ(Into.Size, 12UL + sizeof(scudo::QuarantineBatch)); in TEST()
52 EXPECT_EQ(From.Size, sizeof(scudo::QuarantineBatch)); in TEST()
56 for (scudo::uptr I = 2; I < scudo::QuarantineBatch::MaxCount; ++I) in TEST()
58 EXPECT_TRUE(Into.Count + From.Count == scudo::QuarantineBatch::MaxCount); in TEST()
62 EXPECT_TRUE(Into.Count == scudo::QuarantineBatch::MaxCount); in TEST()
85 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST()
92 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST()
110 EXPECT_EQ(BlockSize * 2 + sizeof(scudo::QuarantineBatch) * 2, in TEST()
118 EXPECT_EQ(BlockSize * 2 + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST()
119 EXPECT_EQ(ToDeallocate.getSize(), sizeof(scudo::QuarantineBatch)); in TEST()
126 const scudo::uptr NumBlocks = scudo::QuarantineBatch::MaxCount - 1; in TEST()
138 EXPECT_EQ(BlockSize * NumBlocks * 2 + sizeof(scudo::QuarantineBatch) * 2, in TEST()
146 EXPECT_EQ(BlockSize * NumBlocks * 2 + sizeof(scudo::QuarantineBatch) * 2, in TEST()
156 scudo::QuarantineBatch::MaxCount * NumBatchesAfterMerge; in TEST()
170 sizeof(scudo::QuarantineBatch) * NumBatchesBeforeMerge, in TEST()
179 sizeof(scudo::QuarantineBatch) * NumBatchesAfterMerge, in TEST()
183 sizeof(scudo::QuarantineBatch) * in TEST()