Lines Matching refs:entry_capacity
51 const size_t entry_capacity = 5; in TEST() local
54 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
58 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
113 const size_t entry_capacity = 5; in TEST() local
116 size_t buf_size = calculate_camera_metadata_size(entry_capacity, in TEST()
125 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); in TEST()
129 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
142 const size_t entry_capacity = 5; in TEST() local
145 size_t buf_size = calculate_camera_metadata_size(entry_capacity, in TEST()
156 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); in TEST()
167 const size_t entry_capacity = 5; in TEST() local
171 size_t buf_size = calculate_camera_metadata_size(entry_capacity, in TEST()
182 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity); in TEST()
186 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
198 const size_t entry_capacity = 5; in TEST() local
201 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
203 EXPECT_EQ(calculate_camera_metadata_size(entry_capacity, data_capacity), in TEST()
214 const size_t entry_capacity = 5; in TEST() local
217 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
357 EXPECT_EQ(calculate_camera_metadata_size(entry_capacity, data_capacity), in TEST()
396 const size_t entry_capacity = 5; in TEST() local
400 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
402 add_test_metadata(m, entry_capacity); in TEST()
412 for (unsigned int i=0; i < entry_capacity; i++) { in TEST()
428 entry_capacity, &entry); in TEST()
444 const size_t entry_capacity = 5; in TEST() local
446 size_t data_used = entry_capacity * calculate_camera_metadata_entry_data_size( in TEST()
448 m = allocate_camera_metadata(entry_capacity + 1, data_used); in TEST()
451 add_test_metadata(m, entry_capacity); in TEST()
464 const size_t entry_capacity = 50; in TEST() local
467 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
469 add_test_metadata(m, entry_capacity); in TEST()
515 const size_t entry_capacity = 12; in TEST() local
520 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
522 add_test_metadata(m, entry_capacity); in TEST()
573 const size_t entry_capacity = 5; in TEST() local
576 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
578 add_test_metadata(m, entry_capacity); in TEST()
598 const size_t entry_capacity = 5; in TEST() local
603 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
605 add_test_metadata(m, entry_capacity); in TEST()
609 m2 = allocate_camera_metadata(entry_capacity*2, data_capacity*2); in TEST()
620 EXPECT_EQ(entry_capacity*2, get_camera_metadata_entry_capacity(m2)); in TEST()
650 EXPECT_EQ(entry_capacity*2, get_camera_metadata_entry_capacity(m2)); in TEST()
658 i % entry_capacity, &e1); in TEST()
660 EXPECT_EQ(i % entry_capacity, e1.index); in TEST()
681 const size_t entry_capacity = 5; in TEST() local
686 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
688 add_test_metadata(m, entry_capacity); in TEST()
692 m2 = allocate_camera_metadata(entry_capacity-1, data_capacity); in TEST()
707 const size_t entry_capacity = 5; in TEST() local
709 const size_t entry_capacity2 = entry_capacity * 2 - 2; in TEST()
713 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
715 add_test_metadata(m, entry_capacity); in TEST()
756 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_count(m2)); in TEST()
767 i % entry_capacity, &e1); in TEST()
769 EXPECT_EQ(i % entry_capacity, e1.index); in TEST()
789 const size_t entry_capacity = 5; in TEST() local
793 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
963 const size_t entry_capacity = 5; in TEST() local
968 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
1077 const size_t entry_capacity = 50; in TEST() local
1082 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
1101 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1109 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1134 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1153 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1164 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1195 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1216 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1234 const size_t entry_capacity = 50; in TEST() local
1239 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
1372 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
1686 const size_t entry_capacity = 50; in TEST() local
1691 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
1786 const size_t entry_capacity = 50; in TEST() local
1840 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
1876 const size_t entry_capacity = 50; in TEST() local
1882 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()