Searched refs:dst_idx (Results 1 – 1 of 1) sorted by relevance
559 size_t src_idx, dst_idx; in memcpy_by_index_array_initialization_src_index() local560 for (src_idx = 0, dst_idx = 0; dst_idx < dst_count; ++dst_idx) { in memcpy_by_index_array_initialization_src_index()562 idxary[dst_idx] = src_idx++; in memcpy_by_index_array_initialization_src_index()564 idxary[dst_idx] = -1; in memcpy_by_index_array_initialization_src_index()568 return dst_idx; in memcpy_by_index_array_initialization_src_index()573 size_t src_idx, dst_idx; in memcpy_by_index_array_initialization_dst_index() local582 for (src_idx = 0, dst_idx = 0; dst_idx < dst_count; ++src_idx) { in memcpy_by_index_array_initialization_dst_index()584 idxary[dst_idx++] = src_idx < src_count ? (signed)src_idx : -1; in memcpy_by_index_array_initialization_dst_index()588 return dst_idx; in memcpy_by_index_array_initialization_dst_index()