Searched refs:buffer_end (Results 1 – 4 of 4) sorted by relevance
/system/memory/libmemunreachable/tests/ |
D | HeapWalker_test.cpp | 95 #define buffer_end(buffer) (reinterpret_cast<uintptr_t>(buffer) + sizeof(buffer)) macro 104 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F() 117 EXPECT_EQ(buffer_end(buffer2), leaked[0].end); 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() 209 heap_walker.Root(buffer_begin(buffer2), buffer_end(buffer2)); in TEST_F()
|
D | LeakFolding_test.cpp | 43 #define buffer_end(buffer) (reinterpret_cast<uintptr_t>(&(buffer)[0]) + sizeof(buffer)) macro 45 ASSERT_EQ(true, (heap_walker).Allocation(buffer_begin(buffer), buffer_end(buffer)))
|
/system/core/libcutils/ |
D | record_stream.cpp | 42 unsigned char *buffer_end; member 60 ret->buffer_end = ret->buffer + maxRecordLen + HEADER_SIZE; in record_stream_new() 145 && p_rs->read_end == p_rs->buffer_end in record_stream_get_next() 167 countRead = read (p_rs->fd, p_rs->read_end, p_rs->buffer_end - p_rs->read_end); in record_stream_get_next()
|
/system/extras/simpleperf/ |
D | ETMDecoder.cpp | 247 address + *num_bytes <= data.buffer_end) { in ReadTargetMemory() 278 data.buffer_end = map->get_end_addr(); in ReadTargetMemory() 300 uint64_t buffer_end = 0; member
|