Home | History | Annotate | Download | only in tests

Lines Matching refs:entry_capacity

47     const size_t entry_capacity = 5;
50 m = allocate_camera_metadata(entry_capacity, data_capacity);
54 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
87 const size_t entry_capacity = 5;
90 size_t buf_size = calculate_camera_metadata_size(entry_capacity,
99 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity);
103 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
116 const size_t entry_capacity = 5;
119 size_t buf_size = calculate_camera_metadata_size(entry_capacity,
130 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity);
141 const size_t entry_capacity = 5;
145 size_t buf_size = calculate_camera_metadata_size(entry_capacity,
156 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity);
160 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
172 const size_t entry_capacity = 5;
175 m = allocate_camera_metadata(entry_capacity, data_capacity);
177 EXPECT_EQ(calculate_camera_metadata_size(entry_capacity, data_capacity),
188 const size_t entry_capacity = 5;
191 m = allocate_camera_metadata(entry_capacity, data_capacity);
296 EXPECT_EQ(calculate_camera_metadata_size(entry_capacity, data_capacity),
335 const size_t entry_capacity = 5;
339 m = allocate_camera_metadata(entry_capacity, data_capacity);
341 add_test_metadata(m, entry_capacity);
351 for (unsigned int i=0; i < entry_capacity; i++) {
367 entry_capacity, &entry);
383 const size_t entry_capacity = 5;
385 size_t data_used = entry_capacity * calculate_camera_metadata_entry_data_size(
387 m = allocate_camera_metadata(entry_capacity + 1, data_used);
390 add_test_metadata(m, entry_capacity);
403 const size_t entry_capacity = 50;
408 m = allocate_camera_metadata(entry_capacity, data_capacity);
410 add_test_metadata(m, entry_capacity);
456 const size_t entry_capacity = 12;
463 m = allocate_camera_metadata(entry_capacity, data_capacity);
465 add_test_metadata(m, entry_capacity);
516 const size_t entry_capacity = 5;
521 m = allocate_camera_metadata(entry_capacity, data_capacity);
523 add_test_metadata(m, entry_capacity);
543 const size_t entry_capacity = 5;
548 m = allocate_camera_metadata(entry_capacity, data_capacity);
550 add_test_metadata(m, entry_capacity);
554 m2 = allocate_camera_metadata(entry_capacity*2, data_capacity*2);
565 EXPECT_EQ(entry_capacity*2, get_camera_metadata_entry_capacity(m2));
595 EXPECT_EQ(entry_capacity*2, get_camera_metadata_entry_capacity(m2));
603 i % entry_capacity, &e1);
605 EXPECT_EQ(i % entry_capacity, e1.index);
626 const size_t entry_capacity = 5;
631 m = allocate_camera_metadata(entry_capacity, data_capacity);
633 add_test_metadata(m, entry_capacity);
637 m2 = allocate_camera_metadata(entry_capacity-1, data_capacity);
652 const size_t entry_capacity = 5;
654 const size_t entry_capacity2 = entry_capacity * 2 - 2;
658 m = allocate_camera_metadata(entry_capacity, data_capacity);
660 add_test_metadata(m, entry_capacity);
701 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_count(m2));
712 i % entry_capacity, &e1);
714 EXPECT_EQ(i % entry_capacity, e1.index);
734 const size_t entry_capacity = 5;
738 m = allocate_camera_metadata(entry_capacity, data_capacity);
908 const size_t entry_capacity = 5;
913 m = allocate_camera_metadata(entry_capacity, data_capacity);
1022 const size_t entry_capacity = 50;
1027 m = allocate_camera_metadata(entry_capacity, data_capacity);
1046 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1054 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1079 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1098 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1109 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1140 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1161 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1179 const size_t entry_capacity = 50;
1184 m = allocate_camera_metadata(entry_capacity, data_capacity);
1317 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m));
1631 const size_t entry_capacity = 50;
1636 m = allocate_camera_metadata(entry_capacity, data_capacity);
1680 const size_t entry_capacity = 50;
1685 m = allocate_camera_metadata(entry_capacity, data_capacity);
1780 const size_t entry_capacity = 50;
1834 m = allocate_camera_metadata(entry_capacity, data_capacity);