Searched refs:src_offset (Results 1 – 2 of 2) sorted by relevance
114 uint64_t src_offset = 0, dst_offset = 0; in RemoveIdenticalBlockRanges() local120 src_offset = 0; in RemoveIdenticalBlockRanges()128 do_remove = ((*src_extents)[src_idx].start_block() + src_offset == in RemoveIdenticalBlockRanges()133 uint64_t min_num_blocks = std::min(src_num_blocks - src_offset, in RemoveIdenticalBlockRanges()135 uint64_t prev_src_offset = src_offset; in RemoveIdenticalBlockRanges()137 src_offset += min_num_blocks; in RemoveIdenticalBlockRanges()141 prev_src_offset, src_offset); in RemoveIdenticalBlockRanges()
214 size_t* src_offset, in ReadDataFromBuffer() argument216 size_t end_offset = *src_offset + size / sizeof(*buffer.ptr); in ReadDataFromBuffer()222 memcpy(dest, buffer.ptr + *src_offset, size); in ReadDataFromBuffer()223 *src_offset = end_offset; in ReadDataFromBuffer()