Lines Matching refs:u16ary
366 uint16_t *u16ary = new uint16_t[65536]; in TEST() local
375 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0])); in TEST()
376 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
378 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
383 memset(u16ary, 0, 65536 * sizeof(u16ref[0])); in TEST()
384 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
386 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
390 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0])); in TEST()
391 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), 555); in TEST()
392 EXPECT_EQ(0, memcmp(u16ary, u16ref, 555 * sizeof(u16ref[0]) * __builtin_popcount(dst_mask))); in TEST()
398 memset(u16ary, 0x9, 65536 * sizeof(u16ary[0])); in TEST()
399 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
401 checkMonotoneOrZero(u16ary, 65536); in TEST()
402 EXPECT_EQ((size_t)(65536 * 3 / 4 - 1), nonZeroMono16((int16_t*)u16ary, 65536)); in TEST()
408 memset(u16ary, 0x9, 65536 * sizeof(u16ary[0])); in TEST()
409 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
411 checkMonotone(u16ary, 65536 * 3 / 4); in TEST()
414 delete[] u16ary; in TEST()
437 uint16_t *u16ary = new uint16_t[65536]; in TEST() local
456 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
457 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
465 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
466 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
481 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
482 checkMonotoneOrZero(u16ary, 65536); in TEST()
483 EXPECT_EQ((size_t)(65536 * 3 / 4 - 1), nonZeroMono16((int16_t*)u16ary, 65536)); in TEST()
492 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
493 checkMonotone(u16ary, 65536 * 3 / 4); in TEST()
496 delete[] u16ary; in TEST()
521 uint16_t *u16ary = new uint16_t[65536]; in TEST() local
540 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
541 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
549 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
550 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
566 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
567 checkMonotoneOrZero(u16ary, 65536); in TEST()
568 EXPECT_EQ((size_t)(65536 * 3 / 4 - 1), nonZeroMono16((int16_t*)u16ary, 65536)); in TEST()
577 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
578 checkMonotone(u16ary, 65536 * 3 / 4); in TEST()
581 delete[] u16ary; in TEST()
606 uint16_t *u16ary = new uint16_t[65536]; in TEST() local
625 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
626 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
634 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
635 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530)); in TEST()
658 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
659 checkMonotoneOrZero(u16ary, 65536); in TEST()
660 EXPECT_EQ((size_t)(65536 * 3 / 4 - 1), nonZeroMono16((int16_t*)u16ary, 65536)); in TEST()
669 memcpy_to_i16_from_p24((int16_t*)u16ary, (uint8_t*)u24ary, 65536); in TEST()
670 checkMonotone(u16ary, 65536 * 3 / 4); in TEST()
673 delete[] u16ary; in TEST()