Home
last modified time | relevance | path

Searched refs:src_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()
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.cc112 size_t src_idx = 0; in RemoveIdenticalBlockRanges() local
118 while (src_idx < src_extents->size() && dst_idx < dst_extents->size()) { in RemoveIdenticalBlockRanges()
128 do_remove = ((*src_extents)[src_idx].start_block() + src_offset == in RemoveIdenticalBlockRanges()
131 uint64_t src_num_blocks = (*src_extents)[src_idx].num_blocks(); in RemoveIdenticalBlockRanges()
140 new_src = ProcessExtentBlockRange(src_extents, &src_idx, do_remove, in RemoveIdenticalBlockRanges()