Home
last modified time | relevance | path

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

/system/memory/libmemunreachable/tests/
DHeapWalker_test.cpp99 char buffer2[16]{}; in TEST_F() local
100 buffer1[0] = &buffer2[0] - sizeof(void*); in TEST_F()
101 buffer1[1] = &buffer2[15] + sizeof(void*); in TEST_F()
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()
117 EXPECT_EQ(buffer_end(buffer2), leaked[0].end); in TEST_F()
127 char buffer2[to_buffer_bytes]{}; in TEST_F() local
128 buffer1[i] = &buffer2[j]; in TEST_F()
131 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F()
152 char buffer2[to_buffer_bytes]{}; in TEST_F() local
[all …]
DLeakFolding_test.cpp72 void* buffer2[1] = {nullptr}; in TEST_F() local
77 ALLOCATION(heap_walker, buffer2); in TEST_F()
99 void* buffer2[1] = {nullptr}; in TEST_F() local
101 buffer1[0] = buffer2; in TEST_F()
106 ALLOCATION(heap_walker, buffer2); in TEST_F()
126 void* buffer2[1]; in TEST_F() local
129 buffer1[0] = buffer2; in TEST_F()
130 buffer2[0] = buffer3; in TEST_F()
131 buffer3[0] = buffer2; in TEST_F()
136 ALLOCATION(heap_walker, buffer2); in TEST_F()
[all …]