Searched refs:data_pos (Results 1 – 3 of 3) sorted by relevance
215 size_t data_pos; in GetAvailableMmapData() local216 size_t data_size = GetAvailableMmapDataSize(data_pos); in GetAvailableMmapData()219 size_t copy_size = std::min(data_size, mmap_data_buffer_size_ - data_pos); in GetAvailableMmapData()220 memcpy(&data[0], mmap_data_buffer_ + data_pos, copy_size); in GetAvailableMmapData()229 size_t EventFd::GetAvailableMmapDataSize(size_t& data_pos) { in GetAvailableMmapDataSize() argument253 data_pos = read_head & (mmap_data_buffer_size_ - 1); in GetAvailableMmapDataSize()303 size_t data_pos = read_head & (aux_buffer_size_ - 1); in GetAvailableAuxData() local305 *buf1 = aux_buffer_ + data_pos; in GetAvailableAuxData()306 if (data_size <= aux_buffer_size_ - data_pos) { in GetAvailableAuxData()310 *size1 = aux_buffer_size_ - data_pos; in GetAvailableAuxData()
86 virtual size_t GetAvailableMmapDataSize(size_t& data_pos);
181 size_t data_pos = buffer.size() - 4; in TEST() local182 memcpy(&buffer[data_pos], records[0]->Binary(), 4); in TEST()192 EXPECT_CALL(event_fd, GetAvailableMmapDataSize(Truly(SetArg(data_pos)))) in TEST()