Home
last modified time | relevance | path

Searched refs:dst_idx (Results 1 – 3 of 3) 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.cc121 size_t dst_idx = 0; in RemoveIdenticalBlockRanges() local
125 while (src_idx < src_extents->size() && dst_idx < dst_extents->size()) { in RemoveIdenticalBlockRanges()
127 (*dst_extents)[dst_idx].start_block() + dst_offset); in RemoveIdenticalBlockRanges()
130 uint64_t dst_num_blocks = (*dst_extents)[dst_idx].num_blocks(); in RemoveIdenticalBlockRanges()
140 bool new_dst = ProcessExtentBlockRange(dst_extents, &dst_idx, do_remove, in RemoveIdenticalBlockRanges()
/system/update_engine/scripts/update_payload/
Dchecker.py764 src_idx = src_num = dst_idx = dst_num = 0
783 dst_idx = dst_extent.start_block
789 if src_idx == 0 or dst_idx == 0:
794 if self.check_move_same_src_dst_block and src_idx == dst_idx:
807 dst_idx += advance