Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/common/vsoc/lib/
Dcircqueue_impl.h45 size_t part1_size = BufferSize - index; in CopyInRange() local
46 size_t part2_size = bytes - part1_size; in CopyInRange()
47 std::memcpy(buffer_ + index, buffer_in, part1_size); in CopyInRange()
48 std::memcpy(buffer_, buffer_in + part1_size, part2_size); in CopyInRange()
60 uint32_t part1_size = BufferSize - index; in CopyOutRange() local
61 uint32_t part2_size = total_size - part1_size; in CopyOutRange()
62 std::memcpy(buffer_out, buffer_ + index, part1_size); in CopyOutRange()
63 std::memcpy(buffer_out + part1_size, buffer_, part2_size); in CopyOutRange()