Lines Matching refs:e1
490 camera_metadata_entry e1, e2; in TEST() local
492 result = get_camera_metadata_entry(m, i, &e1); in TEST()
496 EXPECT_EQ(e1.index, e2.index); in TEST()
497 EXPECT_EQ(e1.tag, e2.tag); in TEST()
498 EXPECT_EQ(e1.type, e2.type); in TEST()
499 EXPECT_EQ(e1.count, e2.count); in TEST()
501 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
503 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
546 camera_metadata_entry e1, e2; in TEST() local
549 result = get_camera_metadata_entry(m, i, &e1); in TEST()
551 EXPECT_EQ(i, e1.index); in TEST()
554 EXPECT_EQ(e1.index, e2.index); in TEST()
555 EXPECT_EQ(e1.tag, e2.tag); in TEST()
556 EXPECT_EQ(e1.type, e2.type); in TEST()
557 EXPECT_EQ(e1.count, e2.count); in TEST()
559 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
561 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
624 camera_metadata_entry e1, e2; in TEST() local
626 result = get_camera_metadata_entry(m, i, &e1); in TEST()
628 EXPECT_EQ(i, e1.index); in TEST()
631 EXPECT_EQ(e1.index, e2.index); in TEST()
632 EXPECT_EQ(e1.tag, e2.tag); in TEST()
633 EXPECT_EQ(e1.type, e2.type); in TEST()
634 EXPECT_EQ(e1.count, e2.count); in TEST()
636 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
638 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
654 camera_metadata_entry e1, e2; in TEST() local
658 i % entry_capacity, &e1); in TEST()
660 EXPECT_EQ(i % entry_capacity, e1.index); in TEST()
665 EXPECT_EQ(e1.tag, e2.tag); in TEST()
666 EXPECT_EQ(e1.type, e2.type); in TEST()
667 EXPECT_EQ(e1.count, e2.count); in TEST()
669 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
671 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
734 camera_metadata_entry e1, e2; in TEST() local
737 result = get_camera_metadata_entry(m, i, &e1); in TEST()
739 EXPECT_EQ(i, e1.index); in TEST()
742 EXPECT_EQ(e1.index, e2.index); in TEST()
743 EXPECT_EQ(e1.tag, e2.tag); in TEST()
744 EXPECT_EQ(e1.type, e2.type); in TEST()
745 EXPECT_EQ(e1.count, e2.count); in TEST()
747 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
749 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
763 camera_metadata_entry e1, e2; in TEST() local
767 i % entry_capacity, &e1); in TEST()
769 EXPECT_EQ(i % entry_capacity, e1.index); in TEST()
773 EXPECT_EQ(e1.tag, e2.tag); in TEST()
774 EXPECT_EQ(e1.type, e2.type); in TEST()
775 EXPECT_EQ(e1.count, e2.count); in TEST()
777 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
779 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
1715 camera_metadata_entry_t e1, e2; in TEST() local
1717 result = get_camera_metadata_entry(m, i, &e1); in TEST()
1722 EXPECT_EQ(e1.index, e2.index); in TEST()
1723 EXPECT_EQ(e1.tag, e2.tag); in TEST()
1724 ASSERT_EQ(e1.type, e2.type); in TEST()
1725 ASSERT_EQ(e1.count, e2.count); in TEST()
1727 ASSERT_TRUE(!memcmp(e1.data.u8, e2.data.u8, in TEST()
1728 camera_metadata_type_size[e1.type] * e1.count)); in TEST()
1740 result = get_camera_metadata_entry(m, 0, &e1); in TEST()
1745 EXPECT_EQ(e1.index, e2.index); in TEST()
1746 EXPECT_EQ(e1.tag, e2.tag); in TEST()
1747 ASSERT_EQ(e1.type, e2.type); in TEST()
1748 ASSERT_EQ((size_t)2, e1.count); in TEST()
1750 EXPECT_EQ(100, e1.data.i64[0]); in TEST()
1751 EXPECT_EQ(200, e1.data.i64[1]); in TEST()
1762 result = get_camera_metadata_entry(m, 0, &e1); in TEST()
1767 EXPECT_EQ(e1.index, e2.index); in TEST()
1768 EXPECT_EQ(e1.tag, e2.tag); in TEST()
1769 ASSERT_EQ(e1.type, e2.type); in TEST()
1770 ASSERT_EQ((size_t)2, e1.count); in TEST()
1772 EXPECT_EQ(100, e1.data.i64[0]); in TEST()
1773 EXPECT_EQ(200, e1.data.i64[1]); in TEST()