Searched refs:old_files_map (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 790 std::map<string, FilesystemInterface::File> old_files_map; in TEST_F() local 803 old_files_map.emplace(name, file); in TEST_F() 808 EXPECT_EQ(diff_utils::GetOldFile(old_files_map, name).name, name); in TEST_F() 810 EXPECT_EQ(diff_utils::GetOldFile(old_files_map, "file_name").name, in TEST_F() 812 EXPECT_EQ(diff_utils::GetOldFile(old_files_map, "filename_new.zip").name, in TEST_F() 814 EXPECT_EQ(diff_utils::GetOldFile(old_files_map, "version1.2").name, in TEST_F() 816 EXPECT_EQ(diff_utils::GetOldFile(old_files_map, "version3.0").name, in TEST_F() 818 EXPECT_EQ(diff_utils::GetOldFile(old_files_map, "_version").name, "version"); in TEST_F() 820 diff_utils::GetOldFile(old_files_map, "update_engine_unittest").name, in TEST_F() 822 EXPECT_EQ(diff_utils::GetOldFile(old_files_map, "bin/delta_generator").name, in TEST_F()
|
D | delta_diff_utils.cc | 343 const map<string, FilesystemInterface::File>& old_files_map, in GetOldFile() argument 345 if (old_files_map.empty()) in GetOldFile() 348 auto old_file_iter = old_files_map.find(new_file_name); in GetOldFile() 349 if (old_file_iter != old_files_map.end()) in GetOldFile() 358 for (const auto& pair : old_files_map) { in GetOldFile() 405 map<string, FilesystemInterface::File> old_files_map; in DeltaReadPartition() local 411 old_files_map[file.name] = file; in DeltaReadPartition() 449 GetOldFile(old_files_map, new_file.name); in DeltaReadPartition()
|
D | delta_diff_utils.h | 157 const std::map<std::string, FilesystemInterface::File>& old_files_map,
|