/external/bsdiff/ |
bspatch_unittest.cc | 26 const char* old_filename = old_file_.c_str(); local 28 EXPECT_FALSE(IsOverlapping(old_filename, "does-not-exist", {}, {})); 29 EXPECT_FALSE(IsOverlapping(old_filename, new_filename, {}, {})); 31 EXPECT_EQ(0, symlink(old_filename, new_filename)); 32 EXPECT_TRUE(IsOverlapping(old_filename, new_filename, {}, {})); 33 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {}, {})); 34 EXPECT_FALSE(IsOverlapping(old_filename, old_filename, {{0, 1}}, {{1, 1}})); 35 EXPECT_FALSE(IsOverlapping(old_filename, old_filename, {{2, 1}}, {{1, 1}})) [all...] |
bspatch.h | 15 int bspatch(const char* old_filename, 25 bool IsOverlapping(const char* old_filename,
|
bsdiff.h | 10 int bsdiff(const char* old_filename,
|
bspatch.cc | 122 bool IsOverlapping(const char* old_filename, 132 if (stat(old_filename, &old_stat) == -1) 133 err(1, "Error stat the old filename %s", old_filename); 151 const char* old_filename, const char* new_filename, 223 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY); 235 err(1, "cannot obtain the size of %s", old_filename); 251 if (IsOverlapping(old_filename, new_filename, parsed_old_extents,
|
bsdiff.cc | 107 int bsdiff(const char* old_filename, const char* new_filename, 129 if(((fd=open(old_filename,O_RDONLY,0))<0) || 134 (close(fd)==-1)) err(1,"%s",old_filename);
|
/external/bison/darwin-lib/ |
stdio.h | [all...] |
/external/bison/lib/ |
stdio.in.h | [all...] |
/external/bison/linux-lib/ |
stdio.h | [all...] |