Lines Matching refs:Ptrs
590 std::set<scudo::uptr> Ptrs; in TEST() local
595 if (Ptrs.count(P - Size)) { in TEST()
600 if (Ptrs.count(P + Size)) { in TEST()
605 Ptrs.insert(P); in TEST()
616 std::vector<void *> Ptrs(65536, nullptr); in TEST() local
630 for (unsigned I = 0; I != Ptrs.size(); ++I) { in TEST()
631 Ptrs[I] = Allocator->allocate(Size, Origin); in TEST()
632 memset(Ptrs[I], 0xaa, Size); in TEST()
634 for (unsigned I = 0; I != Ptrs.size(); ++I) in TEST()
635 Allocator->deallocate(Ptrs[I], Origin, Size); in TEST()
636 for (unsigned I = 0; I != Ptrs.size(); ++I) { in TEST()
637 Ptrs[I] = Allocator->allocate(Size - 8, Origin); in TEST()
638 memset(Ptrs[I], 0xbb, Size - 8); in TEST()
640 for (unsigned I = 0; I != Ptrs.size(); ++I) in TEST()
641 Allocator->deallocate(Ptrs[I], Origin, Size - 8); in TEST()
642 for (unsigned I = 0; I != Ptrs.size(); ++I) { in TEST()
643 Ptrs[I] = Allocator->allocate(Size, Origin, 1U << MinAlignLog, true); in TEST()
645 ASSERT_EQ((reinterpret_cast<char *>(Ptrs[I]))[J], 0); in TEST()