Home
last modified time | relevance | path

Searched refs:src_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()
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()
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc120 size_t src_idx = 0; in RemoveIdenticalBlockRanges() local
125 while (src_idx < src_extents->size() && dst_idx < dst_extents->size()) { in RemoveIdenticalBlockRanges()
126 do_remove = ((*src_extents)[src_idx].start_block() + src_offset == in RemoveIdenticalBlockRanges()
129 uint64_t src_num_blocks = (*src_extents)[src_idx].num_blocks(); in RemoveIdenticalBlockRanges()
138 bool new_src = ProcessExtentBlockRange(src_extents, &src_idx, do_remove, in RemoveIdenticalBlockRanges()
/system/update_engine/scripts/update_payload/
Dchecker.py764 src_idx = src_num = dst_idx = dst_num = 0
773 src_idx = src_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:
797 (op_name, i, src_idx))
802 src_idx += advance