Home
last modified time | relevance | path

Searched refs:new_filename (Results 1 – 18 of 18) sorted by relevance

/external/bsdiff/
Dbspatch_unittest.cc27 const char* new_filename = new_file_.c_str(); in TEST_F() local
29 EXPECT_FALSE(IsOverlapping(old_filename, new_filename, {}, {})); in TEST_F()
30 EXPECT_EQ(0, unlink(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()
Dbspatch.cc146 const char* new_filename, in IsOverlapping() argument
150 if (stat(new_filename, &new_stat) == -1) { in IsOverlapping()
153 fprintf(stderr, "Error stat the new file %s: %s\n", new_filename, in IsOverlapping()
183 const char* new_filename, in bspatch() argument
204 return bspatch(old_filename, new_filename, patch.data(), patch_size, in bspatch()
213 const char* new_filename, in bspatch() argument
239 File::FOpen(new_filename, O_CREAT | O_WRONLY); in bspatch()
241 fprintf(stderr, "Error opening the new file %s: %s\n", new_filename, in bspatch()
255 if (IsOverlapping(old_filename, new_filename, parsed_old_extents, in bspatch()
Dbspatch.h17 const char* new_filename,
23 const char* new_filename,
45 const char* new_filename,
Dbsdiff.h21 const char* new_filename,
Dbsdiff.cc106 int bsdiff(const char* old_filename, const char* new_filename, in bsdiff() argument
123 if(((fd=open(new_filename,O_RDONLY,0))<0) || in bsdiff()
128 (close(fd)==-1)) err(1,"%s",new_filename); in bsdiff()
/external/compiler-rt/lib/profile/
DGCDAProfiling.c172 char *new_filename; in mangle_filename() local
205 new_filename = malloc(prefix_len + 1 + filename_len + 1); in mangle_filename()
206 memcpy(new_filename, prefix, prefix_len); in mangle_filename()
209 new_filename[prefix_len++] = '/'; in mangle_filename()
210 memcpy(new_filename + prefix_len, fname, filename_len + 1); in mangle_filename()
212 return new_filename; in mangle_filename()
/external/chromium-trace/catapult/telemetry/telemetry/wpr/
Darchive_info.py210 new_filename = '%s_%03d.wpr' % (base, highest_number + 1)
211 return new_filename, self._WprFileNameToPath(new_filename)
/external/googletest/googlemock/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/v8/testing/gmock/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/googletest/googletest/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/google-breakpad/src/testing/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/v8/testing/gtest/scripts/
Dupload.py1155 new_filename = None
1157 unused, new_filename = line.split(':', 1)
1158 new_filename = new_filename.strip()
1167 new_filename = temp_filename
1168 if new_filename:
1171 filename = new_filename
/external/bison/lib/
Dstdio.in.h945 (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/
Dstdio.h1257 (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/
Dstdio.h1257 (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/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dmodulegraph.py1657 new_filename = original_filename = os.path.normpath(co.co_filename)
1662 new_filename = r + original_filename[len(f):]
1678 co.co_varnames, new_filename, co.co_name,
1684 co.co_varnames, new_filename, co.co_name,
/external/regex-re2/lib/codereview/
Dcodereview.py3510 new_filename = None
3512 unused, new_filename = line.split(':', 1)
3513 new_filename = new_filename.strip()
3522 new_filename = temp_filename
3523 if new_filename:
3526 filename = new_filename