Searched refs:data_pos (Results 1 – 3 of 3) sorted by relevance
207 size_t data_pos; in GetAvailableMmapData() local208 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() argument245 data_pos = read_head & (mmap_data_buffer_size_ - 1); in GetAvailableMmapDataSize()295 size_t data_pos = read_head & (aux_buffer_size_ - 1); in GetAvailableAuxData() local297 *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()
88 virtual size_t GetAvailableMmapDataSize(size_t& data_pos);
183 size_t data_pos = buffer.size() - 4; in TEST() local184 memcpy(&buffer[data_pos], records[0]->Binary(), 4); in TEST()194 EXPECT_CALL(event_fd, GetAvailableMmapDataSize(Truly(SetArg(data_pos)))) in TEST()