Home
last modified time | relevance | path

Searched refs:data_pos (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Devent_fd.cpp208 size_t data_pos; in GetAvailableMmapData() local
209 size_t data_size = GetAvailableMmapDataSize(data_pos); in GetAvailableMmapData()
212 size_t copy_size = std::min(data_size, mmap_data_buffer_size_ - data_pos); in GetAvailableMmapData()
213 memcpy(&data[0], mmap_data_buffer_ + data_pos, copy_size); in GetAvailableMmapData()
222 size_t EventFd::GetAvailableMmapDataSize(size_t& data_pos) { in GetAvailableMmapDataSize() argument
244 data_pos = read_head & (mmap_data_buffer_size_ - 1); in GetAvailableMmapDataSize()
Devent_fd.h85 virtual size_t GetAvailableMmapDataSize(size_t& data_pos);
DRecordReadThread_test.cpp164 size_t data_pos = buffer.size() - 4; in TEST() local
165 memcpy(&buffer[data_pos], records[0]->Binary(), 4); in TEST()
175 EXPECT_CALL(event_fd, GetAvailableMmapDataSize(Truly(SetArg(data_pos)))) in TEST()