Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp207 size_t data_pos; in GetAvailableMmapData() local
208 size_t data_size = GetAvailableMmapDataSize(data_pos); in GetAvailableMmapData()
211 size_t copy_size = std::min(data_size, mmap_data_buffer_size_ - data_pos); in GetAvailableMmapData()
212 memcpy(&data[0], mmap_data_buffer_ + data_pos, copy_size); in GetAvailableMmapData()
221 size_t EventFd::GetAvailableMmapDataSize(size_t& data_pos) { in GetAvailableMmapDataSize() argument
245 data_pos = read_head & (mmap_data_buffer_size_ - 1); in GetAvailableMmapDataSize()
295 size_t data_pos = read_head & (aux_buffer_size_ - 1); in GetAvailableAuxData() local
297 *buf1 = aux_buffer_ + data_pos; in GetAvailableAuxData()
298 if (data_size <= aux_buffer_size_ - data_pos) { in GetAvailableAuxData()
302 *size1 = aux_buffer_size_ - data_pos; in GetAvailableAuxData()
Devent_fd.h88 virtual size_t GetAvailableMmapDataSize(size_t& data_pos);
DRecordReadThread_test.cpp183 size_t data_pos = buffer.size() - 4; in TEST() local
184 memcpy(&buffer[data_pos], records[0]->Binary(), 4); in TEST()
194 EXPECT_CALL(event_fd, GetAvailableMmapDataSize(Truly(SetArg(data_pos)))) in TEST()