Lines Matching refs:target
234 Partition target(target_file, target_size, target_hash); in TEST_F() local
238 expect(nullptr, "patch_partition_check(\"" + target.ToString() + "\")", kArgsParsingFailure); in TEST_F()
242 "patch_partition_check(\"" + source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
252 cmd = "patch_partition_check(\"" + bad_source.ToString() + "\", \"" + target.ToString() + "\")"; in TEST_F()
625 static void GetEntriesForBsdiff(std::string_view source, std::string_view target, in GetEntriesForBsdiff() argument
630 reinterpret_cast<const uint8_t*>(target.data()), target.size(), in GetEntriesForBsdiff()
637 std::string tgt_hash = GetSha1(target); in GetEntriesForBsdiff()
664 std::string target = in TEST_F() local
670 std::string_view(target).substr(0, 4096 * 2), 2, &entries); in TEST_F()
676 ASSERT_EQ(target, updated); in TEST_F()
683 std::string target = in TEST_F() local
690 std::string_view(target).substr(0, 4096 * 2), 1, &entries); in TEST_F()
700 std::string target = in TEST_F() local
707 std::string_view(target).substr(0, 4096 * 2), 3, &entries); in TEST_F()