Home
last modified time | relevance | path

Searched refs:buffer_end (Results 1 – 4 of 4) sorted by relevance

/system/memory/libmemunreachable/tests/
DHeapWalker_test.cpp95 #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()
DLeakFolding_test.cpp43 #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/
Drecord_stream.cpp42 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/
DETMDecoder.cpp245 address + *num_bytes <= data.buffer_end) { in ReadTargetMemory()
270 data.buffer_end = map->get_end_addr(); in ReadTargetMemory()
291 uint64_t buffer_end = 0; member