Searched defs:new_filename (Results 1 - 4 of 4) sorted by relevance
/external/bsdiff/ |
H A D | bspatch_unittest.cc | 27 const char* new_filename = new_file_.c_str(); local 29 EXPECT_FALSE(IsOverlapping(old_filename, new_filename, {}, {})); 30 EXPECT_EQ(0, unlink(new_filename)); 31 EXPECT_EQ(0, symlink(old_filename, new_filename)); 32 EXPECT_TRUE(IsOverlapping(old_filename, new_filename, {}, {}));
|
H A D | bsdiff.cc | 106 int bsdiff(const char* old_filename, const char* new_filename, argument 123 if(((fd=open(new_filename,O_RDONLY,0))<0) || 128 (close(fd)==-1)) err(1,"%s",new_filename);
|
H A D | bspatch.cc | 146 const char* new_filename, 150 if (stat(new_filename, &new_stat) == -1) { 153 fprintf(stderr, "Error stat the new file %s: %s\n", new_filename, 178 // Patch |old_filename| with |patch_filename| and save it to |new_filename|. 180 // extents of |old_filename| and |new_filename|. 183 const char* new_filename, 204 return bspatch(old_filename, new_filename, patch.data(), patch_size, 208 // Patch |old_filename| with |patch_data| and save it to |new_filename|. 210 // extents of |old_filename| and |new_filename|. 213 const char* new_filename, 145 IsOverlapping(const char* old_filename, const char* new_filename, const std::vector<ex_t>& old_extents, const std::vector<ex_t>& new_extents) argument 182 bspatch(const char* old_filename, const char* new_filename, const char* patch_filename, const char* old_extents, const char* new_extents) argument 212 bspatch(const char* old_filename, const char* new_filename, const uint8_t* patch_data, size_t patch_size, const char* old_extents, const char* new_extents) argument [all...] |
/external/compiler-rt/lib/profile/ |
H A D | GCDAProfiling.c | 172 char *new_filename; local 205 new_filename = malloc(prefix_len + 1 + filename_len + 1); 206 memcpy(new_filename, prefix, prefix_len); 209 new_filename[prefix_len++] = '/'; 210 memcpy(new_filename + prefix_len, fname, filename_len + 1); 212 return new_filename;
|
Completed in 206 milliseconds