Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dprimitives.c496 size_t src_idx, dst_idx; in memcpy_by_index_array_initialization_src_index() local
497 for (src_idx = 0, dst_idx = 0; dst_idx < dst_count; ++dst_idx) { in memcpy_by_index_array_initialization_src_index()
499 idxary[dst_idx] = src_idx++; in memcpy_by_index_array_initialization_src_index()
501 idxary[dst_idx] = -1; in memcpy_by_index_array_initialization_src_index()
505 return dst_idx; in memcpy_by_index_array_initialization_src_index()
510 size_t src_idx, dst_idx; in memcpy_by_index_array_initialization_dst_index() local
519 for (src_idx = 0, dst_idx = 0; dst_idx < dst_count; ++src_idx) { in memcpy_by_index_array_initialization_dst_index()
521 idxary[dst_idx++] = src_idx < src_count ? (signed)src_idx : -1; in memcpy_by_index_array_initialization_dst_index()
525 return dst_idx; in memcpy_by_index_array_initialization_dst_index()
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc113 size_t dst_idx = 0; in RemoveIdenticalBlockRanges() local
118 while (src_idx < src_extents->size() && dst_idx < dst_extents->size()) { in RemoveIdenticalBlockRanges()
129 (*dst_extents)[dst_idx].start_block() + dst_offset); in RemoveIdenticalBlockRanges()
132 uint64_t dst_num_blocks = (*dst_extents)[dst_idx].num_blocks(); in RemoveIdenticalBlockRanges()
142 new_dst = ProcessExtentBlockRange(dst_extents, &dst_idx, do_remove, in RemoveIdenticalBlockRanges()