Home
last modified time | relevance | path

Searched refs:heap_walker (Results 1 – 3 of 3) sorted by relevance

/system/core/libmemunreachable/tests/
DHeapWalker_test.cpp45 HeapWalker heap_walker(heap_); in TEST_F() local
46 ASSERT_TRUE(heap_walker.Allocation(3, 4)); in TEST_F()
47 ASSERT_TRUE(heap_walker.Allocation(2, 3)); in TEST_F()
48 ASSERT_TRUE(heap_walker.Allocation(4, 5)); in TEST_F()
49 ASSERT_TRUE(heap_walker.Allocation(6, 7)); in TEST_F()
50 ASSERT_TRUE(heap_walker.Allocation(0, 1)); in TEST_F()
54 HeapWalker heap_walker(heap_); in TEST_F() local
55 ASSERT_TRUE(heap_walker.Allocation(2, 3)); in TEST_F()
56 ASSERT_TRUE(heap_walker.Allocation(3, 4)); in TEST_F()
57 ASSERT_FALSE(heap_walker.Allocation(2, 3)); in TEST_F()
[all …]
DLeakFolding_test.cpp44 #define ALLOCATION(heap_walker, buffer) \ argument
45 ASSERT_EQ(true, (heap_walker).Allocation(buffer_begin(buffer), buffer_end(buffer)))
50 HeapWalker heap_walker(heap_); in TEST_F() local
52 ALLOCATION(heap_walker, buffer1); in TEST_F()
54 LeakFolding folding(heap_, heap_walker); in TEST_F()
74 HeapWalker heap_walker(heap_); in TEST_F() local
76 ALLOCATION(heap_walker, buffer1); in TEST_F()
77 ALLOCATION(heap_walker, buffer2); in TEST_F()
79 LeakFolding folding(heap_, heap_walker); in TEST_F()
103 HeapWalker heap_walker(heap_); in TEST_F() local
[all …]
/system/core/libmemunreachable/
DLeakFolding.h26 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) in LeakFolding() argument
28 heap_walker_(heap_walker), in LeakFolding()