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()
548 camera_metadata_entry e1, e2; in TEST() local
551 result = get_camera_metadata_entry(m, i, &e1); in TEST()
553 EXPECT_EQ(i, e1.index); in TEST()
556 EXPECT_EQ(e1.index, e2.index); in TEST()
557 EXPECT_EQ(e1.tag, e2.tag); in TEST()
558 EXPECT_EQ(e1.type, e2.type); in TEST()
559 EXPECT_EQ(e1.count, e2.count); in TEST()
561 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
563 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
628 camera_metadata_entry e1, e2; in TEST() local
630 result = get_camera_metadata_entry(m, i, &e1); in TEST()
632 EXPECT_EQ(i, e1.index); in TEST()
635 EXPECT_EQ(e1.index, e2.index); in TEST()
636 EXPECT_EQ(e1.tag, e2.tag); in TEST()
637 EXPECT_EQ(e1.type, e2.type); in TEST()
638 EXPECT_EQ(e1.count, e2.count); in TEST()
640 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
642 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
658 camera_metadata_entry e1, e2; in TEST() local
662 i % entry_capacity, &e1); in TEST()
664 EXPECT_EQ(i % entry_capacity, e1.index); in TEST()
669 EXPECT_EQ(e1.tag, e2.tag); in TEST()
670 EXPECT_EQ(e1.type, e2.type); in TEST()
671 EXPECT_EQ(e1.count, e2.count); in TEST()
673 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
675 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
738 camera_metadata_entry e1, e2; in TEST() local
741 result = get_camera_metadata_entry(m, i, &e1); in TEST()
743 EXPECT_EQ(i, e1.index); in TEST()
746 EXPECT_EQ(e1.index, e2.index); in TEST()
747 EXPECT_EQ(e1.tag, e2.tag); in TEST()
748 EXPECT_EQ(e1.type, e2.type); in TEST()
749 EXPECT_EQ(e1.count, e2.count); in TEST()
751 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
753 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
767 camera_metadata_entry e1, e2; in TEST() local
771 i % entry_capacity, &e1); in TEST()
773 EXPECT_EQ(i % entry_capacity, e1.index); in TEST()
777 EXPECT_EQ(e1.tag, e2.tag); in TEST()
778 EXPECT_EQ(e1.type, e2.type); in TEST()
779 EXPECT_EQ(e1.count, e2.count); in TEST()
781 j < e1.count * camera_metadata_type_size[e1.type]; in TEST()
783 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
1719 camera_metadata_entry_t e1, e2; in TEST() local
1721 result = get_camera_metadata_entry(m, i, &e1); in TEST()
1726 EXPECT_EQ(e1.index, e2.index); in TEST()
1727 EXPECT_EQ(e1.tag, e2.tag); in TEST()
1728 ASSERT_EQ(e1.type, e2.type); in TEST()
1729 ASSERT_EQ(e1.count, e2.count); in TEST()
1731 ASSERT_TRUE(!memcmp(e1.data.u8, e2.data.u8, in TEST()
1732 camera_metadata_type_size[e1.type] * e1.count)); in TEST()
1744 result = get_camera_metadata_entry(m, 0, &e1); in TEST()
1749 EXPECT_EQ(e1.index, e2.index); in TEST()
1750 EXPECT_EQ(e1.tag, e2.tag); in TEST()
1751 ASSERT_EQ(e1.type, e2.type); in TEST()
1752 ASSERT_EQ((size_t)2, e1.count); in TEST()
1754 EXPECT_EQ(100, e1.data.i64[0]); in TEST()
1755 EXPECT_EQ(200, e1.data.i64[1]); in TEST()
1766 result = get_camera_metadata_entry(m, 0, &e1); in TEST()
1771 EXPECT_EQ(e1.index, e2.index); in TEST()
1772 EXPECT_EQ(e1.tag, e2.tag); in TEST()
1773 ASSERT_EQ(e1.type, e2.type); in TEST()
1774 ASSERT_EQ((size_t)2, e1.count); in TEST()
1776 EXPECT_EQ(100, e1.data.i64[0]); in TEST()
1777 EXPECT_EQ(200, e1.data.i64[1]); in TEST()