Home
last modified time | relevance | path

Searched refs:new_filename (Results 1 – 12 of 12) 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.cc115 const char* new_filename, in IsOverlapping() argument
119 if (stat(new_filename, &new_stat) == -1) { in IsOverlapping()
122 PLOG(ERROR) << "Error stat the new file: " << new_filename; in IsOverlapping()
150 const char* new_filename, in bspatch() argument
169 return bspatch(old_filename, new_filename, patch.data(), patch_size, in bspatch()
178 const char* new_filename, in bspatch() argument
203 File::FOpen(new_filename, O_CREAT | O_WRONLY); in bspatch()
205 PLOG(ERROR) << "Error opening the new file: " << new_filename; in bspatch()
218 if (IsOverlapping(old_filename, new_filename, parsed_old_extents, in bspatch()
Dbsdiff_main.cc60 const char* new_filename, in GenerateBsdiffFromFiles() argument
70 uint8_t* new_buf = static_cast<uint8_t*>(MapFile(new_filename, &newsize)); in GenerateBsdiffFromFiles()
/external/llvm-project/compiler-rt/test/profile/
Dinstrprof-get-filename.c14 const char *new_filename = "/path/to/test.profraw"; in main() local
30 __llvm_profile_set_filename(new_filename); in main()
32 if (strcmp(filename, new_filename)) { in main()
34 new_filename); in main()
/external/bsdiff/include/bsdiff/
Dbspatch.h21 const char* new_filename,
28 const char* new_filename,
52 const char* new_filename,
/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/llvm-project/compiler-rt/lib/profile/
DGCDAProfiling.c228 char *new_filename; in mangle_filename() local
236 new_filename = malloc(prefix_len + 1 + strlen(orig_filename) + 1); in mangle_filename()
237 lprofApplyPathPrefix(new_filename, orig_filename, prefix, prefix_len, in mangle_filename()
240 return new_filename; in mangle_filename()
/external/python/cpython3/Lib/
Dmodulefinder.py599 new_filename = original_filename = os.path.normpath(co.co_filename)
602 new_filename = r + original_filename[len(f):]
606 if new_filename != original_filename:
608 % (original_filename,new_filename,))
619 return co.replace(co_consts=tuple(consts), co_filename=new_filename)
/external/python/cpython2/Lib/
Dmodulefinder.py589 new_filename = original_filename = os.path.normpath(co.co_filename)
592 new_filename = r + original_filename[len(f):]
596 if new_filename != original_filename:
598 % (original_filename,new_filename,))
611 co.co_varnames, new_filename, co.co_name,
/external/googletest/googletest/scripts/
Dupload.py1170 new_filename = None
1172 unused, new_filename = line.split(':', 1)
1173 new_filename = new_filename.strip()
1182 new_filename = temp_filename
1183 if new_filename:
1186 filename = new_filename
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc1120 string new_filename; in AugmentMappings() local
1133 new_filename = dirname.substr(0, slash + 1); in AugmentMappings()
1136 new_filename = options.so_basedir; in AugmentMappings()
1142 new_filename += guid; in AugmentMappings()
1143 new_filename += "-"; in AugmentMappings()
1148 new_filename += google_breakpad::BaseName( in AugmentMappings()
1151 if (filename != new_filename) { in AugmentMappings()
1155 filename.c_str(), new_filename.c_str()); in AugmentMappings()
1157 filename = new_filename; in AugmentMappings()
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py1212 new_filename = '%s.apk' % module_name
1215 new_filename = '%s.config.%s' % (module_name, suffix)
1216 new_path = os.path.join(modules_dir, new_filename)