Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddelta_diff_utils.cc114 uint64_t src_offset = 0, dst_offset = 0; in RemoveIdenticalBlockRanges() local
120 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()
/system/extras/perfprofd/quipper/
Dperf_reader.cc214 size_t* src_offset, in ReadDataFromBuffer() argument
216 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()