Lines Matching refs:tgt

94                                  const std::string& tgt) {  in verify_patched_image()  argument
97 ASSERT_EQ(tgt, patched); in verify_patched_image()
122 const std::string tgt("abcdefgxyz"); in TEST() local
124 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
145 verify_patched_image(src, patch, tgt); in TEST()
178 std::string tgt; in TEST() local
179 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
194 verify_patched_image(src, patch, tgt); in TEST()
232 std::string tgt; in TEST() local
233 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
248 verify_patched_image(src, patch, tgt); in TEST()
280 std::string tgt; in TEST() local
281 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
287 verify_patched_image(src, patch, tgt); in TEST()
328 std::string tgt; in TEST() local
329 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
344 verify_patched_image(src, patch, tgt); in TEST()
359 const std::string tgt = "abcdefgxyz" + gzipped_target; in TEST() local
362 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
383 verify_patched_image(src, patch, tgt); in TEST()
403 const std::string tgt(tgt_data.cbegin(), tgt_data.cend()); in TEST() local
405 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
416 verify_patched_image(src, patch, tgt); in TEST()
438 const std::string tgt(tgt_data.cbegin(), tgt_data.cend()); in TEST() local
440 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
464 const std::string tgt = gzipped_target + "abcdefgxyz"; in TEST() local
466 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
490 verify_patched_image(src, patch, tgt); in TEST()
504 const std::string tgt(tgt_data.cbegin(), tgt_data.cend()); in TEST() local
506 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
527 verify_patched_image(src, patch, tgt); in TEST()
540 const std::string tgt(tgt_data.cbegin(), tgt_data.cend()); in TEST() local
542 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
563 verify_patched_image(src, patch, tgt); in TEST()
576 const std::string tgt(tgt_data.cbegin(), tgt_data.cend()); in TEST() local
578 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
599 verify_patched_image(src, patch, tgt); in TEST()
615 const std::string tgt(tgt_data.cbegin(), tgt_data.cend()); in TEST() local
617 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
638 verify_patched_image(src, patch, tgt); in TEST()
658 const std::string tgt(tgt_data.cbegin(), tgt_data.cend()); in TEST() local
660 ASSERT_TRUE(android::base::WriteStringToFile(tgt, tgt_file.path)); in TEST()
671 verify_patched_image(src, patch, tgt); in TEST()
705 const std::string& tgt) { in GenerateAndCheckSplitTarget() argument
725 ASSERT_EQ(tgt, patched); in GenerateAndCheckSplitTarget()
839 std::string tgt; in TEST() local
840 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
843 GenerateAndCheckSplitTarget(debug_dir.path, 4, tgt); in TEST()
911 std::string tgt; in TEST() local
912 ASSERT_TRUE(android::base::ReadFileToString(tgt_path, &tgt)); in TEST()
913 ASSERT_EQ(static_cast<size_t>(160385), tgt.size()); in TEST()
926 GenerateAndCheckSplitTarget(debug_dir.path, 5, tgt); in TEST()
965 std::string tgt; in TEST() local
966 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
969 GenerateAndCheckSplitTarget(debug_dir.path, 1, tgt); in TEST()
1007 std::string tgt; in TEST() local
1008 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
1011 GenerateAndCheckSplitTarget(debug_dir.path, 1, tgt); in TEST()
1052 std::string tgt; in TEST() local
1053 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
1059 GenerateAndCheckSplitTarget(debug_dir.path, 3, tgt); in TEST()
1106 std::string tgt; in TEST() local
1107 ASSERT_TRUE(android::base::ReadFileToString(tgt_file.path, &tgt)); in TEST()
1112 GenerateAndCheckSplitTarget(debug_dir.path, 2, tgt); in TEST()