Lines Matching refs:result

221     int result;  in TEST()  local
228 result = add_camera_metadata_entry(m, in TEST()
231 EXPECT_EQ(OK, result); in TEST()
241 result = add_camera_metadata_entry(m, in TEST()
244 EXPECT_EQ(OK, result); in TEST()
254 result = add_camera_metadata_entry(m, in TEST()
257 EXPECT_EQ(OK, result); in TEST()
267 result = add_camera_metadata_entry(m, in TEST()
270 EXPECT_EQ(OK, result); in TEST()
286 result = add_camera_metadata_entry(m, in TEST()
289 EXPECT_EQ(OK, result); in TEST()
302 result = get_camera_metadata_entry(m, in TEST()
304 EXPECT_EQ(OK, result); in TEST()
312 result = get_camera_metadata_entry(m, in TEST()
314 EXPECT_EQ(OK, result); in TEST()
322 result = get_camera_metadata_entry(m, in TEST()
324 EXPECT_EQ(OK, result); in TEST()
332 result = get_camera_metadata_entry(m, in TEST()
334 EXPECT_EQ(OK, result); in TEST()
344 result = get_camera_metadata_entry(m, in TEST()
346 EXPECT_EQ(OK, result); in TEST()
374 int result; in add_test_metadata() local
380 result = add_camera_metadata_entry(m, in add_test_metadata()
383 EXPECT_EQ(OK, result); in add_test_metadata()
398 int result; in TEST() local
405 result = add_camera_metadata_entry(m, in TEST()
409 EXPECT_EQ(ERROR, result); in TEST()
414 result = get_camera_metadata_entry(m, in TEST()
416 EXPECT_EQ(OK, result); in TEST()
427 result = get_camera_metadata_entry(m, in TEST()
429 EXPECT_EQ(ERROR, result); in TEST()
445 int result; in TEST() local
454 result = add_camera_metadata_entry(m, in TEST()
457 EXPECT_EQ(ERROR, result); in TEST()
491 int result; in TEST() local
492 result = get_camera_metadata_entry(m, i, &e1); in TEST()
493 EXPECT_EQ(OK, result); in TEST()
494 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
495 EXPECT_EQ(OK, result); in TEST()
548 int result; in TEST() local
549 result = get_camera_metadata_entry(m, i, &e1); in TEST()
550 EXPECT_EQ(OK, result); in TEST()
552 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
553 EXPECT_EQ(OK, result); in TEST()
601 int result; in TEST() local
612 result = append_camera_metadata(m2, m); in TEST()
614 EXPECT_EQ(OK, result); in TEST()
625 int result; in TEST() local
626 result = get_camera_metadata_entry(m, i, &e1); in TEST()
627 EXPECT_EQ(OK, result); in TEST()
629 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
630 EXPECT_EQ(OK, result); in TEST()
642 result = append_camera_metadata(m2, m); in TEST()
644 EXPECT_EQ(OK, result); in TEST()
656 int result; in TEST() local
657 result = get_camera_metadata_entry(m, in TEST()
659 EXPECT_EQ(OK, result); in TEST()
661 result = get_camera_metadata_entry(m2, in TEST()
663 EXPECT_EQ(OK, result); in TEST()
684 int result; in TEST() local
695 result = append_camera_metadata(m2, m); in TEST()
697 EXPECT_EQ(ERROR, result); in TEST()
711 int result; in TEST() local
722 result = append_camera_metadata(m2, m); in TEST()
724 EXPECT_EQ(OK, result); in TEST()
736 int result; in TEST() local
737 result = get_camera_metadata_entry(m, i, &e1); in TEST()
738 EXPECT_EQ(OK, result); in TEST()
740 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
741 EXPECT_EQ(OK, result); in TEST()
753 result = append_camera_metadata(m2, m); in TEST()
755 EXPECT_EQ(ERROR, result); in TEST()
765 int result; in TEST() local
766 result = get_camera_metadata_entry(m, in TEST()
768 EXPECT_EQ(OK, result); in TEST()
770 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
771 EXPECT_EQ(OK, result); in TEST()
791 int result; in TEST() local
796 result = add_camera_metadata_entry(m, in TEST()
799 EXPECT_EQ(ERROR, result); in TEST()
802 result = add_camera_metadata_entry(m, in TEST()
805 EXPECT_EQ(OK, result); in TEST()
814 result = add_camera_metadata_entry(m, in TEST()
817 EXPECT_EQ(OK, result); in TEST()
820 result = add_camera_metadata_entry(m, in TEST()
823 EXPECT_EQ(OK, result); in TEST()
826 result = add_camera_metadata_entry(m, in TEST()
829 EXPECT_EQ(ERROR, result); in TEST()
848 result = add_camera_metadata_entry(m, in TEST()
851 EXPECT_EQ(ERROR, result); in TEST()
854 result = add_camera_metadata_entry(m, in TEST()
857 EXPECT_EQ(OK, result); in TEST()
897 int result; in TEST() local
945 result = add_camera_metadata_entry(m, in TEST()
949 ASSERT_EQ(OK, result); in TEST()
966 int result; in TEST() local
977 result = add_camera_metadata_entry(m, in TEST()
980 EXPECT_EQ(OK, result); in TEST()
983 result = add_camera_metadata_entry(m, in TEST()
986 EXPECT_EQ(OK, result); in TEST()
989 result = add_camera_metadata_entry(m, in TEST()
992 EXPECT_EQ(OK, result); in TEST()
995 result = add_camera_metadata_entry(m, in TEST()
998 EXPECT_EQ(OK, result); in TEST()
1002 result = find_camera_metadata_entry(m, in TEST()
1005 EXPECT_EQ(OK, result); in TEST()
1012 result = find_camera_metadata_entry(m, in TEST()
1015 EXPECT_EQ(NOT_FOUND, result); in TEST()
1028 result = sort_camera_metadata(m); in TEST()
1029 EXPECT_EQ(OK, result); in TEST()
1051 result = find_camera_metadata_entry(m, in TEST()
1054 EXPECT_EQ(OK, result); in TEST()
1061 result = find_camera_metadata_entry(m, in TEST()
1064 EXPECT_EQ(NOT_FOUND, result); in TEST()
1080 int result; in TEST() local
1095 result = delete_camera_metadata_entry(m, 1); in TEST()
1096 EXPECT_EQ(OK, result); in TEST()
1105 result = delete_camera_metadata_entry(m, 4); in TEST()
1106 EXPECT_EQ(ERROR, result); in TEST()
1115 result = get_camera_metadata_entry(m, i, &e); in TEST()
1116 EXPECT_EQ(OK, result); in TEST()
1127 result = add_camera_metadata_entry(m, in TEST()
1130 EXPECT_EQ(OK, result); in TEST()
1139 result = get_camera_metadata_entry(m, 4, &e); in TEST()
1140 EXPECT_EQ(OK, result); in TEST()
1148 result = delete_camera_metadata_entry(m, 4); in TEST()
1149 EXPECT_EQ(OK, result); in TEST()
1157 result = delete_camera_metadata_entry(m, 4); in TEST()
1158 EXPECT_EQ(ERROR, result); in TEST()
1160 result = get_camera_metadata_entry(m, 4, &e); in TEST()
1161 EXPECT_EQ(ERROR, result); in TEST()
1169 result = delete_camera_metadata_entry(m, 3); in TEST()
1170 EXPECT_EQ(OK, result); in TEST()
1176 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1177 EXPECT_EQ(OK, result); in TEST()
1188 result = add_camera_metadata_entry(m, in TEST()
1191 EXPECT_EQ(OK, result); in TEST()
1199 result = sort_camera_metadata(m); in TEST()
1200 EXPECT_EQ(OK, result); in TEST()
1202 result = find_camera_metadata_entry(m, in TEST()
1204 EXPECT_EQ(OK, result); in TEST()
1211 result = delete_camera_metadata_entry(m, e.index); in TEST()
1212 EXPECT_EQ(OK, result); in TEST()
1222 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1223 EXPECT_EQ(OK, result); in TEST()
1237 int result; in TEST() local
1254 result = update_camera_metadata_entry(m, in TEST()
1256 EXPECT_EQ(OK, result); in TEST()
1265 result = get_camera_metadata_entry(m, in TEST()
1276 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1277 EXPECT_EQ(OK, result); in TEST()
1287 result = update_camera_metadata_entry(m, in TEST()
1289 EXPECT_EQ(OK, result); in TEST()
1303 result = get_camera_metadata_entry(m, in TEST()
1315 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1316 EXPECT_EQ(OK, result); in TEST()
1326 result = update_camera_metadata_entry(m, in TEST()
1328 EXPECT_EQ(OK, result); in TEST()
1342 result = get_camera_metadata_entry(m, in TEST()
1353 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1354 EXPECT_EQ(OK, result); in TEST()
1365 result = add_camera_metadata_entry(m, in TEST()
1368 EXPECT_EQ(OK, result); in TEST()
1376 result = sort_camera_metadata(m); in TEST()
1377 EXPECT_EQ(OK, result); in TEST()
1379 result = find_camera_metadata_entry(m, in TEST()
1381 EXPECT_EQ(OK, result); in TEST()
1389 result = update_camera_metadata_entry(m, in TEST()
1392 EXPECT_EQ(OK, result); in TEST()
1399 result = find_camera_metadata_entry(m, in TEST()
1402 EXPECT_EQ(OK, result); in TEST()
1411 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1412 EXPECT_EQ(OK, result); in TEST()
1424 result = update_camera_metadata_entry(m, in TEST()
1427 EXPECT_EQ(OK, result); in TEST()
1446 result = find_camera_metadata_entry(m, in TEST()
1449 EXPECT_EQ(OK, result); in TEST()
1461 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1462 EXPECT_EQ(OK, result); in TEST()
1471 result = update_camera_metadata_entry(m, in TEST()
1474 EXPECT_EQ(OK, result); in TEST()
1487 result = find_camera_metadata_entry(m, in TEST()
1490 EXPECT_EQ(OK, result); in TEST()
1499 result = get_camera_metadata_entry(m, i, &e2); in TEST()
1500 EXPECT_EQ(OK, result); in TEST()
1510 result = update_camera_metadata_entry(m, in TEST()
1512 EXPECT_EQ(OK, result); in TEST()
1531 result = append_camera_metadata(m2, m); in TEST()
1532 EXPECT_EQ(OK, result); in TEST()
1534 result = find_camera_metadata_entry(m2, in TEST()
1537 EXPECT_EQ(OK, result); in TEST()
1546 result = update_camera_metadata_entry(m2, in TEST()
1548 EXPECT_EQ(ERROR, result); in TEST()
1562 result = update_camera_metadata_entry(m2, in TEST()
1564 EXPECT_EQ(OK, result); in TEST()
1575 result = find_camera_metadata_entry(m2, in TEST()
1578 EXPECT_EQ(OK, result); in TEST()
1585 result = get_camera_metadata_entry(m2, 1, &e); in TEST()
1595 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
1596 EXPECT_EQ(OK, result); in TEST()
1608 result = update_camera_metadata_entry(m2, in TEST()
1610 EXPECT_EQ(OK, result); in TEST()
1622 result = find_camera_metadata_entry(m2, in TEST()
1625 EXPECT_EQ(OK, result); in TEST()
1634 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
1635 EXPECT_EQ(OK, result); in TEST()
1645 result = update_camera_metadata_entry(m2, in TEST()
1647 EXPECT_EQ(OK, result); in TEST()
1661 result = find_camera_metadata_entry(m2, in TEST()
1664 EXPECT_EQ(OK, result); in TEST()
1673 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
1674 EXPECT_EQ(OK, result); in TEST()
1689 int result; in TEST() local
1717 result = get_camera_metadata_entry(m, i, &e1); in TEST()
1718 ASSERT_EQ(OK, result); in TEST()
1719 result = get_camera_metadata_entry(m2, i, &e2); in TEST()
1720 ASSERT_EQ(OK, result); in TEST()
1735 result = update_camera_metadata_entry(m, 0, in TEST()
1738 EXPECT_EQ(OK, result); in TEST()
1740 result = get_camera_metadata_entry(m, 0, &e1); in TEST()
1741 ASSERT_EQ(OK, result); in TEST()
1742 result = get_camera_metadata_entry(m2, 0, &e2); in TEST()
1743 ASSERT_EQ(OK, result); in TEST()
1757 result = update_camera_metadata_entry(m2, 0, in TEST()
1760 EXPECT_EQ(OK, result); in TEST()
1762 result = get_camera_metadata_entry(m, 0, &e1); in TEST()
1763 ASSERT_EQ(OK, result); in TEST()
1764 result = get_camera_metadata_entry(m2, 0, &e2); in TEST()
1765 ASSERT_EQ(OK, result); in TEST()