Searched refs:buffer_begin (Results 1 – 2 of 2) sorted by relevance
/system/memory/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 94 #define buffer_begin(buffer) reinterpret_cast<uintptr_t>(buffer) macro 104 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F() 116 EXPECT_EQ(buffer_begin(buffer2), leaked[0].begin); in TEST_F() 131 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F() 132 heap_walker.Root(buffer_begin(buffer1), buffer_end(buffer1)); in TEST_F() 159 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F() 160 heap_walker.Root(buffer_begin(buffer1) + i, buffer_end(buffer1) - j); in TEST_F() 184 heap_walker.Allocation(buffer_begin(buffer1), buffer_end(buffer1)); in TEST_F() 185 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F() 208 heap_walker.Allocation(buffer_begin(buffer1), buffer_begin(buffer1) + page_size); in TEST_F() [all …]
|
D | LeakFolding_test.cpp | 42 #define buffer_begin(buffer) reinterpret_cast<uintptr_t>(&(buffer)[0]) macro 45 ASSERT_EQ(true, (heap_walker).Allocation(buffer_begin(buffer), buffer_end(buffer)))
|