Lines Matching refs:dst_mask
345 uint32_t dst_mask;
356 dst_mask = 0x8d;
358 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]),
359 65536 / popcount(dst_mask));
362 // Test when dst_mask is 0. Nothing should be copied.
364 dst_mask = 0;
366 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]),
371 src_mask = dst_mask = 0x8d;
373 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), 555);
374 EXPECT_EQ(0, memcmp(u16ary, u16ref, 555 * sizeof(u16ref[0]) * popcount(dst_mask)));
379 dst_mask = 0x8d;
381 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]),
382 65536 / popcount(dst_mask));
389 dst_mask = 0x8c;
391 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]),
399 void memcpy_by_channel_mask2(void *dst, uint32_t dst_mask,
405 memcpy_by_index_array_initialization(idxary, 32, dst_mask, src_mask);
413 uint32_t dst_mask;
434 dst_mask = 0x8d;
436 memcpy_by_channel_mask2(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
437 65536 / popcount(dst_mask));
441 // Test when dst_mask is 0. Nothing should be copied.
443 dst_mask = 0;
445 memcpy_by_channel_mask2(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
451 src_mask = dst_mask = 0x8d;
453 memcpy_by_channel_mask2(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]), 555);
454 EXPECT_EQ(0, memcmp(u24ary, u24ref, 555 * sizeof(u24ref[0]) * popcount(dst_mask)));
459 dst_mask = 0x8d;
461 memcpy_by_channel_mask2(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
462 65536 / popcount(dst_mask));
470 dst_mask = 0x8c;
472 memcpy_by_channel_mask2(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
483 void memcpy_by_channel_mask_dst_index(void *dst, uint32_t dst_mask,
489 memcpy_by_index_array_initialization_dst_index(idxary, 32, dst_mask, src_mask);
497 uint32_t dst_mask;
518 dst_mask = 0x8d;
520 memcpy_by_channel_mask_dst_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
521 65536 / popcount(dst_mask));
525 // Test when dst_mask is 0. Nothing should be copied.
527 dst_mask = 0;
529 memcpy_by_channel_mask_dst_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
536 dst_mask = 0x0f;
538 memcpy_by_channel_mask_dst_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]), 555);
539 EXPECT_EQ(0, memcmp(u24ary, u24ref, 555 * sizeof(u24ref[0]) * popcount(dst_mask)));
544 dst_mask = 0x0f;
546 memcpy_by_channel_mask_dst_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
547 65536 / popcount(dst_mask));
555 dst_mask = 0x07;
557 memcpy_by_channel_mask_dst_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
568 void memcpy_by_channel_mask_src_index(void *dst, uint32_t dst_mask,
574 memcpy_by_index_array_initialization_src_index(idxary, 32, dst_mask, src_mask);
582 uint32_t dst_mask;
603 dst_mask = 0x8d;
605 memcpy_by_channel_mask_src_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
606 65536 / popcount(dst_mask));
610 // Test when dst_mask is 0. Nothing should be copied.
612 dst_mask = 0;
614 memcpy_by_channel_mask_src_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
621 dst_mask = 0xf;
623 memcpy_by_channel_mask_src_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]), 555);
624 EXPECT_EQ(0, memcmp(u24ary, u24ref, 555 * sizeof(u24ref[0]) * popcount(dst_mask)));
628 dst_mask = 0x8d;
630 memcpy_by_channel_mask_src_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]), 555);
631 EXPECT_EQ(0, memcmp(u24ary, u24ref, 555 * sizeof(u24ref[0]) * popcount(dst_mask)));
636 dst_mask = 0x8d;
638 memcpy_by_channel_mask_src_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),
639 65536 / popcount(dst_mask));
647 dst_mask = 0x8c;
649 memcpy_by_channel_mask_src_index(u24ary, dst_mask, u24ref, src_mask, sizeof(u24ref[0]),