Home
last modified time | relevance | path

Searched refs:buffer_begin (Results 1 – 2 of 2) sorted by relevance

/system/core/libmemunreachable/tests/
DHeapWalker_test.cpp74 #define buffer_begin(buffer) reinterpret_cast<uintptr_t>(buffer) macro
84 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F()
96 EXPECT_EQ(buffer_begin(buffer2), leaked[0].begin); in TEST_F()
111 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F()
112 heap_walker.Root(buffer_begin(buffer1), buffer_end(buffer1)); in TEST_F()
139 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F()
140 heap_walker.Root(buffer_begin(buffer1) + i, buffer_end(buffer1) - j); in TEST_F()
164 heap_walker.Allocation(buffer_begin(buffer1), buffer_end(buffer1)); in TEST_F()
165 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F()
188 heap_walker.Allocation(buffer_begin(buffer1), buffer_begin(buffer1)+page_size); in TEST_F()
[all …]
DLeakFolding_test.cpp40 #define buffer_begin(buffer) reinterpret_cast<uintptr_t>(&(buffer)[0]) macro
43 ASSERT_EQ(true, (heap_walker).Allocation(buffer_begin(buffer), buffer_end(buffer)))