Searched refs:old_filename (Results 1 – 5 of 5) sorted by relevance
/external/bsdiff/ |
D | bspatch_unittest.cc | 26 const char* old_filename = old_file_.c_str(); in TEST_F() local 28 EXPECT_FALSE(IsOverlapping(old_filename, "does-not-exist", {}, {})); in TEST_F() 29 EXPECT_FALSE(IsOverlapping(old_filename, new_filename, {}, {})); in TEST_F() 31 EXPECT_EQ(0, symlink(old_filename, new_filename)); in TEST_F() 32 EXPECT_TRUE(IsOverlapping(old_filename, new_filename, {}, {})); in TEST_F() 33 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {}, {})); in TEST_F() 34 EXPECT_FALSE(IsOverlapping(old_filename, old_filename, {{0, 1}}, {{1, 1}})); in TEST_F() 35 EXPECT_FALSE(IsOverlapping(old_filename, old_filename, {{2, 1}}, {{1, 1}})); in TEST_F() 36 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {{0, 1}}, {{0, 1}})); in TEST_F() 37 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {{0, 4}}, {{2, 1}})); in TEST_F() [all …]
|
D | bspatch.cc | 114 bool IsOverlapping(const char* old_filename, in IsOverlapping() argument 125 if (stat(old_filename, &old_stat) == -1) { in IsOverlapping() 126 PLOG(ERROR) << "Error stat the old file: " << old_filename; in IsOverlapping() 149 int bspatch(const char* old_filename, in bspatch() argument 169 return bspatch(old_filename, new_filename, patch.data(), patch_size, in bspatch() 177 int bspatch(const char* old_filename, in bspatch() argument 186 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY); in bspatch() 188 PLOG(ERROR) << "Error opening the old file: " << old_filename; in bspatch() 218 if (IsOverlapping(old_filename, new_filename, parsed_old_extents, in bspatch()
|
D | bsdiff_main.cc | 59 int GenerateBsdiffFromFiles(const char* old_filename, in GenerateBsdiffFromFiles() argument 64 uint8_t* old_buf = static_cast<uint8_t*>(MapFile(old_filename, &oldsize)); in GenerateBsdiffFromFiles()
|
/external/bsdiff/include/bsdiff/ |
D | bspatch.h | 20 int bspatch(const char* old_filename, 27 int bspatch(const char* old_filename, 51 bool IsOverlapping(const char* old_filename,
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 1119 string old_filename = filename.empty() ? sig_filename : filename; in AugmentMappings() local 1129 dirname = old_filename; in AugmentMappings() 1149 options.use_filename ? sig_filename : old_filename); in AugmentMappings()
|