Searched refs:old_filename (Results 1 – 8 of 8) 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 | 122 bool IsOverlapping(const char* old_filename, in IsOverlapping() argument 132 if (stat(old_filename, &old_stat) == -1) in IsOverlapping() 133 err(1, "Error stat the old filename %s", old_filename); in IsOverlapping() 151 const char* old_filename, const char* new_filename, in bspatch() argument 223 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY); in bspatch() 235 err(1, "cannot obtain the size of %s", old_filename); in bspatch() 251 if (IsOverlapping(old_filename, new_filename, parsed_old_extents, in bspatch()
|
D | bspatch.h | 15 int bspatch(const char* old_filename, 25 bool IsOverlapping(const char* old_filename,
|
D | bsdiff.h | 10 int bsdiff(const char* old_filename,
|
D | bsdiff.cc | 107 int bsdiff(const char* old_filename, const char* new_filename, in bsdiff() argument 129 if(((fd=open(old_filename,O_RDONLY,0))<0) || in bsdiff() 134 (close(fd)==-1)) err(1,"%s",old_filename); in bsdiff()
|
/external/bison/lib/ |
D | stdio.in.h | 945 (const char *old_filename, const char *new_filename) 948 (const char *old_filename, const char *new_filename)); 951 (const char *old_filename, const char *new_filename));
|
/external/bison/darwin-lib/ |
D | stdio.h | 1257 (const char *old_filename, const char *new_filename) 1260 (const char *old_filename, const char *new_filename)); 1263 (const char *old_filename, const char *new_filename));
|
/external/bison/linux-lib/ |
D | stdio.h | 1257 (const char *old_filename, const char *new_filename) 1260 (const char *old_filename, const char *new_filename)); 1263 (const char *old_filename, const char *new_filename));
|